/* ============================================================
   Bazaar — free Bootstrap 5 marketplace template · uiCookies
   A dense, utilitarian multi-category superstore.
   Palette : deep teal brand · marigold deals · signal red urgency
   Type    : Big Shoulders Display (signage) · IBM Plex Sans/Mono
   ============================================================ */

:root {
  /* brand + functional color */
  --teal: #0d5c63;
  --teal-deep: #073f45;
  --teal-tint: #e2eef0;
  --marigold: #f6a609;
  --marigold-dk: #cf8500;
  --signal: #e23744; /* urgency / flash / discount only */
  --signal-dk: #b71f2c;

  /* hued neutrals (blue-tinted, NOT pure grey) */
  --ink: #17202e;
  --ink-2: #232f41;
  --slate: #5b6779;
  --slate-2: #8a94a3;
  --line: #e2e7ef;
  --line-2: #eef1f6;
  --paper: #f4f6fa; /* cool page canvas */
  --surface: #ffffff;
  --star: #f6a609;

  --wrap: 1240px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(23, 32, 46, 0.06),
    0 1px 3px rgba(23, 32, 46, 0.04);
  --shadow-md: 0 6px 20px rgba(23, 32, 46, 0.1);
  --shadow-lg: 0 18px 44px rgba(23, 32, 46, 0.16);

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* ---------- base ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--ink);
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  color: var(--teal-deep);
}
img {
  max-width: 100%;
  display: block;
}
p {
  margin: 0 0 1rem;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

/* accessibility */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}
:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
  border-radius: 3px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* shared bits */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.mono {
  font-family: var(--f-mono);
}
.section {
  padding: 54px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
}
.section-head .sub {
  color: var(--slate);
  margin: 6px 0 0;
  max-width: 46ch;
  font-size: 0.95rem;
}
.section-head .see-all {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.section-head .see-all svg {
  width: 15px;
  height: 15px;
}
.svg-ico {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* buttons */
.btn-bz {
  --bg: var(--teal);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.1s;
}
.btn-bz:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #fff;
}
.btn-bz:active {
  transform: translateY(1px);
}
.btn-bz svg {
  width: 18px;
  height: 18px;
}
.btn-gold {
  --bg: var(--marigold);
  --fg: #1b1403;
}
.btn-gold:hover {
  background: var(--marigold-dk);
  border-color: var(--marigold-dk);
  color: #1b1403;
}
.btn-ghost {
  --bg: transparent;
  --fg: var(--teal);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

/* pill badges */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
}
.tag-red {
  background: var(--signal);
  color: #fff;
}
.tag-gold {
  background: var(--marigold);
  color: #1b1403;
}
.tag-teal {
  background: var(--teal-tint);
  color: var(--teal-deep);
}
.tag-ink {
  background: var(--ink);
  color: #fff;
}

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.topbar {
  background: var(--ink);
  color: #cfd6e2;
  font-size: 0.8rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar a {
  color: #cfd6e2;
}
.topbar a:hover {
  color: #fff;
}
.topbar .tb-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}
.topbar .tb-left svg {
  width: 15px;
  height: 15px;
  color: var(--marigold);
}
.topbar .tb-left strong {
  color: #fff;
  font-weight: 600;
}
.topbar .tb-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.topbar .tb-right .tb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
}
.topbar .tb-right .tb-link svg {
  width: 14px;
  height: 14px;
}
.topbar .tb-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.16);
}
@media (max-width: 720px) {
  .topbar .tb-left {
    display: none;
  }
  .topbar .wrap {
    justify-content: center;
  }
}

/* ============================================================
   HEADER (search-forward, sticky)
   ============================================================ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 900;
}
.header-main {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--teal);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}
.brand .brand-mark svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.brand .brand-word {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand .brand-word b {
  color: var(--marigold);
}
.brand .brand-sub {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 1px;
}

/* search cluster */
.searchbar {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  max-width: 640px;
}
.searchbar .cat-select {
  flex: none;
  border: 0;
  background: var(--line-2);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0 14px;
  border-right: 1px solid var(--line);
  cursor: pointer;
}
.searchbar .cat-select:focus-visible {
  outline-offset: -3px;
}
.searchbar input {
  flex: 1 1 auto;
  border: 0;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--ink);
  min-width: 0;
}
.searchbar input::placeholder {
  color: var(--slate-2);
}
.searchbar input:focus {
  outline: none;
}
.searchbar .search-btn {
  flex: none;
  border: 0;
  background: var(--marigold);
  color: #1b1403;
  padding: 0 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.16s;
}
.searchbar .search-btn:hover {
  background: var(--marigold-dk);
}
.searchbar .search-btn svg {
  width: 21px;
  height: 21px;
}

