/* ============================================================
   TENDREL — Swiss/International Design System
   Premium Organic Baby Essentials
   ============================================================ */

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

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Design Tokens ── */
:root {
  --white: #FFFFFF;
  --off-white: #F7F5F2;
  --black: #1A1A1A;
  --mid-grey: #6B6B6B;
  --light-grey: #D9D9D9;
  --sage: #7BA492;
  --sage-light: #EAF2EE;
  --sage-dark: #5A8470;
  --cream: #F4EDE4;
  --border: 1px solid #1A1A1A;
  --border-light: 1px solid #D9D9D9;
  --transition: 0.2s ease;
  --max-width: 1320px;
  --section-pad: 96px 24px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { font-size: 1rem; color: var(--mid-grey); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.section-num {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── Ad Disclosure ── */
.ad-disclosure {
  background: #F0EDE8;
  border-bottom: var(--border-light);
  text-align: center;
  padding: 6px 24px;
  font-size: 0.6875rem;
  color: var(--mid-grey);
  letter-spacing: 0.04em;
}

/* ── Info Bar ── */
.info-bar {
  background: var(--white);
  border-bottom: var(--border-light);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--mid-grey);
}
.info-bar-links { display: flex; gap: 24px; }
.info-bar-links a:hover { color: var(--black); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: var(--border);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}
.header-nav { display: flex; gap: 32px; }
.header-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid-grey);
  transition: color var(--transition);
}
.header-nav a:hover { color: var(--black); }
.site-logo {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}
.cart-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 50%;
}
.cart-count { font-size: 0.625rem; }
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 950;
  flex-direction: column;
  padding: 80px 32px 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 1.5rem;
  color: var(--black);
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 300;
  padding: 12px 0;
  border-bottom: var(--border-light);
  color: var(--black);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: var(--border);
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-sage:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--black); }
.btn-sm { padding: 9px 20px; font-size: 0.75rem; }
.btn-lg { padding: 16px 36px; font-size: 0.875rem; }

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 120px);
  border-bottom: var(--border);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 48px 64px 24px;
  max-width: 720px;
}
.hero-content .section-num { margin-bottom: 24px; }
.hero-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 32px;
}
.hero-tagline em { font-style: italic; color: var(--sage); }
.hero-sub {
  font-size: 1rem;
  color: var(--mid-grey);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid-grey);
  border-bottom: 1px solid var(--mid-grey);
  padding-bottom: 2px;
  transition: var(--transition);
}
.hero-link:hover { color: var(--black); border-color: var(--black); }
.hero-image {
  position: relative;
  overflow: hidden;
  border-left: var(--border);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: var(--white);
  border: var(--border);
  padding: 16px 20px;
}
.hero-image-badge p { font-size: 0.6875rem; color: var(--mid-grey); margin-bottom: 4px; }
.hero-image-badge strong { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--black); }

/* ── Stats Strip ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: var(--border);
}
.stat-cell {
  padding: 32px 24px;
  border-right: var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--black);
}
.stat-label { font-size: 0.75rem; color: var(--mid-grey); letter-spacing: 0.04em; }

/* ── Section Header ── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: var(--border);
}
.section-header-left { display: flex; flex-direction: column; gap: 12px; }
.section-title-group { display: flex; align-items: flex-end; gap: 16px; }
.section-title-group .section-num { font-size: clamp(3rem, 6vw, 5rem); }
.section-header h2 { margin: 0; }

/* ── Products Grid ── */
.products-section { padding: var(--section-pad); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: var(--border);
  border-left: var(--border);
}
.product-card {
  border-right: var(--border);
  border-bottom: var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.product-card:hover { background: var(--off-white); }
.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: var(--border);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.03); }
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-cat {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
  font-weight: 500;
}
.product-card-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 8px;
}
.product-card-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 16px;
}
.product-card-actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.product-card-actions .btn { width: 100%; padding: 10px 16px; font-size: 0.6875rem; }

