/* ============================================================
   SWYSWIM — Rhode Skin-inspired Editorial Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

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

/* =================== WORDMARK =================== */
/* Used in place of PNG logo for a Rhode Skin-style editorial wordmark */
.nav__wordmark {
  font-family: 'Bristol', cursive;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0px;
  color: var(--dark);
  line-height: 1;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}
.nav__wordmark:hover { opacity: 0.55; }

.footer__wordmark {
  font-family: 'Bristol', cursive;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0px;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}

/* =================== VARIABLES =================== */
:root {
  --ivory:      #F8F5F0;
  --ivory-mid:  #F0EBE3;
  --ivory-dark: #E8E1D8;
  --ocean:      #8BA8A4;
  --ocean-dark: #6D8C88;
  --sand:       #C4A882;
  --blush:      #D9C5B8;
  --dark:       #1C1814;
  --mid:        #7A7268;
  --light:      #B0A89E;
  --white:      #FFFFFF;
  --border:     #E6E0D8;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --nav-height: 68px;
  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 2px 20px rgba(28,24,20,0.06);
  --shadow-med:  0 6px 40px rgba(28,24,20,0.10);

  --radius-sm: 6px;
  --radius:    14px;
  --pill:      100px;
}

/* =================== RESET =================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--ivory); color: var(--dark); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }
ul { list-style: none; }

/* =================== UTILITIES =================== */
.container { max-width: 1380px; margin: 0 auto; padding: 0 52px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 34px; border-radius: var(--pill);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 1.8px; text-transform: uppercase;
  transition: all var(--ease); cursor: pointer;
  white-space: nowrap;
}
.btn-dark { background: var(--dark); color: var(--white); border: 1px solid var(--dark); }
.btn-dark:hover { background: #2e2820; }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 1px solid var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }
.btn-ocean { background: var(--ocean); color: var(--white); border: 1px solid var(--ocean); }
.btn-ocean:hover { background: var(--ocean-dark); border-color: var(--ocean-dark); }

.label {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: var(--ocean);
  display: block; margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--serif); }

/* =================== NAV (centred logo — Rhode style) =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(248,245,240,0.90); backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav.scrolled { background: rgba(248,245,240,0.97); border-bottom-color: var(--border); }
.nav__inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 100%;
}
.nav__left { display: flex; align-items: center; gap: 32px; }
.nav__left a {
  font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--mid); transition: color 0.25s ease; position: relative;
}
.nav__left a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--dark); transition: width 0.25s ease; }
.nav__left a:hover { color: var(--dark); }
.nav__left a:hover::after { width: 100%; }
.nav__center { display: flex; justify-content: center; }
.nav__logo { height: 42px; width: auto; }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.nav__icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.25s ease; position: relative; }
.nav__icon-btn:hover { background: var(--ivory-dark); }
.nav__icon-btn svg { width: 18px; height: 18px; stroke: var(--mid); stroke-width: 1.5; fill: none; transition: stroke 0.25s ease; }
.nav__icon-btn:hover svg { stroke: var(--dark); }
.cart-count { position: absolute; top: 5px; right: 5px; width: 15px; height: 15px; background: var(--dark); color: var(--white); border-radius: 50%; font-size: 8px; font-weight: 700; display: none; align-items: center; justify-content: center; }
.cart-count.visible { display: flex; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav__hamburger span { display: block; width: 22px; height: 1px; background: var(--dark); transition: all 0.25s ease; }

/* =================== MOBILE NAV =================== */
.mobile-nav {
  position: fixed; inset: 0; background: var(--ivory); z-index: 1500;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  transform: translateX(-100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--serif); font-size: 40px; font-style: italic; font-weight: 400; color: var(--dark); transition: color 0.25s ease; }
.mobile-nav a:hover { color: var(--ocean); }
.mobile-nav__close { position: absolute; top: 20px; right: 24px; font-size: 28px; cursor: pointer; color: var(--mid); font-family: var(--sans); font-weight: 300; }

