/* ═══════════════════════════════════════════
   SLIDIN GH — Design System
   Balenciaga-inspired: editorial, stripped,
   intentional. Content is the interface.
═══════════════════════════════════════════ */

:root {
  --black:   #000000;
  --white:   #ffffff;
  --grey:    #f5f5f5;
  --grey-2:  #e8e8e8;
  --grey-3:  #aaaaaa;
  --grey-4:  #555555;
  --font:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ease:    cubic-bezier(0.25, 0, 0, 1);
  --nav-h:   56px;
}

/* ── Reset ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); border: none; background: none; cursor: pointer; }
input, select, textarea {
  font-family: var(--font);
  font-size: 0.875rem;
  outline: none;
}
ul, ol { list-style: none; }

/* ── Scrollbar ────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--grey-2); }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 24px;
  background: var(--white);
  border-bottom: 1px solid var(--black);
  transition: border-color 0.2s;
}
.nav__left  { display: flex; align-items: center; gap: 16px; }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }

/* Desktop nav links (Track Order, Contact) */
.nav__links { display: flex; align-items: center; gap: 20px; }
.nav__link {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.nav__link:hover { opacity: 1; }

.nav__logo {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav__btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.15s;
}
.nav__btn:hover { opacity: 0.5; }
.nav__btn svg { width: 20px; height: 20px; }

.nav__cart-count {
  position: absolute;
  top: 8px; right: 6px;
  width: 16px; height: 16px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav__cart-wrap { position: relative; }

/* ── Inline expanding search bar ─────────── */
.search-bar {
  position: fixed;
  top: 0;
  right: 0;
  height: var(--nav-h);
  /* Collapsed state: invisible but layout-present */
  width: min(400px, 88vw);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 16px;
  z-index: 102;
  border-bottom: 2px solid #000;
  box-shadow: -4px 0 16px rgba(0,0,0,0.08);
  /* Hidden via transform + opacity so children stay interactive when open */
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              opacity   0.2s ease;
}
.search-bar--open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.search-bar form { flex: 1; display: flex; min-width: 0; }
.search-bar input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: #000;
  outline: none;
  padding: 0;
}
.search-bar input::placeholder { color: #bbb; }
.search-bar svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.4; }
.search-bar__close {
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; line-height: 1; color: #999;
  padding: 0; flex-shrink: 0;
}

/* ── Full-screen menu overlay ─────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
  overflow: hidden;
  visibility: hidden;
}
.menu-overlay.open { transform: translateY(0); visibility: visible; }

.menu-overlay__header {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
  border-bottom: 1px solid var(--black);
}

.menu-overlay__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 24px;
  gap: 2px;
}
.menu-overlay__nav a {
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  transition: opacity 0.15s;
  display: block;
}
.menu-overlay__nav a:hover { opacity: 0.3; }

.menu-overlay__footer {
  padding: 24px;
  border-top: 1px solid var(--grey-2);
  display: flex;
  gap: 24px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-3);
}

/* ═══════════════════════════════════════════
   PAGE WRAPPER
═══════════════════════════════════════════ */
.page {
  margin-top: var(--nav-h);
}
.page--with-search {
  margin-top: 0;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  background: var(--black);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: 0.55;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 64px 24px;
  width: 100%;
}
.hero__label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  display: block;
}
.hero__title {
  font-size: clamp(3rem, 12vw, 9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 48px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Hero sub-line ───────────────────────── */
.hero__sub {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ── Hero reel (slideshow container) ──────── */
.hero-reel {
  position: relative;
  overflow: hidden;
  /* Height comes from the active slide */
}
.hero-reel__slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  /* All slides stack; only active one is visible */
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
}
.hero-reel__slide.active {
  position: relative;   /* active slide sets the container height */
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
/* Prevent layout shift: outgoing slide stays absolute while fading out */
.hero-reel__slide.leaving {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}
/* Dots */
.hero-reel__dots {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 11;
}
/* When no stats bar, reset dots closer to bottom */
.hero-reel:not(:has(.hero-stats)) .hero-reel__dots {
  bottom: 24px;
}
.hero-reel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.hero-reel__dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.25);
}
/* Arrows */
.hero-reel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-reel__arrow:hover { background: rgba(0,0,0,0.6); }
.hero-reel__arrow--prev { left: 16px; }
.hero-reel__arrow--next { right: 16px; }
@media (max-width: 767px) {
  .hero-reel__arrow { display: none; }
  .hero-reel__dots { bottom: 16px; }
}

/* Floating badge overlay on hero slide 1 */
.hero-badge {
  position: absolute;
  top: 80px;
  right: 32px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  z-index: 12;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
  pointer-events: none;
  animation: badge-spin-in 0.5s ease-out both;
}
@keyframes badge-spin-in {
  from { transform: scale(0.6) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}
.hero-badge__label {
  font-size: 0.48rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.55;
  line-height: 1.3;
  display: block;
}
.hero-badge__main {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin: 3px 0;
}
.hero-badge__sub {
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  display: block;
}
@media (max-width: 767px) {
  .hero-badge { width: 84px; height: 84px; top: 72px; right: 16px; padding: 8px; }
  .hero-badge__main { font-size: 1.1rem; }
}

/* Puma style — split layout: text left, media right */
.hero--puma {
  min-height: 80svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.hero--puma .hero__media {
  position: relative;
  opacity: 1;
  grid-column: 2;
  grid-row: 1;
}
.hero--puma .hero__content {
  grid-column: 1;
  grid-row: 1;
  background: var(--black);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  position: relative;
}
/* Dark overlay so text stays readable when a left-panel image is set */
.hero--puma .hero__content[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.2) 100%);
  z-index: 0;
}
.hero--puma .hero__content[style*="background-image"] > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .hero--puma {
    grid-template-columns: 1fr;
    min-height: 100svh;
  }
  .hero--puma .hero__media {
    position: absolute;
    opacity: 0.45;
    grid-column: 1;
  }
  .hero--puma .hero__content {
    grid-column: 1;
  }
}

