/* ============================================
   SILK ON WOUNDS — Custom Storefront
   Matching Figma: Silk on Wounds Ecomm 2026
   Shopify Basic Compatible
   ============================================ */

/* --- Custom Fonts --- */
@font-face {
  font-family: 'ArialNarrow';
  src: url('../assets/fonts/ArialNarrow.woff2') format('woff2'),
       url('../assets/fonts/ArialNarrow.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MachineStd';
  src: url('../assets/fonts/MachineStd.woff2') format('woff2'),
       url('../assets/fonts/MachineStd.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-body: 'ArialNarrow', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'MachineStd', 'Impact', 'Arial Black', sans-serif;
  --bg-primary: #000000;
  --bg-secondary: #000000;
  --bg-card: #000000;
  --bg-product: #000000;
  --text-primary: #FFFFFF;
  --text-secondary: #888888;
  --text-muted: #555555;
  --border: #222222;
  --border-light: #333333;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Page-specific background images */
.page--home {
  background-color: var(--bg-primary);
  background-image: url('../assets/img/home-background.jpg');
  background-image: url('../assets/img/home-background.jpg');
  background-position: top center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.page--info {
  background-color: var(--bg-primary);
  background-image: url('../assets/img/info-background.jpg');
  background-position: top center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.page--lookbook {
  background-color: var(--bg-primary);
  background-image: url('../assets/img/lookbook-background.jpg');
  background-position: top center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

::selection {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

/* --- Screen-reader-only (skip nav link) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 8px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: #000;
  color: #fff;
  z-index: 9999;
  font-size: 0.8rem;
}

/* --- Focus Indicators (keyboard nav) --- */
:focus-visible {
  outline: 2px solid #444444 !important;
  outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1600px;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ============================================
   NAVIGATION — Figma: hamburger left, wordmark center, links right
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 0;
  background: #000000;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

/* Hamburger — always visible on left */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  width: 60px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Logo — centered */
.nav__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__logo img {
  height: 22px;
  width: auto;
}

/* Links — right side */
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--text-primary);
}

/* Mobile Nav Overlay — large display font, centered */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav__mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav__mobile a:hover {
  color: var(--text-primary);
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  margin-top: 0;
  padding: 20px 24px;
  text-align: center;
  position: relative;
  top: 80px;
}

.announcement-bar__text {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.announcement-bar__text strong {
  color: var(--text-primary);
  font-weight: 400;
}

.announcement-bar__text--red {
  color: #8B1A1A;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.2em;
}

.announcement-bar__gif {
  max-width: 380px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ============================================
   WATERMARK — "Heaven Take Everything"
   Fixed to viewport, JS clips at footer border
   ============================================ */
.watermark {
  position: fixed;
  top: 46%;
  left: calc(50% + 8px);
  transform: translate(-50%, -50%);
  width: 1000px;
  pointer-events: none;
  z-index: 10;
}

/* Shared watermark layer positioning */
.watermark__base,
.watermark__diff {
  width: 100%;
  height: auto;
  display: block;
}

.watermark__diff {
  position: absolute;
  top: 0;
  left: 0;
}

/* Layer 1 — ghost on black, invisible on white */
.watermark__base {
  filter: brightness(0) invert(1);
  opacity: 0.03;
}

/* Layer 2 — darken: invisible on black (min=black), visible dark grey on white */
.watermark__diff {
  filter: brightness(0) invert(1) brightness(0.35);
  opacity: 0.55;
  mix-blend-mode: darken;
}

/* ============================================
   PRODUCT GRID — single column centered
   ============================================ */
.products {
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
}

.products__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  max-width: 380px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: block;
  width: 100%;
}

.product-card__image {
  position: relative;
  aspect-ratio: 4/5;
  background: transparent;
  overflow: hidden;
  margin-bottom: 35px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition);
}

/* No zoom hover on product thumbnails per Matt's feedback */

/* Product card carousel dots */
.product-card__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 8px;
}

.product-card__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  display: block;
}

.product-card__dots span.active {
  background: var(--text-primary);
}

.product-card__name {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E5ECD3;
  margin-bottom: 0;
  line-height: 1.3;
  text-align: center;
}

.product-card__price {
  font-size: 0.9rem;
  color: #E5ECD3;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

/* Add to cart — hidden per client feedback (R1) */
.product-card__atc {
  display: none;
}

/* ============================================
   LOOKBOOK GALLERY — Homepage (contained, auto-switching)
   ============================================ */
.lookbook-gallery {
  padding: 0;
  max-width: 380px;
  margin: 0 auto;
}

.lookbook-gallery__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}

.lookbook-gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.lookbook-gallery__img:first-child {
  position: relative;
}

.lookbook-gallery__static {
  width: 100%;
  height: auto;
  display: block;
}

.lookbook-gallery__img.active {
  opacity: 1;
}

.lookbook-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
}

.lookbook-gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: var(--text-muted);
  cursor: pointer;
  border: none;
  padding: 0;
}

.lookbook-gallery__dot.active {
  background: var(--text-primary);
}

.lookbook-gallery__description {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #949494;
  padding: 120px 24px 120px;
}

/* ============================================
   CART OVERLAY — split layout: product left, cart right
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  justify-content: flex-end;
}

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

/* Left side — large product image */
.cart-overlay__preview {
  flex: 1;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.cart-overlay__preview img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

/* Right side — cart panel */
.cart-overlay__panel {
  width: 50%;
  max-width: 560px;
  height: 100%;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
  border-left: 1px solid var(--border);
}

.cart-overlay.open .cart-overlay__panel {
  transform: translateX(0);
}

.cart-overlay__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2001;
  transition: color var(--transition-fast);
}

.cart-overlay__close:hover {
  color: var(--text-primary);
}

.cart-overlay__body {
  flex: 1;
  padding: 60px 32px 24px;
  overflow-y: auto;
}

.cart-overlay__empty {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 40px;
}

/* Cart item */
.cart-overlay__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
}

.cart-overlay__item-img {
  width: 140px;
  height: 140px;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-primary);
}

