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

:root {
  --bg-ivory: #FBF8F3;
  --bg-dark: #1C3A2E;
  --bg-dark-deep: #12261E;
  --accent-gold: #B08D57;
  --accent-gold-light: #D4B483;
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B63;
  --text-on-dark: #F3EFE6;
  --white: #FFFFFF;
  --border-hairline: #E4DFD3;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --container-width: 1280px;
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* ---------- Intro splash ---------- */
.intro-overlay {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s;
}

.intro-overlay.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-word {
  overflow: hidden;
  display: block;
}

.intro-word span {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.12em;
  font-size: clamp(34px, 7vw, 68px);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.intro-word:nth-child(2) span { color: var(--accent-gold-light); }

.intro-overlay.play .intro-word span {
  transform: translateY(0);
  opacity: 1;
}

.intro-overlay.play .intro-word:nth-child(2) span {
  transition-delay: 0.18s;
}

.intro-line {
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  margin: 22px 0 18px;
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.intro-overlay.play .intro-line { width: 90px; }

.intro-credit {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  opacity: 0;
  transition: opacity 1s ease 0.9s;
}

.intro-overlay.play .intro-credit { opacity: 0.55; }

/* ---------- Floating contact button ---------- */
.contact-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-dark);
  color: var(--accent-gold-light);
  width: 56px; height: 56px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18,38,30,0.35);
  transition: width var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  border: 1px solid rgba(176,141,87,0.4);
}

.contact-float svg {
  width: 24px; height: 24px;
  flex-shrink: 0;
  margin-left: 15px;
}

.contact-float-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--text-on-dark);
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.contact-float:hover {
  width: 168px;
  background: var(--bg-dark-deep);
  box-shadow: 0 10px 28px rgba(18,38,30,0.45);
}

.contact-float:hover .contact-float-label { opacity: 1; }

@media (max-width: 480px) {
  .contact-float { bottom: 20px; right: 20px; }
}

/* ---------- Premium page: split hero (image half + manifesto half) ---------- */
.split-feature {
  display: flex;
  min-height: 88vh;
}

.split-feature-image {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.split-feature-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}

.split-feature-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--bg-dark) 0%, #3a1216 60%, var(--accent-gold) 160%);
}

.split-feature-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  background: var(--bg-ivory);
}

.split-feature-kicker {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.split-feature-kicker::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--accent-gold);
  margin-top: 12px;
}

.split-feature-content h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 24px;
}

.split-feature-content h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}

.split-feature-content p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .split-feature { flex-direction: column; min-height: auto; }
  .split-feature-image { min-height: 60vh; }
  .split-feature-content { padding: 48px 28px; }
}

/* Dark variant for homepage use (Premium page keeps the ivory version) */
.split-feature-dark .split-feature-content {
  background: var(--bg-dark);
}

.split-feature-dark .split-feature-kicker {
  color: var(--accent-gold-light);
}

.split-feature-dark .split-feature-kicker::after {
  background: var(--accent-gold-light);
}

.split-feature-dark .split-feature-content h1 {
  color: var(--white);
}

.split-feature-dark .split-feature-content h1 em {
  color: var(--accent-gold-light);
}

.split-feature-dark .split-feature-content p {
  color: var(--text-on-dark);
  opacity: 0.85;
}

/* ---------- Brand Statement (full-bleed cinematic overlay — distinct from split-feature) ---------- */
.brand-statement {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.brand-statement img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.brand-statement-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--bg-dark) 0%, #274A3B 100%);
}

.brand-statement::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(18,38,30,0.74);
  z-index: 1;
}

.brand-statement-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 60px 32px;
}

.brand-statement-eyebrow {
  color: var(--accent-gold-light);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.brand-statement h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-style: italic;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 24px;
}

.brand-statement p {
  color: var(--text-on-dark);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .brand-statement { min-height: 56vh; }
}

/* ---------- Products page: page header + filter bar ---------- */
.page-header {
  background: var(--bg-dark);
  padding: 64px 32px 56px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white);
  font-weight: 500;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 36px 32px;
  border-bottom: 1px solid var(--border-hairline);
}

.filter-btn {
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--bg-dark);
  color: var(--bg-dark);
  background: transparent;
  transition: all var(--transition-base);
}

.filter-btn:hover {
  background: rgba(28,58,46,0.08);
}

.filter-btn.active {
  background: var(--bg-dark);
  color: var(--white);
}

.filter-count {
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  padding: 28px 32px 0;
}

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  font-weight: 400;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-ivory);
  border-bottom: 1px solid var(--border-hairline);
  transition: padding var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: var(--container-width);
  margin: 0 auto;
  transition: padding var(--transition-base);
}

