/* ============================================================
   Ponio Couture Equi — Header & Hero
   Palette drawn from the campaign photo:
   navy base layers, plum, stable-yard gold hardware
   ============================================================ */
:root {
  --ink-navy:   #1C2740;  /* buttons, icons, headings */
  --navy-jersey:#243056;  /* announcement bar — sampled from the navy base layer in the hero */
  --plum:       #5E2B3C;  /* accent / hover */
  --gold:       #C2A05F;  /* zips & crest gold — rules, eyebrows */
  --charcoal:   #333333;  /* body text */
  --paper:      #FFFFFF;
  --stone:      #F5F2EC;

  --font-body:    'Figtree', 'Segoe UI', sans-serif;
  --font-display: 'Marcellus', Georgia, serif;

  --header-h: 76px;
  --bar-h: 44px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ------------------------------------------------------------
   Announcement bar
   ------------------------------------------------------------ */
.announce {
  background: var(--navy-jersey);
  color: var(--paper);
}

/* Same container as the header so everything lines up */
.announce__inner {
  max-width: 1720px;
  margin: 0 auto;
  min-height: var(--bar-h);
  padding: 6px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.announce__social {
  display: flex;
  align-items: center;
  gap: 0;
  justify-self: start;
}

.announce__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  line-height: 0;
  opacity: .9;
  transition: opacity .2s, background .2s;
}

.announce__social svg {
  display: block;
  width: 19px;
  height: 19px;
}

/* Heavier stroke on the outlined Instagram mark */
.announce__social svg[stroke-width],
.footer__social svg[stroke-width] { stroke-width: 2.2; }

.announce__social a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, .12);
}

.announce__currency {
  justify-self: end;
}

.announce__currency select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: var(--paper);
  font: inherit;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .04em;
  padding: 4px 20px 4px 6px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='white' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.announce__currency select option {
  color: var(--charcoal);
  background: var(--paper);
}

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

.announce__step {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #FFFFFF;
  opacity: .7;
  transition: opacity .2s, background .2s;
}

.announce__step:hover {
  opacity: 1;
  background: rgba(255, 255, 255, .12);
}

/* Messages stack in one cell; the active one fades/slides in */
.announce__msgs {
  display: grid;
}

.announce__msg {
  grid-area: 1 / 1;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .05em;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}

.announce__msg.is-active {
  opacity: 1;
  transform: none;
}


/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.header {
  background: var(--paper);
  border-bottom: 1px solid #E8E4DC;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header__inner {
  max-width: 1720px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

/* Logo */
.logo { line-height: 1; justify-self: start; }

.logo__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #333333;
  display: block;
}

/* Nav — centered between logo and actions */
.nav { justify-self: center; }

.nav__list {
  list-style: none;
  display: flex;
  gap: 26px;
}

.nav__link {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #333333;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transition: right .25s ease;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after { right: 0; }


/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-self: end;
}

/* Search: icon toggle + slide-down panel */
.search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid #E8E4DC;
  box-shadow: 0 14px 30px rgba(28, 39, 64, .08);
  display: none;
}

.search-panel.is-open { display: block; }

.search-panel__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  gap: 10px;
}

.search-panel__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink-navy);
  border-radius: 999px;
  padding: 11px 20px;
}

.search-panel__field svg { flex-shrink: 0; color: var(--ink-navy); }

.search-panel__field input {
  border: 0;
  outline: 0;
  font: inherit;
  width: 100%;
  background: transparent;
  color: var(--charcoal);
}
.search-panel__field input::placeholder { color: #333333; }

.search-panel__submit {
  background: #111111;
  color: #FFFFFF;
  border-radius: 2px;
  padding: 0 26px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
.search-panel__submit:hover { background: var(--gold); color: #111111; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-navy);
  position: relative;
  transition: background .2s;
}
.icon-btn:hover { background: var(--stone); }

.icon-btn__count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--plum);
  color: var(--paper);
  font-size: 10px;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

/* Burger — mobile only */
.burger { display: none; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  width: 100%;
  /* Height follows the photo's own ratio (1144/2048 of the width) so the
     full frame shows, capped at 86vh on very tall/large screens */
  height: min(86vh, calc(100vw * 0.5586));
  min-height: 440px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* if any crop is needed, keep heads in frame */
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .42);
}

.hero__content {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding: 0 24px 56px;
  max-width: 880px;
}

.hero__title {
  font-family: var(--font-display);
  color: #FFFFFF;
  font-weight: 400;
  letter-spacing: .02em;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.14;
  letter-spacing: .005em;
  text-wrap: balance;
}