/* header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.hact {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  transition: background 0.14s;
  line-height: 1;
}
.hact:hover {
  background: var(--line-2);
  color: var(--teal-deep);
}
.hact svg {
  width: 23px;
  height: 23px;
  color: var(--ink);
}
.hact .hact-txt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hact .count {
  position: absolute;
  top: 2px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--signal);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.hact.cart .count {
  background: var(--marigold);
  color: #1b1403;
}
.hact.pop svg {
  animation: pop 0.32s ease;
}
@keyframes pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.28);
  }
  100% {
    transform: scale(1);
  }
}
.nav-toggle {
  display: none;
}

/* department nav */
.deptnav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.deptnav .wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 50px;
  overflow-x: auto;
  scrollbar-width: none;
}
.deptnav .wrap::-webkit-scrollbar {
  display: none;
}
.dept-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: var(--radius);
  flex: none;
}
.dept-all:hover {
  background: var(--teal-deep);
  color: #fff;
}
.dept-all svg {
  width: 17px;
  height: 17px;
}
.deptnav a.dept-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
  flex: none;
}
.deptnav a.dept-link:hover {
  background: var(--line-2);
  color: var(--teal-deep);
}
.deptnav a.dept-link.hot {
  color: var(--signal);
  font-weight: 600;
}
.deptnav .dept-spacer {
  flex: 1 1 auto;
}
.deptnav .dept-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--slate);
  flex: none;
}
.deptnav .dept-phone svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}
@media (max-width: 991px) {
  .deptnav .dept-phone {
    display: none;
  }
}
.deptnav a.dept-link .svg-ico {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.deptnav a.dept-link:has(.svg-ico) {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.deptnav a.dept-link .svg-ico {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}


/* ============================================================
   HERO (deal carousel + promo stack)
   ============================================================ */
.hero {
  padding: 26px 0 12px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 16px;
}
.deal-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  min-height: 380px;
}

.deal-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.deal-slide.active {
  opacity: 1;
  visibility: visible;
  position: absolute;
  inset: 0;
}

.deal-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}
.deal-slide .deal-media {
  position: absolute;
  inset: 0;
}
.deal-slide .deal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.deal-slide .deal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(7, 63, 69, 0.94) 0%,
    rgba(13, 92, 99, 0.78) 42%,
    rgba(13, 92, 99, 0.15) 100%
  );
}
.deal-slide .deal-body {
  position: relative;
  z-index: 2;
  max-width: 460px;
  padding: 46px 44px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.deal-slide .deal-body h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  text-transform: uppercase;
  margin: 12px 0 10px;
}
.deal-slide .deal-body p {
  color: #e5eef0;
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 36ch;
}
.deal-slide .deal-price {
  font-family: var(--f-mono);
  font-weight: 600;
  margin-bottom: 22px;
  color: #fff;
}
.deal-slide .deal-price .big {
  font-size: 1.7rem;
  color: var(--marigold);
}
.deal-slide .deal-price s {
  color: #b7c4c6;
  margin-left: 8px;
  font-size: 1rem;
}
.deal-dots {
  position: absolute;
  left: 44px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.deal-dots button {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}
.deal-dots button[aria-selected="true"] {
  background: var(--marigold);
  width: 40px;
}
.deal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.16s;
}
.deal-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}
.deal-arrow svg {
  width: 20px;
  height: 20px;
}
.deal-arrow.prev {
  left: 14px;
}
.deal-arrow.next {
  right: 14px;
}

.promo-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.promo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 182px;
  background: var(--teal);
}
.promo-card .promo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.promo-card .promo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}
.promo-card.alt {
  background: var(--ink-2);
}
.promo-card > * {
  position: relative;
  z-index: 1;
}
.promo-card h3 {
  color: #fff;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 0.95;
}
.promo-card p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 6px 0 0;
}
.promo-card .promo-link {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--marigold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}
.promo-card .promo-link svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .promo-stack {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .deal-carousel {
    min-height: 320px;
  }
  .deal-slide .deal-body {
    padding: 32px 26px;
  }
  .promo-stack {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CATEGORY RAIL
   ============================================================ */
.catrail {
  padding: 30px 0 8px;
}
.catrail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(112px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
.cat-tile:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--teal-deep);
}
.cat-tile .cat-ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--teal-tint);
  display: grid;
  place-items: center;
}
.cat-tile:hover .cat-ic {
  background: var(--teal);
}
.cat-tile .cat-ic img {
  width: 26px;
  height: 26px;
  color: var(--teal-deep);
}
.cat-tile:hover .cat-ic img {
  color: #fff;
}
.cat-tile .cat-name {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--ink);
}
.cat-tile .cat-count {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--slate-2);
}

/* ============================================================
   FLASH DEALS
   ============================================================ */
.flash {
  padding: 40px 0;
}
.flash-panel {
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.flash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.flash-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.flash-title .bolt {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--signal);
  display: grid;
  place-items: center;
  flex: none;
}
.flash-title .bolt svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.flash-title h2 {
  color: #fff;
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 0.9;
}
.flash-title .sub {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  color: var(--slate-2);
  letter-spacing: 0.04em;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 10px;
}
.countdown .cd-label {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cfd6e2;
}
.countdown .cd-units {
  display: flex;
  align-items: center;
  gap: 6px;
}
.countdown .cd-box {
  min-width: 46px;
  padding: 8px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}
.countdown .cd-box b {
  display: block;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  line-height: 1;
}
.countdown .cd-box span {
  font-family: var(--f-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.countdown .cd-colon {
  color: var(--marigold);
  font-weight: 700;
  font-family: var(--f-mono);
}
.flash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.flash-item {
  background: var(--surface);
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.flash-item .fi-frame {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.flash-item .fi-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flash-item .fi-frame .disc {
  position: absolute;
  top: 8px;
  left: 8px;
}
.flash-item .fi-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.flash-item .fi-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.flash-item .fi-price .now {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--signal);
}
.flash-item .fi-price s {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--slate-2);
}
.flash-item .fi-stock {
  margin-top: auto;
}
.flash-item .fi-bar {
  height: 7px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 6px;
}
.flash-item .fi-bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--marigold), var(--signal));
  border-radius: 4px;
}
.flash-item .fi-stock small {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: var(--slate);
}
.flash-item .fi-stock small b {
  color: var(--signal);
}
@media (max-width: 860px) {
  .flash-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .countdown .cd-label {
    display: none;
  }
}

/* ============================================================
   PRODUCT CARD (shared)
   ============================================================ */
.pgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .pgrid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 880px) {
  .pgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .pgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}
.pcard:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.pcard .pframe {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--line-2);
  overflow: hidden;
}
.pcard .pframe img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pcard:hover .pframe img {
  transform: scale(1.05);
}
.pcard .pbadges {
  position: absolute;
  top: 9px;
  left: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.pcard .wish {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, transform 0.12s;
  color: var(--slate);
}
.pcard .wish svg {
  width: 17px;
  height: 17px;
}
.pcard .wish:hover {
  color: var(--signal);
  border-color: var(--signal);
}
.pcard .wish[aria-pressed="true"] {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}
.pcard .wish[aria-pressed="true"] svg {
  fill: #fff;
}
.pcard .pbody {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pcard .pcat {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 6px;
}
.pcard .pname {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.pcard .pname a {
  color: inherit;
}
.pcard .pname a:hover {
  color: var(--teal);
}
.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.stars {
  display: inline-flex;
  gap: 1px;
}
.stars svg {
  width: 14px;
  height: 14px;
  color: var(--star);
  fill: var(--star);
}
.stars svg.empty {
  fill: none;
  color: var(--line);
}
.rating .rc {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--slate);
}
.pprice {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: auto;
}
.pprice .now {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}
.pprice s {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--slate-2);
}
.pprice .save {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--signal);
}
.pcard .add-cart {
  width: 100%;
}

