/* ===================================================
   CHLOE — Shop Page
   Based on Fossil shop structure, enhanced for luxury wellness
   =================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #D4A862;
  --gold-light: rgba(212, 168, 98, 0.12);
  --cream: #F5EDE4;
  --cream-light: #FAF6F1;
  --espresso: #3C2A1E;
  --warm-beige: #C8B8A2;
  --wood: #E8D5B8;
  --ink: #1A1A1A;
  --ink-dark: #111111;
  --white: #FFFFFF;
  --card-bg: #F0EAE2;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --page-padding: 48px;
  --grid-gap: 10px;
  --card-radius: 6px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}


/* ===================================================
   CUSTOM CURSOR — Gold dot follower (same as landing)
   =================================================== */

@media (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor__dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 168, 98, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.cursor--hover .cursor__dot {
  width: 14px;
  height: 14px;
}

.cursor--hover ~ .cursor__ring {
  width: 48px;
  height: 48px;
  border-color: rgba(212, 168, 98, 0.5);
}

@media (pointer: coarse) {
  .cursor, .cursor__ring {
    display: none !important;
  }
}


/* ===================================================
   STICKY NAV — Matches landing page structure
   =================================================== */

.topnav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 var(--page-padding);
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.topnav--scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.topnav__left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.topnav__link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color 0.3s ease;
}

.topnav__link:hover {
  color: var(--gold);
}

.topnav__link--active {
  color: var(--gold);
}

.topnav__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 0.25em;
}

.topnav__logo-tm {
  font-size: 0.4em;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 1px;
}

.topnav__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topnav__icon {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color 0.3s ease;
}

.topnav__icon:hover {
  color: var(--gold);
}

.topnav__cart-count {
  font-variant-numeric: tabular-nums;
}


/* ===================================================
   SHOP HERO — Title + Description (massive negative space)
   =================================================== */

.shop-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 100px var(--page-padding) 72px;
  gap: 60px;
}

.shop-hero__title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 7vw, 6.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: var(--ink);
  text-transform: none;
}

.shop-hero__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.55);
  max-width: 380px;
  letter-spacing: 0.01em;
}


/* ===================================================
   CATEGORY FILTER — Right-aligned, sticky below nav
   =================================================== */

.filter-bar {
  position: sticky;
  top: 60px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px var(--page-padding);
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.filter-bar__link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(26, 26, 26, 0.4);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.filter-bar__link:hover {
  color: var(--ink);
  background: rgba(212, 168, 98, 0.06);
}

.filter-bar__link--active {
  color: var(--ink);
  background: var(--gold-light);
  font-weight: 500;
}

.filter-bar__count {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: rgba(26, 26, 26, 0.25);
  letter-spacing: 0.04em;
  margin-right: auto;
}


/* ===================================================
   PRODUCT GRID — 3 columns, Fossil-identical spacing
   =================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--grid-gap);
  row-gap: 56px;
  padding: 24px var(--page-padding) 100px;
}


/* ===================================================
   PRODUCT CARD — Elevated with Chloe's brand language
   =================================================== */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Image container — warm cream bg, tall aspect */
.product-card__image-wrap {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s ease;
}

.product-card:hover .product-card__image-wrap {
  background: #EBE3D8;
}

.product-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card__img--hover {
  opacity: 0;
}

.product-card:hover .product-card__img:not(.product-card__img--hover) {
  opacity: 0;
}

.product-card:hover .product-card__img--hover {
  opacity: 1;
}

.product-card:hover .product-card__img {
  transform: scale(1.03);
}

/* "NEW" badge — Chloe gold accent */
.product-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--espresso);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Quick Add overlay — premium multi-stage animation
   Fossil: flat black bar, static +
   Chloe: gold-accented slide-up with rotating icon + sweep */
.product-card__quick-add {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--card-radius) 0 var(--card-radius) 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
  overflow: hidden;
}

/* Card hover: button appears */
.product-card:hover .product-card__quick-add {
  opacity: 1;
  transform: translateY(0);
}

