/* ============================================================
   FORGE & VALOR — ATELIER THEME
   Warm espresso + ivory, bronze/champagne accents.
   Vanilla CSS. Animations respect prefers-reduced-motion.
   ============================================================ */

:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: calc(2.4rem * var(--heading-scale)); }
h2 { font-size: calc(1.9rem * var(--heading-scale)); }
h3 { font-size: calc(1.25rem * var(--heading-scale)); }
p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-dark);
  color: var(--color-dark-text);
  padding: 0.75rem 1.25rem;
  z-index: 300;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.page-width { max-width: 1400px; margin: 0 auto; padding: 0 1.25rem; }
.page-width--narrow { max-width: 860px; }
.section-padding { padding: 5.75rem 0; }
.section-padding--top { padding-top: 0; }
.page-title { text-align: center; margin-bottom: 1.5rem; }
.rte > *:last-child { margin-bottom: 0; }
.rte ul, .rte ol { padding-left: 1.4rem; }
.rte a { color: var(--color-accent); text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease var(--reveal-delay, 0ms), transform 0.9s var(--ease-out) var(--reveal-delay, 0ms);
}
[data-reveal].inview { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: 1.5px solid var(--color-dark);
  background: var(--color-dark);
  color: var(--color-dark-text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.button::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-out);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(30, 23, 18, 0.22); }