/* ── Features Section ── */
.features-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: var(--border);
  border-bottom: var(--border);
}
.features-content {
  padding: 80px 48px 80px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.features-content .eyebrow { margin-bottom: 16px; }
.features-content h2 { margin-bottom: 24px; }
.features-content p { margin-bottom: 40px; }
.features-list { display: flex; flex-direction: column; gap: 0; }
.feature-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-top: var(--border-light);
  align-items: flex-start;
}
.feature-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--mid-grey);
  letter-spacing: 0.06em;
  min-width: 28px;
  padding-top: 3px;
}
.feature-text h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--black);
}
.feature-text p { font-size: 0.875rem; }
.features-image {
  border-left: var(--border);
  overflow: hidden;
}
.features-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Quality Pillars ── */
.pillars-section { padding: var(--section-pad); background: var(--off-white); border-bottom: var(--border); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: var(--border);
  border-left: var(--border);
  margin-top: 48px;
}
.pillar-card {
  border-right: var(--border);
  border-bottom: var(--border);
  padding: 40px 28px;
}
.pillar-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--light-grey);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.pillar-card h3 { font-size: 1.0625rem; margin-bottom: 12px; color: var(--black); }
.pillar-card p { font-size: 0.875rem; line-height: 1.7; }

/* ── Testimonials ── */
.testimonials-section { padding: var(--section-pad); border-bottom: var(--border); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border);
  border-left: var(--border);
  margin-top: 48px;
}
.testi-card {
  border-right: var(--border);
  border-bottom: var(--border);
  padding: 40px 32px;
}
.testi-stars { color: var(--sage); font-size: 0.875rem; margin-bottom: 20px; letter-spacing: 2px; }
.testi-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--black);
  margin-bottom: 28px;
}
.testi-meta { display: flex; flex-direction: column; gap: 2px; }
.testi-name { font-size: 0.8125rem; font-weight: 500; color: var(--black); }
.testi-role { font-size: 0.75rem; color: var(--mid-grey); }

/* ── Newsletter ── */
.newsletter-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--border);
}
.newsletter-content {
  padding: 80px 48px 80px 24px;
  background: var(--sage-light);
  border-right: var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newsletter-content .eyebrow { margin-bottom: 16px; }
.newsletter-content h2 { margin-bottom: 16px; }
.newsletter-content p { margin-bottom: 32px; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form input {
  padding: 14px 16px;
  border: var(--border);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--sage); }
.newsletter-image { overflow: hidden; }
.newsletter-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Footer ── */
.site-footer {
  background: var(--black);
  color: var(--white);
  border-top: var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid #333;
  padding: 64px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-brand { padding-right: 48px; }
.footer-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.875rem; color: #888; line-height: 1.7; margin-bottom: 24px; }
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: #ccc; transition: var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-contact { font-size: 0.875rem; color: #ccc; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #666;
  border-top: 1px solid #2a2a2a;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #666; transition: var(--transition); }
.footer-legal a:hover { color: #ccc; }

/* ── Lead Form Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(2px);
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white);
  border: var(--border);
  width: 100%;
  max-width: 480px;
  padding: 48px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 1.25rem;
  color: var(--mid-grey);
  transition: var(--transition);
}
.modal-close:hover { color: var(--black); }
.modal-eyebrow { margin-bottom: 12px; }
.modal-box h3 { margin-bottom: 8px; font-size: 1.375rem; }
.modal-box .modal-sub { font-size: 0.875rem; margin-bottom: 28px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-form input,
.modal-form textarea,
.modal-form select {
  width: 100%;
  padding: 13px 14px;
  border: var(--border-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  outline: none;
  background: var(--white);
  transition: var(--transition);
  color: var(--black);
}
.modal-form input:focus,
.modal-form textarea:focus { border-color: var(--black); }
.modal-form textarea { resize: vertical; min-height: 80px; }
.modal-consent { display: flex; align-items: flex-start; gap: 10px; }
.modal-consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--sage); flex-shrink: 0; }
.modal-consent label { font-size: 0.75rem; color: var(--mid-grey); line-height: 1.5; }
.modal-consent a { color: var(--black); text-decoration: underline; }
.modal-form .btn { width: 100%; margin-top: 4px; }

/* ── Success Popup ── */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.6);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.success-overlay.active { display: flex; }
.success-box {
  background: var(--white);
  border: var(--border);
  width: 100%;
  max-width: 400px;
  padding: 48px;
  text-align: center;
}
.success-icon { font-size: 2rem; margin-bottom: 16px; }
.success-box h3 { margin-bottom: 8px; font-size: 1.25rem; }
.success-box p { font-size: 0.875rem; margin-bottom: 24px; }

/* ── Order Success ── */
.order-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.6);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.order-overlay.active { display: flex; }
.order-box {
  background: var(--white);
  border: var(--border);
  width: 100%;
  max-width: 480px;
  padding: 48px;
  text-align: center;
}
.order-icon { font-size: 2.5rem; margin-bottom: 16px; }
.order-box h3 { font-size: 1.375rem; margin-bottom: 8px; }
.order-num {
  display: inline-block;
  background: var(--sage-light);
  border: var(--border-light);
  padding: 8px 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--sage-dark);
  margin: 12px 0 20px;
}
.order-box p { font-size: 0.875rem; color: var(--mid-grey); margin-bottom: 28px; }

