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

:root {
  /* Botanical palette */
  --forest: #1a3c34;
  --forest-light: #264d42;
  --sage: #7a9e8e;
  --sage-pale: #e8f0ec;
  --cream: #faf7f2;
  --cream-dark: #f0ece4;
  --warm: #f5f1ea;
  --gold: #c4a46c;
  --gold-light: #d4bb8a;
  --gold-pale: #faf5eb;
  --charcoal: #2c2c2c;
  --text: #3a3a3a;
  --text-muted: #7a7a7a;
  --text-light: #a8a8a8;
  --border: #e8e4de;
  --border-light: #f0ece6;
  --white: #ffffff;
  --success: #4a8c6f;
  --error: #c75c5c;

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing & shapes */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.08);
  --shadow-card: 0 2px 12px rgba(0,0,0,.04);
  --max-w: 1320px;
  --tr: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ═══════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════════════ */

.ann-bar {
  background: var(--forest);
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 9px 24px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: var(--sans);
}
.ann-bar strong { color: var(--gold-light); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */

.site-header {
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow var(--tr), background var(--tr);
}
.site-header.scrolled {
  background: rgba(250,247,242,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.hdr-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.hdr-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--tr);
  position: relative;
}
.hdr-nav a:hover { color: var(--forest); }
.hdr-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--forest);
  transition: width var(--tr);
}
.hdr-nav a:hover::after { width: 100%; }

/* Logo (centered) */
.hdr-logo {
  text-align: center;
  text-decoration: none;
}
.hdr-logo-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: .02em;
  line-height: 1.1;
}
.hdr-logo-sub {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 1px;
}

/* Header right */
.hdr-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--tr);
  padding: 8px 0;
}
.cart-btn:hover { color: var(--forest); }
.cart-btn svg { width: 18px; height: 18px; }

#cart-count {
  position: absolute;
  top: 0;
  right: -14px;
  background: var(--forest);
  color: #fff;
  border-radius: 99px;
  min-width: 17px;
  height: 17px;
  font-size: 10px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO — Apothecary / Laboratory
   ═══════════════════════════════════════════════════════════════ */

.hero {
  background: var(--forest);
  position: relative;
  overflow: hidden;
  padding: 80px 32px 88px;
  text-align: center;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(122,158,142,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(196,164,108,.1) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-weight: 400;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  max-width: 480px;
  margin: 0 auto 36px;
  font-weight: 300;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--forest);
  padding: 14px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--tr), transform var(--tr);
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-badge-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.hero-badge-text {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   PROMISE BAR
   ═══════════════════════════════════════════════════════════════ */

.promise-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
}
.promise-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.promise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.promise-item .p-icon {
  width: 32px;
  height: 32px;
  background: var(--sage-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION TITLES
   ═══════════════════════════════════════════════════════════════ */

.section-title {
  text-align: center;
  padding: 56px 32px 8px;
}
.section-title h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 8px;
}
.section-title p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   FILTERS
   ═══════════════════════════════════════════════════════════════ */

.filters-bar {
  max-width: var(--max-w);
  margin: 24px auto 0;
  padding: 0 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}
.filter-group select, .search-input {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px;
  background: var(--white);
  color: var(--text);
  outline: none;
  font-family: var(--sans);
  transition: border-color var(--tr);
}
.filter-group select:focus, .search-input:focus { border-color: var(--sage); }
.search-input { min-width: 240px; }
.filter-count {
  font-size: 12px;
  color: var(--text-light);
  margin-left: auto;
  font-style: italic;
  font-family: var(--serif);
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT GRID
   ═══════════════════════════════════════════════════════════════ */

.product-grid {
  max-width: var(--max-w);
  margin: 28px auto 80px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--tr), transform var(--tr);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card .photo-wrap {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #f7f5f0, #f0ece4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-card .photo-wrap img {
  max-width: 75%;
  max-height: 80%;
  object-fit: contain;
  transition: transform .4s ease, opacity .35s ease;
}
.product-card .photo-wrap .card-img-hover {
  position: absolute;
  opacity: 0;
}
.product-card:hover .photo-wrap .card-img-primary {
  opacity: 0;
}
.product-card:hover .photo-wrap .card-img-hover {
  opacity: 1;
}
.product-card:hover .photo-wrap img {
  transform: scale(1.04);
}
.product-card .photo-wrap .no-photo {
  font-size: 2.5rem;
  opacity: 0.15;
}

.cat-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  font-size: 10px;
  border-radius: 2px;
  background: var(--forest);
  color: rgba(255,255,255,.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.cert-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
}
.cert-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

.product-card .info {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .brand-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--sage);
  margin-bottom: 4px;
  font-weight: 500;
}
.product-card .product-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--charcoal);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.product-card .card-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.product-card .price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.product-card .price {
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -.01em;
}