/* ============================================================
   BEST SELLERS filter
   ============================================================ */
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-tabs button {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 40px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--slate);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-tabs button:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}
.filter-tabs button[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pcard.is-hidden {
  display: none;
}

/* ============================================================
   BRANDS strip
   ============================================================ */
.brands {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.brands-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.brands-row .brand-logo {
  color: var(--slate-2);
  transition: color 0.16s;
}
.brands-row .brand-logo:hover {
  color: var(--ink);
}
.brands-row .brand-logo svg {
  height: 26px;
  width: auto;
}

/* ============================================================
   SPOTLIGHT banners
   ============================================================ */
.spot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.spot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}
.spot .spot-bg {
  position: absolute;
  inset: 0;
}
.spot .spot-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spot .spot-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(23, 32, 46, 0.9) 0%,
    rgba(23, 32, 46, 0.35) 55%,
    rgba(23, 32, 46, 0.05) 100%
  );
}
.spot .spot-body {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: #fff;
}
.spot .spot-body .tag {
  margin-bottom: 10px;
}
.spot .spot-body h3 {
  color: #fff;
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 6px;
}
.spot .spot-body p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  margin: 0 0 14px;
  max-width: 30ch;
}
.spot .spot-body .spot-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 9px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  transition: background 0.16s, color 0.16s;
}
.spot .spot-body .spot-cta:hover {
  background: #fff;
  color: var(--ink);
}
.spot .spot-body .spot-cta svg {
  width: 15px;
  height: 15px;
}
@media (max-width: 860px) {
  .spot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .spot:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 540px) {
  .spot-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.benefits-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}
.benefit:last-child {
  border-right: 0;
}
.benefit .bi {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--teal-tint);
  display: grid;
  place-items: center;
  flex: none;
}
.benefit .bi svg {
  width: 24px;
  height: 24px;
  color: var(--teal-deep);
}
.benefit h4 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.benefit p {
  font-size: 0.78rem;
  color: var(--slate);
  margin: 2px 0 0;
}
@media (max-width: 820px) {
  .benefits-row {
    grid-template-columns: 1fr 1fr;
  }
  .benefit:nth-child(2) {
    border-right: 0;
  }
  .benefit:nth-child(1),
  .benefit:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 460px) {
  .benefits-row {
    grid-template-columns: 1fr;
  }
  .benefit {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--teal);
  color: #fff;
}
.newsletter .nl-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 46px 0;
}
.newsletter h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.newsletter p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 44ch;
}
.newsletter .nl-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter .nl-field {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius);
  padding: 4px 6px 4px 16px;
  border: 2px solid transparent;
}
.newsletter .nl-field svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex: none;
}
.newsletter .nl-field input {
  flex: 1;
  border: 0;
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--ink);
  min-width: 0;
}
.newsletter .nl-field input:focus {
  outline: none;
}
.newsletter .nl-form.err .nl-field {
  border-color: var(--marigold);
}
.newsletter .nl-note {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 12px;
}
.newsletter .nl-msg {
  min-height: 1.2em;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  margin-top: 10px;
  color: var(--marigold);
  font-weight: 600;
}
@media (max-width: 760px) {
  .newsletter .nl-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   FOOTER (mega)
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #aeb8c6;
  font-size: 0.88rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 52px 0 40px;
}
.site-footer h5 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.site-footer .f-brand .brand-word {
  color: #fff;
}
.site-footer .f-brand p {
  color: #aeb8c6;
  margin: 14px 0 18px;
  max-width: 34ch;
  font-size: 0.86rem;
}
.site-footer a {
  color: #aeb8c6;
}
.site-footer a:hover {
  color: #fff;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.f-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #aeb8c6;
}
.f-contact li svg {
  width: 17px;
  height: 17px;
  color: var(--marigold);
  flex: none;
  margin-top: 2px;
}
.f-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.f-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #cfd6e2;
  transition: background 0.16s;
}
.f-social a:hover {
  background: var(--teal);
  color: #fff;
}
.f-social a svg {
  width: 18px;
  height: 18px;
}
.f-apps {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.f-app {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
}
.f-app:hover {
  border-color: var(--marigold);
  color: #fff;
}
.f-app svg {
  width: 20px;
  height: 20px;
}
.f-app small {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a94a3;
}
.f-app b {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bar p {
  margin: 0;
  font-size: 0.82rem;
  color: #8a94a3;
}
.footer-bar .uc {
  color: #cfd6e2;
}
.pay-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pay-row .pay {
  height: 28px;
  width: 44px;
  border-radius: 5px;
  background: #fff;
  display: grid;
  place-items: center;
}
.pay-row .pay svg {
  height: 15px;
  width: auto;
}
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .f-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   MOBILE NAV (offcanvas panel)
   ============================================================ */
.mnav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 32, 46, 0.5);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
}
.mnav-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.mnav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 300px;
  max-width: 84vw;
  background: #fff;
  z-index: 1300;
  transform: translateX(-100%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.mnav.open {
  transform: none;
}
.mnav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.mnav-close {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}
.mnav-close svg {
  width: 18px;
  height: 18px;
}
.mnav-body {
  padding: 12px;
  overflow-y: auto;
}
.mnav-body a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 500;
}
.mnav-body a:hover {
  background: var(--line-2);
  color: var(--teal-deep);
}
.mnav-body a svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
}
.mnav-body .mnav-sep {
  height: 1px;
  background: var(--line);
  margin: 8px 4px;
}