.cart-overlay__item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-overlay__item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-overlay__item-name,
.cart-overlay__item-type,
.cart-overlay__item-size {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #E5ECD3;
  line-height: 1.5;
}

.cart-overlay__item-price {
  font-size: 0.65rem;
  color: #E5ECD3;
  margin-top: 12px;
  letter-spacing: 0.1em;
}

.cart-overlay__item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.cart-overlay__item-qty button {
  font-size: 1rem;
  color: #E5ECD3;
  cursor: pointer;
  padding: 4px 8px;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.cart-overlay__item-qty button:hover {
  color: var(--text-primary);
}

.cart-overlay__footer {
  padding: 24px 32px;
}

.cart-overlay__subtotal {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: right;
  color: #E5ECD3;
  padding: 16px 0;
}

.cart-overlay__checkout {
  width: 100%;
  padding: 18px;
  background: var(--text-muted);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--transition-fast);
}

.cart-overlay__checkout:hover {
  background: var(--text-secondary);
}

.cart-overlay__checkout:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .cart-overlay__preview {
    display: none;
  }
  .cart-overlay__panel {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================
   FOOTER — Figma: logo left, links right, 2-column
   ============================================ */
.footer {
  padding: 0;
  margin-top: 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  padding: 60px;
}

.footer__logo img {
  max-width: 550px;
  width: 90%;
  height: auto;
}

.footer__logo-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.4;
}

.footer__3d-graphic {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 16px;
  opacity: 0.5;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  text-align: right;
  padding: 60px 40px;
  justify-content: center;
}

.footer__link {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer__contact-section {
  margin-top: 16px;
}

.footer__contact-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 700;
}