.atc-btn {
  width: 100%;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: 12px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
  font-family: var(--sans);
}
.atc-btn:hover { background: var(--forest-light); transform: translateY(-1px); }
.atc-btn.added { background: var(--success); }

/* ═══════════════════════════════════════════════════════════════
   STORY SECTION (between hero and products)
   ═══════════════════════════════════════════════════════════════ */

.story-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  text-align: center;
}
.story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.story-icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--white);
}
.story-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--forest);
}
.story-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT DETAIL
   ═══════════════════════════════════════════════════════════════ */

.detail-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 32px 80px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color var(--tr);
}
.back-link:hover { color: var(--forest); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.gallery { display: flex; flex-direction: column; gap: 12px; position: relative; }
.gallery .main-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #f7f5f0, #f0ece4);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: grab;
}
.gallery .main-photo img {
  max-width: 80%;
  max-height: 85%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}
.gallery .main-photo img.fading { opacity: 0; }

/* Carousel arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--forest);
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.gallery-arrow:hover { background: var(--white); transform: translateY(-50%) scale(1.08); }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-arrow:active { transform: translateY(-50%) scale(0.95); }

/* Photo counter */
.gallery-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 99px;
  z-index: 2;
  font-family: var(--sans);
  backdrop-filter: blur(4px);
}

.gallery .thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery .thumb {
  width: 72px; height: 72px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer;
  transition: border-color var(--tr);
}
.gallery .thumb.active, .gallery .thumb:hover { border-color: var(--forest); }
.gallery .thumb img { max-width: 85%; max-height: 85%; object-fit: contain; }

.detail-info { padding-top: 8px; }
.detail-info .brand-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--sage);
  margin-bottom: 8px;
  font-weight: 500;
}
.detail-info h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.detail-price {
  font-size: 28px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.detail-price-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Cert chips on detail */
.cert-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 2px;
  font-size: 11px;
  background: var(--sage-pale);
  color: var(--forest);
  font-weight: 500;
  letter-spacing: .04em;
}
.cert-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* Trust signals */
.trust-signals {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-signals span {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .02em;
}
.trust-signals span::before {
  content: '\2713';
  color: var(--sage);
  font-weight: 700;
  font-size: 11px;
}

/* Detail ATC */
.detail-atc-row { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.qty-control button {
  width: 40px; height: 44px;
  background: none; border: none;
  font-size: 14px; cursor: pointer;
  color: var(--text);
  transition: background var(--tr);
  font-family: var(--sans);
}
.qty-control button:hover { background: var(--cream-dark); }
.qty-control input {
  width: 44px; height: 44px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  font-family: var(--sans);
  outline: none;
  background: var(--white);
}
.detail-atc-btn {
  flex: 1;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
  font-family: var(--sans);
}
.detail-atc-btn:hover { background: var(--forest-light); transform: translateY(-1px); }
.detail-atc-btn.added { background: var(--success); }

/* Meta table */
.detail-info .meta-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.detail-info .meta-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  vertical-align: top;
}
.detail-info .meta-table td:first-child {
  color: var(--text-muted);
  width: 140px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
  padding-top: 12px;
}

/* Description blocks */
.description-block { margin-bottom: 24px; }
.description-block h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 8px;
}
.description-block p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════════════════════════════ */