.hero__sub {
  color: #FFFFFF;
  font-size: 15.5px;
  line-height: 1.7;
  margin-top: 18px;
}

.hero__cta {
  margin-top: 26px;
  /* Optical compensation: white-on-dark reads larger than dark-on-light,
     so the hero button is trimmed slightly to look the same size */
  padding: 12px 26px;
  font-size: 12px;
}

/* Gentle load-in — one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__sub, .hero__cta {
    opacity: 0;
    transform: translateY(14px);
    animation: rise .7s ease forwards;
  }
  .hero__sub { animation-delay: .14s; }
  .hero__cta { animation-delay: .28s; }

  @keyframes rise {
    to { opacity: 1; transform: none; }
  }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 980px) {
  .burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--ink-navy);
  }

  .header__inner {
    display: flex;
    gap: 12px;
  }

  .logo { margin-right: auto; }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--paper);
    box-shadow: 4px 0 30px rgba(0, 0, 0, .18);
    transform: translateX(-100%);
    transition: transform .3s ease;
    padding: 90px 30px 30px;
    z-index: 60;
  }

  .nav.is-open { transform: translateX(0); }

  .nav__list { flex-direction: column; gap: 4px; }

  .nav__link {
    display: block;
    font-size: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #EEE9E0;
  }

  .announce__inner {
    grid-template-columns: auto 1fr auto;
    padding: 6px 16px;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .announce__inner { grid-template-columns: 1fr auto; }
  .announce__social { display: none; }
  .announce__msg { text-align: left; justify-self: start; }
}

@media (max-width: 560px) {
  .header__inner {
    padding: 0 12px;
    gap: 4px;
  }

  .logo__name { font-size: 15px; letter-spacing: .1em; }

  .header__actions { gap: 0; }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .icon-btn svg { width: 17px; height: 17px; }

  .burger { width: 38px; }

  .announce__inner { padding: 6px 12px; }

  .hero { height: auto; min-height: 560px; }
  .hero__content { padding: 120px 20px 40px; }
  .hero__sub { font-size: 14px; }
}

/* ------------------------------------------------------------
   Shared section bits
   ------------------------------------------------------------ */
.container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.7vw, 36px);
  font-weight: 400;
  letter-spacing: .01em;
}

.section-head p {
  margin-top: 8px;
  color: #333333;
  font-size: 15px;
}

/* Squared monochrome CTA — gold appears on hover */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111111;
  color: #FFFFFF;
  border: 1px solid #111111;
  border-radius: 2px;
  padding: 14px 30px;
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}

.btn-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111111;
}

.btn-pill__icon {
  display: grid;
  place-items: center;
  color: inherit;
}

.btn-pill__icon svg {
  width: 12px;
  height: 12px;
  transition: transform .25s;
}

.btn-pill:hover .btn-pill__icon svg { transform: translate(1px, -1px); }

/* Reversed — for the second of a pair */
.btn-pill--ghost {
  background: transparent;
  border-color: #111111;
  color: #111111;
}

.btn-pill--ghost:hover {
  background: #111111;
  border-color: #111111;
  color: #FFFFFF;
}

/* Solid white — for use on photography */
.btn-pill--invert {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #111111;
}

.btn-pill--invert:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111111;
}

/* ------------------------------------------------------------
   Product grid
   ------------------------------------------------------------ */
.products {
  padding: 72px 0 88px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 24px;
}

/* Flex column so every card in a row fills the row's full height,
   with the sizes + CTA block anchored to the bottom edge */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card__media {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #F6F6F7;
  margin-bottom: 14px;
}

/* Scrollable image track — swipe or drag through product photos */
.crsl-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.crsl-track::-webkit-scrollbar { display: none; }

.crsl-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Prev/next arrows — only rendered when a product has multiple images */
.crsl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
  display: grid;
  place-items: center;
  color: var(--charcoal);
  z-index: 2;
  transition: background .2s;
}

.crsl-arrow:hover { background: #fff; }

.crsl-arrow--prev { left: 10px; }
.crsl-arrow--next { right: 10px; }

/* Dot indicators — only rendered when a product has multiple images */
.crsl-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.crsl-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .22);
  padding: 0;
  transition: background .2s;
}

.crsl-dots button.is-active {
  background: rgba(0, 0, 0, .75);
}

.product-card__name a { color: inherit; }

.product-card__name {
  padding: 0 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #333333;
}