.navbar.scrolled .navbar-inner { padding: 14px 32px; }

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bg-dark);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent-gold);
  transition: width var(--transition-base);
}

.nav-links a:hover::after { width: 100%; }

.nav-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icons button {
  color: var(--text-primary);
  display: flex;
}

.nav-icons svg { width: 20px; height: 20px; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 24px; height: 1.5px;
  background: var(--text-primary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 340px; height: 100vh;
  background: var(--bg-ivory);
  z-index: 200;
  padding: 32px 28px;
  transition: right var(--transition-base);
  box-shadow: -4px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu.open { right: 0; }

.mobile-menu-close { align-self: flex-end; font-size: 24px; margin-bottom: 24px; display: block; }

.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
}
.mobile-overlay.open { display: block; }

/* ---------- Hero (slide carousel) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-slide {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hero-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #274A3B 50%, var(--accent-gold) 150%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-dark); font-family: var(--font-display); font-size: 20px; letter-spacing: 0.05em;
}

.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,38,30,0.75) 0%, rgba(18,38,30,0.25) 60%, rgba(18,38,30,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-dots {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.5);
  transition: all var(--transition-base);
}

.hero-dot.active {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  width: 26px;
  border-radius: 5px;
}

.hero-counter {
  position: absolute;
  bottom: 34px; right: 32px;
  z-index: 5;
  color: var(--text-on-dark);
  font-size: 12px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-counter .current { color: var(--accent-gold-light); font-family: var(--font-display); font-size: 16px; }
.hero-counter .divider { opacity: 0.5; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(18,38,30,0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.hero-arrow:hover {
  background: rgba(18,38,30,0.65);
  border-color: var(--accent-gold-light);
}

.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

@media (max-width: 768px) {
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }
  .hero-counter { right: 20px; bottom: 26px; }
}

.hero-inner { max-width: 560px; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--accent-gold-light);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent-gold-light);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero h1 em { font-style: italic; font-weight: 400; color: var(--accent-gold-light); }

.hero p {
  color: var(--text-on-dark);
  font-size: 16px;
  max-width: 420px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  border: 1px solid currentColor;
}

.btn-light { color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--bg-dark); }

.btn-solid { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }
.btn-solid:hover { background: transparent; color: var(--bg-dark); }

.btn-gold { background: var(--accent-gold); color: var(--white); border-color: var(--accent-gold); }
.btn-gold:hover { background: transparent; color: var(--accent-gold); }

/* ---------- Section heading + signature thread underline ---------- */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }

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

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

/* the signature: a gold thread that draws itself under the title on scroll */
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title.thread-in::after { width: 70px; }

.section-dark .section-title { color: var(--white); }

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  display: block;
  min-width: 0;
}

.category-image-wrap {
  position: absolute;
  inset: 0;
}

.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover img { transform: scale(1.06); }

.category-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.category-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #E7E0D2 0%, #C9B896 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-dark); font-family: var(--font-display); font-size: 18px;
}

.category-label {
  position: absolute; bottom: 24px; left: 0; right: 0;
  z-index: 2;
  text-align: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.category-label span {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
  border-bottom: 1px solid var(--accent-gold-light);
  padding-bottom: 4px;
  display: inline-block;
}

/* ---------- Horizontal carousel (Best Sellers / New Arrivals) ---------- */
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) transparent;
}

.carousel-track::-webkit-scrollbar { height: 5px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--accent-gold); }

.carousel-track .product-card { min-width: 260px; scroll-snap-align: start; flex-shrink: 0; }

/* ---------- Product grid (per category) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  max-width: 280px;
  margin: 0 auto;
  width: 100%;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--border-hairline);
  margin-bottom: 14px;
}

.product-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image-wrap img { transform: scale(1.05); }

.product-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #EFE9DC 0%, #D8C7A3 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--bg-dark);
  font-family: var(--font-display);
  font-size: 15px;
  padding: 16px;
}

.product-badge {
  position: absolute; top: 12px; left: 12px;
  z-index: 2;
  background: var(--bg-dark);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.product-badge.sale { background: #A63D40; }

.product-name {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.4;
}

.product-price {
  font-size: 14px;
  color: var(--text-secondary);
}

.product-price .old-price {
  text-decoration: line-through;
  margin-right: 8px;
  opacity: 0.6;
}

.product-price .current-price {
  color: var(--text-primary);
  font-weight: 500;
}

.category-section-footer {
  text-align: center;
  margin-top: 44px;
}

/* ---------- Add to Cart button ---------- */
.btn-add-cart {
  width: 100%;
  margin-top: 10px;
  padding: 10px 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-dark);
  border: 1px solid var(--bg-dark);
  background: transparent;
  transition: all var(--transition-base);
}