.cart-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 300;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0; right: -440px;
  width: min(440px, 100vw);
  height: 100vh;
  background: var(--cream);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 32px rgba(0,0,0,.1);
}
.cart-drawer.open { right: 0; }

.cart-header {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--forest);
}
.cart-close-btn {
  background: none; border: none;
  font-size: 24px; cursor: pointer;
  color: var(--text-muted); line-height: 1;
  padding: 4px;
  transition: color var(--tr);
}
.cart-close-btn:hover { color: var(--charcoal); }

#cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 24px;
}
.cart-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 40px 0;
  font-family: var(--serif);
  font-style: italic;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 60px; height: 60px;
  object-fit: contain;
  border-radius: var(--r-sm);
  background: var(--cream-dark);
  flex-shrink: 0;
}
.cart-item-img-ph {
  width: 60px; height: 60px;
  background: var(--cream-dark);
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { font-size: 13px; color: var(--text-muted); }
.cart-item-controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.qty-btn {
  width: 26px; height: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background var(--tr);
}
.qty-btn:hover { background: var(--cream-dark); }
.qty-val { font-size: 13px; min-width: 24px; text-align: center; }
.remove-btn {
  width: 26px; height: 26px;
  background: none; border: none;
  color: var(--text-light); cursor: pointer;
  font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--tr);
}
.remove-btn:hover { color: var(--error); }

.cart-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.cart-shipping-note { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
#checkout-btn {
  width: 100%;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--tr);
  font-family: var(--sans);
}
#checkout-btn:hover:not(:disabled) { background: var(--forest-light); }
#checkout-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════════
   SUCCESS / CANCEL
   ═══════════════════════════════════════════════════════════════ */

.status-page {
  max-width: 520px;
  margin: 80px auto;
  padding: 0 32px;
  text-align: center;
}
.status-icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.status-page h1 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 12px;
}
.status-page p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  background: var(--forest);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background var(--tr);
}
.btn-primary:hover { background: var(--forest-light); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,.5);
  padding: 56px 32px 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .footer-logo {
  font-family: var(--serif);
  font-size: 24px;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 320px;
  font-weight: 300;
}
.footer-col h4 {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  transition: color var(--tr);
  font-weight: 300;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   SIMILAR PRODUCTS
   ═══════════════════════════════════════════════════════════════ */

.similar-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 80px;
}
.similar-section .section-title { padding: 40px 0 8px; }
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.similar-card {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow var(--tr), transform var(--tr);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.similar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.similar-photo {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #f7f5f0, #f0ece4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.similar-photo img {
  max-width: 70%;
  max-height: 75%;
  object-fit: contain;
  transition: transform .4s ease;
}
.similar-card:hover .similar-photo img { transform: scale(1.04); }
.similar-card .brand-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--sage);
  margin: 14px 16px 2px;
  font-weight: 500;
}
.similar-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--charcoal);
  padding: 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.similar-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  padding: 8px 16px 16px;
}

/* ═══════════════════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════════════════ */

.cart-page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}
.cart-page-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 32px;
}
.cart-page-empty-state {
  text-align: center;
  padding: 60px 0;
}
.cart-page-empty-state .status-icon { font-size: 48px; margin-bottom: 16px; }
.cart-page-empty-state p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-family: var(--serif);
  font-style: italic;
}

.cart-page-header {
  display: grid;
  grid-template-columns: 1fr 140px 100px 40px;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  font-weight: 500;
}
.cart-page-col-qty { text-align: center; }
.cart-page-col-total { text-align: right; }