.product-card__price {
  display: block;
  padding: 0 4px 14px;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 300;
  color: #333333;
}

.products__more {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 1100px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 44px 16px; }
  .products { padding: 40px 0 60px; }
}

@media (max-width: 600px) {
  .products__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .products__grid .product-card {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }
}

/* ------------------------------------------------------------
   Brand story
   ------------------------------------------------------------ */
.about {
  padding: 88px 0 16px;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(380px, 620px) 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.about__carousel {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--stone);
}

.about__carousel img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.about__body h2 {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.7vw, 36px);
  font-weight: 400;
  letter-spacing: .01em;
  margin-bottom: 20px;
}

.about__body > p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 16px;
}


.about__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .about { padding: 56px 0 8px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__carousel { max-width: 480px; margin: 0 auto; }
}

/* ------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------ */
.faq {
  padding: 16px 0 88px;
}

.faq__list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid #E8E4DC;
}

.faq__item {
  border-bottom: 1px solid #E8E4DC;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 300;
  color: #333333;
}

.faq__item summary::-webkit-details-marker { display: none; }

/* Plus that becomes a minus when open */
.faq__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink-navy);
  transition: transform .25s ease;
}

.faq__icon::before {
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
}

.faq__icon::after {
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
}

.faq__item[open] .faq__icon::after { transform: scaleY(0); }

.faq__answer {
  padding: 0 4px 22px;
}

.faq__answer p {
  font-size: 15px;
  line-height: 1.7;
  color: #333333;
}

.faq__answer p + p { margin-top: 8px; }

/* ------------------------------------------------------------
   Collection page
   ------------------------------------------------------------ */
.page-fade { background: #FFFFFF; }

.collection-intro {
  padding: 64px 0 8px;
  text-align: center;
}

.collection-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(27px, 3.1vw, 42px);
  font-weight: 400;
  letter-spacing: .01em;
}

.collection-intro p {
  max-width: 760px;
  margin: 14px auto 0;
}

.collection-intro p + p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #333333;
}

.collection-products {
  padding-top: 40px;
}

/* Size pills on product cards */
/* Thin divider separating price from the size row */
.product-card__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;   /* pushes the divider/sizes/CTA to the card's bottom */
  padding: 14px 4px 0;
  border-top: 1px solid #ECECEE;
}

/* Cards without a size row (e.g. You May Also Like): anchor the CTA itself */
.product-card__price + .product-card__add { margin-top: auto; }

.size-pill {
  min-width: 38px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #E3DED4;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 300;
  color: var(--charcoal);
  text-align: center;
  transition: background .15s, color .15s, border-color .15s;
}

.product-card__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  border: 1px solid #111111;
  border-radius: 2px;
  padding: 12px 0;
  background: #111111;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}

.product-card__add:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111111;
}

.product-card__add .btn-pill__icon svg { transition: transform .25s; }
.product-card__add:hover .btn-pill__icon svg { transform: translate(1px, -1px); }

.size-pill:hover { border-color: var(--ink-navy); }

.size-pill.is-active {
  background: var(--ink-navy);
  border-color: var(--ink-navy);
  color: #FFFFFF;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background: var(--navy-jersey);
  color: #FFFFFF;
  margin-top: 48px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  line-height: 0;
  opacity: .9;
  transition: opacity .2s, background .2s;
}

.footer__social a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, .12);
}

.footer__social svg {
  display: block;
  width: 19px;
  height: 19px;
}

.footer__credit {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .03em;
  opacity: .92;
}

.footer__credit a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__credit a:hover { color: #D4BC8B; }

@media (max-width: 600px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ------------------------------------------------------------
   Product rail (homepage) — title left, horizontal scroll right
   ------------------------------------------------------------ */
/* Aligns left with the page container, bleeds to the right viewport edge */
.rail__bleed {
  padding-left: max(32px, calc((100vw - 1720px) / 2 + 32px));
}

.rail__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.rail__head h2 {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.7vw, 36px);
  font-weight: 400;
  letter-spacing: .01em;
}


.rail__wrap {
  position: relative;
  min-width: 0;
}

.rail__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 32px 16px 4px;
  scrollbar-width: none;
}

.rail__track::-webkit-scrollbar { display: none; }

.rail__track { cursor: grab; }
.rail__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;   /* snap fights the drag; restored on release */
  user-select: none;
}

.rail__track .product-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

/* Inner image carousels shouldn't chain-scroll the rail */
.crsl-track { overscroll-behavior-x: contain; }