/* Hero stats bar (slide 1 bottom) */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  z-index: 10;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
}
.hero-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-stats__item:last-child { border-right: none; }
.hero-stats__num {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats__lbl {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 3px;
}
@media (max-width: 767px) {
  .hero-stats { gap: 0; }
  .hero-stats__item { padding: 10px 16px; }
  .hero-stats__num { font-size: 1rem; }
}

/* Trust strip (icon + title + desc, 4 columns) */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid #f0f0f0;
}
.trust-strip__item:last-child { border-right: none; }
.trust-strip__item i {
  font-size: 1.6rem;
  color: var(--black);
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-strip__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 4px;
}
.trust-strip__desc {
  font-size: 0.72rem;
  color: #666;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip__item { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .trust-strip__item:nth-child(odd) { border-right: 1px solid #f0f0f0; }
  .trust-strip__item:last-child { border-bottom: none; }
}

/* Announcement bar (DB-driven via hero settings) */
.announcement-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
/* Site-wide banners (from Banners table) */
.site-banner {
  text-align: center;
  padding: 10px 24px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.site-banner__link {
  color: inherit;
  text-decoration: underline;
  margin-left: 12px;
}
.nav__cart-count--hidden { display: none; }
/* Trust features strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--black);
}
.trust-strip__item {
  padding: 24px 20px;
  border-right: 1px solid var(--black);
  text-align: center;
}
.trust-strip__item:last-child { border-right: none; }
.trust-strip__icon { font-size: 1.4rem; margin-bottom: 8px; }
.trust-strip__title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 4px; }
.trust-strip__desc { font-size: 0.68rem; color: #666; }
@media (max-width: 767px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip__item:nth-child(2) { border-right: none; }
  .trust-strip__item:nth-child(3) { border-right: 1px solid var(--black); }
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn--black:hover { background: var(--grey-4); border-color: var(--grey-4); }

.btn--white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn--white:hover { background: var(--grey); }

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-white:hover { background: var(--white); color: var(--black); }

.btn--full { width: 100%; }
.btn--lg { padding: 18px 40px; font-size: 0.75rem; }

/* ═══════════════════════════════════════════
   SECTION LABELS
═══════════════════════════════════════════ */
.section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-3);
  display: block;
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--black);
}

/* ═══════════════════════════════════════════
   CATEGORY GRID
═══════════════════════════════════════════ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--black);
  margin-bottom: 1px;
}
/* Last tile spans remaining empty column(s) so no black gap shows */
.category-tile:last-child:nth-child(odd) { grid-column: span 2; }
@media (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  /* On desktop: last tile fills remaining slots in the row */
  .category-tile:last-child:nth-child(4n+1) { grid-column: span 4; }
  .category-tile:last-child:nth-child(4n+2) { grid-column: span 3; }
  .category-tile:last-child:nth-child(4n+3) { grid-column: span 2; }
  .category-tile:last-child:nth-child(4n+4) { grid-column: span 1; }
}

.category-tile {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--grey);
  cursor: pointer;
}
.category-tile__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.category-tile:hover .category-tile__img { transform: scale(1.04); }
.category-tile__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1a1a1a 0%, #2e2e2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-tile__placeholder-text {
  color: rgba(255,255,255,0.25);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 0 16px;
}

.category-tile__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