@media (max-width: 991px) {
  .nav-toggle {
    display: inline-flex;
  }
  .hact.wishlist-act {
    display: none;
  }
}
@media (max-width: 640px) {
  .header-main {
    flex-wrap: wrap;
    gap: 12px;
    min-height: auto;
    padding: 12px 0;
  }
  .brand {
    order: 1;
  }
  .header-actions {
    order: 2;
    margin-left: auto;
  }
  .searchbar {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .hact .hact-txt {
    display: none;
  }
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bz-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 500;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.22s, opacity 0.22s;
  max-width: 320px;
}
.bz-toast.show {
  transform: none;
  opacity: 1;
}
.bz-toast .ti {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  flex: none;
}
.bz-toast .ti svg {
  width: 17px;
  height: 17px;
  color: #fff;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 800;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s, background 0.16s;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-top:hover {
  background: var(--teal);
}
.back-top svg {
  width: 20px;
  height: 20px;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.breadcrumb-bz {
  padding: 18px 0;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-bz a {
  color: var(--slate);
}
.breadcrumb-bz a:hover {
  color: var(--teal);
}
.breadcrumb-bz svg {
  width: 13px;
  height: 13px;
  color: var(--slate-2);
}
.breadcrumb-bz .cur {
  color: var(--ink);
  font-weight: 600;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.gallery-main {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--line-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main .gm-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.gallery-thumbs button {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--line-2);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
.gallery-thumbs button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs button[aria-current="true"] {
  border-color: var(--teal);
}

.pdp-info .pdp-cat {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.pdp-info h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  text-transform: uppercase;
  margin: 8px 0 12px;
  line-height: 0.98;
}
.pdp-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.pdp-meta .rating {
  margin: 0;
}
.pdp-meta .sku {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  color: var(--slate);
}
.pdp-meta .instock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal);
}
.pdp-meta .instock svg {
  width: 15px;
  height: 15px;
}
.pdp-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.pdp-price .now {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--ink);
}
.pdp-price s {
  font-family: var(--f-mono);
  font-size: 1.1rem;
  color: var(--slate-2);
}
.pdp-price .save {
  align-self: center;
}
.pdp-installment {
  font-size: 0.84rem;
  color: var(--slate);
  margin-bottom: 20px;
}
.pdp-installment b {
  color: var(--ink);
}
.pdp-lead {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 22px;
}

.variant-group {
  margin-bottom: 20px;
}
.variant-group .vg-label {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
}
.variant-group .vg-label span {
  color: var(--slate);
  font-weight: 500;
}
.swatches {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--line);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.12s;
}
.swatch[aria-pressed="true"] {
  border-color: var(--ink);
  transform: scale(1.08);
}
.swatch[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.opt-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.opt-btn {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.14s;
}
.opt-btn:hover {
  border-color: var(--teal);
}
.opt-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.opt-btn:disabled {
  color: var(--slate-2);
  background: var(--line-2);
  cursor: not-allowed;
  text-decoration: line-through;
}

.buy-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin: 24px 0 16px;
  flex-wrap: wrap;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  flex: none;
}
.qty-stepper button {
  width: 44px;
  height: 100%;
  min-height: 48px;
  border: 0;
  background: var(--line-2);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.14s;
}
.qty-stepper button:hover {
  background: var(--line);
}
.qty-stepper input {
  width: 52px;
  border: 0;
  text-align: center;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.buy-row .btn-bz {
  flex: 1 1 auto;
}
.pdp-assure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pdp-assure .pa {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--slate);
}
.pdp-assure .pa svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex: none;
}
.pdp-assure .pa b {
  color: var(--ink);
  display: block;
  font-size: 0.84rem;
}

/* PDP tabs */
.pdp-tabs {
  margin-top: 54px;
}
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--line);
  flex-wrap: wrap;
}
.tab-nav button {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border: 0;
  background: none;
  color: var(--slate);
  cursor: pointer;
  position: relative;
  transition: color 0.14s;
}
.tab-nav button:hover {
  color: var(--ink);
}
.tab-nav button[aria-selected="true"] {
  color: var(--ink);
}
.tab-nav button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--teal);
}
.tab-panel {
  padding: 28px 0;
  display: none;
}
.tab-panel.active {
  display: block;
}
.tab-panel p {
  color: var(--slate);
  max-width: 68ch;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 640px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.spec-table th {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  width: 40%;
  background: var(--line-2);
}
.spec-table td {
  color: var(--ink);
  font-weight: 500;
}
.feat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 26px;
  max-width: 720px;
  margin-top: 18px;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--slate);
  font-size: 0.9rem;
}
.feat-list li svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex: none;
  margin-top: 2px;
}
@media (max-width: 620px) {
  .feat-list {
    grid-template-columns: 1fr;
  }
  .pdp-assure {
    grid-template-columns: 1fr;
  }
}