/* ── Cookie Banner ── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--black);
  color: var(--white);
  padding: 20px 24px;
  z-index: 950;
  border-top: 1px solid #333;
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.8125rem; color: #ccc; }
.cookie-inner a { color: var(--white); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Cart Page ── */
.cart-page { padding: 48px 24px 96px; max-width: var(--max-width); margin: 0 auto; }
.cart-page-header { margin-bottom: 40px; border-bottom: var(--border); padding-bottom: 24px; }
.cart-page-header h1 { font-size: 2rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  padding: 12px 16px 12px 0;
  border-bottom: var(--border);
  text-align: left;
}
.cart-table td { padding: 20px 16px 20px 0; border-bottom: var(--border-light); vertical-align: middle; }
.cart-item-info { display: flex; gap: 16px; align-items: center; }
.cart-item-img { width: 72px; height: 72px; object-fit: cover; border: var(--border-light); flex-shrink: 0; }
.cart-item-name { font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; font-weight: 500; color: var(--black); }
.cart-item-sku { font-size: 0.75rem; color: var(--mid-grey); margin-top: 2px; }
.cart-qty-ctrl { display: flex; align-items: center; gap: 0; border: var(--border-light); width: fit-content; }
.cart-qty-ctrl button { width: 32px; height: 32px; font-size: 1rem; color: var(--black); background: none; border: none; }
.cart-qty-ctrl button:hover { background: var(--off-white); }
.cart-qty-ctrl span { width: 36px; text-align: center; font-size: 0.875rem; border-left: var(--border-light); border-right: var(--border-light); padding: 4px; }
.cart-remove { font-size: 0.75rem; color: var(--mid-grey); text-decoration: underline; cursor: pointer; }
.cart-remove:hover { color: #c00; }
.cart-price { font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; font-weight: 500; }
.cart-summary {
  border: var(--border);
  padding: 32px;
  position: sticky;
  top: 80px;
}
.cart-summary h3 { font-size: 1.0625rem; margin-bottom: 20px; padding-bottom: 16px; border-bottom: var(--border); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 0.875rem; color: var(--mid-grey); }
.summary-row.total { font-size: 1rem; font-weight: 500; color: var(--black); border-top: var(--border); margin-top: 8px; padding-top: 16px; }
.summary-row strong { color: var(--black); }
.cart-summary .btn { width: 100%; margin-top: 16px; }
.cart-empty { text-align: center; padding: 80px 24px; }
.cart-empty h2 { font-size: 1.5rem; margin-bottom: 12px; }
.cart-empty p { margin-bottom: 24px; }
.payment-icons { display: flex; gap: 8px; margin-top: 16px; align-items: center; }
.payment-icons span { font-size: 0.6875rem; color: var(--mid-grey); }
.pay-icon { padding: 4px 8px; border: var(--border-light); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.04em; color: var(--mid-grey); }

/* ── Checkout ── */
.checkout-page { padding: 48px 24px 96px; max-width: var(--max-width); margin: 0 auto; }
.checkout-page-header { margin-bottom: 40px; border-bottom: var(--border); padding-bottom: 24px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.checkout-form-section { display: flex; flex-direction: column; gap: 40px; }
.form-block { border: var(--border-light); }
.form-block-header {
  padding: 16px 24px;
  border-bottom: var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--off-white);
}
.form-block-num { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; color: var(--mid-grey); font-weight: 500; }
.form-block-header h3 { font-size: 0.9375rem; font-weight: 500; }
.form-block-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid-grey); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: var(--border-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  outline: none;
  background: var(--white);
  transition: var(--transition);
  color: var(--black);
}
.form-field input:focus,
.form-field select:focus { border-color: var(--black); }
.form-field textarea { resize: vertical; min-height: 80px; }
.payment-options { display: flex; flex-direction: column; gap: 0; }
.payment-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}
.payment-opt:hover { background: var(--off-white); }
.payment-opt input[type="radio"] { accent-color: var(--sage); }
.payment-opt-label { font-size: 0.875rem; font-weight: 500; color: var(--black); }
.payment-opt-sub { font-size: 0.75rem; color: var(--mid-grey); }
.payment-panel { display: none; padding: 24px; border-top: var(--border-light); background: var(--off-white); }
.payment-panel.show { display: block; }
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cod-info { display: flex; flex-direction: column; gap: 8px; }
.cod-step { display: flex; gap: 12px; font-size: 0.875rem; color: var(--mid-grey); align-items: flex-start; }
.cod-step-num { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; color: var(--sage); min-width: 24px; }
.checkout-consent { display: flex; gap: 10px; align-items: flex-start; }
.checkout-consent input { accent-color: var(--sage); margin-top: 3px; flex-shrink: 0; }
.checkout-consent label { font-size: 0.8125rem; color: var(--mid-grey); }
.checkout-summary-sticky {
  border: var(--border);
  position: sticky;
  top: 80px;
}
.checkout-summary-header { padding: 20px 24px; border-bottom: var(--border); }
.checkout-summary-header h3 { font-size: 1rem; font-weight: 500; }
.checkout-items { padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; border-bottom: var(--border); max-height: 320px; overflow-y: auto; }
.chk-item { display: flex; gap: 12px; align-items: center; }
.chk-item-img { width: 56px; height: 56px; object-fit: cover; border: var(--border-light); flex-shrink: 0; }
.chk-item-name { font-size: 0.8125rem; font-weight: 500; color: var(--black); }
.chk-item-meta { font-size: 0.75rem; color: var(--mid-grey); }
.chk-item-price { margin-left: auto; font-size: 0.875rem; font-weight: 500; color: var(--black); white-space: nowrap; }
.checkout-totals { padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; border-bottom: var(--border); }
.checkout-totals .summary-row { padding: 0; }
.place-order-btn { margin: 20px 24px 24px; display: block; width: calc(100% - 48px); }