/* Overflow categories — pill row below the grid */
.category-more-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
}
.category-more-pill {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid var(--black);
  color: var(--black);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.category-more-pill:hover { background: var(--black); color: var(--white); }
.category-more-pill--all {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.category-more-pill--all:hover { opacity: 0.8; }

/* ═══════════════════════════════════════════
   PRODUCT GRID
═══════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--white);
  border: 1px solid var(--black);
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
  background: var(--white);
  cursor: pointer;
  position: relative;
  display: block;
}
.product-card__img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0f0f0;
  position: relative;
}
.product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease);
  display: block;
  position: relative;
  z-index: 1;
}
.product-card:hover .product-card__img { transform: scale(1.03); }

/* Template PNG overlay — sits on top of the product photo, pointer-events:none so clicks pass through */
.product-card__tmpl-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 2;
  pointer-events: none;
  display: block;
}
.product-card--placeholder {
  background: var(--white);
  border: 1px solid var(--black);
  pointer-events: none;
}
.product-card--placeholder .product-card__img-wrap {
  background: var(--white);
  border: none;
}

.product-card__info {
  padding: 16px 14px 20px;
}
.product-card__name {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 6px;
}
.product-card__price {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--grey-4);
}
.product-card__compare {
  text-decoration: line-through;
  color: var(--grey-3);
  margin-left: 8px;
  font-weight: 400;
}
.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--black);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.product-card__badge--sale {
  background: #dc2626;
  letter-spacing: 0.05em;
}
.product-card__badge--low-stock {
  background: #d97706;
  letter-spacing: 0.05em;
}

/* Colors swatch row on card */
.product-card__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.color-swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid var(--grey-2);
  flex-shrink: 0;
}
/* Split-color swatch: set via JS using linear-gradient(135deg, c1 50%, c2 50%) */
.color-swatch--split {
  background: linear-gradient(135deg, var(--sw-c1,#000) 50%, var(--sw-c2,#fff) 50%);
}

/* ═══════════════════════════════════════════
   PRODUCT DETAIL
═══════════════════════════════════════════ */
.pdp {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pdp { grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--nav-h)); }
}

.pdp__gallery {
  position: sticky;
  top: 0;
  height: calc(100svh - var(--nav-h));
  overflow: hidden;
  background: var(--grey);
}

/* ── Mobile gallery ── */
@media (max-width: 767px) {
  .pdp__gallery {
    position: relative;
    height: auto !important;
    overflow: visible !important;
    background: var(--grey);
  }
  /* Square main image via padding trick — immune to inline style conflicts */
  .pdp__gallery-main-wrap {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-top: 100% !important;
    overflow: hidden;
    background: var(--grey);
  }
  #gallery-main,
  .pdp__gallery-main {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    padding: 0 !important;
    mix-blend-mode: normal !important;
  }
  /* Thumbs hidden on mobile — angle panel below color swatches handles this */
  .pdp__thumbs {
    display: none !important;
  }
  /* (keep the img rules for reference but they won't apply) */
  .pdp__thumbs .pdp__thumb-wrap img,
  .pdp__thumbs > div img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}

.pdp__gallery-main-wrap {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pdp__gallery-main {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.pdp__gallery-main-wrap .pdp__gallery-main {
  display: block;
}

.pdp__thumbs {
  display: none;
}
.pdp__thumb {
  width: 48px; height: 60px;
  object-fit: cover;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.15s;
  border: 1px solid transparent;
}
.pdp__thumb.active,
.pdp__thumb:hover { opacity: 1; border-color: var(--black); }

.pdp__info {
  padding: 40px 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 1px solid var(--black);
}
@media (max-width: 767px) {
  .pdp__info { padding: 28px 20px 48px; border-left: none; border-top: 1px solid var(--black); }
}

.pdp__brand {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-3);
}
.pdp__name {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.pdp__price {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pdp__price-compare {
  text-decoration: line-through;
  color: var(--grey-3);
  font-weight: 400;
  font-size: 0.9rem;
  margin-left: 10px;
}
.pdp__discount-badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Selector groups */
.selector-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.size-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--grey-2);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
}
.size-btn:hover { border-color: var(--black); }
.size-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.size-btn.unavailable { opacity: 0.25; cursor: not-allowed; text-decoration: line-through; }

.color-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.color-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: outline-offset 0.15s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.color-btn.active { outline-color: var(--black); }

/* Description */
.pdp__desc {
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--grey-4);
  border-top: 1px solid var(--grey-2);
  padding-top: 24px;
}

/* ═══════════════════════════════════════════
   CART DRAWER
═══════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 301;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--black);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cart-drawer__body { flex: 1; overflow-y: auto; padding: 0; }

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--grey-2);
}
.cart-item__img {
  width: 88px; height: 110px;
  object-fit: cover;
  background: var(--grey);
}
.cart-item__name {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 4px;
}
.cart-item__meta {
  font-size: 0.7rem;
  color: var(--grey-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}
.cart-item__qty button {
  width: 28px; height: 28px;
  border: 1px solid var(--grey-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: border-color 0.1s;
}
.cart-item__qty button:hover { border-color: var(--black); }
.cart-item__price { font-size: 0.8rem; font-weight: 600; align-self: start; padding-top: 2px; }
.cart-item__remove { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; transition: opacity 0.15s; }
.cart-item__remove:hover { opacity: 0.4; }

.cart-drawer__footer {
  padding: 24px;
  border-top: 1px solid var(--black);
}
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cart-drawer__empty {
  padding: 48px 24px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-3);
}

/* ═══════════════════════════════════════════
   CHECKOUT
═══════════════════════════════════════════ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100svh - var(--nav-h));
}
@media (min-width: 900px) {
  /* Form left, summary right on desktop */
  .checkout-grid { grid-template-columns: 1fr 420px; }
  .checkout-form { order: 1; }
  .checkout-summary { order: 2; }
}
@media (max-width: 899px) {
  /* Summary on top on mobile so cart is immediately visible */
  .checkout-form { order: 2; }
  .checkout-summary { order: 1; }
}