/* reviews */
.review-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 26px;
}
.review-summary .rs-score {
  text-align: center;
}
.review-summary .rs-score .big {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--ink);
}
.review-summary .rs-score .stars {
  justify-content: center;
  margin: 8px 0 4px;
}
.review-summary .rs-score small {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--slate);
}
.rs-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rs-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  color: var(--slate);
}
.rs-bar .lbl {
  width: 34px;
}
.rs-bar .track {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.rs-bar .track > i {
  display: block;
  height: 100%;
  background: var(--marigold);
  border-radius: 4px;
}
.rs-bar .pct {
  width: 38px;
  text-align: right;
}
.review {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.review .rv-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--line-2);
}
.review .rv-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.review .rv-top b {
  color: var(--ink);
}
.review .rv-top .verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: var(--teal);
}
.review .rv-top .verified svg {
  width: 13px;
  height: 13px;
}
.review .rv-top time {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--slate-2);
  margin-left: auto;
}
.review .stars {
  margin-bottom: 8px;
}
.review p {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0;
}
@media (max-width: 540px) {
  .review-summary {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.pdp-call {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    line-height: 1.2;
}

.pdp-call-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: currentColor;
}

.pdp-call strong {
    font-weight: 600;
}


    /* ===== CART PAGE ===== */

    .cart-page {
        padding: 30px 0 60px;
    }

    .cart-page-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 24px;
    }

    .cart-page-head h1 {
        margin: 0;
        font-size: 28px;
        line-height: 1.2;
        font-weight: 700;
    }

    .cart-page-head p {
        margin: 6px 0 0;
        color: var(--slate);
        font-size: 14px;
    }

    /* Checkout steps */

    .cart-steps {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0px;
        margin-bottom: 30px;
        padding: 0;
    }

    .cart-step {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--slate);
        font-size: 13px;
        font-weight: 600;
    }

    .cart-step-number {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--line-2);
        color: var(--slate);
        font-size: 12px;
    }

    .cart-step.active {
        color: var(--teal-deep);
    }

    .cart-step.active .cart-step-number {
        background: var(--teal);
        color: #fff;
    }

    .cart-step-line {
        width: 55px;
        height: 1px;
        background: var(--line);
    }

    /* Layout */

    .cart-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 24px;
        align-items: start;
    }

    .cart-card {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    .cart-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 18px 20px;
        border-bottom: 1px solid var(--line);
    }

    .cart-card-head h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    .cart-count {
        color: var(--slate);
        font-size: 13px;
    }

    /* Cart item */

    .cart-items {
        width: 100%;
    }

    .cart-item {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr) auto;
        gap: 18px;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid var(--line);
    }

    .cart-item:last-child {
        border-bottom: 0;
    }

    .cart-item-image {
        width: 92px;
        height: 92px;
        border-radius: var(--radius);
        overflow: hidden;
        background: var(--line-2);
    }

    .cart-item-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
    }

    .cart-item-info {
        min-width: 0;
    }

    .cart-item-name {
        display: block;
        margin: 0 0 7px;
        color: var(--ink);
        font-size: 15px;
        line-height: 1.4;
        font-weight: 650;
        text-decoration: none;
    }

    .cart-item-name:hover {
        color: var(--teal-deep);
    }

    .cart-item-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 5px 12px;
        margin-bottom: 12px;
        color: var(--slate);
        font-size: 12px;
    }

    .cart-item-price {
        font-size: 14px;
        font-weight: 650;
        color: var(--ink);
    }

    .cart-item-side {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }

    .cart-item-total {
        font-size: 15px;
        font-weight: 700;
        white-space: nowrap;
    }

    .cart-remove {
        color: var(--slate);
        font-size: 12px;
        text-decoration: none;
        transition: color .2s ease;
    }

    .cart-remove:hover {
        color: #c0392b;
    }

    /* Quantity */

    .cart-quantity {
        display: inline-flex;
        align-items: center;
        border: 1px solid var(--line);
        border-radius: 7px;
        overflow: hidden;
        background: var(--surface);
    }

    .cart-quantity button {
        width: 30px;
        height: 30px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--ink);
        font-size: 16px;
        cursor: pointer;
    }

    .cart-quantity button:hover {
        background: var(--line-2);
    }

    .cart-quantity input {
        width: 38px;
        height: 30px;
        padding: 0;
        border: 0;
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
        background: transparent;
        color: var(--ink);
        text-align: center;
        font-size: 13px;
        outline: none;
    }

    .cart-quantity input::-webkit-inner-spin-button,
    .cart-quantity input::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .cart-quantity input[type="number"] {
        -moz-appearance: textfield;
    }

    /* Coupon */

    .cart-actions {
        padding: 18px 20px;
        background: var(--line-2);
    }

    .coupon-form {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .coupon-label {
        color: var(--ink);
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }

    .coupon-input {
        flex: 1;
        min-width: 0;
        height: 40px;
        padding: 0 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--surface);
        color: var(--ink);
        outline: none;
    }

    .coupon-input:focus {
        border-color: var(--teal);
    }

    .coupon-button {
        height: 40px;
        padding: 0 16px;
        border: 0;
        border-radius: var(--radius);
        background: var(--teal);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
    }

    .coupon-button:hover {
        background: var(--teal-deep);
    }

    .coupon-remove {
        height: 40px;
        padding: 0 16px;
        border: 0;
        border-radius: var(--radius);
        background: #af3783;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
    }

    /* Summary */

    .cart-summary {
        position: sticky;
        top: 20px;
    }

    .summary-head {
        padding: 18px 20px;
        border-bottom: 1px solid var(--line);
    }

    .summary-head h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    .summary-body {
        padding: 20px;
    }

    .summary-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 9px 0;
        color: var(--slate);
        font-size: 14px;
    }

    .summary-row strong {
        color: var(--ink);
        font-weight: 600;
    }

    .summary-row.discount strong {
        color: #c0392b;
    }

    .summary-total {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid var(--line);
        color: var(--ink);
        font-size: 17px;
        font-weight: 700;
    }

    .summary-total-value {
        color: var(--teal-deep);
    }

    .checkout-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 46px;
        margin-top: 20px;
        padding: 0 18px;
        border-radius: var(--radius);
        background: var(--teal);
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        transition: background .2s ease;
    }

    .checkout-btn:hover {
        background: var(--teal-deep);
        color: #fff;
    }

    .continue-shopping {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 13px;
        color: var(--slate);
        font-size: 13px;
        text-decoration: none;
    }

    .continue-shopping:hover {
        color: var(--teal-deep);
    }

    /* Empty */

    .cart-empty {
        padding: 80px 20px;
        text-align: center;
    }

    .cart-empty-icon {
        width: 58px;
        height: 58px;
        margin: 0 auto 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--line-2);
        color: var(--slate);
    }

    .cart-empty-icon svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .cart-empty h2 {
        margin: 0 0 8px;
        font-size: 22px;
        font-weight: 700;
    }

    .cart-empty p {
        margin: 0 0 20px;
        color: var(--slate);
        font-size: 14px;
    }

    .cart-empty-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 18px;
        border-radius: var(--radius);
        background: var(--teal);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }

    .cart-empty-btn:hover {
        background: var(--teal-deep);
        color: #fff;
    }

    @media (max-width: 991px) {
        .cart-layout {
            grid-template-columns: 1fr;
        }

        .cart-summary {
            position: static;
        }
    }

   @media (max-width: 767px) {
    .cart-page {
        padding: 20px 10px 40px;
    }

    .cart-card {
        margin-left: 5px;
        margin-right: 5px;
    }

    .cart-page-head h1 {
        font-size: 23px;
    }

    .cart-steps {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .cart-step {
        white-space: nowrap;
    }

    .cart-step-line {
        width: 25px;
        flex: 0 0 25px;
    }

    .cart-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 13px;
        padding: 15px;
    }

    .cart-item-image {
        width: 72px;
        height: 72px;
    }

    .cart-item-side {
        grid-column: 2;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }

    .cart-item-total {
        margin-left: auto;
    }

    .cart-actions {
        padding: 15px;
    }

    .coupon-form {
        flex-wrap: wrap;
    }

    .coupon-label {
        width: 100%;
    }

    .coupon-input {
        min-width: 150px;
    }
}

    @media (max-width: 480px) {
        .cart-page-head {
            margin-bottom: 18px;
        }

        .cart-card-head {
            padding: 15px;
        }

        .cart-item-name {
            font-size: 14px;
        }

        .cart-item-price {
            font-size: 13px;
        }

        .coupon-form {
            display: grid;
            grid-template-columns: 1fr auto;
        }

        .coupon-label {
            grid-column: 1 / -1;
        }

        .coupon-button,
        .coupon-remove {
            padding-left: 12px;
            padding-right: 12px;
        }
    }




