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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* ── Announcement Bar ── */
.announcement {
  background: #f5f0e8;
  color: #111;
  text-align: center;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ── Header / Navbar ── */
.site-header {
  background: #000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.5;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.nav-actions a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.nav-actions a:hover {
  opacity: 0.5;
}

.nav-icon {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Mobile Nav ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  margin: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-close {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top, 0px));
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

.mobile-nav-close:hover {
  opacity: 0.5;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.mobile-nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mobile-nav-links a:hover {
  opacity: 0.5;
}

.mobile-nav-divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 34px 0;
}

.mobile-nav-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mobile-nav-secondary a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: opacity 0.2s;
}

.mobile-nav-secondary a:hover {
  opacity: 0.5;
}

/* ── Account Modal ── */
.account-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.account-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.account-modal {
  background: #fff;
  width: min(360px, 100%);
  padding: 44px 36px;
  position: relative;
  text-align: center;
}

.account-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  transition: color 0.2s;
}

.account-modal-close:hover {
  color: #000;
}

.account-modal-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin: 22px 0 6px;
}

.account-modal-label:first-of-type {
  margin-top: 0;
}

.account-modal-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: #111;
  word-break: break-word;
}

.account-modal-logout {
  margin-top: 32px;
  width: 100%;
  padding: 14px;
  background: #2a2a2a;
  color: #fff;
  border: none;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: background 0.25s;
}

.account-modal-logout:hover {
  background: #000;
}

/* ── Hero ── */
.hero {
  position: relative;
  height: calc(100vh - 42px - 62px - 55px);
  min-height: 400px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
}

.hero-logo {
  width: clamp(260px, 44vw, 560px);
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
}

.hero-btn {
  margin-top: 4px;
  display: inline-block;
  padding: 13px 46px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.hero-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* ── Popup Overlay ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Popup ── */
.popup {
  display: flex;
  width: min(840px, 92vw);
  height: min(530px, 90vh);
  background: #fff;
  color: #000;
  position: relative;
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 0.5s ease;
}

.popup-overlay.open .popup {
  transform: translateY(0);
}

.popup-img {
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.popup-img picture {
  display: block;
  width: 100%;
  height: 100%;
}

.popup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.popup-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 40px;
  text-align: center;
  background: #faf8f5;
  position: relative;
}

.popup-body::before {
  content: '✦';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #c8b89a;
  letter-spacing: 0.4em;
}

.popup-tag {
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #b8a98a;
  margin-bottom: 10px;
}

.popup-brand-img {
  width: 160px;
  height: auto;
  margin-bottom: 6px;
}

.popup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 14px;
}

.popup-divider {
  width: 36px;
  height: 1px;
  background: #c8b89a;
  margin: 0 auto 16px;
}

.popup-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 26px;
  font-weight: 300;
}

.popup-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: #2a2a2a;
  color: #fff;
  border: none;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: background 0.25s;
  position: relative;
}

.popup-submit:hover {
  background: #000;
}

.popup-submit::after {
  content: '→';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.6;
}

.popup-skip {
  margin-top: 18px;
  font-size: 10px;
  color: #c8b89a;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.popup-skip:hover {
  color: #888;
}

.popup-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  z-index: 2;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #000;
}