/* Button hover: espresso bg + subtle glow */
.product-card__quick-add:hover {
  background: var(--espresso);
  box-shadow: 0 4px 20px rgba(212, 168, 98, 0.15);
}

/* Quick Add text — has its own subtle slide */
.product-card__quick-add-text {
  display: inline-block;
  transform: translateX(-4px);
  opacity: 0.85;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              color 0.3s ease;
}

.product-card:hover .product-card__quick-add-text {
  transform: translateX(0);
  opacity: 1;
}

.product-card__quick-add:hover .product-card__quick-add-text {
  color: var(--gold);
}

/* + icon container */
.product-card__quick-add-icon {
  width: 16px;
  height: 16px;
  position: relative;
  transform: rotate(-90deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card hover: icon rotates into position */
.product-card:hover .product-card__quick-add-icon {
  transform: rotate(0deg);
}

/* Button hover: icon does extra quarter-turn + gold color */
.product-card__quick-add:hover .product-card__quick-add-icon {
  transform: rotate(90deg);
}

.product-card__quick-add-icon::before,
.product-card__quick-add-icon::after {
  content: '';
  position: absolute;
  background: var(--white);
  transition: background 0.3s ease,
              box-shadow 0.3s ease;
}

.product-card__quick-add-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
  border-radius: 1px;
}

.product-card__quick-add-icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
  border-radius: 1px;
}

/* Button hover: + icon turns gold with glow */
.product-card__quick-add:hover .product-card__quick-add-icon::before,
.product-card__quick-add:hover .product-card__quick-add-icon::after {
  background: var(--gold);
  box-shadow: 0 0 6px rgba(212, 168, 98, 0.5);
}

/* Wishlist heart — top right, fades in on hover */
.product-card__wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__wishlist {
  opacity: 1;
  transform: scale(1);
}

.product-card__wishlist:hover {
  background: var(--gold);
}

.product-card__wishlist:hover svg {
  stroke: var(--white);
}

.product-card__wishlist svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
}

/* Product info — name left, price right */
.product-card__info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 4px 0;
  gap: 16px;
}

.product-card__name {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.product-card__price {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(26, 26, 26, 0.5);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Subtitle — product category hint */
.product-card__subtitle {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(26, 26, 26, 0.35);
  padding: 4px 4px 0;
}


/* ===================================================
   EDITORIAL BREAK — Midway hero moment
   =================================================== */

.editorial-break {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  text-align: center;
}

.editorial-break__inner {
  max-width: 520px;
}

.editorial-break__quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.editorial-break__attr {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}


/* ===================================================
   FOOTER — Same as landing page
   =================================================== */

.footer {
  background: var(--ink-dark);
  padding: 56px 48px 40px;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--white);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.footer__newsletter {
  max-width: 320px;
}

.footer__newsletter-title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.footer__newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 0;
  outline: none;
  min-width: 0;
  transition: border-color 0.3s ease;
}

.footer__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer__input:focus {
  border-color: var(--gold);
}

.footer__submit {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 24px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer__submit:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer__nav-columns {
  display: flex;
  gap: 80px;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

.footer__link:hover {
  color: var(--gold);
}

.footer__logo-giant {
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.85;
  margin: 0;
  margin-left: -0.04em;
}

.footer__logo-tm {
  font-size: 0.35em;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 2px;
}

.footer__logo-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.footer__bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding-bottom: 8px;
  flex-shrink: 0;
}

.footer__credit {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

.footer__separator {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
}

.footer__year {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.15);
}


/* ===================================================
   ENTRANCE ANIMATIONS
   =================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.shop-hero__title {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.shop-hero__desc {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.filter-bar {
  animation: fadeIn 0.6s ease 0.4s both;
}

.product-card {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-card:nth-child(1) { animation-delay: 0.15s; }
.product-card:nth-child(2) { animation-delay: 0.22s; }
.product-card:nth-child(3) { animation-delay: 0.29s; }
.product-card:nth-child(4) { animation-delay: 0.35s; }
.product-card:nth-child(5) { animation-delay: 0.40s; }
.product-card:nth-child(6) { animation-delay: 0.45s; }
.product-card:nth-child(7) { animation-delay: 0.50s; }
.product-card:nth-child(8) { animation-delay: 0.55s; }
.product-card:nth-child(9) { animation-delay: 0.60s; }
.product-card:nth-child(10) { animation-delay: 0.65s; }


/* ===================================================
   HAMBURGER MENU — Hidden by default, shown at tablet+
   =================================================== */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  z-index: 201;
  position: relative;
}

.hamburger__line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease;
}