/* =========================================
   CHECKOUT
========================================= */

.checkout-page {
    padding: 30px 20px 60px;
}


/* Steps */

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.checkout-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--slate);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.checkout-step:hover {
    color: var(--teal-deep);
}

.checkout-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--line-2);
    color: var(--slate);
    font-size: 12px;
}

.checkout-step.active {
    color: var(--teal-deep);
}

.checkout-step.active .checkout-step-number {
    background: var(--teal);
    color: #fff;
}

.checkout-step.completed {
    color: var(--teal-deep);
}

.checkout-step.completed .checkout-step-number {
    background: var(--teal);
    color: #fff;
}

.checkout-step-line {
    width: 55px;
    height: 1px;
    background: var(--line);
}


/* Layout */

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 24px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-main {
    min-width: 0;
}

.checkout-sidebar {
    min-width: 0;
}


/* Cards */

.checkout-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.checkout-card:last-child {
    margin-bottom: 0;
}

.checkout-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}

.checkout-card-head h1,
.checkout-card-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

.checkout-card-head p {
    margin: 6px 0 0;
    color: var(--slate);
    font-size: 13px;
}

.checkout-card-body {
    padding: 20px;
}


/* Alert */

.checkout-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: var(--radius);
    background: #fff1f1;
    color: #b42318;
    font-size: 13px;
}


/* Fields */

.checkout-field {
    margin-bottom: 18px;
}

.checkout-field:last-child {
    margin-bottom: 0;
}

.checkout-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.checkout-input,
.nice-select {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.checkout-input,
.nice-select:focus {
    border-color: var(--teal);
}

select.checkout-input,
.nice-select {
    appearance: auto;
    cursor: pointer;
}

.checkout-location-result {
    margin-bottom: 18px;
}

.checkout-location-result:empty {
    display: none;
}


/* Payment */

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.payment-option:hover {
    border-color: var(--teal);
    background: var(--line-2);
}

.payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-radio {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 1.5px solid var(--slate);
    border-radius: 50%;
    position: relative;
}

.payment-option input:checked + .payment-radio {
    border-color: var(--teal);
}

.payment-option input:checked + .payment-radio::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: var(--teal);
}

.payment-content {
    color: var(--ink);
    font-size: 14px;
}

.payment-option:has(input:checked) {
    border-color: var(--teal);
    background: var(--line-2);
}


/* Receive */

.receive-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    padding: 14px 15px;
    border-radius: var(--radius);
    background: var(--line-2);
}

.receive-label {
    color: var(--slate);
    font-size: 13px;
}

.receive-box strong {
    color: var(--ink);
    font-size: 13px;
}


/* Summary */

.checkout-sidebar .checkout-card {
    margin-bottom: 0;
}

.checkout-summary {
    position: sticky;
    top: 20px;
}

.checkout-summary-body {
    padding: 20px;
}

.checkout-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
    color: var(--slate);
    font-size: 14px;
}

.checkout-summary-row strong {
    color: var(--ink);
    font-weight: 600;
    white-space: nowrap;
}

.checkout-summary-row.discount strong {
    color: #c0392b;
}

.checkout-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
}

.checkout-summary-total strong {
    color: var(--teal-deep);
    white-space: nowrap;
}


/* Confirm */

.checkout-confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 20px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius);
    background: var(--teal);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.checkout-confirm-btn:hover {
    background: var(--teal-deep);
}


/* Back */

.checkout-back {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 13px;
    color: var(--slate);
    font-size: 13px;
    text-decoration: none;
}

.checkout-back:hover {
    color: var(--teal-deep);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        order: 2;
    }

    .checkout-summary {
        position: static;
    }

}


@media (max-width: 767px) {

    .checkout-page {
        padding: 20px 10px 40px;
    }

    .checkout-steps {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .checkout-step {
        white-space: nowrap;
    }

    .checkout-step-line {
        width: 25px;
        flex: 0 0 25px;
    }

    .checkout-card {
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 18px;
    }

    .checkout-card-head {
        padding: 16px;
    }

    .checkout-card-body,
    .checkout-summary-body {
        padding: 16px;
    }

    .checkout-card-head h1,
    .checkout-card-head h2 {
        font-size: 17px;
    }

}


@media (max-width: 480px) {

    .checkout-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .checkout-card {
        margin-left: 4px;
        margin-right: 4px;
    }

    .checkout-steps {
        gap: 7px;
    }

    .checkout-step {
        font-size: 12px;
    }

    .checkout-step-number {
        width: 26px;
        height: 26px;
    }

    .receive-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

}



/* =========================================
   ORDER SUBMITTED
========================================= */

.submit-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    display: flex;
    justify-content: center;
}