.checkout-form {
  padding: 48px 40px;
  border-right: 1px solid var(--grey-2);
}
@media (max-width: 899px) {
  .checkout-form { padding: 32px 20px; border-right: none; border-top: 1px solid var(--black); }
}

.checkout-summary {
  padding: 40px 32px;
  background: var(--grey);
}
@media (min-width: 900px) {
  .checkout-summary {
    position: sticky;
    top: var(--nav-h);
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
  }
}

.checkout-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--black);
}

/* Form fields */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--grey-2);
  padding: 13px 14px;
  font-size: 0.875rem;
  color: var(--black);
  transition: border-color 0.15s;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--black); }
.field textarea { resize: vertical; min-height: 80px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Summary item */
.summary-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-2);
}
.summary-item__img {
  width: 56px; height: 70px;
  object-fit: cover;
  background: var(--grey-2);
}
.summary-item__name { font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.summary-item__meta { font-size: 0.68rem; color: var(--grey-3); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.summary-item__price { font-size: 0.78rem; font-weight: 600; }

.summary-totals { margin-top: 16px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-2);
}
.summary-row--total {
  font-size: 0.8rem;
  font-weight: 700;
  border-bottom: none;
  padding-top: 16px;
}

/* ═══════════════════════════════════════════
   ORDER SUCCESS
═══════════════════════════════════════════ */
.order-success {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}
.order-success__number {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 16px;
}
.order-success__title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 32px;
}
.order-success__body {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--grey-4);
  max-width: 380px;
  margin-bottom: 48px;
}

/* ═══════════════════════════════════════════
   SHOP PAGE — filters
═══════════════════════════════════════════ */
.shop-header {
  padding: 40px 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.shop-title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}
.filter-bar {
  padding: 0 24px 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--black);
}
.filter-chip {
  padding: 7px 14px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--grey-2);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
}
.filter-chip:hover,
.filter-chip.active { border-color: var(--black); background: var(--black); color: var(--white); }

/* ═══════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--black);
  color: var(--white);
  padding: 14px 24px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 999;
  transition: transform 0.3s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--black);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 640px) {
  .footer { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer__brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-3);
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--black); }

/* ═══════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════ */
.pagination {
  display: flex;
  gap: 1px;
  background: var(--black);
  width: fit-content;
  margin: 48px auto;
}
.pagination a,
.pagination span {
  width: 44px; height: 44px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.15s, color 0.15s;
}
.pagination a:hover { background: var(--grey); }
.pagination .current { background: var(--black); color: var(--white); }

/* ═══════════════════════════════════════════
   ADMIN
═══════════════════════════════════════════ */
.admin-layout {
  display: block;
  min-height: 100vh;
}
@media (max-width: 768px) { .admin-layout { display: block; } }