/* ── Product Detail Page ── */
.pd-page { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 96px; }
.pd-breadcrumb { padding: 20px 0; border-bottom: var(--border); margin-bottom: 0; }
.pd-breadcrumb a { font-size: 0.75rem; color: var(--mid-grey); }
.pd-breadcrumb span { font-size: 0.75rem; color: var(--mid-grey); margin: 0 8px; }
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--border);
}
.pd-gallery { border-right: var(--border); padding: 40px; }
.pd-main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: var(--border-light);
  margin-bottom: 12px;
}
.pd-thumbs { display: flex; gap: 8px; }
.pd-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}
.pd-thumb:hover, .pd-thumb.active { border-color: var(--sage); }
.pd-info { padding: 48px 40px; display: flex; flex-direction: column; }
.pd-cat {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
  font-weight: 500;
}
.pd-name { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 8px; }
.pd-sku { font-size: 0.75rem; color: var(--mid-grey); margin-bottom: 16px; }
.pd-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: var(--border-light);
}
.pd-desc { font-size: 0.9375rem; color: var(--mid-grey); line-height: 1.7; margin-bottom: 28px; }
.pd-option-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 10px;
}
.pd-variants { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.variant-btn {
  padding: 8px 16px;
  border: var(--border-light);
  font-size: 0.8125rem;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  color: var(--black);
}
.variant-btn:hover { border-color: var(--black); }
.variant-btn.active { border-color: var(--sage); background: var(--sage-light); color: var(--sage-dark); }
.pd-qty { display: flex; align-items: center; gap: 0; border: var(--border); width: fit-content; margin-bottom: 28px; }
.pd-qty button { width: 40px; height: 40px; font-size: 1.125rem; color: var(--black); background: none; border: none; cursor: pointer; }
.pd-qty button:hover { background: var(--off-white); }
.pd-qty span { width: 44px; text-align: center; font-size: 0.9375rem; border-left: var(--border-light); border-right: var(--border-light); }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.pd-actions .btn { flex: 1; min-width: 160px; }
.pd-features-box { border-top: var(--border-light); padding-top: 24px; }
.pd-features-box h4 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; color: var(--mid-grey); }
.pd-feature-list { display: flex; flex-direction: column; gap: 10px; }
.pd-feature-item { display: flex; gap: 10px; font-size: 0.875rem; color: var(--mid-grey); align-items: center; }
.pd-feature-dot { width: 4px; height: 4px; background: var(--sage); flex-shrink: 0; }
.related-section { padding: 64px 0 0; }
.related-section h2 { font-size: 1.25rem; margin-bottom: 24px; padding-bottom: 20px; border-bottom: var(--border); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--border);
  border-left: var(--border);
}