.btn-add-cart:hover,
.btn-add-cart.added {
  background: var(--bg-dark);
  color: var(--white);
}

.section-dark .btn-add-cart {
  color: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
}

.section-dark .btn-add-cart:hover {
  background: var(--accent-gold-light);
  color: var(--bg-dark-deep);
}

/* ---------- Cart count badge (nav icon) ---------- */
.cart-count-badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--accent-gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  width: 17px; height: 17px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  display: none;
}

/* ---------- Cart toast ---------- */
.cart-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-dark-deep);
  color: var(--text-on-dark);
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(176,141,87,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 600;
}

.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}



/* ---------- Cart drawer ---------- */
body.cart-open { overflow: hidden; }

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 38, 30, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 8998;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 92vw);
  height: 100vh;
  background: var(--bg-ivory);
  color: var(--text-primary);
  z-index: 8999;
  transform: translateX(105%);
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -18px 0 55px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
}

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

.cart-drawer-head {
  padding: 28px 28px 18px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cart-drawer-kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.cart-drawer h2 {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}

.cart-drawer-close {
  font-size: 30px;
  line-height: 1;
  color: var(--text-primary);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
}

.cart-line {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.cart-line-img {
  width: 74px;
  aspect-ratio: 4/5;
  background: var(--border-hairline);
  overflow: hidden;
}

.cart-line-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line-info h3 {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 4px;
}

.cart-line-info p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.cart-qty-row {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-hairline);
  background: var(--white);
}

.cart-qty-row button,
.cart-qty-row span {
  width: 32px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.cart-qty-row span {
  border-left: 1px solid var(--border-hairline);
  border-right: 1px solid var(--border-hairline);
}

.cart-line-side {
  min-width: 78px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cart-line-side strong {
  font-size: 13px;
  font-weight: 500;
}

.cart-line-side button,
.cart-clear {
  font-size: 11px;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-drawer-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 20px 24px 24px;
  background: var(--white);
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px;
}

.cart-subtotal strong {
  font-size: 18px;
  color: var(--bg-dark);
}

.cart-note {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.cart-checkout {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-dark);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  margin-bottom: 12px;
  transition: background var(--transition-base);
}

.cart-checkout:hover { background: var(--bg-dark-deep); }
.cart-clear { display: block; margin: 0 auto; }

.cart-empty {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.cart-empty h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
}

.cart-empty p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 260px;
  margin-bottom: 10px;
}

@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
  .cart-drawer-head { padding: 24px 20px 16px; }
  .cart-drawer-body { padding: 14px 18px; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line-side { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .cart-drawer-footer { padding: 18px 20px 22px; }
}

/* ---------- On Sale banner section (full-bleed) ---------- */
.sale-banner-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.sale-banner {
  background: var(--accent-gold);
  color: var(--white);
  text-align: center;
  padding: 72px 32px;
}

.sale-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.sale-banner p { margin-bottom: 28px; font-size: 15px; opacity: 0.95; }

/* ---------- Trust / brand promise ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.trust-item svg { width: 32px; height: 32px; margin-bottom: 16px; color: var(--accent-gold-light); }
.trust-item h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; font-weight: 500; }
.trust-item p { font-size: 13px; color: var(--text-on-dark); opacity: 0.8; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark-deep);
  color: var(--text-on-dark);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-col p, .footer-col a { font-size: 13px; opacity: 0.8; line-height: 2; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; color: var(--accent-gold-light); }
.footer-col a { display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; opacity: 0.6;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-menu { display: block; }
  .hero { min-height: 82vh; }
  .hero-inner { max-width: 100%; }
  .section { padding: 64px 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel-track .product-card { min-width: 190px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .navbar-inner { padding: 18px 20px; }
  .hero-ctas { flex-direction: column; }
  .btn { text-align: center; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-card { max-width: none; }
  .product-name, .product-price { font-size: 13px; }
  .btn-add-cart { font-size: 10px; padding: 9px 0; }
}


/* ---------- Checkout pages ---------- */
.checkout-page-header {
  padding-bottom: 70px;
}

.checkout-page-header p {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.checkout-section {
  padding-top: 40px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: start;
}

.checkout-form-card,
.checkout-summary-card,
.checkout-empty,
.thankyou-card {
  background: var(--white);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 18px 55px rgba(18, 38, 30, 0.08);
}

.checkout-form-card {
  padding: clamp(24px, 4vw, 42px);
}

.checkout-kicker,
.thankyou-kicker {
  display: inline-block;
  color: var(--accent-gold);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.checkout-form-card h2,
.checkout-summary-card h2,
.checkout-empty h2,
.thankyou-card h1 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
}

.checkout-form-card h2,
.checkout-summary-card h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 24px;
}

.form-grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 400;
}

.form-field label span {
  color: var(--accent-gold);
}

.form-field label small {
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-secondary);
  font-size: 12px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border-hairline);
  background: var(--bg-ivory);
  color: var(--text-primary);
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.form-field textarea {
  resize: vertical;
  min-height: 96px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-gold);
  background: var(--white);
}