/* =================== TICKER =================== */
.ticker { background: var(--dark); padding: 10px 0; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; animation: ticker-anim 30s linear infinite; }
.ticker__item { display: inline-block; padding: 0 36px; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.ticker__sep { display: inline-block; margin: 0 4px; color: var(--ocean); opacity: 0.8; }
@keyframes ticker-anim { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =================== HERO =================== */
.hero { height: 100vh; min-height: 680px; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,24,20,0.68) 0%, rgba(28,24,20,0.1) 50%, rgba(28,24,20,0) 100%); }
.hero__content { position: relative; z-index: 2; padding: 80px 52px; color: var(--white); max-width: 680px; }
.hero__eyebrow { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.hero__eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: rgba(255,255,255,0.35); }
.hero__title { font-family: var(--serif); font-size: clamp(68px, 11vw, 136px); font-weight: 300; font-style: italic; line-height: 0.88; letter-spacing: -3px; margin-bottom: 28px; }
.hero__subtitle { font-family: var(--sans); font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.65); margin-bottom: 48px; letter-spacing: 0.5px; line-height: 1.75; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions .btn { font-size: 10px; letter-spacing: 2px; padding: 14px 32px; }

/* =================== SECTION HEADINGS =================== */
.section-head { margin-bottom: 56px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(40px, 5.5vw, 76px); font-weight: 400; font-style: italic; letter-spacing: -1.5px; line-height: 1.0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; }
.section-head-row h2 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 62px); font-weight: 400; font-style: italic; letter-spacing: -1px; line-height: 1.05; }
.section-head-row a { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid); border-bottom: 1px solid var(--border); padding-bottom: 3px; transition: all 0.25s ease; }
.section-head-row a:hover { color: var(--dark); border-color: var(--dark); }

/* =================== PRODUCT GRID =================== */
.new-arrivals { padding: 100px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

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

.product-card { cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; animation: fadeInUp 0.6s ease backwards; }
.product-grid .product-card:nth-child(1) { animation-delay: 0.1s; }
.product-grid .product-card:nth-child(2) { animation-delay: 0.2s; }
.product-grid .product-card:nth-child(3) { animation-delay: 0.3s; }
.product-grid .product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:hover { transform: translateY(-6px); }
.product-card__image { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); background: var(--ivory-mid); position: relative; margin-bottom: 16px; box-shadow: 0 2px 16px rgba(28,24,20,0.06); transition: box-shadow 0.35s ease; }
.product-card:hover .product-card__image { box-shadow: 0 16px 40px rgba(28,24,20,0.16); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__badge { position: absolute; top: 14px; left: 14px; background: var(--dark); color: var(--white); font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 5px 13px; border-radius: var(--pill); z-index: 1; }
.product-card__badge.badge-ocean { background: var(--ocean); }
.product-card__quick-add { position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 2; opacity: 0; transform: translateY(8px); transition: all 0.25s ease; }
.product-card:hover .product-card__quick-add { opacity: 1; transform: translateY(0); }
.product-card__quick-add button { width: 100%; padding: 11px; background: rgba(248,245,240,0.94); backdrop-filter: blur(10px); border-radius: var(--pill); font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--dark); transition: all 0.25s ease; }
.product-card__quick-add button:hover { background: var(--dark); color: var(--white); }
.product-card__info { padding: 0 2px; }
.product-card__name { font-family: var(--serif); font-size: 18px; font-style: italic; font-weight: 400; margin-bottom: 4px; line-height: 1.2; }
.product-card__category { font-family: var(--sans); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--light); margin-bottom: 6px; }
.product-card__price { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--dark); }

/* =================== COLLECTIONS =================== */
.collections { padding: 0 0 100px; }
.collections__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.collection-tile { position: relative; aspect-ratio: 5/6; overflow: hidden; border-radius: var(--radius); cursor: pointer; display: flex; align-items: flex-end; }
.collection-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.collection-tile:hover img { transform: scale(1.04); }
.collection-tile__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,24,20,0.6) 0%, rgba(28,24,20,0) 55%); }
.collection-tile__content { position: relative; z-index: 2; padding: 40px; color: var(--white); }
.collection-tile__label { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 10px; }
.collection-tile__title { font-family: var(--serif); font-size: clamp(36px, 5vw, 58px); font-weight: 400; font-style: italic; letter-spacing: -1px; line-height: 1; margin-bottom: 24px; }
.collection-tile__cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 3px; transition: all 0.25s ease; }
.collection-tile:hover .collection-tile__cta { gap: 16px; border-bottom-color: var(--white); }