.hamburger__line:nth-child(1) { margin-bottom: 5px; }
.hamburger__line:nth-child(2) { margin-bottom: 5px; }

.hamburger--open .hamburger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger--open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger--open .hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.4s;
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.mobile-menu--open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu--open .mobile-menu__link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu--open .mobile-menu__link:nth-child(4) { transition-delay: 0.26s; }

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: var(--gold);
}

.mobile-menu__tagline {
  position: absolute;
  bottom: 48px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.25);
}


/* ===================================================
   CAROUSEL SECTIONS — Desktop: transparent, Mobile: horizontal scroll
   =================================================== */

.carousel-section {
  display: contents;
}

.carousel-section__label {
  display: none;
}

.swipe-hint {
  display: none;
}

.carousel-dots {
  display: none;
}


/* ===================================================
   RESPONSIVE — Tablet & Below (1024px)
   Hamburger activates here — prevents nav/logo overlap
   on any device narrower than desktop
   =================================================== */

@media (max-width: 1024px) {

  /* ── Hamburger visible ── */
  .hamburger {
    display: flex;
  }

  /* ── Hide desktop nav links ── */
  .topnav__left {
    display: none;
  }

  /* ── Topnav: logo left, icons + hamburger right ── */
  .topnav {
    height: 58px;
  }

  .topnav__logo {
    position: static;
    transform: none;
    font-size: 1.15rem;
    letter-spacing: 0.24em;
    order: -1;
  }

  .topnav__right {
    gap: 20px;
  }
}


/* ===================================================
   RESPONSIVE — Tablet (810px)
   Filter bar wraps, grid goes 2-col, more breathing room
   =================================================== */

@media (max-width: 810px) {

  :root {
    --page-padding: 28px;
    --grid-gap: 10px;
  }

  .topnav {
    padding: 0 28px;
  }

  /* ── Shop hero ── */
  .shop-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 72px var(--page-padding) 52px;
    gap: 28px;
  }

  .shop-hero__title {
    font-size: clamp(3.5rem, 10vw, 5rem);
  }

  .shop-hero__desc {
    max-width: 520px;
  }

  /* ── Filter bar: two rows — count top, pills below ── */
  .filter-bar {
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px var(--page-padding) 14px;
    top: 58px;
  }

  .filter-bar__count {
    width: 100%;
    margin-right: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: rgba(26, 26, 26, 0.35);
  }

  .filter-bar__link {
    font-size: 0.8125rem;
    padding: 8px 18px;
  }

  /* ── Product grid ── */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
    column-gap: 14px;
    padding: 28px var(--page-padding) 80px;
  }

  .editorial-break {
    padding: 56px 0;
  }

  .editorial-break__quote {
    font-size: 1.5rem;
  }

  /* ── Footer tablet ── */
  .footer {
    padding: 48px 28px 32px;
  }

  .footer__top {
    flex-direction: column;
    gap: 44px;
    margin-bottom: 60px;
  }

  .footer__newsletter {
    max-width: 100%;
  }

  .footer__nav-columns {
    width: 100%;
    justify-content: space-between;
    gap: 44px;
  }

  .footer__logo-giant {
    font-size: clamp(5rem, 16vw, 10rem);
  }
}