.admin-sidebar {
  background: var(--black);
  color: var(--white);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 200;
  transition: width 0.25s ease;
}
.sidebar-collapsed .admin-sidebar { width: 52px; }
.admin-sidebar nav a.active {
  scroll-margin-top: 80px;
}
.admin-sidebar__logo {
  padding: 24px 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar nav { padding: 8px 0 24px; flex: 1; }
.admin-nav-section {
  padding: 18px 20px 4px;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  font-weight: 600;
}
.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s, background 0.15s;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active { color: var(--white); background: rgba(255,255,255,0.06); }
.admin-sidebar nav a svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Collapse toggle button */
.admin-sidebar__collapse {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 10px 14px; border: none; background: none; color: rgba(255,255,255,0.4);
  cursor: pointer; width: 100%; transition: color 0.15s;
}
.admin-sidebar__collapse:hover { color: var(--white); }
.admin-sidebar__collapse svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Collapsed state — show only icons */
.sidebar-collapsed .admin-sidebar__logo,
.sidebar-collapsed .admin-nav-section,
.sidebar-collapsed .admin-sidebar__collapse span { display: none; }
.sidebar-collapsed .admin-sidebar nav a { padding: 12px 0; justify-content: center; gap: 0; }
.sidebar-collapsed .admin-sidebar nav a span { display: none; }
.sidebar-collapsed .admin-sidebar__collapse { justify-content: center; padding: 10px 0; }

.admin-main {
  margin-left: 220px;
  padding: 32px 36px;
  overflow-x: auto;
  overflow-y: visible;
  transition: margin-left 0.25s ease;
  min-height: 100vh;
}
.admin-layout ~ * { overflow: visible; }
body:has(.admin-layout) { overflow-x: hidden; overflow-y: auto; }
.sidebar-collapsed .admin-main { margin-left: 52px; }
@media (max-width: 768px) { .admin-main { margin-left: 0; padding: 20px 16px; } }

.admin-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

/* Stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--black);
  margin-bottom: 40px;
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  background: var(--white);
  padding: 24px 20px;
}
.stat-card__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 8px;
}
.stat-card__value {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Table */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-3);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--black);
}
.data-table td {
  font-size: 0.78rem;
  padding: 13px 14px;
  border-bottom: 1px solid var(--grey-2);
  vertical-align: middle;
}
.data-table tr:hover td { background: var(--grey); }
.data-table a { font-weight: 500; }
.data-table a:hover { text-decoration: underline; }

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge--pending  { background: #fef9c3; color: #854d0e; }
.badge--confirmed { background: #dbeafe; color: #1e40af; }
.badge--processing { background: #ede9fe; color: #5b21b6; }
.badge--shipped  { background: #dcfce7; color: #14532d; }
.badge--delivered { background: #d1fae5; color: #065f46; }
.badge--cancelled { background: #fee2e2; color: #7f1d1d; }

/* Admin forms */
.admin-field { margin-bottom: 18px; }
.admin-field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-bottom: 5px;
}
.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--grey-2);
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.15s;
}
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus { border-color: var(--black); }

.admin-flash {
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.admin-flash--success { background: #d1fae5; color: #065f46; }
.admin-flash--error   { background: #fee2e2; color: #7f1d1d; }

/* ── Admin Mobile Nav ─────────────────────── */
.admin-topbar {
  display: none;
  align-items: center;
  gap: 14px;
  background: var(--black);
  color: var(--white);
  padding: 0 16px;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.admin-topbar__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.admin-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.admin-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
}
.admin-sidebar__close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
}
.admin-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 299;
}
.admin-nav-overlay.open { display: block; }

/* Table scroll wrapper — applied via template */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 768px) {
  /* Show topbar, hide sidebar by default */
  .admin-topbar { display: flex; }
  .admin-layout { display: block; }

  /* Sidebar slides in from left as a drawer — no margin offset on main */
  .admin-sidebar {
    width: 260px;
    transform: translateX(-100%);
    transition: width 0s, transform 0.25s cubic-bezier(0.25,0,0,1);
    z-index: 300;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar__close { display: flex; align-items: center; justify-content: center; }

  /* Main content fills full width — no left margin, topbar accounts for header */
  .admin-main {
    margin-left: 0 !important;
    padding: 16px 14px;
    padding-top: 16px;
  }

  /* Sidebar collapse toggle irrelevant on mobile */
  .admin-sidebar__collapse { display: none; }

  /* Tables: horizontal scroll */
  .data-table { min-width: 520px; }
  .admin-main > div > .data-table,
  .admin-main .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Two-column admin layouts → single column */
  .admin-split-layout {
    display: block !important;
  }
  /* Side-forms within split layout: remove sticky on mobile */
  .admin-split-layout > div[style*="sticky"],
  .admin-split-layout > div[style*="position:sticky"],
  .admin-split-layout > div[style*="position: sticky"] {
    position: static !important;
    margin-top: 32px;
  }

  /* Settings tab content: stack two-col inline grids */
  .settings-grid { grid-template-columns: 1fr !important; }
  /* Force any remaining inline 1fr 1fr grids in admin to stack */
  .admin-main div[style*="grid-template-columns:1fr 1fr"],
  .admin-main div[style*="grid-template-columns: 1fr 1fr"] {
    display: block !important;
  }
  .admin-main div[style*="grid-template-columns:1fr 1fr"] > *,
  .admin-main div[style*="grid-template-columns: 1fr 1fr"] > * {
    width: 100%;
    margin-bottom: 12px;
  }

  /* Dashboard stat grid already 2-col on mobile via @media min-width:640 */
}

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.container { max-width: 1440px; margin: 0 auto; }
.px { padding-left: 24px; padding-right: 24px; }
.section { padding: 64px 24px; }
@media (min-width: 768px) { .section { padding: 96px 40px; } }
.text-upper { text-transform: uppercase; letter-spacing: 0.1em; }

/* ═══════════════════════════════════════════
   WISHLIST + HEARTS
═══════════════════════════════════════════ */
.wishlist-btn {
  background: none;
  border: 1px solid var(--grey-2);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #333;
  transition: all 0.15s;
  flex-shrink: 0;
}
.wishlist-btn:hover { border-color: var(--black); }
.wishlist-btn.is-active {
  color: #e11;
  border-color: #e11;
}
.wishlist-btn.is-active svg { fill: #e11; }

.product-card__img-wrap { position: relative; }
.product-card__wishlist {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(255,255,255,0.92);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #333;
  transition: transform 0.15s, background 0.15s;
  z-index: 2;
}
.product-card__wishlist:hover { transform: scale(1.08); background: #fff; }
.product-card__wishlist.is-active { color: #e11; }
.product-card__wishlist.is-active svg { fill: #e11; }

/* ═══════════════════════════════════════════
   FREE SHIPPING PROGRESS (cart drawer)
═══════════════════════════════════════════ */
.free-ship-bar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--grey-2);
  background: #fafafa;
}
.free-ship-bar__msg {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  color: #333;
}
.free-ship-bar__msg--done { color: #0a7a2f; font-weight: 600; }
.free-ship-bar__track {
  height: 4px;
  background: var(--grey-2);
  overflow: hidden;
}
.free-ship-bar__fill {
  height: 100%;
  background: var(--black);
  transition: width 0.3s ease;
}

/* ═══════════════════════════════════════════
   SOCIAL SHARE (PDP)
═══════════════════════════════════════════ */
.social-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 20px;
}
.social-share__label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-right: 4px;
}
.social-share__btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--grey-2);
  background: var(--white);
  color: #333;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.social-share__btn:hover {
  border-color: var(--black);
  color: var(--black);
  background: #fafafa;
}

/* ═══════════════════════════════════════════
   MODAL (size guide)
═══════════════════════════════════════════ */
.modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
}
.modal.open { display: block; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
}
.modal__panel {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  width: 92%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--grey-2);
}
.modal__body { padding: 24px; }

.size-chart {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.size-chart th, .size-chart td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--grey-2);
}
.size-chart th {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  background: #fafafa;
}
.size-chart tbody tr:hover { background: #fafafa; }

/* ═══════════════════════════════════════════
   PRODUCT CARD: quick view
═══════════════════════════════════════════ */
.product-card__quickview {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(0,0,0,0.88);
  color: #fff;
  border: none;
  padding: 9px 18px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2;
  white-space: nowrap;
}
.product-card:hover .product-card__quickview {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 768px) {
  .product-card__quickview { display: none; }
}
@media (max-width: 768px) {
  .qv-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════ */
.reviews-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-top: 24px;
}
@media (max-width: 860px) {
  .reviews-wrap { grid-template-columns: 1fr; gap: 32px; }
}
.review-item {
  border-top: 1px solid var(--grey-2);
  padding: 20px 0;
}
.review-item__head {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.review-item__date { color: #999; font-size: 0.7rem; margin-left: auto; }
.review-item__title { font-weight: 600; font-size: 0.88rem; margin-bottom: 4px; }
.review-item__content { color: #444; font-size: 0.82rem; line-height: 1.5; }
.review-form {
  border: 1px solid var(--grey-2);
  padding: 24px;
  background: #fafafa;
}
.review-form .field { margin-bottom: 12px; }
.review-form .field label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 4px;
}
.review-form .field input,
.review-form .field textarea {
  width: 100%;
  padding: 9px;
  border: 1px solid var(--grey-2);
  font-family: inherit;
  font-size: 0.8rem;
}
.star-rating {
  display: flex;
  gap: 4px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #ccc;
  margin-top: 4px;
}
.star-rating .star { transition: color 0.1s; }

/* ═══════════════════════════════════════════
   FOOTER (expanded)
═══════════════════════════════════════════ */
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding: 56px 40px;
  border-top: 1px solid var(--black);
}
.footer__col .footer__title {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer__col a {
  display: block;
  font-size: 0.78rem;
  color: #555;
  padding: 4px 0;
  text-decoration: none;
}
.footer__col a:hover { color: var(--black); }
.footer__bottom {
  padding: 18px 40px;
  border-top: 1px solid var(--grey-2);
  font-size: 0.7rem;
  color: #888;
  text-align: center;
}
@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 20px; }
  .footer__newsletter { grid-column: span 2; }
}


/* ═══════════════════════════════════════════
   COOKIE CONSENT
═══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 120;
  background: #111;
  color: #fff;
  padding: 14px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}
.cookie-banner .btn { white-space: nowrap; }
@media (max-width: 520px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ═══════════════════════════════════════════
   MOBILE BOTTOM NAV
═══════════════════════════════════════════ */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: #fff;
  border-top: 1px solid var(--grey-2);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px;
  text-decoration: none;
  color: #555;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  flex: 1;
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--black); font-weight: 700; }
@media (max-width: 768px) {
  .bottom-nav { display: flex; }
  body { padding-bottom: 64px; }
}