/* =================== ABOUT STRIP =================== */
.about-strip { padding: 100px 0; background: var(--ivory-mid); }
.about-strip__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-strip__image { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about-strip__image img { width: 100%; height: 100%; object-fit: cover; }
.about-strip__content { max-width: 480px; }
.about-strip__title { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); font-weight: 400; font-style: italic; line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 24px; }
.about-strip__title em { font-style: normal; color: var(--ocean); }
.about-strip__text { font-family: var(--sans); font-size: 15px; font-weight: 300; color: var(--mid); line-height: 1.9; margin-bottom: 20px; }
.about-strip__link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--ocean); border-bottom: 1px solid var(--ocean); padding-bottom: 3px; margin-top: 16px; transition: gap 0.25s ease; }
.about-strip__link:hover { gap: 18px; }

/* =================== VALUES =================== */
.values { padding: 100px 0; }
.values__title { text-align: center; margin-bottom: 72px; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.value-item { background: var(--ivory); padding: 52px 40px; text-align: center; }
.value-item__icon { font-size: 36px; margin-bottom: 18px; display: block; }
.value-item__title { font-family: var(--serif); font-size: 22px; font-weight: 400; font-style: italic; margin-bottom: 10px; }
.value-item__text { font-family: var(--sans); font-size: 13px; font-weight: 300; color: var(--mid); line-height: 1.8; max-width: 220px; margin: 0 auto; }

/* =================== DIVIDER =================== */
.divider { height: 1px; background: var(--border); margin: 0; }

/* =================== NEWSLETTER =================== */
.newsletter { background: var(--ivory-mid); padding: 100px 0; text-align: center; border-top: 1px solid var(--border); }
.newsletter__title { font-family: var(--serif); font-size: clamp(40px, 6vw, 80px); font-weight: 400; font-style: italic; color: var(--dark); letter-spacing: -2px; line-height: 1; margin-bottom: 16px; }
.newsletter__subtitle { font-family: var(--sans); font-size: 14px; font-weight: 300; color: var(--mid); margin-bottom: 48px; line-height: 1.7; }
.newsletter__form { display: flex; gap: 0; max-width: 440px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--pill); overflow: hidden; background: var(--white); }
.newsletter__form input { flex: 1; padding: 16px 24px; border: none; background: transparent; font-family: var(--sans); font-size: 14px; color: var(--dark); outline: none; }
.newsletter__form input::placeholder { color: var(--light); }
.newsletter__form button { padding: 14px 28px; background: var(--dark); color: var(--white); font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--pill); margin: 4px; transition: background 0.25s ease; white-space: nowrap; }
.newsletter__form button:hover { background: #2e2820; }
.newsletter__success { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--dark); display: none; }
.newsletter__success.visible { display: block; }
.newsletter__form.hidden { display: none; }