.button:hover::after { left: 130%; }
.button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.button--accent { background: var(--color-accent); border-color: var(--color-accent); color: #1E1712; }
.button--accent:hover { background: var(--color-accent-light); border-color: var(--color-accent-light); }
.button--outline { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.button--outline:hover { background: var(--color-dark); color: var(--color-dark-text); }
.button--small { padding: 0.6rem 1.3rem; font-size: 0.85rem; }
.button--ghost { background: transparent; color: var(--color-dark-text); border-color: rgba(243, 234, 217, 0.6); }
.button--ghost:hover { background: rgba(243, 234, 217, 0.14); border-color: var(--color-dark-text); color: var(--color-dark-text); }
.button--full { width: 100%; }
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: none;
  background: transparent;
  color: inherit;
  border-radius: 50%;
  position: relative;
  transition: background 0.2s ease, transform 0.2s ease;
}
.icon-button:hover { background: rgba(176, 141, 87, 0.16); transform: translateY(-1px); }

.badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge--sale { background: var(--color-sale); color: #FFF7EA; }
.badge--sold-out { background: var(--color-dark); color: var(--color-dark-text); }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.92rem; }
.field input, .field select, .field textarea,
.newsletter-form__row input, .search-form__input,
.collection-toolbar__sort select, .cart-item__qty-input,
.password-form input, .cart-summary__note textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus,
.newsletter-form__row input:focus, .search-form__input:focus,
.collection-toolbar__sort select:focus, .cart-item__qty-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.22);
}
.form-message { padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.92rem; }
.form-message--success { background: #EFE7D2; color: #5C4A1F; border: 1px solid var(--color-accent-light); }
.form-message--error { background: #F7E3D8; color: #7E2F16; border: 1px solid var(--color-sale); }

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: var(--color-dark);
  color: var(--color-dark-text);
  text-align: center;
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.announcement-bar__message {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.announcement-bar__message.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.announcement-bar__message a { color: var(--color-accent-light); text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(30, 23, 18, 0.12); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
  transition: padding 0.3s ease;
}
.site-header.is-scrolled .site-header__inner { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.site-header__logo { text-decoration: none; flex-shrink: 0; }
.site-header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}
.site-header__logo-text::first-letter { color: var(--color-accent); }
.site-header__nav { display: flex; gap: 0.4rem; margin: 0 auto; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-link:hover { background: rgba(176, 141, 87, 0.15); color: var(--color-accent); }
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 24px 40px rgba(30, 23, 18, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown__link { display: block; padding: 0.55rem 0.8rem; border-radius: 9px; text-decoration: none; font-size: 0.93rem; }
.nav-dropdown__link:hover { background: rgba(176, 141, 87, 0.14); }
.site-header__icons { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.site-header__menu-toggle { display: none; }
.cart-count {
  position: absolute;
  top: 1px; right: 0;
  min-width: 19px; height: 19px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #1E1712;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu__overlay {
  position: absolute; inset: 0;
  background: rgba(20, 14, 9, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.is-open .mobile-menu__overlay { opacity: 1; }
.mobile-menu__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(340px, 88vw);
  background: var(--color-bg);
  padding: 1.25rem;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__link {
  padding: 0.8rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}
.mobile-menu__link--child { font-family: var(--font-body); font-size: 0.98rem; padding-left: 1.25rem; color: var(--color-text-muted); }
.mobile-menu__footer { margin-top: auto; padding-top: 1.25rem; display: flex; gap: 1.25rem; }
.mobile-menu__footer a { color: var(--color-accent); font-weight: 700; text-decoration: none; }

/* ---------- Section headings ---------- */
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-heading--left { text-align: left; margin-left: 0; }
.section-heading__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}
.section-heading:not(.section-heading--left) .section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.section-heading:not(.section-heading--left) .section-heading__eyebrow::before,
.section-heading:not(.section-heading--left) .section-heading__eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.65;
}
.section-heading__title {
  font-size: calc(clamp(2.1rem, 4vw, 3rem) * var(--heading-scale));
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.section-heading__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 1.15rem auto 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}
.section-heading--left .section-heading__title::after { margin-left: 0; }
.section-heading__text { color: var(--color-text-muted); margin-top: 1rem; }
.section-footer { text-align: center; margin-top: 2.75rem; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--color-dark); }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.3s ease, visibility 1.3s;
  min-height: clamp(600px, 94vh, 920px);
  display: flex;
  align-items: center;
}
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; z-index: 1; }
.hero-slide__image, .hero-slide__placeholder {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-slide.is-active .hero-slide__image { animation: kenburns 12s ease forwards; }
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 12, 8, 0.92) 0%, rgba(18, 12, 8, 0.58) 46%, rgba(18, 12, 8, 0.18) 76%, rgba(18, 12, 8, 0.06) 100%),
    linear-gradient(0deg, rgba(18, 12, 8, 0.78) 0%, rgba(18, 12, 8, 0) 42%);
}
.hero-slide__content { position: relative; z-index: 2; width: 100%; color: var(--color-dark-text); padding: 5rem 0 11rem; }
.hero-slide__content--center { text-align: center; }
.hero-slide__content--center .hero-slide__text { margin-left: auto; margin-right: auto; }
.hero-slide__content--center .hero-slide__eyebrow { justify-content: center; }
.hero-slide__content--center .hero-slide__buttons { justify-content: center; }
.hero-slide__content--right { text-align: right; }
.hero-slide__content--right .hero-slide__text { margin-left: auto; }
.hero-slide__content--right .hero-slide__eyebrow { flex-direction: row-reverse; }
.hero-slide__content--right .hero-slide__buttons { justify-content: flex-end; }
.hero-slide__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-accent-light);
  margin-bottom: 1.4rem;
}
.hero-slide__eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--color-accent-light);
  flex-shrink: 0;
}
.hero-slide__content--center .hero-slide__eyebrow::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--color-accent-light);
  flex-shrink: 0;
}
.hero-slide__heading {
  font-size: calc(clamp(3rem, 7vw, 5.2rem) * var(--heading-scale));
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-weight: 600;
  max-width: 11em;
  text-wrap: balance;
  margin-bottom: 1.3rem;
}
.hero-slide__content--center .hero-slide__heading { margin-left: auto; margin-right: auto; }
.hero-slide__content--right .hero-slide__heading { margin-left: auto; }
.hero-slide__text { max-width: 32em; font-size: 1.13rem; line-height: 1.65; color: #EFE6D2; margin-bottom: 2.25rem; }
.hero-slide__buttons { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-slide.is-active .hero-slide__eyebrow,
.hero-slide.is-active .hero-slide__heading,
.hero-slide.is-active .hero-slide__text,
.hero-slide.is-active .hero-slide__buttons {
  animation: heroRise 1s var(--ease-out) both;
}
.hero-slide.is-active .hero-slide__heading { animation-delay: 0.12s; }
.hero-slide.is-active .hero-slide__text { animation-delay: 0.24s; }
.hero-slide.is-active .hero-slide__buttons { animation-delay: 0.36s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.hero-slider__arrow {
  position: absolute;
  bottom: 78px;
  z-index: 5;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(243, 234, 217, 0.45);
  background: rgba(18, 12, 8, 0.3);
  backdrop-filter: blur(4px);
  color: var(--color-dark-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.hero-slider__arrow svg { width: 20px; height: 20px; }
.hero-slider__arrow:hover { background: var(--color-accent); border-color: var(--color-accent); color: #1E1712; }
.hero-slider__arrow--next { right: calc(max((100% - 1400px) / 2, 0px) + 1.25rem); }
.hero-slider__arrow--prev { right: calc(max((100% - 1400px) / 2, 0px) + 5.35rem); }
.hero-slider__arrow--prev svg { transform: scaleX(-1); }
.hero-slider__dots {
  position: absolute;
  bottom: 102px;
  left: calc(max((100% - 1400px) / 2, 0px) + 1.25rem);
  display: flex;
  gap: 0.6rem;
  z-index: 5;
}
.hero-slider__dot {
  position: relative;
  width: 64px; height: 3px;
  border: none;
  border-radius: 999px;
  background: rgba(243, 234, 217, 0.32);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.hero-slider__dot-fill {
  position: absolute;
  inset: 0;
  background: var(--color-accent-light);
  transform: scaleX(0);
  transform-origin: left center;
}
.hero-slider__dot.is-active .hero-slider__dot-fill { animation: heroProgress var(--slide-duration, 6000ms) linear forwards; }
.hero-slider[data-autoplay="false"] .hero-slider__dot.is-active .hero-slider__dot-fill { animation: none; transform: scaleX(1); }
@keyframes heroProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-trust {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  border-top: 1px solid rgba(193, 154, 91, 0.35);
  background: rgba(18, 12, 8, 0.45);
  backdrop-filter: blur(6px);
  color: var(--color-dark-text);
}
.hero-trust__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
}
.hero-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-trust__item::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--color-accent-light);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 0.95rem 0; }
.marquee--dark { background: var(--color-dark); color: var(--color-dark-text); }
.marquee--accent { background: var(--color-accent); color: #1E1712; }
.marquee--light { background: var(--color-surface); color: var(--color-text); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.marquee__track { display: flex; width: max-content; animation: marqueeScroll var(--marquee-speed, 28s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 1.6rem;
}
.marquee__item::after {
  content: "";
  width: 8px; height: 8px;
  margin-left: 3.2rem;
  background: var(--color-accent-light);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.marquee--accent .marquee__item::after { background: #1E1712; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; gap: 2.25rem 1.5rem; }
.product-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-card-wrap { height: 100%; }
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(30, 23, 18, 0.05);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(30, 23, 18, 0.16);
  border-color: #D8C6A4;
}
.product-card__media {
  position: relative;
  overflow: hidden;
  background: #EFE8DA;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
.product-card__link { display: block; width: 100%; height: 100%; }
.product-card__image {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), opacity 0.55s ease;
}
.product-card__image--second { opacity: 0; }
.product-card:hover .product-card__image--first { transform: scale(1.08); }
.product-card:hover .product-card__image--second { opacity: 1; transform: scale(1.08); }
.product-card__placeholder { width: 100%; height: 100%; display: block; }
.product-card__badges { position: absolute; top: 0.85rem; left: 0.85rem; display: flex; flex-direction: column; gap: 0.4rem; z-index: 2; }
.product-card__ribbon {
  position: absolute;
  top: 1.15rem;
  right: -2.7rem;
  z-index: 3;
  transform: rotate(45deg);
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  color: #1E1712;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.38rem 3rem;
  box-shadow: 0 8px 16px rgba(30, 23, 18, 0.28);
  pointer-events: none;
}
.product-card__actions {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.product-card:hover .product-card__actions,
.product-card:focus-within .product-card__actions { opacity: 1; transform: none; }
.product-card__quick-add {
  width: 100%;
  border: none;
  border-radius: 0;
  background: rgba(30, 23, 18, 0.93);
  backdrop-filter: blur(6px);
  color: var(--color-dark-text);
  padding: 0.95rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: none;
}
.product-card__quick-add:hover { background: var(--color-accent); color: #1E1712; transform: none; box-shadow: none; }
.product-card__info {
  padding: 1.15rem 1.3rem 1.45rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  flex: 1;
}
.product-card__chip {
  display: inline-flex;
  padding: 0.3rem 0.72rem;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  background: rgba(176, 141, 87, 0.09);
  color: #8A6D3B;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.product-card__vendor {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.product-card__title {
  font-size: 1.12rem;
  line-height: 1.32;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.64em;
}
.product-card__title a { text-decoration: none; }
.product-card__title a:hover { color: var(--color-accent); }
.product-card__from { display: block; font-size: 0.8rem; color: var(--color-text-muted); }
.product-card__placeholder-note { color: var(--color-text-muted); font-size: 0.9rem; }
.price { font-weight: 800; font-size: 1.12rem; margin-top: auto; padding-top: 0.35rem; }
.price__sale { color: var(--color-sale); }
.price__compare { color: var(--color-text-muted); margin-left: 0.45rem; font-weight: 500; }
.price--sold-out { color: var(--color-text-muted); }

/* ---------- Story section ---------- */
.story-section--dark { background: var(--color-dark); color: var(--color-dark-text); }
.story-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.story-section__grid--flip .story-section__media { order: 2; }
.story-section__media { position: relative; border-radius: 20px; overflow: hidden; }
.story-section__media img, .story-section__placeholder { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.story-section__badge {
  position: absolute;
  bottom: 1.1rem; left: 1.1rem;
  background: var(--color-accent);
  color: #1E1712;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(30, 23, 18, 0.3);
}
.story-section__heading { font-size: calc(clamp(1.8rem, 3.4vw, 2.6rem) * var(--heading-scale)); }
.story-section__text { color: var(--color-text-muted); font-size: 1.05rem; margin-bottom: 1.75rem; }
.story-section--dark .story-section__text { color: #D8CBB2; }

/* ---------- Materials ---------- */
.materials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.material-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-dark);
  color: var(--color-dark-text);
}
.material-card__media { position: absolute; inset: 0; }
.material-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out);
}
.material-card:hover .material-card__media img { transform: scale(1.08); }
.material-card__placeholder { width: 100%; height: 100%; display: block; }
.material-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 12, 8, 0.9) 0%, rgba(18, 12, 8, 0.38) 55%, rgba(18, 12, 8, 0.05) 100%);
  pointer-events: none;
}
.material-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.75rem; z-index: 2; }
.material-card__title { font-size: 1.65rem; margin: 0 0 0.4rem; color: var(--color-dark-text); }
.material-card__text {
  color: #E4D9C3;
  font-size: 0.97rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: max-height 0.6s var(--ease-out), opacity 0.5s ease, transform 0.6s var(--ease-out);
}
.material-card__text p { margin: 0; }
.material-card:hover .material-card__text,
.material-card:focus-within .material-card__text { max-height: 240px; opacity: 1; transform: none; }
.material-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--color-accent-light);
  text-decoration: none;
}
.material-card__link:hover { text-decoration: underline; }
@media (hover: none) {
  .material-card__text { max-height: none; opacity: 1; transform: none; }
}

/* ---------- Testimonials ---------- */
.testimonials--dark { background: var(--color-dark); color: var(--color-dark-text); }
.testimonials--dark .section-heading__text { color: #D8CBB2; }
.testimonial-slider { max-width: 880px; margin: 0 auto; text-align: center; }
.testimonial-slider__track { position: relative; min-height: 230px; }
.testimonial {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out), visibility 0.7s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.testimonial.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.testimonial__stars {
  color: var(--color-accent);
  font-size: 1.1rem;
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  margin-bottom: 1.6rem;
  line-height: 1;
}
.testimonials--dark .testimonial__stars { color: var(--color-accent-light); }
.testimonial__quote { font-family: var(--font-heading); font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.38; margin: 0 0 1.3rem; }
.testimonial__author { font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; font-weight: 700; color: var(--color-accent-light); }
.testimonials:not(.testimonials--dark) .testimonial__author { color: var(--color-accent); }
.testimonial-slider__controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2.25rem; }
.testimonial-slider__arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  background: transparent;
  color: inherit;
  transition: background 0.25s ease, color 0.25s ease;
}
.testimonial-slider__arrow:hover { background: var(--color-accent); color: #1E1712; }
.testimonial-slider__dots { display: flex; gap: 0.5rem; }
.testimonial-slider__dot { width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0; background: var(--color-border); transition: background 0.3s ease, transform 0.3s ease; }
.testimonial-slider__dot.is-active { background: var(--color-accent); transform: scale(1.25); }

/* ---------- Newsletter ---------- */
.newsletter-section__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter-section--dark { background: var(--color-dark); color: var(--color-dark-text); }
.newsletter-section__text { color: var(--color-text-muted); margin-bottom: 1.75rem; }
.newsletter-section--dark .newsletter-section__text { color: #D8CBB2; }
.newsletter-form__row { display: flex; gap: 0.6rem; max-width: 520px; margin: 0 auto; }
.newsletter-form__row input { flex: 1; }
.site-footer .newsletter-form__row { margin: 0; }
.newsletter-section--dark .newsletter-form__row input,
.password-page .newsletter-form__row input { background: rgba(255, 253, 248, 0.08); border-color: rgba(193, 154, 91, 0.5); color: var(--color-dark-text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: var(--color-dark-text); padding: 4.5rem 0 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; margin-bottom: 3rem; }
.site-footer__logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem; }
.site-footer__about { color: #CDBFA4; font-size: 0.95rem; max-width: 30em; }
.site-footer__socials { display: flex; gap: 0.4rem; margin-top: 1.25rem; }
.site-footer__socials a {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(193, 154, 91, 0.45);
  border-radius: 50%;
  color: var(--color-dark-text);
  transition: background 0.25s ease, transform 0.25s ease;
}
.site-footer__socials a:hover { background: var(--color-accent); color: #1E1712; transform: translateY(-2px); }
.site-footer__heading { font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-light); margin-bottom: 1.1rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 0.55rem; }
.site-footer__links a { color: #EFE6D2; text-decoration: none; font-size: 0.95rem; }
.site-footer__links a:hover { color: var(--color-accent-light); text-decoration: underline; }
.site-footer__newsletter p { color: #CDBFA4; font-size: 0.95rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(193, 154, 91, 0.3);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer__copy { margin: 0; font-size: 0.88rem; color: #CDBFA4; }
.site-footer__copy a { color: var(--color-accent-light); }
.payment-icons { list-style: none; display: flex; gap: 0.45rem; margin: 0; padding: 0; flex-wrap: wrap; }
.payment-icons svg { width: 38px; height: 24px; border-radius: 4px; }

/* ---------- Collection ---------- */
.collection-banner { position: relative; overflow: hidden; background: var(--color-dark); color: var(--color-dark-text); }
.collection-banner__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collection-banner__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,14,9,0.85), rgba(20,14,9,0.35)); }
.collection-banner__content { position: relative; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.collection-banner__title { margin-bottom: 0.6rem; }
.collection-banner__text { max-width: 40em; color: #EFE6D2; }
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--color-border);
}
.collection-toolbar__count { margin: 0; color: var(--color-text-muted); font-weight: 600; }
.collection-toolbar__sort { display: flex; align-items: center; gap: 0.6rem; }
.collection-toolbar__sort label { font-weight: 600; font-size: 0.92rem; }
.collection-toolbar__sort select { width: auto; padding: 0.55rem 2rem 0.55rem 0.9rem; border-radius: 999px; }
.empty-message { text-align: center; color: var(--color-text-muted); padding: 2.5rem 1rem; font-size: 1.05rem; }
.empty-message .button { margin-top: 1.25rem; }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination__pages { display: flex; gap: 0.35rem; }
.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  text-decoration: none;
  font-weight: 600;
  background: var(--color-surface);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pagination__link:hover { border-color: var(--color-accent); }
.pagination__link--current { background: var(--color-dark); color: var(--color-dark-text); border-color: var(--color-dark); }
.pagination__gap { display: inline-flex; align-items: center; padding: 0 0.3rem; color: var(--color-text-muted); }

/* ---------- Collection list ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.collection-card { text-decoration: none; display: block; }
.collection-card__media { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--color-border); }
.collection-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.collection-card:hover .collection-card__media img { transform: scale(1.06); }
.collection-card__placeholder { width: 100%; height: 100%; display: block; }
.collection-card__body { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.collection-card__title { margin: 0; font-size: 1.25rem; }
.collection-card__count { color: var(--color-text-muted); font-size: 0.88rem; white-space: nowrap; }

/* ---------- Blog ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.article-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px rgba(30, 23, 18, 0.13); }
.article-card__media { display: block; aspect-ratio: 10 / 7; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); font-weight: 700; }
.article-card__title { font-size: 1.3rem; }
.article-card__title a { text-decoration: none; }
.article-card__excerpt { color: var(--color-text-muted); flex: 1; }
.article-card__link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--color-accent); text-decoration: none; }
.article__meta { text-align: center; color: var(--color-text-muted); }
.article__meta a { color: var(--color-accent); font-weight: 700; text-decoration: none; }
.article__image { width: 100%; border-radius: 16px; margin: 1.5rem 0 2rem; }
.article__share { display: flex; align-items: center; gap: 0.75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); font-weight: 700; }
.article__share a { display: inline-flex; color: var(--color-text-muted); }
.article__share a:hover { color: var(--color-accent); }
.article__nav { display: flex; justify-content: space-between; margin-top: 1.5rem; }
.article__nav a { color: var(--color-accent); font-weight: 700; text-decoration: none; }

/* ---------- Product page ---------- */
.breadcrumbs { display: flex; gap: 0.5rem; align-items: center; font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 2rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--color-accent); text-decoration: none; font-weight: 600; }
.product__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: start; }
.product-gallery__main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: zoom-in;
}
.product-gallery__main img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; transition: opacity 0.35s ease, transform 0.6s ease; }
.product-gallery__main:hover img { transform: scale(1.03); }
.product-gallery__main img.is-fading { opacity: 0; }
.product-gallery__placeholder { width: 100%; display: block; }
.product-gallery__badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.product-gallery__thumbs { display: flex; gap: 0.7rem; margin-top: 0.8rem; flex-wrap: wrap; }
.product-gallery__thumb {
  width: 84px; height: 84px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery__thumb:hover { transform: translateY(-2px); }
.product-gallery__thumb.is-active { border-color: var(--color-accent); }
.product__info { position: sticky; top: 110px; }
.product__block { margin-bottom: 1.4rem; }
.product__vendor { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-accent); font-weight: 800; margin-bottom: 0.4rem; }
.product__title { font-size: calc(clamp(1.9rem, 3.6vw, 2.7rem) * var(--heading-scale)); margin-bottom: 0; }
.product__info .price { font-size: 1.45rem; }
.product__description { color: var(--color-text-muted); border-top: 1px solid var(--color-border); padding-top: 1.4rem; }
.product__text { color: var(--color-text-muted); }
.product__form-message { min-height: 1.2em; font-size: 0.9rem; margin: 0.6rem 0 0; color: var(--color-sale); font-weight: 600; }
.product__form-message.is-success { color: #6B5510; }
.product-form .shopify-payment-button { margin-top: 0.7rem; }
.product-form .shopify-payment-button__button {
  border-radius: 999px !important;
  min-height: 52px;
  font-weight: 700;
}
.variant-picker { border: none; padding: 0; margin: 0 0 1.1rem; }
.variant-picker__label { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.55rem; display: block; }
.variant-picker__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.variant-chip { position: relative; }
.variant-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.variant-chip span {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.variant-chip:hover span { border-color: var(--color-accent); }
.variant-chip input:checked + span { background: var(--color-dark); color: var(--color-dark-text); border-color: var(--color-dark); }
.variant-chip input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.quantity { display: inline-flex; align-items: center; border: 1.5px solid var(--color-border); border-radius: 999px; overflow: hidden; background: var(--color-surface); }
.quantity__button { width: 42px; height: 46px; border: none; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.quantity__button:hover { background: rgba(176, 141, 87, 0.15); }
.quantity__input { width: 52px; text-align: center; border: none; background: transparent; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.quantity__input::-webkit-outer-spin-button, .quantity__input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Accordion */
.accordion { border-top: 1px solid var(--color-border); }
.product__block:last-child .accordion { border-bottom: 1px solid var(--color-border); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.05rem 0.1rem;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
}
.accordion__trigger svg { transition: transform 0.35s ease; flex-shrink: 0; }
.accordion__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
.accordion__content { padding: 0 0.1rem 1.2rem; color: var(--color-text-muted); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(18, 12, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__image { max-width: min(92vw, 1000px); max-height: 88vh; border-radius: 14px; box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
.lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; color: var(--color-dark-text); background: rgba(255,253,248,0.12); }

/* ---------- Cart drawer ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 350; visibility: hidden; }
.cart-drawer.is-open { visibility: visible; }
.cart-drawer__overlay { position: absolute; inset: 0; background: rgba(20, 14, 9, 0.55); opacity: 0; transition: opacity 0.3s ease; }
.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }
.cart-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 94vw);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: -30px 0 60px rgba(30, 23, 18, 0.25);
}
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer__title { margin: 0; font-size: 1.35rem; }
.cart-drawer__count { color: var(--color-accent); }
.free-shipping { padding: 1rem 1.5rem 0.25rem; }
.free-shipping__text { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.5rem; }
.free-shipping__bar { height: 8px; border-radius: 999px; background: var(--color-border); overflow: hidden; }
.free-shipping__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.cart-drawer__empty { text-align: center; color: var(--color-text-muted); padding: 2rem 0; }
.cart-drawer__empty .button { margin-top: 1rem; }
.cart-drawer__item { display: flex; gap: 1rem; }
.cart-drawer__thumb { flex-shrink: 0; width: 80px; height: 80px; border-radius: 12px; overflow: hidden; border: 1px solid var(--color-border); }
.cart-drawer__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-drawer__details { flex: 1; min-width: 0; }
.cart-drawer__name { font-family: var(--font-heading); font-weight: 600; text-decoration: none; display: block; line-height: 1.3; }
.cart-drawer__name:hover { color: var(--color-accent); }
.cart-drawer__variant { font-size: 0.83rem; color: var(--color-text-muted); margin: 0.2rem 0 0.55rem; }
.cart-drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.cart-drawer__controls { display: inline-flex; align-items: center; border: 1.5px solid var(--color-border); border-radius: 999px; background: var(--color-surface); }
.cart-drawer__controls button { width: 32px; height: 34px; border: none; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.cart-drawer__controls button:hover { color: var(--color-accent); }
.cart-drawer__qty-value { min-width: 26px; text-align: center; font-weight: 700; font-size: 0.9rem; }
.cart-drawer__price { font-weight: 700; }
.cart-drawer__remove { background: none; border: none; padding: 0; font-size: 0.8rem; color: var(--color-text-muted); text-decoration: underline; }
.cart-drawer__remove:hover { color: var(--color-sale); }
.cart-drawer__footer { border-top: 1px solid var(--color-border); padding: 1.25rem 1.5rem 1.5rem; background: var(--color-surface); }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 0.4rem; }
.cart-drawer__note { font-size: 0.83rem; color: var(--color-text-muted); margin-bottom: 1rem; }

/* ---------- Cart page ---------- */
.cart-items { border-top: 1px solid var(--color-border); }
.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-item__thumb { width: 120px; height: 120px; border-radius: 14px; overflow: hidden; border: 1px solid var(--color-border); display: block; }
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.cart-item__name:hover { color: var(--color-accent); }
.cart-item__variant { color: var(--color-text-muted); font-size: 0.88rem; margin: 0.25rem 0 0.5rem; }
.cart-item__remove { color: var(--color-text-muted); font-size: 0.85rem; }
.cart-item__remove:hover { color: var(--color-sale); }
.cart-item__qty-input { width: 76px !important; text-align: center; }
.cart-item__price { font-weight: 700; font-size: 1.05rem; text-align: right; }
.cart-item__price s { color: var(--color-text-muted); font-weight: 500; margin-right: 0.4rem; }
.cart-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.25rem; align-items: start; }
.cart-summary__note label { font-weight: 600; display: block; margin-bottom: 0.45rem; }
.cart-summary__row { display: flex; justify-content: space-between; font-size: 1.25rem; font-family: var(--font-heading); margin-bottom: 0.4rem; }
.cart-summary__note-text { color: var(--color-text-muted); font-size: 0.88rem; }
.cart-summary__actions { display: flex; gap: 0.7rem; margin-top: 1.25rem; flex-wrap: wrap; }
.cart-summary__continue { display: inline-block; margin-top: 1rem; color: var(--color-accent); font-weight: 700; }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 0.6rem; max-width: 620px; margin: 0 auto 2.5rem; }
.search-form__input { flex: 1; }
.search-page__summary { text-align: center; color: var(--color-text-muted); margin-bottom: 2rem; }
.search-result-card { justify-content: center; }
.search-result-card__excerpt { color: var(--color-text-muted); font-size: 0.92rem; }

/* ---------- 404 ---------- */
.not-found { text-align: center; }
.not-found__code { font-family: var(--font-heading); font-size: 5.5rem; line-height: 1; color: var(--color-accent); margin-bottom: 0.5rem; }
.not-found__text { color: var(--color-text-muted); margin-bottom: 1.75rem; }

/* ---------- Password page ---------- */
.template-password { background: var(--color-dark); }
.password-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  color: var(--color-dark-text);
  padding: 3rem 1.25rem;
}
.password-page__inner { max-width: 560px; text-align: center; }
.password-page__logo { font-family: var(--font-heading); font-size: 1.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent-light); margin-bottom: 1.5rem; }
.password-page__title { color: var(--color-dark-text); }
.password-page__text { color: #D8CBB2; margin-bottom: 2rem; }
.password-page__login { margin-top: 2.5rem; }
.password-page__login summary { cursor: pointer; color: var(--color-accent-light); font-weight: 700; }
.password-form { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.password-form input { flex: 1; background: rgba(255, 253, 248, 0.08); border-color: rgba(193, 154, 91, 0.5); color: var(--color-dark-text); }

/* ---------- Customer pages ---------- */
.customer-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 2.25rem;
  box-shadow: 0 20px 40px rgba(30, 23, 18, 0.07);
}
.customer-card .page-title { text-align: left; }
.customer-card__subtitle { font-size: 1.4rem; }
.customer-card__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.5rem; }
.customer-card__link { margin-top: 1.1rem; }
.customer-card__link a { color: var(--color-accent); font-weight: 600; }
.field--checkbox label { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 500; }
.field--checkbox input { width: auto; }
.account-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.account-header .page-title { margin: 0; text-align: left; }
.account-hello { color: var(--color-text-muted); margin: 0.75rem 0 2rem; }
.account-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; align-items: start; }
.account-table { width: 100%; border-collapse: collapse; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; }
.account-table th, .account-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.94rem; }
.account-table th { background: var(--color-bg); font-family: var(--font-heading); }
.account-table a { color: var(--color-accent); font-weight: 700; }
.account-table tfoot td { border-bottom: none; }
.account-table .order-total td { border-top: 2px solid var(--color-accent); }
.order-fulfillment { font-size: 0.83rem; color: var(--color-text-muted); margin: 0.3rem 0 0; }
.account-address h2 { font-size: 1.25rem; }
.address-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.address-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 1.4rem; }
.address-card__default { color: var(--color-accent); font-weight: 700; font-size: 0.83rem; text-transform: uppercase; letter-spacing: 0.1em; }
.address-card__edit summary, .address-new summary { cursor: pointer; font-weight: 700; color: var(--color-accent); }
.address-card__edit { margin-top: 0.75rem; }
.address-card__delete-form { margin-top: 0.6rem; }
.address-card__delete { background: none; border: none; color: var(--color-sale); text-decoration: underline; padding: 0; }
.address-new { margin-top: 1rem; }
.address-new form { margin-top: 1.5rem; max-width: 560px; }