/* ===================================================
   RESPONSIVE — Small Tablet / Large Phone (640px)
   Smoother transition between tablet and phone
   =================================================== */

@media (max-width: 640px) {

  :root {
    --page-padding: 20px;
  }

  .topnav {
    height: 56px;
    padding: 0 20px;
  }

  .topnav__logo {
    font-size: 1.05rem;
  }

  .topnav__right {
    gap: 16px;
  }

  /* Convert icon text to SVG icons */
  .topnav__icon:nth-child(1),
  .topnav__icon:nth-child(2) {
    font-size: 0;
  }

  .topnav__icon:nth-child(1)::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-size: contain;
    vertical-align: middle;
  }

  .topnav__icon:nth-child(2)::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    background-size: contain;
    vertical-align: middle;
  }

  .topnav__icon:nth-child(3) {
    font-size: 0;
  }

  .topnav__icon:nth-child(3)::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
    background-size: contain;
    vertical-align: middle;
  }

  /* ── Filter bar: horizontal scroll with fade ── */
  .filter-bar {
    top: 56px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 32px), transparent);
    mask-image: linear-gradient(to right, black calc(100% - 32px), transparent);
    padding: 14px 20px 12px;
    gap: 6px;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-bar__count {
    width: auto;
    margin-right: 12px;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
    flex-shrink: 0;
    font-size: 0.6875rem;
    color: rgba(26, 26, 26, 0.3);
  }

  .filter-bar__link {
    font-size: 0.75rem;
    padding: 7px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
  }

  .filter-bar__link--active {
    border-color: var(--gold);
  }

  /* ── Shop hero ── */
  .shop-hero {
    padding: 56px 20px 40px;
    gap: 20px;
  }

  .shop-hero__title {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .shop-hero__desc {
    font-size: 0.9375rem;
    max-width: 100%;
  }

  /* ── Product grid ── */
  .product-grid {
    row-gap: 36px;
    column-gap: 10px;
    padding: 20px 20px 72px;
  }

  .product-card__info {
    flex-direction: column;
    gap: 2px;
    padding: 12px 4px 0;
  }

  .product-card__name {
    font-size: 0.75rem;
  }

  .product-card__price {
    font-size: 0.75rem;
  }

  .product-card__subtitle {
    font-size: 0.625rem;
  }

  .editorial-break {
    padding: 40px 0;
  }

  .editorial-break__quote {
    font-size: 1.3rem;
    padding: 0 12px;
  }

  /* ── Footer ── */
  .footer {
    padding: 40px 20px 28px;
  }

  .footer__nav-columns {
    gap: 32px;
  }

  .footer__logo-giant {
    font-size: clamp(4rem, 14vw, 8rem);
  }
}


/* ===================================================
   MOBILE OVERHAUL — 480px
   Phone-specific: carousels, swipe hints, tighter spacing
   (Nav, hamburger, icons already handled at 810px/640px)
   =================================================== */