.form-field input:disabled {
  color: var(--text-secondary);
  background: #f1eee7;
}

.checkout-policy-note,
.checkout-cod {
  border: 1px solid rgba(176, 141, 87, 0.28);
  background: rgba(176, 141, 87, 0.08);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  padding: 14px 16px;
  margin: 8px 0 22px;
}

.checkout-submit,
.checkout-edit-cart {
  width: 100%;
  background: var(--bg-dark);
  color: var(--white);
  padding: 15px 18px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  transition: background var(--transition-base), transform var(--transition-base);
}

.checkout-submit:hover,
.checkout-edit-cart:hover {
  background: var(--bg-dark-deep);
  transform: translateY(-1px);
}

.checkout-summary-card {
  padding: 28px;
  position: sticky;
  top: 110px;
}

.checkout-items {
  border-top: 1px solid var(--border-hairline);
  margin-top: 12px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.checkout-item-img {
  width: 58px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--border-hairline);
}

.checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-item h3 {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.checkout-item p {
  color: var(--text-secondary);
  font-size: 12px;
}

.checkout-item strong {
  font-size: 13px;
  color: var(--bg-dark);
  white-space: nowrap;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.checkout-total-row.grand {
  border-top: 1px solid var(--border-hairline);
  margin-top: 8px;
  padding-top: 16px;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 500;
}

.checkout-cod {
  margin-top: 16px;
  margin-bottom: 16px;
}

.checkout-edit-cart {
  background: transparent;
  color: var(--bg-dark);
  border: 1px solid var(--bg-dark);
}

.checkout-edit-cart:hover {
  color: var(--white);
}

.checkout-empty {
  padding: 42px;
  text-align: center;
}

.checkout-empty p {
  color: var(--text-secondary);
  margin: 10px 0 20px;
}

.thankyou-section {
  min-height: 70vh;
  padding: 150px 0 90px;
}

.thankyou-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px);
  text-align: left;
}

.thankyou-card h1 {
  font-size: clamp(36px, 6vw, 58px);
  margin-bottom: 12px;
}

.thankyou-card > p {
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 24px;
}

.order-id-box {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 18px 20px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.order-id-box span,
.thankyou-grid span,
.thankyou-address span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
}

.order-id-box strong {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.thankyou-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.thankyou-grid div,
.thankyou-address {
  border: 1px solid var(--border-hairline);
  padding: 14px 16px;
  background: var(--bg-ivory);
}

.thankyou-grid span,
.thankyou-address span {
  display: block;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.thankyou-grid strong {
  display: block;
  font-weight: 500;
  font-size: 14px;
}

.thankyou-address {
  margin-bottom: 18px;
}

.thankyou-address p {
  margin-bottom: 4px;
}

.thankyou-address small {
  color: var(--text-secondary);
}

.thankyou-items {
  border-top: 1px solid var(--border-hairline);
  margin-top: 18px;
}

.thankyou-item,
.thankyou-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 14px;
}

.thankyou-total {
  border-bottom: 0;
  font-size: 19px;
  color: var(--bg-dark);
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-card { position: static; }
}

@media (max-width: 620px) {
  .form-grid.two,
  .thankyou-grid { grid-template-columns: 1fr; }
  .checkout-form-card,
  .checkout-summary-card,
  .thankyou-card { padding: 22px; }
  .checkout-item { grid-template-columns: 52px 1fr; }
  .checkout-item strong { grid-column: 2; }
  .order-id-box { align-items: flex-start; flex-direction: column; gap: 4px; }
}

/* ---------- Audit fixes: product cards, favourites, product detail ---------- */
.product-grid { align-items: stretch; }
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.product-card .product-name {
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .product-price { margin-top: auto; }
.product-card .btn-add-cart { margin-top: 12px; }
.product-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(251, 248, 243, 0.92);
  color: var(--bg-dark);
  border: 1px solid rgba(28, 58, 46, 0.18);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: all var(--transition-base);
}
.product-fav-btn svg { width: 18px; height: 18px; }
.product-fav-btn:hover,
.product-fav-btn.active {
  background: var(--bg-dark);
  color: var(--accent-gold-light);
  border-color: var(--bg-dark);
}
.product-fav-btn.active svg { fill: currentColor; }
.wishlist-count-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold);
  color: var(--bg-dark-deep);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}