/* ---------- Collection tiles ---------- */
.tiles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.collection-tile {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-dark);
  color: var(--color-dark-text);
  text-decoration: none;
}
.collection-tile__image, .collection-tile__placeholder {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.collection-tile:hover .collection-tile__image { transform: scale(1.07); }
.collection-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 12, 8, 0.85) 0%, rgba(18, 12, 8, 0.28) 48%, rgba(18, 12, 8, 0) 72%);
  pointer-events: none;
}
.collection-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; z-index: 2; display: block; }
.collection-tile__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  transition: transform 0.5s var(--ease-out);
}
.collection-tile:hover .collection-tile__label { transform: translateY(-2px); }
.collection-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.5s var(--ease-out);
}
.collection-tile__cta svg { width: 15px; height: 15px; }
.collection-tile:hover .collection-tile__cta,
.collection-tile:focus-visible .collection-tile__cta { opacity: 1; transform: none; }
@media (hover: none) {
  .collection-tile__cta { opacity: 1; transform: none; }
}

/* ---------- Editorial (dark full-bleed) ---------- */
.editorial { position: relative; overflow: hidden; background: var(--color-dark); color: var(--color-dark-text); }
.editorial__media { position: absolute; inset: 0; }
.editorial__image, .editorial__placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
[data-slow-zoom] .editorial__image { transform: scale(1.14); transition: transform 10s var(--ease-out); }
[data-slow-zoom].inview .editorial__image { transform: scale(1.03); }
.editorial__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 12, 8, 0.93) 0%, rgba(18, 12, 8, 0.6) 55%, rgba(18, 12, 8, 0.28) 100%),
    linear-gradient(0deg, rgba(18, 12, 8, 0.65) 0%, rgba(18, 12, 8, 0) 45%);
}
.editorial__inner { position: relative; z-index: 2; }
.editorial__content { padding: 7rem 0 0; max-width: 880px; }
.editorial__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-accent-light);
  margin-bottom: 1.4rem;
}
.editorial__eyebrow::before { content: ""; width: 46px; height: 1px; background: var(--color-accent-light); flex-shrink: 0; }
.editorial__pull {
  font-size: calc(clamp(2.3rem, 4.6vw, 3.8rem) * var(--heading-scale));
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.3rem;
}
.editorial__text { color: #D8CBB2; font-size: 1.08rem; max-width: 36em; margin-bottom: 2rem; }
.editorial__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 880px;
  margin-top: 3.5rem;
  padding: 2.5rem 0 6rem;
  border-top: 1px solid rgba(193, 154, 91, 0.35);
}
.editorial__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent-light);
  margin-bottom: 0.5rem;
}
.editorial__stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #CDBFA4;
}