@media (max-width: 480px) {

  :root {
    --page-padding: 16px;
  }

  /* ── Tighter topnav on phone ── */
  .topnav {
    padding: 0 16px;
  }

  .topnav__logo {
    font-size: 1rem;
  }

  /* ── Filter bar: hide count, single scrollable row ── */
  .filter-bar {
    padding: 10px 16px;
  }

  .filter-bar__count {
    display: none;
  }

  /* ── Shop hero phone ── */
  .shop-hero {
    padding: 40px 16px 28px;
    gap: 14px;
  }

  .shop-hero__title {
    font-size: clamp(2.6rem, 11vw, 3.5rem);
  }

  .shop-hero__desc {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  /* ── Product grid becomes vertical flow ── */
  .product-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 48px;
  }

  /* ── Carousel sections activate ── */
  .carousel-section {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 12px 16px 20px;
    scrollbar-width: none;
    position: relative;
  }

  .carousel-section::-webkit-scrollbar {
    display: none;
  }

  .carousel-section .product-card {
    flex: 0 0 72vw;
    max-width: 72vw;
    scroll-snap-align: start;
    animation: none;
  }

  .carousel-section .product-card__image-wrap {
    border-radius: 6px;
  }

  .carousel-section .product-card__info {
    flex-direction: column;
    gap: 2px;
    padding: 10px 2px 0;
  }

  .carousel-section .product-card__name {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
  }

  .carousel-section .product-card__price {
    font-size: 0.8125rem;
  }

  .carousel-section .product-card__subtitle {
    font-size: 0.6875rem;
    padding: 3px 2px 0;
  }

  /* Always show quick-add on touch */
  .carousel-section .product-card__quick-add {
    opacity: 1;
    transform: translateY(0);
    padding: 12px 16px;
    font-size: 0.625rem;
  }

  .carousel-section .product-card__quick-add-text {
    transform: translateX(0);
    opacity: 1;
  }

  .carousel-section .product-card__quick-add-icon {
    transform: rotate(0deg);
  }

  /* Always show wishlist on touch */
  .carousel-section .product-card__wishlist {
    opacity: 1;
    transform: scale(1);
    width: 32px;
    height: 32px;
  }

  .carousel-section .product-card__wishlist svg {
    width: 14px;
    height: 14px;
  }

  .carousel-section .product-card__badge {
    top: 10px;
    left: 10px;
    font-size: 0.5625rem;
    padding: 4px 10px;
  }

  /* ── Carousel section labels ── */
  .carousel-section__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.3);
    padding: 20px 16px 0;
  }

  /* ── Editorial break mobile ── */
  .editorial-break {
    padding: 32px 16px;
  }

  .editorial-break__quote {
    font-size: 1.15rem;
    padding: 0;
  }

  .editorial-break__attr {
    font-size: 0.5625rem;
  }

  /* ── Swipe hint ── */
  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px 8px;
    animation: swipeHintFade 3s ease 1.2s both;
  }

  .swipe-hint__text {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.25);
  }

  .swipe-hint__arrow {
    display: flex;
    animation: swipeArrowSlide 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  }

  .swipe-hint__arrow svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    opacity: 0.5;
  }

  @keyframes swipeArrowSlide {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(6px); opacity: 1; }
  }

  @keyframes swipeHintFade {
    0% { opacity: 0; transform: translateY(4px); }
    15% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; }
    100% { opacity: 0; }
  }

  /* ── Scrollbar indicator dots ── */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0 4px;
  }

  .carousel-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.12);
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .carousel-dot--active {
    background: var(--gold);
    transform: scale(1.3);
  }

  /* ── Footer mobile tweaks ── */
  .footer {
    padding: 36px 16px 24px;
  }

  .footer__top {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
  }

  .footer__newsletter {
    max-width: 100%;
  }

  .footer__nav-columns {
    width: 100%;
    gap: 28px;
  }

  .footer__col-title {
    font-size: 0.6875rem;
  }

  .footer__link {
    font-size: 0.875rem;
  }

  .footer__links {
    gap: 12px;
  }

  .footer__logo-giant {
    font-size: clamp(2.8rem, 13vw, 5rem);
  }

  .footer__logo-row {
    flex-direction: column;
    gap: 16px;
  }

  .footer__bottom {
    align-items: center;
    justify-content: flex-start;
  }
}


/* ===================================================
   SMALL MOBILE OVERHAUL — 360px
   =================================================== */

@media (max-width: 360px) {

  .topnav__logo {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
  }

  .topnav__right {
    gap: 12px;
  }

  .shop-hero__title {
    font-size: 2.4rem;
  }

  .shop-hero__desc {
    font-size: 0.8125rem;
  }

  .carousel-section .product-card {
    flex: 0 0 78vw;
    max-width: 78vw;
  }

  .mobile-menu__link {
    font-size: 2.4rem;
    padding: 16px 0;
  }
}


/* ===================================================
   FILM GRAIN overlay (page-level, subtle)
   =================================================== */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  opacity: 0.018;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}
