:root {
  --site-background-color: #07101d;
  --default-text-color: #e8eef7;
  --default-background-color: #0f1a2d;
  --default-border-color: rgba(148, 163, 184, 0.24);
  --whitespace-color: #111d31;
  --image-whitespace-color: #f8fafc;
  --navigation-background-color: transparent;
  --navigation-background-color-hover: rgba(36, 201, 161, 0.14);
  --navigation-background-color-active: rgba(36, 201, 161, 0.2);
  --navigation-text-color: #d7e1ee;
  --navigation-text-color-hover: #ffffff;
  --default-button-background-color: #24c9a1;
  --default-button-text-color: #06111d;
  --primary-button-background-color: #24c9a1;
  --primary-button-text-color: #06111d;
  --footer-background-color: #0b1424;
  --footer-title-color: #ffffff;
  --footer-text-color: #a9b8cb;
  --card-background-color: #111d31;
  --card-text-color: #e8eef7;
  --card-border-color: rgba(148, 163, 184, 0.22);
  --border-radius: 8px;
}

html,
body {
  background:
    linear-gradient(115deg, rgba(36, 201, 161, 0.08), transparent 32%),
    linear-gradient(245deg, rgba(251, 191, 36, 0.08), transparent 30%),
    #07101d;
  color: var(--default-text-color);
  font-family: Inter, "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: #37e2bd;
}

a:hover,
a:focus {
  color: #f7c948;
}

#page-container {
  background:
    linear-gradient(180deg, rgba(11, 20, 36, 0.78), rgba(7, 16, 29, 0.98)),
    #07101d;
}

.fourteen-forty,
.twelve-eighty {
  max-width: 1360px;
}

#site-menu {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 20, 36, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

#site-menu .navbar {
  margin: 0;
  padding: 0;
}

.navbar-header {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  padding: 14px 18px;
  min-height: 72px;
}

.navbar-header .logotype,
#header .logotype {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.navbar-header .logotype img,
#header .logotype img {
  display: none;
}

.navbar-header .logotype::before,
#header .logotype::before {
  content: "S";
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #24c9a1, #35d6f5);
  color: #06111d;
  font-weight: 900;
}

.navbar-header .logotype::after,
#header .logotype::after {
  content: "SmartSurf";
}

.navbar-header form[name="search_form"] .input-group {
  background: rgba(15, 27, 46, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

input,
select,
textarea,
.form-control {
  background: rgba(15, 27, 46, 0.92);
  border-color: rgba(148, 163, 184, 0.28);
  color: #f8fafc;
}

input::placeholder,
textarea::placeholder {
  color: #91a1b6;
}

.quick-access a,
#cart > a,
.navbar-icon {
  color: #d7e1ee;
}

.quick-access a:hover,
#cart > a:hover {
  color: #37e2bd;
  border-color: rgba(55, 226, 189, 0.35);
}

#offcanvas .offcanvas-body,
#offcanvas .offcanvas-header {
  background: rgba(11, 20, 36, 0.98);
}

.navbar-nav .nav-link {
  color: #b7c3d4;
  font-weight: 800;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff;
}

.dropdown-menu {
  background: #111d31;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

#content-wrapper {
  margin: 0;
  padding: 26px 12px 30px;
  overflow-x: hidden;
}

#content-wrapper::before {
  content: "";
  display: block;
  max-width: 1360px;
  height: 6px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #24c9a1, #35d6f5, #f7c948, #f43f5e);
  box-shadow: 0 18px 45px rgba(36, 201, 161, 0.22);
}

#box-slides {
  display: none;
}

.box,
.card,
.listing .category,
.listing .manufacturer,
.listing .product,
#box-product form[name="buy_now_form"],
#box-product .out-of-stock-notice {
  background: linear-gradient(180deg, rgba(24, 36, 58, 0.98), rgba(16, 29, 49, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  color: #e8eef7;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.card .card-body {
  padding: clamp(22px, 4vw, 44px);
}

h1,
h2,
h3,
h4,
.title,
.listing .product .name {
  color: #f8fafc;
  letter-spacing: 0;
}

p,
.description,
.listing .product .manufacturer-name,
#footer li,
#footer p {
  color: #a9b8cb;
}

.btn,
button,
input[type="submit"],
input[type="button"],
.button,
.price-wrapper .price {
  border-radius: 8px;
}

.btn,
button,
input[type="submit"],
input[type="button"],
.button {
  border: 1px solid rgba(36, 201, 161, 0.45);
  background: linear-gradient(135deg, #24c9a1, #35d6f5);
  color: #06111d;
  font-weight: 900;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover {
  border-color: rgba(251, 191, 36, 0.75);
  filter: saturate(1.08) brightness(1.05);
}

.listing .product .image-wrapper,
#box-product .main-image {
  background: #f8fafc;
}

.listing .product .info {
  padding: 14px;
}

.listing .category .caption,
.listing .product .name {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.listing .category,
.listing .product {
  min-width: 0;
}

.price-wrapper .price,
.price,
.campaign-price {
  color: #37e2bd !important;
}

#box-newsletter-subscribe {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  border-color: rgba(55, 226, 189, 0.28);
}

#footer {
  margin-top: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

#footer .title {
  font-size: 1.05rem;
  color: #ffffff;
}

#copyright {
  background: #07101d;
  color: #8ea0b7;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

#header {
  background: rgba(11, 20, 36, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  margin: 0 auto 24px;
  padding: 18px;
}

#header .middle .btn {
  background: transparent;
  color: #e8eef7;
}

#header .customer-service {
  color: #a9b8cb;
}

@media (max-width: 991px) {
  .navbar-header {
    gap: 12px;
  }

  .navbar-header .navbar-search {
    order: 3;
  }

  #content-wrapper {
    padding-top: 16px;
  }
}

@media (max-width: 520px) {
  .listing.categories {
    grid-template-columns: minmax(0, 1fr);
  }

  .listing.products.columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .listing .category .caption {
    padding: 16px;
  }

  .listing .category .short-description {
    display: none;
  }
}

@media (min-width: 992px) {
  #site-menu .navbar {
    margin-top: 0 !important;
  }

  .navbar-header {
    margin-bottom: 0 !important;
    padding-left: 18px;
    padding-right: 18px;
  }
}