/* ── Marquee ── */
.marquee-section {
  background: #fff;
  color: #000;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #111;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Collections Page ── */
.products-header-centered {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

/* ── Products ── */
.products-section {
  background: #fff;
  color: #000;
  padding: 64px 44px 88px;
}

.products-section + .products-section {
  padding-top: 8px;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 38px;
}

.products-collection {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  margin-bottom: 12px;
}

.badge-new {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.products-view-all {
  font-size: 11px;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
  margin-top: 10px;
  transition: opacity 0.2s;
}

.products-view-all:hover { opacity: 0.45; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 340px));
  gap: 22px;
  justify-content: center;
}

.product-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.product-card { cursor: pointer; }

.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  margin-bottom: 14px;
  overflow: hidden;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #ebebeb 0%, #d6d6d6 100%);
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

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

.product-img-wrap:hover .product-img-default {
  opacity: 0;
}

.product-img-wrap:hover .product-img-hover {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #000;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 3px 9px;
  text-transform: uppercase;
}

.product-sizes {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.sz {
  font-size: 10px;
  color: #bbb;
  border: 1px solid #e4e4e4;
  padding: 3px 7px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.sz:hover { border-color: #000; color: #000; }

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 5px;
  color: #111;
}

.product-price {
  font-size: 12px;
  color: #777;
  letter-spacing: 0.04em;
}

.products-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.products-cta-btn {
  display: inline-block;
  padding: 15px 42px;
  border: 1px solid #000;
  color: #000;
  background: transparent;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: background 0.25s, color 0.25s;
}

.products-cta-btn:hover {
  background: #000;
  color: #fff;
}

/* ── Social Section ── */
.social-section {
  background: #0a0a0a;
  color: #fff;
  padding: 68px 0 0;
}

.social-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  text-align: center;
}

.social-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.social-platforms {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-platform-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #888;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  transition: color 0.2s;
}

.social-platform-link:hover { color: #fff; }

.social-platform-link svg { width: 17px; height: 17px; flex-shrink: 0; }

.social-sep { color: #333; font-size: 18px; }

.social-carousel {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  animation: carouselInfinite 50s linear infinite;
}


/* 14 items × (25vw + 3px margin) = 350vw + 42px = one full set */
@keyframes carouselInfinite {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-350vw - 42px)); }
}

.carousel-item {
  flex: 0 0 25vw;
  margin-right: 3px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease;
  filter: brightness(0.88);
}

.carousel-item:hover img {
  filter: brightness(1);
}

/* ── Footer ── */
.site-footer {
  background: #000;
  color: #fff;
  padding: 64px 24px 40px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 28px;
}

.footer-logo {
  height: 52px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.footer-logo:hover { opacity: 1; }

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 28px;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social-link:hover { color: #fff; }

.footer-social-link svg {
  width: 19px;
  height: 19px;
}

.footer-copy {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1em;
}

/* ── Product Page ── */
.product-page {
  background: #fff;
  color: #000;
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: start;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 56px 48px;
}

.product-gallery-img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-gallery-img:hover {
  transform: scale(1.015);
}

.gallery-wide {
  width: 82%;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
}

.gallery-tall {
  width: 54%;
  aspect-ratio: 3 / 4;
}

.gallery-right {
  margin-left: auto;
}

.gallery-left {
  margin-right: auto;
}

.product-info {
  border-left: 1px solid #ececec;
  min-height: 100%;
}

.product-info-sticky {
  position: sticky;
  top: 62px;
  padding: 64px 44px;
}

.product-info-eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}

.product-info-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 12px;
}

.product-info-price {
  font-size: 15px;
  color: #333;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.product-info-size {
  margin-bottom: 24px;
}

.size-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}

.product-info .product-sizes {
  margin-bottom: 0;
}

.product-info .sz-active {
  color: #000;
  border-color: #000;
  cursor: default;
}

.product-add-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: #000;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 24px;
  transition: opacity 0.2s;
}

.product-add-btn:hover {
  opacity: 0.82;
}

.product-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

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

.product-accordion summary::after {
  content: '+';
  font-size: 15px;
  color: #999;
  transition: transform 0.2s;
}

.product-accordion[open] summary::after {
  content: '−';
}

.product-accordion-body {
  padding: 16px 4px 0;
}

.product-accordion-body p {
  font-size: 12px;
  line-height: 1.8;
  color: #777;
  margin-bottom: 12px;
}

.product-accordion-body p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .announcement {
    padding: 8px 16px;
    font-size: 9.5px;
    letter-spacing: 0.14em;
  }

  .site-header {
    padding: env(safe-area-inset-top, 0px) 16px 0;
    height: calc(54px + env(safe-area-inset-top, 0px));
    grid-template-columns: auto 1fr auto;
    column-gap: 12px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-logo {
    justify-self: center;
  }

  .nav-actions {
    min-width: 30px;
  }

  .nav-actions .nav-account-link {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero {
    height: calc(100vh - 27px - 54px - env(safe-area-inset-top, 0px) - 55px);
  }

  .popup {
    flex-direction: column;
    height: min(90vh, 600px);
  }

  .popup-img {
    width: 100%;
    height: 30%;
    flex-shrink: 0;
  }

  .popup-body {
    padding: 20px 24px;
    overflow-y: auto;
  }

  .popup-brand-img {
    width: 110px;
  }

  .popup-script {
    font-size: 32px;
  }

  .product-page {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    flex-direction: row;
    padding: 20px 20px 24px;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-gallery::-webkit-scrollbar {
    display: none;
  }

  .product-gallery-img,
  .gallery-wide,
  .gallery-tall,
  .gallery-right,
  .gallery-left {
    flex: 0 0 82vw;
    width: 82vw;
    aspect-ratio: 4 / 5;
    margin: 0;
    scroll-snap-align: start;
  }

  .product-info {
    border-left: none;
    border-top: 1px solid #ececec;
  }

  .product-info-sticky {
    position: static;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
  }

  .product-add-btn {
    order: -1;
  }
}

/* ── Small phones (iPhone SE and similar) ── */
@media (max-width: 430px) {
  .products-collection {
    font-size: 26px;
  }

  .product-info-sticky {
    padding: 32px 18px;
  }
}