.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ═══════════════════════════════════════════
   SHOP FILTER FORM — responsive
═══════════════════════════════════════════ */
.shop-filter-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
}
.shop-filter-form select,
.shop-filter-form input[type="number"] {
  border: 1px solid var(--grey-2);
  padding: 7px 10px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
}
.shop-filter-form input[type="number"] { width: 72px; }

@media (max-width: 640px) {
  .shop-header { flex-direction: column; align-items: flex-start; padding: 24px 16px 0; }
  .filter-bar { padding: 0 16px 16px; flex-direction: column; align-items: stretch; gap: 6px; }
  .shop-filter-form { margin-left: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .shop-filter-form select { width: 100%; }
  .shop-filter-form input[type="number"] { width: 100%; }
  .filter-chip { font-size: 0.68rem; }
}

/* ═══════════════════════════════════════════
   COOKIE BANNER — sit above mobile bottom nav
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .cookie-banner { bottom: calc(64px + env(safe-area-inset-bottom) + 12px); }
}

/* ═══════════════════════════════════════════
   FOOTER — single column on very small screens
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; padding: 28px 16px; gap: 20px; }
  .footer__newsletter { grid-column: span 1; }
  #newsletter-form { flex-wrap: wrap; }
  #newsletter-form input[type="email"] { width: 100%; }
  #newsletter-form button { width: 100%; }
  .footer__bottom { padding: 14px 16px; }
}
@media (max-width: 820px) and (min-width: 481px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   CHECKOUT — stack field-row on small phones
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .checkout-form { padding: 24px 16px; }
  .checkout-summary { padding: 24px 16px; }
}

/* ═══════════════════════════════════════════
   CART DRAWER — tighter item layout on phones
═══════════════════════════════════════════ */
@media (max-width: 400px) {
  .cart-item { grid-template-columns: 72px 1fr auto; gap: 10px; padding: 16px; }
  .cart-item__img { width: 72px; height: 90px; }
}

/* ═══════════════════════════════════════════
   PDP — tighter padding on small phones
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .pdp__info { padding: 20px 16px 40px; gap: 20px; }
  /* height handled by padding-top:100% on main-wrap — no fixed height needed */
  .pdp__gallery { height: auto !important; }
  .pdp__thumbs { display: none !important; }
}