.rail__arrow {
  position: absolute;
  top: 190px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
  display: grid;
  place-items: center;
  color: var(--charcoal);
  z-index: 3;
  transition: background .2s;
}

.rail__arrow:hover { background: var(--stone); }
.rail__arrow--prev { left: -8px; }
.rail__arrow--next { right: 16px; }

@media (max-width: 900px) {
  /* Aligns left with the page container, bleeds to the right viewport edge */
.rail__bleed {
  padding-left: max(32px, calc((100vw - 1720px) / 2 + 32px));
}

.rail__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rail__head {
    text-align: center;
    padding-right: 32px;
  }

  .rail__track .product-card { flex: 0 0 240px; }

  .rail__arrow { display: none; }
}

/* ------------------------------------------------------------
   Newsletter
   ------------------------------------------------------------ */
.newsletter {
  /* Fades in from the white page above, flat grey by the time it meets the navy footer */
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F7F8 55%, #F7F7F8 100%);
  padding: 88px 0 72px;
  text-align: center;
  margin-top: 32px;
}

.newsletter + .footer { margin-top: 0; }

.newsletter h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(25px, 2.7vw, 36px);
  letter-spacing: .01em;
}

.newsletter > .container > p {
  margin-top: 10px;
  font-size: 15px;
  color: #333333;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 26px auto 0;
}

.newsletter__form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #D8D3C8;
  border-radius: 2px;
  padding: 13px 16px;
  font: inherit;
  font-weight: 300;
  color: var(--charcoal);
  background: #FFFFFF;
  outline: none;
}

.newsletter__form input:focus { border-color: #111111; }
.newsletter__form input::placeholder { color: #333333; }

.newsletter__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111111;
  color: #FFFFFF;
  border: 1px solid #111111;
  border-radius: 2px;
  padding: 13px 26px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}

.newsletter__btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111111;
}

.newsletter__note {
  margin-top: 14px;
  font-size: 12px;
  color: #333333;
}

.newsletter__thanks {
  margin-top: 18px;
  font-size: 15px;
  color: #333333;
}

@media (max-width: 560px) {
  .newsletter { padding: 52px 0; }
  .newsletter__form { flex-direction: column; }
  .newsletter__btn { justify-content: center; }
}

.product-card__add--soldout,
.product-card__add--soldout:hover {
  background: #EDEDEF;
  border-color: #EDEDEF;
  color: #333333;
  cursor: not-allowed;
}

.products__subhead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(21px, 2.2vw, 28px);
  letter-spacing: .02em;
  text-align: center;
  margin-bottom: 36px;
}

.products__subhead--later { margin-top: 72px; }

.size-pill:disabled {
  color: #333333;
  border-color: #ECECEE;
  background: #FAFAFB;
  cursor: not-allowed;
}

/* ------------------------------------------------------------
   Shop filters
   ------------------------------------------------------------ */

.filters__sort {
  border: 1px solid #E3DED4;
  border-radius: 2px;
  background: #FFFFFF;
  padding: 9px 34px 9px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--charcoal);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23333333' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.filters__count {
  font-size: 13px;
  color: #333333;
}

/* Filtered cards animate back in */
.product-card.is-out { display: none; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.product-card.is-in { animation: cardIn .35s ease both; }

/* ------------------------------------------------------------
   Shop bar + filter drawer
   ------------------------------------------------------------ */
.shopbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ECECEE;
}

.shopbar .filters__sort { min-width: 0; }

@media (max-width: 640px) {
  .shopbar {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
  }

  /* Row 1: Filter and Sort share the width; Row 2: the count */
  .shopbar__filter {
    flex: 1 1 0;
    justify-content: center;
    padding: 13px 10px;
  }

  .shopbar .filters__sort {
    flex: 1 1 0;
    margin-left: 0;
    padding: 12px 30px 12px 10px;
    background-position: right 8px center;
  }

  .filters__count {
    flex: 1 1 100%;
    order: 3;
    text-align: center;
    font-size: 12px;
  }
}

.shopbar__filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111111;
  border: 1px solid #111111;
  border-radius: 2px;
  padding: 14px 30px;
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #FFFFFF;
  transition: background .25s, color .25s, border-color .25s;
}

.shopbar__filter:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111111;
}

.shopbar .filters__sort { margin-left: auto; }

.filter-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, .35);
  z-index: 70;
  opacity: 0;
  transition: opacity .3s;
}

.filter-backdrop.is-open { opacity: 1; }

.filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 92vw);
  background: #FFFFFF;
  z-index: 71;
  transform: translateX(100%);
  transition: transform .32s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.filter-drawer.is-open { transform: none; }

.filter-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid #ECECEE;
}

.filter-drawer__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: .04em;
}

.filter-drawer__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #333333;
}

.filter-drawer__section {
  padding: 20px 26px;
  border-bottom: 1px solid #ECECEE;
}

.filter-drawer__section h3 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #333333;
  margin-bottom: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 300;
  color: #333333;
  text-align: left;
  transition: color .15s;
}

.filter-option:hover { color: #000; }

.filter-option::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 1px solid #D8D3C8;
  border-radius: 50%;
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.filter-option.is-active::after {
  background: #111111;
  border-color: #111111;
  box-shadow: inset 0 0 0 3px #FFFFFF;
}

.filter-drawer__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-top: 1px solid #ECECEE;
}

.filter-drawer__clear {
  font-size: 13px;
  font-weight: 300;
  color: #333333;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.filter-drawer__clear:hover { color: #333333; }

.filter-drawer__apply {
  flex: 1;
  background: #111111;
  border: 1px solid #111111;
  border-radius: 2px;
  color: #FFFFFF;
  padding: 13px 0;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}

.filter-drawer__apply:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111111;
}

/* ------------------------------------------------------------
   Product page
   ------------------------------------------------------------ */
.pdp { padding: 40px 0 24px; }

.breadcrumb {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .04em;
  color: #333333;
  margin-bottom: 32px;
}

.breadcrumb a { color: #333333; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

.pdp__grid {
  display: grid;
  grid-template-columns: minmax(360px, 620px) 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.pdp__media { aspect-ratio: 3 / 4; margin-bottom: 0; }

.pdp__info h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(27px, 3.1vw, 42px);
  letter-spacing: .02em;
}

.pdp__price {
  display: block;
  margin-top: 10px;
  font-size: 19px;
  font-weight: 300;
  color: #333333;
}

.pdp__desc {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #333333;
  padding-bottom: 22px;
  border-bottom: 1px solid #ECECEE;
}

/* Multi-paragraph descriptions + inline links inside them */
.pdp__desc p + p { margin-top: 12px; }

.pdp__desc a {
  color: #333333;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp__desc a:hover { color: #000; }

.pdp__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pdp__sizes .size-pill {
  min-width: 46px;
  height: 42px;
  font-size: 13px;
}

.pdp__sizes .size-pill.is-active {
  background: #111111;
  border-color: #111111;
  color: #FFFFFF;
}

.pdp__sizes .size-pill.is-oos {
  color: #333333;
  background: #FAFAFB;
  border-color: #ECECEE;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.pdp__stock {
  margin-top: 12px;
  font-size: 14px;
  color: #333333;
  min-height: 21px;
}

.pdp__buy {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.qty {
  display: flex;
  align-items: center;
  border: 1px solid #E3DED4;
  border-radius: 2px;
}

.qty button {
  width: 42px;
  height: 46px;
  font-size: 17px;
  font-weight: 300;
  color: #333333;
  display: grid;
  place-items: center;
}

.qty button:hover { color: #000; }

.qty [data-qty-value] {
  min-width: 30px;
  text-align: center;
  font-size: 14px;
}

.pdp__add {
  flex: 0 0 auto;
  width: auto;
  min-width: 220px;
  min-height: 46px;
  margin-top: 0;
  padding: 0 44px;
}

.pdp__add:disabled {
  background: #EDEDEF;
  border-color: #EDEDEF;
  color: #333333;
  cursor: not-allowed;
}

.pdp__extra { margin-top: 34px; }

.pdp__extra h2 {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #333333;
  padding-bottom: 12px;
  border-bottom: 1px solid #ECECEE;
}

.pdp__specs div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #F2F2F3;
}

.pdp__specs dt {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__media { max-width: 520px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .pdp__buy { flex-wrap: wrap; }
  .pdp__add { flex: 1 1 100%; min-width: 0; }
}

/* ------------------------------------------------------------
   Gallery / Instagram strip
   ------------------------------------------------------------ */
.gallery {
  margin-top: 56px;
}

.gallery .section-head { margin-bottom: 28px; }

.gallery__handle {
  color: #333333;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gallery__handle:hover { color: #000; }

/* Full-width stacked grid: 4 across, 2 rows */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.gallery__grid a { display: block; line-height: 0; }

.gallery__grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 820px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* "Shop the matching piece" button on paired products */
.pdp__pair { margin-top: 18px; }