/* =================== FOOTER =================== */
.footer { background: var(--dark); color: var(--white); padding: 80px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer__logo { filter: brightness(0) invert(1); height: 40px; width: auto; margin-bottom: 16px; opacity: 0.85; }
.footer__tagline { font-family: var(--sans); font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.38); line-height: 1.8; margin-bottom: 28px; max-width: 220px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(255,255,255,0.7); transition: all 0.25s ease; }
.footer__social a svg { width: 16px; height: 16px; display: block; }
.footer__social a:hover { border-color: var(--ocean); background: var(--ocean); color: #fff; }
.footer__col-title { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 20px; }
.footer__col-links { display: flex; flex-direction: column; gap: 11px; }
.footer__col-links a { font-family: var(--sans); font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.55); transition: color 0.25s ease; }
.footer__col-links a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__copyright { font-family: var(--sans); font-size: 11px; color: rgba(255,255,255,0.24); }
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { font-family: var(--sans); font-size: 11px; color: rgba(255,255,255,0.24); transition: color 0.25s ease; }
.footer__bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* =================== CART DRAWER =================== */
.cart-overlay { position: fixed; inset: 0; background: rgba(28,24,20,0.4); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100vw; background: var(--white); z-index: 2001; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__header { padding: 24px 28px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-drawer__title { font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 400; }
.cart-drawer__close { width: 34px; height: 34px; border-radius: 50%; background: var(--ivory); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; color: var(--mid); transition: background 0.2s; font-family: var(--sans); font-weight: 300; }
.cart-drawer__close:hover { background: var(--ivory-dark); color: var(--dark); }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 10px; color: var(--mid); text-align: center; }
.cart-empty__icon { font-size: 48px; opacity: 0.2; }
.cart-empty p { font-family: var(--serif); font-size: 18px; font-style: italic; }
.cart-empty p:last-child { font-family: var(--sans); font-size: 12px; font-style: normal; color: var(--light); }
.cart-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item__img { width: 84px; height: 104px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--ivory-mid); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__split-img { display: flex; width: 100%; height: 100%; gap: 2px; }
.cart-item__split-img img { width: 50%; height: 100%; object-fit: contain; background: var(--ivory-mid); }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-family: var(--serif); font-size: 17px; font-style: italic; font-weight: 400; margin-bottom: 3px; }
.cart-item__size { font-family: var(--sans); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--light); margin-bottom: 14px; }
.cart-item__controls { display: flex; align-items: center; justify-content: space-between; }
.cart-item__qty { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: var(--pill); padding: 5px 12px; }
.cart-item__qty-btn { font-size: 16px; color: var(--mid); transition: color 0.2s; }
.cart-item__qty-btn:hover { color: var(--dark); }
.cart-item__qty-num { font-family: var(--sans); font-size: 13px; font-weight: 500; min-width: 16px; text-align: center; }
.cart-item__price { font-family: var(--sans); font-size: 14px; font-weight: 500; }
.cart-item__remove { font-size: 18px; color: var(--light); cursor: pointer; padding: 4px; transition: color 0.2s; font-family: var(--sans); font-weight: 300; }
.cart-item__remove:hover { color: var(--dark); }
.cart-drawer__footer { padding: 20px 28px; border-top: 1px solid var(--border); }
.cart-free-ship { text-align: center; font-family: var(--sans); font-size: 11px; color: var(--mid); margin-bottom: 18px; }
.cart-free-ship span { font-weight: 600; color: var(--dark); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.cart-subtotal__label { font-family: var(--sans); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid); }
.cart-subtotal__amount { font-family: var(--serif); font-size: 28px; font-weight: 400; font-style: italic; letter-spacing: -0.5px; }
.cart-checkout-btn { width: 100%; padding: 17px; background: var(--dark); color: var(--white); border-radius: var(--pill); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: background 0.25s ease; }
.cart-checkout-btn:hover { background: #2e2820; }
.cart-checkout-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-note { text-align: center; font-family: var(--sans); font-size: 10px; color: var(--light); margin-top: 12px; letter-spacing: 0.5px; }

/* =================== SHOP PAGE =================== */
.page-hero { padding: calc(var(--nav-height) + 80px) 0 80px; text-align: center; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); font-weight: 400; font-style: italic; letter-spacing: -1px; line-height: 1.1; margin-bottom: 12px; }
.page-hero p { font-family: var(--sans); font-size: 14px; font-weight: 300; color: var(--mid); letter-spacing: 0.3px; }
.shop-filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 56px; }
.filter-btn { padding: 9px 24px; border-radius: var(--pill); font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all 0.25s ease; border: 1px solid var(--border); color: var(--mid); background: transparent; }
.filter-btn:hover, .filter-btn.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.shop-section { padding-bottom: 100px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* =================== PRODUCT DETAIL =================== */
.product-page { padding-top: var(--nav-height); padding-bottom: 100px; }
.product-breadcrumb { padding: 24px 0; font-family: var(--sans); font-size: 11px; color: var(--light); }
.product-breadcrumb a { color: var(--light); transition: color 0.2s; }
.product-breadcrumb a:hover { color: var(--ocean); }
.product-breadcrumb span { margin: 0 8px; }
.product-layout { display: grid; grid-template-columns: 480px 1fr; gap: 56px; align-items: start; max-width: 1060px; margin: 0 auto; }
.product-layout > * { min-width: 0; }
.product-images__main { position: relative; width: 100%; aspect-ratio: 4/5; max-height: calc(100vh - 160px); border-radius: var(--radius); background: var(--ivory-mid); margin-bottom: 10px; overflow: hidden; }
.gallery-bg { display: none; }
.product-images__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity 0.15s ease; z-index: 1; }
.gallery-arrow { z-index: 3; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.85); border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.12); transition: background 0.2s; }
.gallery-arrow:hover { background: #fff; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.product-images__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.product-images__thumbs::-webkit-scrollbar { display: none; }
.thumb-item { width: 72px; height: 96px; flex-shrink: 0; border-radius: 6px; cursor: pointer; opacity: 0.55; transition: opacity 0.2s ease; border: 2px solid transparent; overflow: hidden; background: var(--ivory-mid); }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb-item:hover { opacity: 0.85; }
.thumb-item.active { opacity: 1; border-color: var(--dark); }
.thumb-play { color: #fff; font-size: 22px; line-height: 1; }
.gallery-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; background: #000; }
/* legacy fallback — keep img selector in case old markup */
.product-images__thumbs > img { width: 72px; height: 96px; flex-shrink: 0; object-fit: contain; background: var(--ivory-mid); border-radius: 6px; cursor: pointer; opacity: 0.55; transition: opacity 0.2s ease; border: 2px solid transparent; }
.product-images__thumbs > img:hover { opacity: 0.85; }
.product-images__thumbs > img.active { opacity: 1; border-color: var(--dark); }
.product-details__category { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--ocean); margin-bottom: 12px; }
.product-details__name { font-family: var(--serif); font-size: clamp(36px, 4vw, 54px); font-weight: 400; font-style: italic; letter-spacing: -1px; margin-bottom: 14px; line-height: 1.05; }
.product-details__price { font-family: var(--sans); font-size: 18px; font-weight: 400; margin-bottom: 32px; color: var(--mid); }
.product-details__desc { font-family: var(--sans); font-size: 14px; font-weight: 300; color: var(--mid); line-height: 1.9; margin-bottom: 32px; }
.size-label { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--dark); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.size-label a { font-weight: 400; text-decoration: underline; color: var(--mid); text-underline-offset: 3px; letter-spacing: 0; text-transform: none; font-size: 12px; }
.size-options { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.size-btn { width: 50px; height: 50px; border-radius: var(--radius-sm); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.2s; color: var(--dark); background: var(--white); }
.size-btn:hover { border-color: var(--dark); }
.size-btn.selected { background: var(--dark); border-color: var(--dark); color: var(--white); }
.size-btn.out-of-stock { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; pointer-events: none; }
.add-to-cart-btn { width: 100%; padding: 19px; background: var(--dark); color: var(--white); border-radius: var(--pill); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: background 0.25s ease; margin-bottom: 14px; }
.add-to-cart-btn:hover { background: #2e2820; }
.add-to-cart-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.product-meta { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.product-meta__item { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 13px; font-weight: 300; color: var(--mid); }
.product-meta__item .icon { font-size: 18px; }
.product-details__list { list-style: none; margin-bottom: 28px; }
.product-details__list li { font-family: var(--sans); font-size: 13px; font-weight: 300; color: var(--mid); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.product-details__list li::before { content: '—'; color: var(--ocean); font-size: 12px; }

/* =================== MIX & MATCH SET BUILDER =================== */
.set-builder { margin-bottom: 28px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.set-builder__header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--ivory-mid); border-bottom: 1px solid var(--border); }
.set-builder__label { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--dark); }
.set-builder__total { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--dark); }
.set-builder__section { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.set-builder__section-label { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mid); margin-bottom: 10px; }
.set-builder__options { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
.set-builder__options::-webkit-scrollbar { display: none; }
.set-builder__option { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px 8px; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; width: 96px; flex-shrink: 0; transition: border-color 0.2s ease, background 0.2s ease; }
.set-builder__option:hover { border-color: var(--mid); }
.set-builder__option.active { border-color: var(--dark); background: var(--ivory-mid); }
.set-builder__option img { width: 76px; height: 76px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.set-builder__option-name { font-family: var(--sans); font-size: 9px; font-weight: 500; color: var(--dark); text-align: center; line-height: 1.3; margin-top: auto; padding-top: 4px; }
.set-builder__option-price { font-family: var(--sans); font-size: 9px; font-weight: 400; color: var(--mid); }
.set-builder__option-view { font-family: var(--sans); font-size: 9px; font-weight: 500; color: var(--ocean-dark); text-decoration: none; letter-spacing: 0.03em; opacity: 0; transition: opacity 0.2s; }
.set-builder__option:hover .set-builder__option-view { opacity: 1; }
.set-builder__sizes { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--border); }
.set-size-row { display: flex; align-items: center; gap: 16px; }
.set-size-label { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mid); width: 80px; flex-shrink: 0; }
.set-size-opts { display: flex; gap: 6px; }
.set-size-opts .size-btn { width: 38px; height: 38px; font-size: 11px; }
.add-set-btn { display: block; width: 100%; padding: 16px 20px; background: var(--dark); color: var(--ivory); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.2s ease, opacity 0.2s ease; }
.add-set-btn:hover:not(:disabled) { background: #2c2825; }
.add-set-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* =================== ABOUT PAGE =================== */
.about-hero { height: 70vh; min-height: 500px; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.about-hero__bg { position: absolute; inset: 0; }
.about-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.about-hero__overlay { position: absolute; inset: 0; background: rgba(28,24,20,0.35); }
.about-hero__content { position: relative; z-index: 2; text-align: center; color: var(--white); width: 100%; padding: 0 24px 80px; }
.about-hero__content h1 { font-family: var(--serif); font-size: clamp(60px, 10vw, 120px); font-weight: 400; font-style: italic; letter-spacing: -3px; line-height: 0.95; }
.about-story { padding: 100px 0; }
.about-story__inner { max-width: 680px; margin: 0 auto; text-align: center; }
.about-story__inner h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); font-weight: 400; font-style: italic; letter-spacing: -1px; margin-bottom: 28px; }
.about-story__inner p { font-family: var(--sans); font-size: 15px; font-weight: 300; color: var(--mid); line-height: 1.9; margin-bottom: 20px; }

/* =================== SUCCESS / CANCEL =================== */
.status-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.status-card { max-width: 460px; }
.status-icon { font-size: 64px; margin-bottom: 24px; }
.status-card h1 { font-family: var(--serif); font-size: 48px; font-weight: 400; font-style: italic; letter-spacing: -1.5px; margin-bottom: 16px; }
.status-card p { font-family: var(--sans); font-size: 15px; font-weight: 300; color: var(--mid); margin-bottom: 40px; line-height: 1.8; }

/* =================== REVIEWS =================== */
.reviews { padding: 100px 0; background: var(--ivory-dark); }
.reviews__head { text-align: center; margin-bottom: 56px; }
.reviews__rating-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; }
.reviews__stars { color: #C4A060; font-size: 22px; letter-spacing: 2px; }
.reviews__rating-text { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--mid); letter-spacing: 0.5px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--border); transition: box-shadow 0.25s ease; }
.review-card:hover { box-shadow: var(--shadow-med); }
.review-card__stars { color: #C4A060; font-size: 15px; letter-spacing: 1.5px; }
.review-card__quote { font-family: var(--serif); font-size: 20px; font-style: italic; font-weight: 400; color: var(--dark); line-height: 1.55; letter-spacing: -0.3px; flex: 1; }
.review-card__footer { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--border); }
.review-card__name { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); }
.review-card__product { font-family: var(--sans); font-size: 11px; font-weight: 400; color: var(--light); }
.reviews__etsy-link { text-align: center; margin-top: 48px; }
.reviews__etsy-link a { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--mid); border-bottom: 1px solid var(--border); padding-bottom: 3px; transition: color 0.2s ease, border-color 0.2s ease; }
.reviews__etsy-link a:hover { color: var(--dark); border-color: var(--dark); }
@media (max-width: 1024px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reviews { padding: 60px 0; } .reviews__grid { grid-template-columns: 1fr; } .review-card { padding: 28px 24px; } }