.submit-card {
    width: 100%;
    max-width: 650px;
    padding: 45px 35px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-align: center;
}


/* Success icon */

.submit-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--line-2);
    color: var(--teal);
}

.submit-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Content */

.submit-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--teal-deep);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.submit-content h1 {
    margin: 0;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.submit-content p {
    max-width: 500px;
    margin: 12px auto 0;
    color: var(--slate);
    font-size: 15px;
    line-height: 1.6;
}


/* Buttons */

.submit-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.submit-btn {
    min-height: 44px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s ease;
}

.submit-btn-primary {
    background: var(--teal);
    color: #fff;
}

.submit-btn-primary:hover {
    background: var(--teal-deep);
    color: #fff;
}

.submit-btn-secondary {
    background: var(--line-2);
    color: var(--ink);
}

.submit-btn-secondary:hover {
    background: var(--line);
    color: var(--ink);
}


/* Mobile */

@media (max-width: 767px) {

    .submit-page {
        padding: 30px 10px 50px;
    }

    .submit-card {
        margin: 0 5px;
        padding: 35px 20px;
    }

    .submit-content h1 {
        font-size: 23px;
    }

    .submit-content p {
        font-size: 14px;
    }

    .submit-actions {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
    }

}

.container {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 30px auto;
    border-radius: 12px;
    box-sizing: border-box;
}

/* Tablet */
@media (max-width: 991px) {
    .container {
        width: calc(100% - 30px);
        margin: 25px auto;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .container {
        width: calc(100% - 20px);
        margin: 20px auto;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        width: calc(100% - 16px);
        margin: 15px auto;
    }
}



/* =========================================
   LOGIN
========================================= */

.login-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 70px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.login-card {
    width: 100%;
    max-width: 460px;
    padding: 35px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-sizing: border-box;
}


/* Header */

.login-head {
    text-align: center;
    margin-bottom: 28px;
}

.login-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--line-2);
    color: var(--teal);
}

.login-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--teal-deep);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.login-head h1 {
    margin: 0;
    color: var(--ink);
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
}

.login-head p {
    margin: 7px 0 0;
    color: var(--slate);
    font-size: 13px;
}


/* Error */

.login-alert {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: #fff1f1;
    color: #b42318;
    font-size: 13px;
    line-height: 1.6;
}


/* Fields */

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-icon {
    position: absolute;
    left: 13px;
    width: 17px;
    height: 17px;
    color: var(--slate);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.login-input {
    width: 100%;
    height: 44px;
    padding: 0 43px 0 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.login-input::placeholder {
    color: var(--slate);
}

.login-input:focus {
    border-color: var(--teal);
}


/* Password toggle */

.password-toggle {
    position: absolute;
    right: 9px;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--slate);
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--teal-deep);
}

.password-toggle svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Remember */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 20px;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--slate);
    font-size: 13px;
    cursor: pointer;
}

.remember-me input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--teal);
}


/* Submit */

.login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius);
    background: var(--teal);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.login-submit:hover {
    background: var(--teal-deep);
}


/* Register */

.login-register {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--slate);
    font-size: 13px;
}

.login-register a {
    color: var(--teal-deep);
    font-weight: 600;
    text-decoration: none;
}

.login-register a:hover {
    text-decoration: underline;
}


/* Mobile */

@media (max-width: 767px) {

    .login-page {
        padding: 30px 10px 50px;
    }

    .login-card {
        margin: 0 5px;
        padding: 28px 20px;
    }

    .login-head {
        margin-bottom: 24px;
    }

    .login-head h1 {
        font-size: 23px;
    }

}


@media (max-width: 480px) {

    .login-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .login-card {
        margin-left: 4px;
        margin-right: 4px;
        padding: 25px 17px;
    }

}

.shop-alert {
    margin: 0 0 18px;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.5;
}

.shop-alert-error {
    background: #fff5f5;
    color: #c62828;
    border-color: #f1c5c5;
}

.shop-alert-success {
    background: #f3faf0;
    color: #2f7d1f;
    border-color: #c9e5bf;
}



/* =========================================
   Track Order Page
========================================= */

.track-order-page {
    padding-top: 35px;
    padding-bottom: 50px;
}


/* =========================================
   Page Heading
========================================= */

.track-page-head {
    margin-bottom: 25px;
}

.track-page-head h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.track-page-head p {
    margin: 7px 0 0;
    color: #777;
    font-size: 14px;
}


/* =========================================
   Search
========================================= */

.track-search-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 25px;
}

.track-search-form {
    max-width: 650px;
}

.track-search-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.track-search-row {
    display: flex;
    gap: 10px;
}




.track-search-row button {
    height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: #90c253;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.track-search-row button i {
    margin-right: 5px;
}


/* =========================================
   Order Card
========================================= */

.track-order-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    margin-bottom: 22px;
    overflow: hidden;
}


/* =========================================
   Order Header
========================================= */

.track-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #eee;
}

.track-order-label {
    display: block;
    color: #888;
    font-size: 12px;
    margin-bottom: 2px;
}

.track-order-id h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.track-order-time {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.track-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.track-status.paid {
    background: #edf8e4;
    color: #5d922d;
}

.track-status.unpaid {
    background: #fff0f0;
    color: #d9534f;
}


/* =========================================
   Summary
========================================= */

.track-summary {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-bottom: 1px solid #eee;
}

.track-summary-item {
    padding: 17px 18px;
    border-right: 1px solid #eee;
}

.track-summary-item:last-child {
    border-right: 0;
}

.track-summary-item span {
    display: block;
    margin-bottom: 6px;
    color: #888;
    font-size: 12px;
}

.track-summary-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.track-green {
    color: #6ca637 !important;
}

.track-red {
    color: #d9534f !important;
}


/* =========================================
   Sections
========================================= */

.track-section {
    padding: 22px;
    border-bottom: 1px solid #eee;
}

.track-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
}

