/* Theme-level overrides and shared component styles. */
html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  background: #121212;
  font-family: var(--bs-font-sans-serif);
}

/* Product card */
.pcard-card {
  container-type: inline-size;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: #0d1014;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pcard-card:hover,
.pcard-card:focus-visible {
  color: #fff;
  border-color: rgba(var(--cl-accent-rgb), 0.58);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.pcard-card:focus-visible {
  outline: 3px solid rgba(var(--cl-accent-rgb), 0.38);
  outline-offset: 3px;
}

.pcard-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: var(--product-card-image-aspect-ratio, 16 / 9);
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628, #0d1f4a 52%, #17377d);
}

.pcard-card--group .pcard-img-wrap {
  aspect-ratio: var(--group-card-image-aspect-ratio, 16 / 9);
}

.pcard-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--product-image-fit, cover);
  transition: transform 360ms ease;
}

.pcard-card--group .pcard-img-wrap img {
  object-fit: var(--group-image-fit, cover);
}

.pcard-card:hover .pcard-img-wrap img,
.pcard-card:focus-visible .pcard-img-wrap img {
  transform: scale(1.035);
}

.pcard-img-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--cl-accent);
}

.pcard-badges {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.pcard-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
}

.pcard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 18px 20px 20px;
  background: linear-gradient(180deg, #101318 0%, #0d1014 100%);
  border-top: 2px solid var(--cl-accent);
}

.pcard-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 18px;
}

.pcard-title {
  margin: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.32;
}

.pcard-price-block {
  min-width: max-content;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pcard-price-meta {
  display: flex;
  min-height: 13px;
  align-items: baseline;
  justify-content: flex-end;
  gap: 7px;
  margin-bottom: 4px;
}

.pcard-price-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.pcard-price-slash {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.66rem;
  line-height: 1;
}

.pcard-price {
  display: block;
  color: var(--cl-accent);
  font-size: clamp(1.3rem, 7cqi, 1.55rem);
  font-weight: 800;
  line-height: 1;
}

.pcard-cta {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding: 11px 18px;
  color: #06131a;
  background: var(--cl-accent);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transition: filter 160ms ease;
}

.pcard-cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.pcard-card:hover .pcard-cta,
.pcard-card:focus-visible .pcard-cta {
  filter: brightness(1.08);
}

.pcard-card:hover .pcard-cta svg,
.pcard-card:focus-visible .pcard-cta svg {
  transform: translateX(3px);
}

@container (max-width: 280px) {
  .pcard-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .pcard-price-block {
    min-width: 0;
    text-align: left;
  }

  .pcard-price-meta {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pcard-card,
  .pcard-img-wrap img,
  .pcard-cta,
  .pcard-cta svg {
    transition: none;
  }

  .pcard-card:hover,
  .pcard-card:focus-visible,
  .pcard-card:hover .pcard-img-wrap img,
  .pcard-card:focus-visible .pcard-img-wrap img,
  .pcard-card:hover .pcard-cta svg,
  .pcard-card:focus-visible .pcard-cta svg {
    transform: none;
  }
}

/* Feedback card */
.feedback-card {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.01);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.feedback-card::before {
  position: absolute;
  z-index: 1;
  top: -150px;
  right: -120px;
  width: 200px;
  height: 250px;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--cl-accent-rgb, 43, 174, 228), 0.12) 0%,
    rgba(var(--cl-accent-rgb, 43, 174, 228), 0.06) 50%,
    rgba(var(--cl-accent-rgb, 43, 174, 228), 0) 100%
  );
  content: "";
  pointer-events: none;
}

.feedback-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.feedback-card:focus-visible {
  outline: 2px solid var(--cl-accent);
  outline-offset: 3px;
}

.feedback-card .feedback-content {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 16px;
  text-align: left;
}

.feedback-card .feedback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.feedback-card .stars {
  display: flex;
  gap: 2px;
}

.feedback-card .star {
  width: 20px;
  height: 20px;
}

.feedback-card .star-filled {
  color: #2baee4;
}