.cart-page-row {
  display: grid;
  grid-template-columns: 1fr 140px 100px 40px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-page-product {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}
.cart-page-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--r-sm);
  background: var(--cream-dark);
  flex-shrink: 0;
}
.cart-page-img-ph {
  width: 80px;
  height: 80px;
  background: var(--cream-dark);
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.cart-page-details { min-width: 0; }
.cart-page-name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.cart-page-unit-price {
  font-size: 13px;
  color: var(--text-muted);
}
.cart-page-qty {
  display: flex;
  justify-content: center;
}
.cart-page-line-total {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  text-align: right;
}
.cart-page-remove {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 20px;
  cursor: pointer;
  transition: color var(--tr);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-page-remove:hover { color: var(--error); }

.cart-page-summary {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
  text-align: right;
}
.cart-page-summary-row {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: baseline;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}
.cart-page-summary-total {
  font-size: 24px;
  font-weight: 600;
  color: var(--charcoal);
}
.cart-page-shipping-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.cart-page-checkout-btn {
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: 16px 48px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
  font-family: var(--sans);
}
.cart-page-checkout-btn:hover { background: var(--forest-light); transform: translateY(-1px); }
.cart-page-continue {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--tr);
}
.cart-page-continue:hover { color: var(--forest); }

/* ═══════════════════════════════════════════════════════════════
   COD CHECKOUT FORM
   ═══════════════════════════════════════════════════════════════ */

.cod-form {
  margin-top: 40px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.cod-form-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 4px;
}
.cod-form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.cod-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--error);
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.cod-form-section {
  margin-bottom: 24px;
}
.cod-form-section h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}
.cod-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cod-form-row-3 {
  grid-template-columns: 2fr 1fr 1fr;
}
.cod-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.cod-field span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.cod-field span abbr {
  color: var(--error);
  text-decoration: none;
}
.cod-field span small {
  color: var(--text-muted);
  font-weight: 400;
}
.cod-field input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cod-field input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122,158,142,0.15);
}
.cod-field input::placeholder {
  color: var(--text-light);
}
.cod-submit-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--forest);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 8px;
}
.cod-submit-btn:hover { background: var(--forest-light); transform: translateY(-1px); }
.cod-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.cod-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 12px 0 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hdr-inner {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
    height: 60px;
  }
  .hdr-nav { display: none; }
  .hdr-logo-name { font-size: 22px; }

  .hero { padding: 48px 20px 56px; }
  .hero h1 { font-size: 32px; }
  .hero-desc { font-size: 14px; }
  .hero-badges { gap: 24px; }

  .promise-inner { gap: 20px; }
  .promise-item { font-size: 11px; }

  .story-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }

  .filters-bar { padding: 0 16px; }
  .product-grid {
    padding: 0 16px;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
  .product-card .info { padding: 14px 14px 16px; }
  .product-card .product-name { font-size: 15px; }
  .search-input { min-width: 160px; }

  .detail-container { padding: 20px 16px 60px; }
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .detail-info h1 { font-size: 26px; }
  .gallery-arrow { width: 36px; height: 36px; font-size: 16px; }
  .gallery-arrow.prev { left: 8px; }
  .gallery-arrow.next { right: 8px; }

  .similar-section { padding: 0 16px 60px; }
  .similar-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .cart-page-container { padding: 24px 16px 60px; }
  .cart-page-header { display: none; }
  .cart-page-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
  }
  .cart-page-product { grid-column: 1 / -1; }
  .cart-page-qty { justify-content: flex-start; }
  .cart-page-line-total { text-align: left; }
  .cart-page-remove { grid-row: 2; justify-self: end; }
  .cod-form { padding: 20px; margin-top: 24px; }
  .cod-form-row, .cod-form-row-3 { grid-template-columns: 1fr; }
  .cod-form-row-3 { grid-template-columns: 1fr 1fr; }
  .cod-form-row-3 .cod-field:first-child { grid-column: 1 / -1; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-brand p { max-width: 100%; }
}