.track-section-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    background: #f1f8e9;
    color: #75a73f;
    border-radius: 9px;
}

.track-section-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 650;
}

.track-section-head span {
    display: block;
    margin-top: 3px;
    color: #888;
    font-size: 12px;
}


/* =========================================
   Customer Information
========================================= */

.track-customer-info {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 12px;
}

.track-customer-item {
    padding: 13px 15px;
    background: #fafafa;
    border-radius: 9px;
}

.track-customer-item span {
    display: block;
    margin-bottom: 5px;
    color: #888;
    font-size: 11px;
}

.track-customer-item strong {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    word-break: break-word;
}


/* =========================================
   Products
========================================= */

.track-products {
    width: 100%;
}

.track-product {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.track-product:first-child {
    padding-top: 0;
}

.track-product:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.track-product-image {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
}

.track-product-image img {
    width: 68px;
    height: 68px;
    display: block;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
}

.track-product-no-image {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    border-radius: 10px;
    color: #aaa;
    font-size: 22px;
}

.track-product-info {
    flex: 1;
    min-width: 0;
}

.track-product-name {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
   
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: left;
}

a.track-product-name:hover {
    color: #75a73f;
}

.track-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.track-product-total {
    min-width: 110px;
    text-align: right;
    color: #333;
    font-size: 15px;
    font-weight: 650;
}


/* =========================================
   Empty Products
========================================= */

.track-empty-products {
    padding: 20px 0;
    color: #888;
    text-align: center;
    font-size: 13px;
}


/* =========================================
   Footer
========================================= */

.track-order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 22px;
    background: #fafafa;
}

.track-order-total {
    display: flex;
    align-items: center;
    gap: 12px;
}

.track-order-total span {
    color: #888;
    font-size: 13px;
}

.track-order-total strong {
    font-size: 18px;
    font-weight: 700;
}

.track-view-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 15px;
    border: 1px solid #90c253;
    border-radius: 8px;
    color: #75a73f;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.track-view-button:hover {
    background: #90c253;
    color: #fff;
}


/* =========================================
   Empty State
========================================= */

.track-empty-card {
    padding: 60px 20px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    text-align: center;
}

.track-empty-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    background: #f3f8ec;
    border-radius: 50%;
    color: #80af48;
}

.track-empty-icon svg {
    width: 28px;
    height: 28px;
}

.track-empty-card h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 650;
}

.track-empty-card p {
    margin: 8px 0 0;
    color: #888;
    font-size: 13px;
}


/* =========================================
   Pagination
========================================= */

.track-pagination {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    overflow-x: auto;
}

.track-pagination nav {
    max-width: 100%;
}


/* =========================================
   Responsive
========================================= */

@media (max-width: 991px) {

    .track-summary {
        grid-template-columns: repeat(3, 1fr);
    }

    .track-summary-item:nth-child(3) {
        border-right: 0;
    }

    .track-customer-info {
        grid-template-columns: 1fr 1fr;
    }

    .track-customer-address {
        grid-column: 1 / -1;
    }

}


@media (max-width: 767px) {

    .track-order-page {
        padding-top: 25px;
    }

    .track-page-head h1 {
        font-size: 24px;
    }

    .track-search-card {
        padding: 18px;
    }

    .track-search-row {
        flex-direction: column;
    }

    .track-search-row button {
        width: 100%;
    }

    .track-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .track-summary-item {
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .track-summary-item:nth-child(2n) {
        border-right: 0;
    }

    .track-customer-info {
        grid-template-columns: 1fr;
    }

    .track-customer-address {
        grid-column: auto;
    }

}


@media (max-width: 575px) {

    .track-order-head {
        padding: 17px;
    }

    .track-section {
        padding: 17px;
    }

    .track-order-footer {
        padding: 15px 17px;
    }

    .track-product {
        align-items: flex-start;
    }

    .track-product-image,
    .track-product-image img,
    .track-product-no-image {
        width: 55px;
        height: 55px;
        flex-basis: 55px;
    }

    .track-product-total {
        min-width: auto;
        font-size: 13px;
    }

    .track-product-meta {
        flex-direction: column;
        gap: 3px;
    }

    .track-order-total {
        gap: 7px;
    }

    .track-order-total strong {
        font-size: 16px;
    }

}
/* ===== Status Labels ===== */

.label {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 4px;
}

.label-primary {
    background-color: #337ab7;
}

.label-success {
    background-color: #5cb85c;
}

.label-info {
    background-color: #5bc0de;
}

.label-warning {
    background-color: #f0ad4e;
}

.label-danger {
    background-color: #d9534f;
}

.label-default {
    background-color: #777;
}

.track-order-id-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.track-order-id-row h2 {
    margin: 0;
}

.track-order-status-inline {
    display: inline-flex;
    align-items: center;
}

.track-order-status-inline .label {
    margin: 0;
}

.empty-products {
    width: 100%;
    padding: 80px 20px;
    text-align: center;
    box-sizing: border-box;
}

.empty-products-inner {
    max-width: 520px;
    margin: 0 auto;
}

.empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f6f3;
}

.empty-icon .svg-ico {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--accent);
}

.empty-products h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

.empty-products p {
    margin: 10px auto 0;
    max-width: 460px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.empty-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.empty-actions .btn-bz {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: 0.2s ease;
}



.empty-actions .btn-primary:hover {
    opacity: 0.9;
}

.empty-actions .btn-outline {
  
    color: #333;
    border: 1px solid #d9d9d9;
}



@media (max-width: 576px) {
    .empty-products {
        padding: 60px 16px;
    }

    .empty-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .empty-icon .svg-ico {
        width: 30px;
        height: 30px;
    }

    .empty-products h2 {
        font-size: 21px;
    }

    .empty-products p {
        font-size: 13px;
    }

    .empty-actions {
        gap: 8px;
    }

    .empty-actions .btn-bz {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
    }
}