/* ==========================================================================
   PUREVITALJOY — Editorial Mexican Apothecary Stylesheet
   Domain: purevitaljoy.info | Oaxaca de Juárez, México
   ========================================================================== */

:root {
  --bg: #F6F1E9;
  --surface: #FCF9F4;
  --surface-alt: #EDE5D8;
  --dark: #1E1916;
  --dark-soft: #2C2520;
  --primary: #9E472A;
  --primary-hover: #7D341D;
  --accent: #C88A2E;
  --olive: #4A5D4E;
  --ink: #221C18;
  --muted: #5C524B;
  --border: #DFD5C7;
  --border-dark: rgba(246, 241, 233, 0.16);
  --radius: 6px;
  --radius-btn: 4px;
  --shadow-sm: 0 2px 10px rgba(30, 25, 22, 0.05);
  --shadow-md: 0 14px 36px rgba(30, 25, 22, 0.09);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --max-w: 1220px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin-top: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Notice Bar */
.top-bar {
  background: var(--dark);
  color: #EAE1D5;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-dark);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar strong {
  color: var(--accent);
  font-weight: 600;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 233, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-link:hover {
  background: var(--primary);
  color: #fff;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--dark);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #FCF9F4;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-outline-light {
  background: transparent;
  color: var(--bg);
  border-color: rgba(246, 241, 233, 0.45);
}

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

.btn-sm {
  padding: 10px 18px;
  font-size: 0.78rem;
}

/* Editorial Eyebrow & Section Headers */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.eyebrow-light {
  color: var(--accent);
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--dark);
  color: #EAE1D5;
}

.section-dark h2,
.section-dark h3 {
  color: #FCF9F4;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 6px;
}

.section-lead {
  max-width: 560px;
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

/* Asymmetric Split Editorial Hero */
.hero {
  background: var(--dark);
  color: #EAE1D5;
  padding: 64px 0 76px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--primary);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid rgba(200, 138, 46, 0.4);
  border-radius: 3px;
  margin-bottom: 22px;
}

.hero h1 {
  color: #FCF9F4;
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  font-weight: 500;
  line-height: 1.06;
  margin-bottom: 22px;
}

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

.hero-desc {
  font-size: 1.04rem;
  color: #D5C9BA;
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #FCF9F4;
  font-weight: 600;
}

.hero-meta span {
  font-size: 0.78rem;
  color: #B9AA9A;
}

.hero-media {
  position: relative;
}

.hero-frame {
  border: 1px solid rgba(246, 241, 233, 0.22);
  padding: 12px;
  background: var(--dark-soft);
  border-radius: var(--radius);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.hero-note {
  position: absolute;
  left: -24px;
  bottom: -18px;
  background: var(--surface);
  color: var(--ink);
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
  max-width: 260px;
}

.hero-note small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 4px;
}

.hero-note p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

/* 4-Pillar Trust Bar */
.pillars-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pillar-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}

.pillar-item:last-child {
  border-right: none;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.pillar-item h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.pillar-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.product-img-wrap {
  position: relative;
  background: var(--surface-alt);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark);
  color: #FCF9F4;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.38rem;
  margin-bottom: 8px;
}

.product-title a {
  color: var(--ink);
}

.product-title a:hover {
  color: var(--primary);
}

.product-excerpt {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 0 0 18px;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
}

.price small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
}

/* Story / Lifestyle Split */
.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.story-media {
  position: relative;
}

.story-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.story-caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}

.story-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
}

.story-list li {
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-size: 0.94rem;
}

.story-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.7rem;
  top: 13px;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.review-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 20px;
}

.review-author {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
}

.review-author strong {
  display: block;
  color: var(--ink);
}

.review-author span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Mandatory Statutory Disclaimer Box */
.legal-notice-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 36px 0;
  font-size: 0.88rem;
  color: var(--ink);
}

.legal-notice-box strong {
  color: var(--primary);
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

/* Breadcrumbs & Page Hero */
.page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 46px 0 40px;
}

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.page-header h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 10px;
}

.page-header p {
  color: var(--muted);
  max-width: 680px;
  margin: 0;
}

/* Product Detail Page */
.pdp-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: start;
}

.pdp-gallery {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.pdp-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.pdp-sub-photo {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.pdp-sub-photo img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 4px;
}

/* Botanical Ingredients Photo Strip */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ingredient-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ingredient-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.ingredient-card-body {
  padding: 16px 18px;
}

.ingredient-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.ingredient-card-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 18px 0;
}

.pdp-price {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--primary);
}

.pdp-meta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 0.88rem;
}

.pdp-meta-box div {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}

.pdp-meta-box div:last-child {
  border-bottom: none;
}

.qty-add-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-btn);
}

.qty-control button {
  background: transparent;
  border: none;
  width: 40px;
  height: 46px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}

.qty-control input {
  width: 52px;
  height: 46px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.comp-table th,
.comp-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comp-table th {
  background: var(--surface-alt);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Cart & Checkout */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-table th,
.cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.cart-table th {
  background: var(--surface-alt);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-item-info img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.summary-card,
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 20px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}

.shipping-progress {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.84rem;
  margin-bottom: 18px;
  border-left: 3px solid var(--olive);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.courier-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  cursor: pointer;
  background: #fff;
}

.courier-option:has(input:checked) {
  border-color: var(--primary);
  background: #FAF3EB;
}

.inline-confirm {
  display: none;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #EDF3EE;
  border: 1px solid var(--olive);
  color: #1F3523;
  font-size: 0.92rem;
}

.inline-confirm.visible {
  display: block;
}

/* Blog Grid & Prose */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.blog-card p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.9rem;
  margin: 34px 0 12px;
}

.prose h3 {
  font-size: 1.4rem;
  margin: 26px 0 10px;
}

.prose p,
.prose li {
  color: #362E29;
  font-size: 0.98rem;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #D5C9BA;
  padding: 68px 0 28px;
  border-top: 3px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 38px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--border-dark);
}

.site-footer h4 {
  color: #FCF9F4;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: #D5C9BA;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: #A89A8B;
}

/* Toast Notification */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--dark);
  color: #FCF9F4;
  padding: 14px 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-md);
  z-index: 999;
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 20px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--dark);
  color: #EAE1D5;
  border: 1px solid rgba(200, 138, 46, 0.4);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 950;
  box-shadow: var(--shadow-md);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.84rem;
}

.cookie-banner.hidden {
  display: none;
}

/* Order Confirmation Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 14, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.order-code {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--primary);
  background: var(--surface-alt);
  padding: 10px 14px;
  border-radius: 4px;
  display: inline-block;
  margin: 10px 0 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .story-grid,
  .pdp-grid,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .product-grid,
  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar-item {
    border-bottom: 1px solid var(--border);
  }
  .reviews-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-note {
    position: static;
    margin-top: 14px;
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
  }
  .main-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .product-grid,
  .ingredients-grid,
  .pillars-grid,
  .reviews-grid,
  .blog-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .pillar-item {
    border-right: none;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