.feedback-card .star-empty {
  color: rgba(161, 161, 170, 0.5);
}

.feedback-card .feedback-date {
  color: rgba(161, 161, 170, 0.5);
  font-size: 12px;
}

.feedback-card .feedback-message {
  margin: 0;
  color: rgba(161, 161, 170, 0.8);
  font-size: 16px;
  line-height: 1.5;
  word-break: break-words;
}

.feedback-card .feedback-message.truncated {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.feedback-card .reply-section {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.feedback-card .reply-text {
  margin: 0;
  padding-left: 8px;
  color: rgba(161, 161, 170, 0.8);
  border-left: 2px solid #2baee4;
  font-size: 14px;
  line-height: 1.4;
  word-break: break-words;
}

.feedback-card .reply-text.truncated {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.feedback-card .reply-author {
  margin-top: 8px;
  margin-bottom: 0;
  color: rgba(161, 161, 170, 0.5);
  font-size: 12px;
  text-align: right;
}

.feedback-card .shop-name {
  color: #2baee4;
}

.feedback-card .feedback-footer {
  position: relative;
  z-index: 2;
  padding: 12px 16px;
  color: rgba(161, 161, 170, 0.7);
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.feedback-card .items-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback-card .product-images {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
}

.feedback-card .product-image {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 6px;
}

.feedback-card .unknown-product-icon {
  display: flex;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: #2baee4;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.feedback-card .product-text {
  flex: 1;
  overflow: hidden;
  margin: 0;
  color: rgba(161, 161, 170, 0.7);
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Status card */
.sp-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sp-row:hover,
.sp-row:focus-visible {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.sp-row:focus-visible {
  outline: 2px solid var(--cl-accent);
  outline-offset: 3px;
}

.sp-row__thumb {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.sp-row__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-row__thumb-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
}

.sp-row__info {
  min-width: 0;
  flex: 1;
}

.sp-row__name {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp-row__status {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.sp-row__icon {
  display: flex;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 8px;
}

.sp-row__label {
  min-width: 72px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: capitalize;
}

.sp-row__arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.18);
  transition: color 0.2s ease, transform 0.2s ease;
}

.sp-row:hover .sp-row__arrow,
.sp-row:focus-visible .sp-row__arrow {
  color: rgba(255, 255, 255, 0.5);
  transform: translate(2px, -2px);
}

@media (max-width: 480px) {
  .sp-row__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feedback-card,
  .sp-row,
  .sp-row__arrow {
    transition: none;
  }

  .sp-row:hover,
  .sp-row:focus-visible,
  .sp-row:hover .sp-row__arrow,
  .sp-row:focus-visible .sp-row__arrow {
    transform: none;
  }
}

/* Navbar */
    body > nav.navbar,
    body > header > nav.navbar,
    .navbar:not(.nav):not(.mob-menu) {
        display: none !important;
    }

    :root {
        --accent: #2baee4;
        --accent-dim: rgba(43,174,228,.08);
        --border: rgba(255,255,255,.07);
        --muted: rgba(255,255,255,.55);
        --surface: rgba(255,255,255,.04);
        --radius: 10px;
    }

    .nav {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 1000;
        height: 64px;
        display: flex;
        align-items: center;
        padding: 0 2rem;
        gap: 2rem;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 0;
        transition:
            top .35s cubic-bezier(.4,0,.2,1),
            left .35s cubic-bezier(.4,0,.2,1),
            right .35s cubic-bezier(.4,0,.2,1),
            height .35s cubic-bezier(.4,0,.2,1),
            padding .35s cubic-bezier(.4,0,.2,1),
            background .35s ease,
            border-color .35s ease,
            border-radius .35s ease,
            box-shadow .35s ease;
    }

    .nav.scrolled {
        top: 14px !important;
        left: 220px !important;
        right: 220px !important;
        height: 68px !important;
        padding: 0 1.5rem !important;
        background: rgba(10,10,10,0.45) !important;
        backdrop-filter: blur(24px) saturate(160%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
        border-radius: 18px !important;
        border: 1px solid rgba(255,255,255,0.07) !important;
        box-shadow: 0 8px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05) !important;
    }

    @media (max-width: 1400px) { .nav.scrolled { left: 160px !important; right: 160px !important; } }
    @media (max-width: 1200px) { .nav.scrolled { left: 60px !important;  right: 60px !important;  } }
    @media (max-width: 1080px) { .nav.scrolled { left: 24px !important;  right: 24px !important;  } }
    @media (max-width: 979px)  { .nav.scrolled { left: 16px !important;  right: 16px !important;  } }

    .nav__logo { height: 36px; width: auto; }

    .nav__links {
        display: flex;
        align-items: center;
        gap: .125rem;
        list-style: none;
        margin: 0; padding: 0;
        flex: 1;
    }

    .nav__links a {
        display: flex;
        align-items: center;
        gap: .5rem;
        padding: .5rem .875rem;
        border-radius: var(--radius);
        font-size: .9rem;
        font-weight: 500;
        color: var(--muted);
        text-decoration: none;
        transition: color .15s, background .15s;
    }

    .nav__links a:hover  { color: #fff; background: rgba(255,255,255,.06); }
    .nav__links a.active { color: var(--accent); background: var(--accent-dim); }
    .nav__links svg { width: 16px; height: 16px; flex-shrink: 0; }

    .nav__actions { display: flex; align-items: center; gap: .625rem; }

    .nav__search {
        display: flex;
        align-items: center;
        gap: .625rem;
        padding: 0 .875rem;
        height: 40px;
        width: 280px;
        border-radius: var(--radius);
        background: var(--surface);
        border: 1px solid var(--border);
        cursor: pointer;
        transition: border-color .2s, background .2s;
    }

    .nav__search:hover { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06); }
    .nav__search svg { width: 15px; height: 15px; color: #64748b; flex-shrink: 0; }
    .nav__search span { font-size: .875rem; color: #475569; pointer-events: none; }

    .nav__btn {
        width: 40px; height: 40px;
        border-radius: var(--radius);
        background: var(--surface);
        border: 1px solid var(--border);
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: background .2s, border-color .2s;
    }

    .nav__btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
    .nav__btn svg { width: 17px; height: 17px; }

    .nav__divider { width: 1px; height: 24px; background: var(--border); }

    .nav__account {
        display: flex;
        align-items: center;
        gap: .5rem;
        padding: 0 1rem;
        height: 40px;
        border-radius: var(--radius);
        background: var(--accent);
        border: none;
        color: #000;
        font-weight: 700;
        font-size: .875rem;
        text-decoration: none;
        cursor: pointer;
        transition: opacity .15s, box-shadow .15s;
    }

    .nav__account:hover { opacity: .88; box-shadow: 0 4px 20px rgba(43,174,228,.3); }
    .nav__account svg { width: 16px; height: 16px; }

    .nav__hamburger {
        display: none;
        width: 40px; height: 40px;
        border-radius: var(--radius);
        background: var(--surface);
        border: 1px solid var(--border);
        cursor: pointer;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        margin-left: auto;
        flex-shrink: 0;
        transition: background .2s, border-color .2s;
    }

    .nav__hamburger:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }

    .nav__hamburger span {
        display: block;
        width: 18px; height: 1.5px;
        background: #fff;
        border-radius: 2px;
        transition: transform .25s, opacity .25s, width .25s;
        transform-origin: center;
    }

    .nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav__hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
    .nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    .mob-menu {
        position: fixed;
        top: 64px; left: 0; right: 0; bottom: 0;
        background: rgba(8,8,8,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 998;
        display: flex;
        flex-direction: column;
        padding: 1rem 1.25rem 2rem;
        gap: .3rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
    }

    .mob-menu.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity .22s ease, transform .22s ease, visibility 0s linear 0s;
    }

    .mob-menu__link {
        display: flex;
        align-items: center;
        gap: .875rem;
        padding: .825rem 1rem;
        border-radius: 12px;
        font-size: .9375rem;
        font-weight: 500;
        color: var(--muted);
        text-decoration: none;
        border: 1px solid transparent;
        transition: color .15s, background .15s, border-color .15s;
    }

    .mob-menu__link svg { width: 20px; height: 20px; flex-shrink: 0; }
    .mob-menu__link:hover  { color: #fff; background: rgba(255,255,255,.05); border-color: var(--border); }
    .mob-menu__link.active { color: var(--accent); background: var(--accent-dim); border-color: rgba(43,174,228,.15); }

    .mob-menu__divider { height: 1px; background: var(--border); margin: .5rem 0; }

    .mob-menu__bottom {
        display: flex;
        flex-direction: column;
        gap: .625rem;
        margin-top: auto;
        padding-top: 1rem;
    }

    .mob-menu__search {
        display: flex;
        align-items: center;
        gap: .75rem;
        padding: .875rem 1rem;
        border-radius: 12px;
        background: var(--surface);
        border: 1px solid var(--border);
        color: var(--muted);
        font-size: .9375rem;
        cursor: pointer;
        transition: border-color .2s, background .2s;
    }

    .mob-menu__search svg { width: 18px; height: 18px; flex-shrink: 0; }
    .mob-menu__search:hover { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06); }

    .mob-menu__account {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .625rem;
        padding: .9375rem 1rem;
        border-radius: 12px;
        background: var(--accent);
        border: none;
        color: #000;
        font-weight: 700;
        font-size: .9375rem;
        text-decoration: none;
        cursor: pointer;
        transition: opacity .15s, box-shadow .15s;
    }

    .mob-menu__account:hover { opacity: .88; box-shadow: 0 4px 24px rgba(43,174,228,.3); }
    .mob-menu__account svg { width: 18px; height: 18px; }

    .search-modal {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 9999;
        align-items: flex-start;
        justify-content: center;
        padding-top: 6vh;
        opacity: 0;
        transition: opacity .25s;
    }

    .search-modal.open { display: flex; opacity: 1; }

    .search-modal__box {
        width: min(680px, 92vw);
        background: #141414;
        border: 1px solid var(--border);
        border-radius: 14px;
        max-height: 78vh;
        display: flex;
        flex-direction: column;
        transform: translateY(-12px);
        transition: transform .25s;
    }

    .search-modal.open .search-modal__box { transform: translateY(0); }

    .search-modal__head {
        display: flex;
        align-items: center;
        gap: .75rem;
        padding: 1.125rem 1.25rem;
        border-bottom: 1px solid var(--border);
    }

    .search-modal__head svg { width: 18px; height: 18px; color: #64748b; flex-shrink: 0; }

    .search-modal__input {
        flex: 1;
        background: none;
        border: none;
        outline: none;
        color: #fff;
        font-size: .9375rem;
    }

    .search-modal__input::placeholder { color: #475569; }

    .search-modal__close {
        background: none;
        border: none;
        color: var(--muted);
        cursor: pointer;
        padding: .375rem;
        border-radius: 6px;
        display: flex;
        transition: color .15s;
    }

    .search-modal__close:hover { color: #fff; }
    .search-modal__close svg { width: 18px; height: 18px; }

    .search-modal__body { overflow-y: auto; padding: .875rem 1.25rem 1.25rem; }

    .search-results { display: flex; flex-direction: column; gap: .375rem; }

    .result-item {
        display: flex;
        align-items: center;
        gap: .875rem;
        padding: .75rem;
        border-radius: var(--radius);
        border: 1px solid transparent;
        background: var(--surface);
        text-decoration: none;
        transition: all .18s;
    }

    .result-item:hover { background: rgba(255,255,255,.06); border-color: rgba(43,174,228,.2); transform: translateX(3px); }

    .result-item__img, .result-item__thumb {
        width: 48px; height: 48px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .result-item__thumb {
        background: var(--accent-dim);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent);
    }

    .result-item__thumb svg { width: 22px; height: 22px; }
    .result-item__name  { color: #fff; font-weight: 600; font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .result-item__price { color: var(--muted); font-size: .8125rem; margin-top: 2px; }
    .result-item__stock { color: var(--accent); font-size: .8rem; margin-left: auto; white-space: nowrap; }

    .no-results { text-align: center; padding: 2.5rem 1rem; color: var(--muted); display: none; }
    .no-results svg { width: 40px; height: 40px; opacity: .4; margin-bottom: .75rem; display: block; margin-inline: auto; }

    .hidden { display: none !important; }

    @media (max-width: 1300px) {
        .nav { gap: 1.25rem; padding: 0 1.5rem; }
        .nav__search { width: 220px; }
        .nav__links a { padding: .5rem .625rem; }
    }

    @media (max-width: 1180px) {
        .nav { gap: 1rem; padding: 0 1.25rem; }
        .nav__search { width: 180px; }
        .nav__links a { padding: .5rem .5rem; font-size: .825rem; gap: .35rem; }
        .nav__links svg { width: 14px; height: 14px; }
        .nav__actions { gap: .5rem; }
    }

    @media (max-width: 1080px) {
        .nav__search { width: 40px; padding: 0; justify-content: center; }
        .nav__search span { display: none; }
        .nav__search svg { color: var(--muted); }
        .nav__links a { padding: .5rem .4rem; font-size: .8rem; }
    }

    @media (max-width: 979px) {
        .nav__links,
        .nav__search,
        .nav__divider,
        .nav__account,
        .nav__btn { display: none; }
        .nav__hamburger { display: flex; }
    }

  /* Footer */
  :root {
    --bg: #121212;
    --accent: #2baee4;
    --text: #2baee4;
    --muted: rgba(240,240,240,0.45);
    --card-bg: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
  }

  .site-footer {
    font-family: inherit;
    background: #121212;
    border-top: 1px solid var(--border);
    padding: 56px 0 40px;
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
  }
  .footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 280px;
  }

  .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .footer-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card-bg);
    flex-shrink: 0;
  }

  .footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .footer-logo-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
  }

  .footer-tagline {
    font-size: 13px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.65;
  }

  .footer-nav {
    display: flex;
    gap: 64px;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-col-title {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  .footer-col a {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-col a:hover {
    color: var(--text);
  }

  @media (max-width: 860px) {
    .footer-top {
      flex-direction: column;
      gap: 36px;
    }
    .footer-nav {
      gap: 40px;
      flex-wrap: wrap;
    }
  }

  @media (max-width: 520px) {
    .footer-inner { padding: 0 20px; }
    .footer-nav { gap: 28px; }
  }

  /* Customer login modal */
  #customer-login-modal .modal-dialog {
    max-width: 420px;
    pointer-events: none;
  }

  #clogin-box {
    width: 100%;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    padding: 2.25rem 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    animation: clogin-slidein 0.25s ease;
  }

  @keyframes clogin-slidein {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  .clogin-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(43, 174, 228, 0.12);
    border: 1px solid rgba(43, 174, 228, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2baee4;
    margin-bottom: 1.1rem;
  }

  .clogin-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 0.3rem;
    line-height: 1.2;
  }

  .clogin-subtitle {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 1.6rem;
    line-height: 1.5;
  }

  .clogin-subtitle strong {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
  }

  .clogin-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
  }

  .clogin-field-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .clogin-field-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
  }

  .clogin-field-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
  }

  .clogin-field-input:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.11);
  }

  .clogin-otp-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .clogin-otp-input {
    flex: 1;
    min-width: 0;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
  }

  .clogin-otp-input:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.11);
  }

  .clogin-field-error {
    font-size: 0.8rem;
    color: #ff6b6b;
    margin: 0 0 0.75rem;
  }

  .clogin-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: none;
    background: #2baee4;
    color: #0a0a0a;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    letter-spacing: -0.01em;
  }

  .clogin-submit-btn:hover:not(:disabled) {
    opacity: 0.88;
    transform: translateY(-1px);
  }

  .clogin-submit-btn:active:not(:disabled) {
    transform: translateY(0);
    opacity: 0.8;
  }

  .clogin-submit-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  .clogin-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
  }