.footer__contact-email {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__contact-email:hover {
  color: var(--text-primary);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  padding-top: 24px;
  text-align: right;
}

.footer__copy {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--text-primary);
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-header {
  margin-top: 60px;
  padding: 40px 0 20px;
  text-align: center;
}

.shop-header__collection {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.shop-header__title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.15em;
}

.shop-grid {
  padding: 20px 0 80px;
}

/* ============================================
   PRODUCT DETAIL PAGE — Figma PDP Layout
   Left: scrollable image column
   Right: sticky product info
   ============================================ */
.product-detail {
  padding: 0;
}

.product-detail__close {
  position: fixed;
  top: 60px;
  right: 24px;
  z-index: 999;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: color var(--transition-fast);
}

.product-detail__close:hover {
  color: var(--text-primary);
}

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
}

.product-detail__layout::before {
  content: '';
  grid-column: 2;
  grid-row: 1;
  background: var(--border-light);
}

/* Left column — scrollable stacked images */
.product-detail__gallery {
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}

.product-detail__gallery-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--bg-product);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.product-detail__gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  padding: 3px;
}

.product-detail--tshirt .product-detail__gallery {
  padding-top: 0;
  margin-top: -20px;
}

.product-detail--tall .product-detail__gallery-image {
  aspect-ratio: auto;
}

.product-detail--tall .product-detail__gallery-image img {
  width: 60%;
  height: auto;
  object-fit: cover;
  padding: 0;
  margin: 0 auto;
}

.product-detail--tall .product-detail__gallery-image--lookbook img {
  width: 100%;
}

.product-detail__gallery-image--lookbook {
  background: var(--bg-primary);
}

.product-detail__gallery-image--lookbook img {
  object-fit: cover;
  padding: 0;
}

.product-detail__gallery-image--placeholder {
  background: #000000;
}

.product-detail__gallery-image--placeholder span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Right column — sticky product info */
.product-detail__info {
  position: sticky;
  top: 46px;
  height: fit-content;
  max-height: calc(100vh - 46px);
  overflow-y: auto;
  padding: 60px 48px;
}

.product-detail__name {
  font-family: var(--font-body);
  font-size: 0.98rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 400;
  text-align: center;
  color: #E5ECD3;
}

.product-detail__type {
  font-size: 0.98rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #E5ECD3;
  margin-bottom: 4px;
  font-weight: 400;
  text-align: center;
}

.product-detail__price {
  font-size: 0.98rem;
  color: #E5ECD3;
  margin-bottom: 40px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.1em;
}

/* Size selector — dropdown matching Figma */
.product-detail__size-select {
  display: block;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-primary);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23888' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  margin-bottom: 16px;
}

.product-detail__size-select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.product-detail__add-to-cart {
  width: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  padding: 18px 16px 14px;
  font-family: var(--font-display);
  background: #747474;
  color: #000000;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  margin-bottom: 32px;
  border: none;
}

.product-detail__add-to-cart:hover {
  opacity: 0.85;
}

.product-detail__details {
  padding-top: 24px;
}

.product-detail__details-title {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 700;
}

.product-detail__details-text {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-secondary);
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-detail__size-chart {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.product-detail__size-chart:hover {
  color: var(--text-secondary);
}

/* ============================================
   ABOUT / INFO PAGE — Simplified per Figma
   ============================================ */
.about-page {
  margin-top: 60px;
  padding: 80px 0;
}

.about-page__content {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.about-page__text {
  max-width: 360px;
  margin: 0 auto 24px;
  font-size: 0.85rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  font-weight: 400;
}

.about-page__text:last-of-type {
  margin-bottom: 80px;
}

.about-page__text a {
  color: var(--text-primary);
  text-decoration: underline;
}

.about-page__image {
  max-width: 400px;
  margin: 0 auto 60px;
  overflow: hidden;
}

.about-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page__contact-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--text-secondary);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  margin-bottom: 40px;
}