.favourite-drawer,
.cart-drawer {
  max-width: 92vw;
}
.favourite-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 92vw);
  height: 100vh;
  z-index: 1003;
  background: var(--bg-ivory);
  box-shadow: -18px 0 45px rgba(0,0,0,0.16);
  transform: translateX(110%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
}
.favourite-drawer.open { transform: translateX(0); }
.favourite-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.36);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.favourite-drawer-overlay.open { opacity: 1; visibility: visible; }
.favourite-line {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-hairline);
}
.favourite-line-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.favourite-line-actions button {
  border: 1px solid var(--bg-dark);
  padding: 7px 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-dark);
}
.favourite-line-actions button:first-child {
  background: var(--bg-dark);
  color: var(--white);
}
.cart-line-size { color: var(--accent-gold); }

.product-detail-section { padding: 72px 0 88px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}
.product-detail-media {
  position: relative;
  background: var(--border-hairline);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-fallback { height: 100%; }
.product-detail-info {
  position: sticky;
  top: 112px;
}
.detail-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
}
.product-detail-info h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  color: var(--bg-dark-deep);
  margin-bottom: 18px;
}
.detail-price {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 18px;
}
.detail-price .old-price { text-decoration: line-through; color: var(--text-secondary); font-size: 18px; }
.detail-description {
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 28px;
}
.detail-option-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg-dark);
  margin-bottom: 12px;
  font-weight: 500;
}
.size-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.size-option {
  min-width: 48px;
  height: 44px;
  border: 1px solid var(--border-hairline);
  color: var(--bg-dark);
  background: rgba(255,255,255,0.45);
  transition: all var(--transition-base);
}
.size-option.active,
.size-option:hover {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
}
.size-chart-box,
.unstitched-note,
.detail-service-notes {
  border: 1px solid var(--border-hairline);
  background: rgba(255,255,255,0.38);
}
.size-chart-box { padding: 18px; margin-bottom: 26px; }
.size-chart-box h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}
.size-chart-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 8px;
}
.size-chart-box th,
.size-chart-box td {
  border-bottom: 1px solid var(--border-hairline);
  padding: 8px 6px;
  text-align: left;
}
.size-chart-box p { font-size: 12px; color: var(--text-secondary); }
.unstitched-note {
  padding: 18px;
  display: grid;
  gap: 4px;
  margin-bottom: 26px;
}
.unstitched-note span { color: var(--text-secondary); }
.detail-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
}
.detail-add-cart { flex: 1; }
.detail-fav {
  min-width: 104px;
  height: 48px;
  border: 1px solid var(--bg-dark);
  color: var(--bg-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}
.detail-fav svg { width: 17px; height: 17px; }
.detail-fav.active { background: var(--bg-dark); color: var(--accent-gold-light); }
.detail-fav.active svg { fill: currentColor; }
.detail-service-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.detail-service-notes div {
  padding: 15px 14px;
  border-right: 1px solid var(--border-hairline);
}
.detail-service-notes div:last-child { border-right: 0; }
.detail-service-notes strong,
.detail-service-notes span { display: block; }
.detail-service-notes strong { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg-dark); }
.detail-service-notes span { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.product-not-found {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 0;
}
.product-not-found h1 {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 500;
  margin-bottom: 10px;
}
.product-not-found p { color: var(--text-secondary); margin-bottom: 24px; }

@media (max-width: 768px) {
  .product-detail-section { padding: 48px 0 72px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-detail-info { position: static; }
  .detail-service-notes { grid-template-columns: 1fr; }
  .detail-service-notes div { border-right: 0; border-bottom: 1px solid var(--border-hairline); }
  .detail-service-notes div:last-child { border-bottom: 0; }
  .detail-actions { flex-direction: column; align-items: stretch; }
  .detail-fav { width: 100%; }
  .product-card .product-name { min-height: 44px; }
  .product-fav-btn { width: 32px; height: 32px; top: 10px; right: 10px; }
}

@media (max-width: 480px) {
  .product-card .product-name { min-height: 40px; }
  .product-image-wrap { margin-bottom: 10px; }
  .size-chart-box { overflow-x: auto; }
}