/* =================== TOAST =================== */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--dark); color: var(--white); padding: 13px 28px; border-radius: var(--pill); font-family: var(--sans); font-size: 13px; font-weight: 400; z-index: 9999; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); white-space: nowrap; box-shadow: var(--shadow-med); pointer-events: none; }
.toast.visible { transform: translateX(-50%) translateY(0); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1200px) {
  .product-grid, .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1024px) {
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-strip__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__inner { position: relative; display: flex; align-items: center; justify-content: flex-end; }
  .nav__left { display: none; }
  .nav__center { position: absolute; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; }
  .nav__center a { pointer-events: auto; }
  .nav__hamburger { display: flex; }
  .hero__content { padding: 48px 20px; }
  .hero__subtitle { display: none; }
  .product-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .collections__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; gap: 0; }
  .new-arrivals, .collections { padding: 60px 0; }
  .about-strip { padding: 60px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
  .product-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cart-drawer { width: 100vw; }
  .hero__title { letter-spacing: -1.5px; }
}

/* =================== MOBILE OVERFLOW SAFETY NETS =================== */
/* Prevent grid/flex items from blowing out their containers via intrinsic min-width */
.product-grid > *,
.shop-grid > *,
.collections__grid > *,
.values__grid > *,
.footer__grid > *,
.reviews__grid > *,
.about-strip__inner > * { min-width: 0; }

/* Prevent any image from forcing its parent wider than the viewport */
img { max-width: 100%; }

/* Belt-and-braces: never allow the page to scroll sideways on mobile */
html, body { overflow-x: hidden; }

/* =================== MODAL =================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--mid);
}
.modal-close:hover {
  color: var(--dark);
}