/* ---------- Craft steps ---------- */
.craft-steps { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.craft-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.craft-step { position: relative; padding-top: 1.6rem; }
.craft-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 2px;
  background: var(--color-accent);
}
.craft-step__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}
.craft-step__title { font-size: 1.22rem; margin-bottom: 0.4rem; }
.craft-step__text { color: var(--color-text-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Guarantee row ---------- */
.guarantee__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.guarantee__item { text-align: center; padding: 0 0.5rem; }
.guarantee__icon {
  width: 66px; height: 66px;
  margin: 0 auto 1.05rem;
  border: 1.5px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: background 0.35s ease, color 0.35s ease, transform 0.45s var(--ease-out);
}
.guarantee__item:hover .guarantee__icon { background: var(--color-accent); color: var(--color-surface); transform: translateY(-3px); }
.guarantee__icon svg { width: 27px; height: 27px; }
.guarantee__title { font-size: 1.1rem; margin-bottom: 0.3rem; }
.guarantee__text { color: var(--color-text-muted); font-size: 0.92rem; margin: 0; }

/* ---------- Footer wordmark ---------- */
.site-footer__wordmark {
  text-align: center;
  padding-bottom: 2.75rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(193, 154, 91, 0.3);
}
.site-footer__wordmark-text {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--color-dark-text);
  margin: 0;
}
.site-footer__wordmark-sub {
  margin: 0.95rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #CDBFA4;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid--cols-4 { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 989px) {
  .site-header__nav { display: none; }
  .site-header__menu-toggle { display: inline-flex; }
  .site-header__account { display: none; }
  .story-section__grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-section__grid--flip .story-section__media { order: 0; }
  .product__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .product__info { position: static; }
  .materials-grid, .article-grid, .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .account-grid { grid-template-columns: 1fr; }
  .section-padding { padding: 3.25rem 0; }
}
@media (max-width: 749px) {
  .product-grid--cols-3, .product-grid--cols-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .materials-grid, .article-grid, .collection-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 84px 1fr; }
  .cart-item__thumb { width: 84px; height: 84px; }
  .cart-item__qty, .cart-item__price { grid-column: 2; }
  .cart-summary { grid-template-columns: 1fr; }
  .hero-slider__arrow { display: none; }
  .hero-slide { min-height: 68vh; }
  .newsletter-form__row { flex-direction: column; }
  .newsletter-form__row .button { width: 100%; }
  .search-form { flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .account-table { display: block; overflow-x: auto; }
  .product-card__actions { opacity: 1; transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hero-slide.is-active .hero-slide__image { animation: none; }
}

/* ---------- Premium refinements (responsive) ---------- */
@media (max-width: 1100px) {
  .tiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 989px) {
  .craft-steps__grid, .guarantee__grid { grid-template-columns: repeat(2, 1fr); }
  .editorial__content { padding-top: 4.5rem; }
  .editorial__stats { padding-bottom: 4.5rem; }
  .hero-trust__inner { justify-content: flex-start; }
}
@media (max-width: 749px) {
  .hero-slide { min-height: 84vh; }
  .hero-slide__content { padding: 3.5rem 0 12.5rem; }
  .hero-slide__heading { font-size: calc(clamp(2.6rem, 11.5vw, 3.4rem) * var(--heading-scale)); }
  .hero-slider__dots { bottom: 158px; }
  .hero-slider__dot { width: 44px; }
  .hero-trust__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
  .hero-trust__item { font-size: 0.7rem; letter-spacing: 0.16em; }
  .tiles-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .collection-tile { aspect-ratio: 3 / 3.4; }
  .collection-tile__body { padding: 1rem; }
  .collection-tile__label { font-size: 1.12rem; }
  .editorial__stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .craft-steps__grid, .guarantee__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .product-card__info { padding: 0.95rem 1rem 1.15rem; }
  .product-card__title { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition-delay: 0ms !important; }
  .hero-slider__dot.is-active .hero-slider__dot-fill { animation: none; transform: scaleX(1); }
  [data-slow-zoom] .editorial__image { transform: none; transition: none; }
}