/* ═══════════════════════════════════════════
   NAV — tighter on very small screens
═══════════════════════════════════════════ */
@media (max-width: 360px) {
  .nav { padding: 0 12px; }
  .nav__logo { font-size: 0.75rem; }
}

/* ═══════════════════════════════════════════
   HERO — responsive adjustments
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Push content up so the absolute stats bar doesn't cover it */
  .hero__content { padding: 48px 16px 80px; }
  .hero-stats { flex-wrap: nowrap; gap: 0; padding: 0; }
  .hero-stats__item { padding: 10px 12px; flex: 1; }
  .hero-stats__num { font-size: 0.9rem; }
  .hero-stats__lbl { font-size: 0.5rem; }
  .hero-badge { display: none; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   ADMIN — analytics chart responsive
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .admin-page-title { font-size: 1.1rem; margin-bottom: 20px; }
  .stat-card__value { font-size: 1.4rem; }
}

/* ═══════════════════════════════════════════
   GENERAL — prevent any horizontal overflow
═══════════════════════════════════════════ */
html, body { max-width: 100%; overflow-x: hidden; }

/* ═══════════════════════════════════════════
   RESPONSIVE FIXES — HOME PAGE
═══════════════════════════════════════════ */

/* Product card name: clamp to 2 lines so cards stay same height */
.product-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Section padding tighter on small phones */
@media (max-width: 480px) {
  .section { padding: 40px 16px; }
  .section-label { margin-bottom: 24px; }
  .px { padding-left: 16px; padding-right: 16px; }
}

/* Hero CTA buttons — smaller on tiny screens */
@media (max-width: 400px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn--lg { padding: 14px 24px; font-size: 0.7rem; }
  .hero__title { margin-bottom: 28px; }
}

/* Hero subheadline font size on mobile */
@media (max-width: 480px) {
  .hero__content p { font-size: 0.78rem !important; }
}

/* Announcement bar — wrap long text safely */
.announcement-bar {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .announcement-bar { white-space: normal; font-size: 0.6rem; padding: 8px 12px; }
}

/* Category tile label readable on 2-col mobile */
@media (max-width: 480px) {
  .category-tile__label { font-size: 0.58rem; padding: 24px 12px 12px; }
}

/* Cart drawer full-width on very small screens */
@media (max-width: 380px) {
  .cart-drawer { width: 100%; right: 0; }
}

/* Trust strip — ensure 3rd item right border on 2-col layout */
@media (max-width: 640px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip__item { padding: 16px 12px; }
  .trust-strip__item:nth-child(2n) { border-right: none; }
  .trust-strip__item:nth-child(2n+1) { border-right: 1px solid var(--black); }
  .trust-strip__item:last-child { border-right: none; }
}

/* Quick view modal single column on narrow screens */
@media (max-width: 520px) {
  .qv-grid { grid-template-columns: 1fr !important; }
  .modal__panel { padding: 0; border-radius: 12px 12px 0 0; }
}