.about-page__contact-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.about-page__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.about-page__link {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.about-page__link:hover {
  color: var(--text-primary);
}

.about-page__inquiries {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

/* ============================================
   LOOKBOOK / IMAGE PAGE — text + contained gallery with dots
   ============================================ */
.lookbook-page {
  margin-top: 60px;
  padding: 32px 0 0;
}

.lookbook-page__text-block {
  max-width: 500px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 24px;
}

.lookbook-page__description {
  font-size: 0.8rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.lookbook-page__poem {
  max-width: 700px;
  margin: 0 auto 45px;
  padding: 0 24px;
  text-align: center;
}

.lookbook-page__poem-img {
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  filter: invert(1);
  opacity: 0.85;
}

.lookbook-page__gallery {
  max-width: 550px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.lookbook-page__gallery-frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}

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

.lookbook-page__gallery-img:first-child {
  position: relative;
}

.lookbook-page__gallery-img.active {
  opacity: 1;
}

.lookbook-page__gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
}

.lookbook-page__gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition-fast);
  border: none;
  padding: 0;
}

.lookbook-page__gallery-dot.active {
  background: var(--text-primary);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  margin-top: 60px;
  padding: 80px 0;
}

.contact-page__content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-page__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.15em;
  margin-bottom: 40px;
}

.contact-page__text {
  font-size: 0.8rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-page__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-page__info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.contact-page__info-label {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.contact-page__info-value a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.contact-page__info-value a:hover {
  color: var(--text-primary);
}

/* Contact form */
.contact-form {
  margin-top: 60px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form__group {
  margin-bottom: 24px;
}

.contact-form__label {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-align: left;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 12px 0;
  font-size: 0.8rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  transition: border-color var(--transition-fast);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  border-color: var(--text-secondary);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--text-muted);
}

.contact-form__select {
  appearance: none;
  cursor: pointer;
}

.contact-form__select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 100px;
  border: 1px solid var(--border-light);
  padding: 12px;
  margin-top: 4px;
}

.contact-form__submit {
  width: 100%;
  padding: 16px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  border: none;
}

.contact-form__submit:hover {
  opacity: 0.85;
}

/* ============================================
   PDP — Mobile Sticky Add to Cart + Size Picker
   ============================================ */
.product-detail__sticky-atc {
  display: none;
}

.size-picker-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.6);
  align-items: flex-end;
  justify-content: center;
}

.size-picker-overlay.open {
  display: flex;
}

.size-picker {
  width: 100%;
  background: var(--bg-secondary);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 24px 20px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.size-picker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.size-picker__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.size-picker__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
}