/* ── About Page ── */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--border);
}
.page-hero-content { padding: 80px 48px 80px 24px; display: flex; flex-direction: column; justify-content: center; }
.page-hero-content .eyebrow { margin-bottom: 16px; }
.page-hero-content h1 { margin-bottom: 24px; }
.page-hero-content p { font-size: 1.0625rem; line-height: 1.75; }
.page-hero-image { border-left: var(--border); overflow: hidden; }
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.values-section { padding: var(--section-pad); border-bottom: var(--border); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border);
  border-left: var(--border);
  margin-top: 48px;
}
.value-card {
  border-right: var(--border);
  border-bottom: var(--border);
  padding: 40px 32px;
}
.value-card .pillar-num { margin-bottom: 16px; }
.value-card h3 { margin-bottom: 12px; }
.value-card p { font-size: 0.875rem; line-height: 1.7; }

.mission-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--border);
}
.mission-content { padding: 80px 48px 80px 24px; display: flex; flex-direction: column; justify-content: center; }
.mission-content .eyebrow { margin-bottom: 16px; }
.mission-content h2 { margin-bottom: 20px; }
.mission-content p { line-height: 1.75; }
.mission-image { border-left: var(--border); overflow: hidden; }
.mission-image img { width: 100%; height: 100%; object-fit: cover; }

.team-section { padding: var(--section-pad); border-bottom: var(--border); background: var(--off-white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border);
  border-left: var(--border);
  margin-top: 48px;
}
.team-card {
  border-right: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
}
.team-card-img { aspect-ratio: 3/4; overflow: hidden; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.team-card:hover .team-card-img img { transform: scale(1.04); }
.team-card-body { padding: 24px; border-top: var(--border); }
.team-name { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500; margin-bottom: 4px; }
.team-role { font-size: 0.75rem; color: var(--mid-grey); letter-spacing: 0.06em; }

/* ── Contact Page ── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--border);
}
.contact-form-side { padding: 80px 48px 80px 24px; border-right: var(--border); }
.contact-form-side .eyebrow { margin-bottom: 16px; }
.contact-form-side h2 { margin-bottom: 8px; }
.contact-form-side > p { margin-bottom: 36px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 14px;
  border: var(--border-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  outline: none;
  background: var(--white);
  transition: var(--transition);
  color: var(--black);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--black); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.75rem; color: var(--mid-grey); }
.contact-consent input { margin-top: 3px; accent-color: var(--sage); flex-shrink: 0; }
.contact-consent a { color: var(--black); text-decoration: underline; }
.contact-info-side { padding: 80px 24px 80px 48px; display: flex; flex-direction: column; gap: 48px; }
.contact-info-block { display: flex; flex-direction: column; gap: 8px; }
.contact-info-block h4 { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid-grey); margin-bottom: 12px; }
.contact-info-block p { font-size: 0.9375rem; color: var(--black); }
.contact-info-block a { color: var(--sage-dark); }
.contact-map { border-top: var(--border-light); padding-top: 16px; font-size: 0.8125rem; color: var(--mid-grey); }

/* ── Legal Pages ── */
.legal-page { max-width: 780px; margin: 0 auto; padding: 80px 24px; }
.legal-page h1 { margin-bottom: 8px; font-size: 2rem; }
.legal-meta { font-size: 0.8125rem; color: var(--mid-grey); margin-bottom: 48px; padding-bottom: 24px; border-bottom: var(--border); }
.legal-page h2 { font-size: 1.25rem; margin: 36px 0 14px; }
.legal-page p { font-size: 0.9375rem; line-height: 1.8; color: var(--mid-grey); margin-bottom: 16px; }
.legal-page ul { padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.legal-page ul li { font-size: 0.9375rem; line-height: 1.7; color: var(--mid-grey); }
.legal-page a { color: var(--sage-dark); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { height: 50vw; border-left: none; border-top: var(--border); }
  .hero-content { padding: 48px 24px; max-width: none; }
  .features-section { grid-template-columns: 1fr; }
  .features-image { height: 50vw; border-left: none; border-top: var(--border); }
  .newsletter-section { grid-template-columns: 1fr; }
  .newsletter-image { height: 40vw; }
  .newsletter-content { border-right: none; border-bottom: var(--border); }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-image { height: 50vw; }
  .mission-section { grid-template-columns: 1fr; }
  .mission-image { height: 50vw; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-form-side { border-right: none; border-bottom: var(--border); }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-gallery { border-right: none; border-bottom: var(--border); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-sticky { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px 24px; }
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .info-bar-links { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .pd-actions { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