/* Product grid — always 2 cols minimum even on tiny screens */
@media (max-width: 320px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Bottom nav safe area on iPhone */
.bottom-nav {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Footer newsletter on mid-range tablets */
@media (min-width: 481px) and (max-width: 900px) {
  .footer__newsletter { grid-column: span 2; }
}

/* ═══════════════════════════════════════════
   SMART UI — AI Description Generate button
═══════════════════════════════════════════ */
.ai-gen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: opacity 0.15s;
}
.ai-gen-btn:hover { opacity: 0.85; }
.ai-gen-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ai-gen-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
/* ═══════════════════════════════════════════
   NAV LINKS — hide on mobile, show desktop
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav__links { display: none; }
}

/* ═══════════════════════════════════════════
   AI CHAT BUBBLE
═══════════════════════════════════════════ */
.chat-bubble {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: var(--black);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-bubble:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,0,0,0.3); }
.chat-bubble__icon { width: 22px; height: 22px; }
.chat-bubble__badge {
  position: absolute;
  top: -4px; right: -4px;
  background: #dc2626;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .chat-bubble { bottom: 72px; right: 14px; width: 46px; height: 46px; }
}

.chat-window {
  position: fixed;
  bottom: 148px;
  right: 20px;
  width: 340px;
  max-height: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  z-index: 999;
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s;
  transform-origin: bottom right;
  overflow: hidden;
}
.chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}
@media (max-width: 768px) {
  .chat-window {
    left: 10px; right: 10px; bottom: 76px;
    width: auto;
    max-height: 62vh;
    border-radius: 16px;
    transform-origin: bottom center;
  }
}

.chat-window__header {
  background: var(--black);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-avatar {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.chat-window__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-msg--bot {
  background: #f3f4f6;
  color: #111;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg--user {
  background: var(--black);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg--typing {
  background: #f3f4f6;
  align-self: flex-start;
  padding: 12px 16px;
  border-bottom-left-radius: 4px;
}
.chat-typing-dots { display: flex; gap: 4px; align-items: center; }
.chat-typing-dots span {
  width: 6px; height: 6px;
  background: #999;
  border-radius: 50%;
  animation: chatDot 1.2s infinite;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot { 0%,80%,100%{transform:scale(0.7);opacity:0.5} 40%{transform:scale(1);opacity:1} }

.chat-product-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
  width: 100%;
  max-width: 90%;
}
.chat-product-card {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.chat-product-card:hover { border-color: #d1d5db; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.chat-product-card__img-wrap {
  width: 72px; height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
  display: block;
  text-decoration: none;
}
.chat-product-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.chat-product-card__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.chat-product-card__name {
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-product-card__price { font-size: 0.78rem; font-weight: 700; color: var(--black); margin: 0; }
.chat-product-card__stock { font-size: 0.6rem; margin: 0; }
.chat-product-card__stock.in { color: #16a34a; }
.chat-product-card__stock.out { color: #dc2626; }
.chat-product-card__cta { font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--black); margin-top: 2px; text-decoration: none; }
/* Size picker inside chat card */
.chat-card-sizes { display: flex; flex-wrap: wrap; gap: 3px; margin: 2px 0; }
.chat-size-btn {
  font-size: 0.58rem; font-weight: 600;
  padding: 2px 6px;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  background: #f9fafb;
  cursor: pointer;
  color: #374151;
  transition: all 0.1s;
}
.chat-size-btn:hover { border-color: #111; background: #f3f4f6; }
.chat-size-btn.selected { background: #111; color: #fff; border-color: #111; }
/* Add to cart button inside chat card */
.chat-atc-btn {
  margin-top: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 10px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s;
  align-self: flex-start;
}
.chat-atc-btn:hover { background: #333; }
.chat-atc-btn:disabled { background: #9ca3af; cursor: not-allowed; }
.chat-atc-btn.added { background: #16a34a; }
/* Checkout nudge */
.chat-checkout-nudge {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}
.chat-checkout-btn {
  display: block;
  background: #111;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.chat-checkout-btn:hover { background: #333; }
.chat-continue-btn {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.72rem;
  color: #6b7280;
  cursor: pointer;
  width: 100%;
}

/* Nav quick links row */
.chat-nav-links {
  display: none; /* shown after greeting */
  gap: 0;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.chat-nav-links a {
  flex: 1;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #333;
  text-decoration: none;
  padding: 8px 4px;
  border-right: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.chat-nav-links a:last-child { border-right: none; }
.chat-nav-links a:hover { background: #f5f5f5; color: #000; }

/* Quick action buttons */
.chat-window__quick {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  flex-wrap: wrap;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.chat-window__quick button {
  font-size: 0.62rem;
  padding: 5px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.chat-window__quick button:hover { background: #f5f5f5; border-color: #bbb; }

/* Complaint form */
.chat-complaint-form {
  padding: 12px;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
  background: #fafafa;
}

.chat-window__input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
  background: #fff;
}
.chat-window__input input {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.78rem;
  outline: none;
}
.chat-window__input input:focus { border-color: var(--black); }
.chat-window__input button {
  width: 36px; height: 36px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.chat-window__input button:hover { opacity: 0.8; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