.size-picker__options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.size-picker__option {
  padding: 14px 0;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.size-picker__option.selected {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.size-picker__add {
  width: 100%;
  padding: 18px 16px 14px;
  background: #747474;
  color: #000000;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

.size-picker__add:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  /* ---- Mobile Nav ---- */
  .nav__link:not(.nav__link--cart) {
    display: none;
  }

  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
  }

  .nav__mobile a {
    padding: 8px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* ---- Mobile Product Grid — with black space on sides ---- */
  .products__grid {
    max-width: 100%;
    gap: 64px;
    padding: 0 9%;
  }

  .product-card__image {
    aspect-ratio: auto;
  }

  .product-card__image img {
    width: 100%;
    padding: 0;
  }

  /* ---- Mobile Lookbook Gallery ---- */
  .lookbook-gallery__frame {
    max-width: 100%;
  }

  .lookbook-gallery__description {
    padding: 80px 16px 80px;
  }

  /* ---- Mobile PDP — horizontal carousel ---- */
  .product-detail {
    padding: 100px 0 0;
  }

  .product-detail__layout {
    display: block;
  }

  .product-detail__gallery {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 0;
  }

  /* Kill fade-in transform on gallery — transforms on scroll-snap containers
     cause Chrome to recalculate snap points mid-transition → wrong slide */
  .product-detail__gallery.fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

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

  .product-detail__gallery-image {
    flex: 0 0 100vw;
    width: 100vw;
    min-width: 100vw;
    height: auto;
    aspect-ratio: auto !important;
    scroll-snap-align: start;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-detail__gallery-image img {
    width: 100% !important;
    height: auto;
    object-fit: contain;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Reset --tall and --tshirt desktop overrides for mobile carousel */
  .product-detail--tall .product-detail__gallery-image {
    aspect-ratio: auto !important;
  }

  .product-detail--tall .product-detail__gallery-image img {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .product-detail__gallery-image--beanie img {
    transform: scale(1.4);
  }

  .product-detail--tshirt {
    padding-top: 60px;
  }

  .product-detail--tshirt .product-detail__gallery {
    padding-top: 0;
    margin-top: 0;
  }

  .product-detail__info {
    position: static;
    height: auto;
    max-height: none;
    padding: 40px 24px;
  }

  .product-detail__close {
    display: none;
  }

  .product-detail__size-select {
    padding: 16px;
    font-size: 0.75rem;
    min-height: 48px;
  }

  .product-detail__add-to-cart {
    padding: 18px 16px 14px;
    font-size: 1.2rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #747474;
    color: #000000;
  }

  /* PDP carousel square dots */
  .product-detail__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 16px 0;
  }

  .product-detail__dot {
    width: 7px;
    height: 7px;
    background: var(--text-muted);
    border: none;
    padding: 0;
    cursor: pointer;
  }

  .product-detail__dot.active {
    background: var(--text-primary);
  }

  /* ---- Mobile Footer — single column centered ---- */
  .footer__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    border-top: none;
  }

  .footer__logo {
    order: 1;
    padding: 40px 24px;
    border-right: none;
    border-top: 1px solid var(--border);
  }

  .footer__logo img {
    max-width: 300px;
  }

  .footer__nav {
    order: 0;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    border-right: none;
  }

  .footer__copy {
    text-align: center;
  }

  .footer__socials {
    justify-content: center;
  }

  /* ---- Mobile Cart Overlay ---- */
  .cart-overlay__preview {
    display: none;
  }

  .cart-overlay__panel {
    width: 100%;
    max-width: 100%;
  }

  /* ---- Mobile About Page ---- */
  .about-page {
    padding: 80px 0;
  }

  .about-page__content {
    max-width: 100%;
    padding: 0 24px;
  }

  .about-page__text {
    max-width: 100%;
    text-align: center;
  }

  .about-page__image {
    max-width: 100%;
  }

  /* ---- Mobile Lookbook Page ---- */
  .lookbook-page__gallery {
    max-width: 100%;
    padding: 0 calc(9% + 24px) 60px;
  }

  .lookbook-page__text-block {
    padding: 0 24px;
  }

  .lookbook-page__poem {
    max-width: 280px;
    padding: 0 16px;
    margin-bottom: 32px;
  }

  /* ---- Mobile Contact Form ---- */
  .contact-form__input,
  .contact-form__select {
    min-height: 48px;
    padding: 14px 0;
  }

  .contact-form__submit {
    min-height: 52px;
    padding: 18px;
  }

  /* ---- Mobile Announcement — align with product photos ---- */
  .announcement-bar {
    padding: 20px calc(9% + 24px);
  }

  .announcement-bar__gif {
    max-width: 100%;
    padding: 0;
  }

  /* ---- Mobile Watermark — match product photo width, centered on photo ---- */
  .watermark {
    width: calc((100vw - 48px) * 0.82);
    top: 42%;
    left: 50%;
  }

  .lookbook-gallery {
    max-width: 100%;
    padding: 0 calc(9% + 24px);
    margin: 0;
  }

  .lookbook-gallery__static {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav__inner {
    padding: 0 16px;
  }

  .container {
    padding: 0 16px;
  }

  .product-detail__info {
    padding: 32px 16px;
  }

  .products__grid {
    padding: 0 9%;
  }

  .announcement-bar {
    padding: 20px calc(9% + 16px);
  }

  .lookbook-gallery {
    padding: 0 calc(9% + 16px);
  }

  .lookbook-page__gallery {
    padding: 0 calc(9% + 16px) 60px;
  }

  .watermark {
    width: calc((100vw - 32px) * 0.82);
  }
}
