/* ============================================================
   VEDIKA NATURALS – Design System
   ============================================================ */

:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-alt: #f2eee8;
  --text: #1f1a16;
  --muted: #6d645c;
  --line: #ddd3c9;
  --accent: #8a5b2b;
  --accent-deep: #6f4520;
  --shadow-soft: 0 14px 28px rgba(33, 25, 18, 0.08);
  --shadow-hover: 0 22px 34px rgba(33, 25, 18, 0.13);
  --radius: 16px;
  --fast: 200ms;
  --normal: 350ms;
  --slow: 600ms;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }

ul, ol { padding-left: 1.2rem; }

h1, h2, h3, h4 {
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 0.9rem;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

/* ── Layout ── */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section-pad    { padding: 5.5rem 0; }
.section-pad-sm { padding: 3.2rem 0; }
.muted-bg       { background: var(--surface-alt); }

/* ── Typography helpers ── */
.eyebrow {
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-tag {
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.subtle { color: var(--muted); }

.text-link {
  color: var(--accent);
  font-weight: 600;
  position: relative;
  white-space: nowrap;
}
.text-link::after {
  content: "";
  width: 0;
  height: 1px;
  background: var(--accent);
  position: absolute;
  left: 0;
  bottom: -3px;
  transition: width var(--normal) ease;
}
.text-link:hover::after { width: 100%; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Buttons ── */
.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--normal) cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary:hover { background: #efe8df; }

.btn-full { width: 100%; }

/* ── Announcement Bar ── */
.announcement-bar {
  background: #e9dfd2;
  border-bottom: 1px solid #d7c8b7;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.announcement-inner {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 0.65rem 0;
  font-weight: 600;
  flex-wrap: wrap;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 246, 242, 0.97);
  border-bottom: 1px solid transparent;
  transition: all var(--normal) ease-out;
}
.site-header.scrolled {
  background: rgba(248, 246, 242, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(27, 20, 16, 0.07);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

/* ── Desktop Nav ── */
.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 1.6rem;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.3rem 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--text);
  transition: width var(--normal) ease-out;
}
.main-nav a:hover::after { width: 100%; }

/* Mega menu */
.has-mega { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -120px;
  width: 480px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  box-shadow: var(--shadow-hover);
  z-index: 100;
}
.has-mega:hover .mega-menu { display: grid; }
.mega-menu h4 { font-size: 0.85rem; margin-bottom: 0.6rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }
.mega-menu a { display: block; color: var(--text); margin-bottom: 0.55rem; font-size: 0.92rem; }
.mega-menu a:hover { color: var(--accent); }

/* ── Header icons ── */
.header-icons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.icon-btn {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 0.9rem;
  cursor: pointer;
  font-size: 0.86rem;
  font-family: inherit;
  transition: background var(--fast) ease;
}
.icon-btn:hover { background: #efe8df; }

.cart-count {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── Mobile Menu ── */
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.44);
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
  z-index: 50;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 88vw);
  height: 100vh;
  background: var(--surface);
  padding: 5.5rem 2rem 2rem;
  z-index: 60;
  transform: translateX(100%);
  transition: transform 300ms ease;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a { font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); padding-bottom: 0.8rem; }

.close-menu {
  position: absolute;
  right: 1.4rem; top: 1.4rem;
  font-size: 1.6rem;
  border: none;
  background: none;
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
}
.close-menu:hover { background: var(--surface-alt); }

/* ── Hero ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-media {
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--normal) ease;
}
.hero-media img {
  border-radius: 0;
  transition: transform 1.5s ease-out;
  transform: scale(1.05);
  aspect-ratio: 4 / 5;
}

body.loaded .hero-media {
  opacity: 1;
}
body.loaded .hero-media img {
  transform: scale(1);
}

.hero-copy {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--normal) ease-out, transform var(--normal) ease-out;
}
body.loaded .hero-copy {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy p { max-width: 54ch; }

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.6rem 0;
}

.trust-badges {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.trust-badges li {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--normal) ease-out;
}
body.loaded .trust-badges li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 160ms; }
body.loaded .trust-badges li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 300ms; }
body.loaded .trust-badges li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 440ms; }

/* ── Featured In ── */
.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.logo-row span {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--surface);
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}
.listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ── Product Card ── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  position: relative;
  transition: transform var(--normal) ease, box-shadow var(--normal) ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-img-wrap {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  aspect-ratio: 4 / 3;
  background: var(--surface-alt);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  transition: transform var(--normal) ease-out;
}
.product-card:hover .product-img-wrap img { transform: scale(1.03); }

.price {
  font-weight: 700;
  margin: 0.3rem 0 0.85rem;
  font-size: 1rem;
}
.price span {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-left: 0.4rem;
  font-size: 0.9rem;
}
.price strong {
  color: var(--accent-deep);
  margin-left: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.price.large { font-size: 1.45rem; }

.rating { margin: 0.2rem 0 0.3rem; font-size: 0.95rem; }
.rating span { color: var(--muted); font-size: 0.87rem; }

/* ── Cards generic ── */
.icon-card,
.review-card,
.plan-card,
.bundle-card,
.ingredient-card,
.step-card,
.cert-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  transition: transform var(--normal) ease, box-shadow var(--normal) ease;
}

.icon-card:hover,
.review-card:hover,
.ingredient-card:hover,
.bundle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Icon card accent line */
.icon-card {
  border-top: 3px solid var(--accent);
}

/* ── Icon / Feature Grid ── */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.step-card span {
  display: block;
  color: var(--accent);
  font-size: 2rem;
  font-family: "Georgia", serif;
  line-height: 1;
  margin-bottom: 0.6rem;
}

/* ── Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stats-grid article { text-align: center; padding: 1.5rem 1rem; }
.stats-grid h3 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 0.2rem;
  color: var(--accent);
}

/* ── Benefit List ── */
.benefit-list article {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  margin-top: 0.85rem;
}

/* ── Two Column / Editorial ── */
.two-col,
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: center;
}
.two-col img,
.editorial img {
  border-radius: 18px;
  aspect-ratio: 4 / 5;
}

/* ── Comparison Table ── */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
th {
  background: #ede6da;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
tr:last-child td { border-bottom: none; }

/* ── Category Grid ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.category-card {
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  aspect-ratio: 3 / 4;
  display: block;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background var(--normal) ease;
}
.category-card:hover::after { background: rgba(0, 0, 0, 0.18); }
.category-card img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  transition: transform var(--slow) ease-out;
}
.category-card:hover img { transform: scale(1.04); }
.category-card span {
  position: absolute;
  bottom: 1rem; left: 1rem;
  z-index: 1;
  color: #fff;
  font-family: "Georgia", serif;
  font-size: 1.15rem;
  font-weight: 600;
}

/* ── Timeline ── */
.timeline {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  border-left: 2px solid var(--line);
  padding: 0.4rem 0 1.4rem 1.4rem;
  margin-left: 0.6rem;
  position: relative;
}
.timeline li::before {
  content: "";
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: -7.5px;
  top: 0.8rem;
}
.timeline li:last-child { border-left-color: transparent; }

/* ── Ingredient Grid ── */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.ingredient-card { padding: 0; overflow: hidden; }
.ingredient-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  transition: transform var(--normal) ease-out;
}
.ingredient-card:hover img { transform: scale(1.04); }
.ingredient-card h3,
.ingredient-card p {
  padding: 0 1rem;
}
.ingredient-card h3 { padding-top: 0.9rem; }
.ingredient-card p { color: var(--muted); font-size: 0.91rem; padding-bottom: 0.9rem; margin: 0; }

/* ── Testimonial Slider ── */
.testimonial-slider { overflow: hidden; }
.testimonial-track {
  display: flex;
  gap: 1rem;
  transition: transform var(--slow) ease-out;
}
.review-card { min-width: calc(33.333% - 0.7rem); flex-shrink: 0; }
.review-card img {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  object-fit: cover;
}

/* ── Video Placeholder ── */
.video-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 7;
}
.video-placeholder img {
  width: 100%; height: 100%;
  border-radius: 0;
  object-fit: cover;
}
.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}
.play-btn {
  position: absolute;
  z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform var(--fast) ease, background var(--fast) ease;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.video-placeholder p {
  position: absolute;
  z-index: 2;
  left: 1.5rem; bottom: 1.2rem;
  color: #fff;
  margin: 0;
  font-size: 0.92rem;
}

/* ── Subscription Plans ── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.plan-card { text-align: center; padding: 1.8rem 1.4rem; }
.plan-price {
  font-size: 2.2rem;
  font-family: "Georgia", serif;
  font-weight: 700;
  color: var(--accent);
  margin: 0.5rem 0 1rem;
}
.plan-card ul { list-style: none; padding: 0; margin: 0 0 1.4rem; color: var(--muted); font-size: 0.92rem; }
.plan-card ul li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.plan-card ul li:last-child { border-bottom: none; }
.featured-plan { border-color: #c7ab87; border-width: 2px; }

/* ── Bundle Grid ── */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.bundle-card { position: relative; padding: 1.4rem; }

.plan-tag,
.save-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  background: #ebdfcf;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
}

/* ── FAQ Accordion ── */
.accordion { display: grid; gap: 0.75rem; }
.accordion-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.05rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-trigger::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform var(--normal) ease;
  flex-shrink: 0;
}
.accordion-item.active .accordion-trigger::after { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--normal) ease, opacity var(--normal) ease;
}
.accordion-panel p {
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}
.accordion-item.active .accordion-panel { max-height: 220px; opacity: 1; }
.faq-page { max-width: 860px; margin: 0 auto; }

/* ── Newsletter ── */
.newsletter-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ── Forms ── */
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.82rem 1rem;
  font: inherit;
  font-size: 0.94rem;
  background: #fff;
  color: var(--text);
  transition: border-color var(--fast) ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}
label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--muted);
}
.form-message {
  font-size: 0.86rem;
  color: var(--accent-deep);
  font-weight: 500;
}

/* ── Instagram Grid ── */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.insta-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
}
.insta-item img {
  width: 100%; height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform var(--normal) ease-out;
}
.insta-item span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity var(--normal) ease;
}
.insta-item:hover img { transform: scale(1.04); }
.insta-item:hover span { opacity: 1; }

/* ── Footer ── */
.site-footer {
  background: #1f1a16;
  color: #f6f2eb;
  margin-top: 5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 1.4rem;
  padding: 3.2rem 0 2rem;
}
.footer-grid h3, .footer-grid h4 { color: #fff; margin-bottom: 1rem; }
.footer-grid h4 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: #b3a89d; }
.footer-grid a,
.footer-grid p { display: block; color: #d7ccc0; margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-grid a:hover { color: #fff; }

.socials { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.socials a {
  border: 1px solid #665847;
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  font-size: 0.8rem;
}
.socials a:hover { border-color: #c7ab87; color: #f6f2eb; }

.footer-bottom { border-top: 1px solid #46392d; }
.footer-bottom p { margin: 0; padding: 1rem 0; color: #b3a89d; font-size: 0.86rem; }

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  right: 1.2rem; bottom: 1.2rem;
  border: none;
  border-radius: 999px;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--normal) ease;
  z-index: 65;
  font-size: 1rem;
}
.back-to-top.active { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-deep); }

/* ── Products Page ── */
.collection-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.collection-banner img {
  border-radius: 16px;
  aspect-ratio: 16 / 9;
}

.products-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2rem;
  align-items: start;
}

.filters-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  position: sticky;
  top: 110px;
}
.filters-card h2 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.filter-group {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  margin-top: 0.8rem;
}
.filter-group h3 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 0.7rem; }
.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 400;
}
.filter-group input[type="checkbox"] { width: auto; }

.products-topbar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.products-topbar select { width: auto; padding: 0.4rem 0.7rem; font-size: 0.88rem; }

.product-actions-inline { display: flex; gap: 0.45rem; }
.product-actions-inline .btn { font-size: 0.84rem; padding: 0.55rem 0.9rem; }

.wish-btn {
  position: absolute;
  right: 1rem; top: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.93);
  width: 34px; height: 34px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--fast) ease;
}
.wish-btn:hover { background: #ffe0e0; border-color: #e9a0a0; }

.pagination {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.pagination a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  background: var(--surface);
  font-size: 0.9rem;
  transition: all var(--fast) ease;
}
.pagination a:hover { background: var(--surface-alt); }
.pagination a.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Product Detail Page ── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.main-product-image {
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}
.thumb {
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: border-color var(--fast) ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.thumb.active { border-color: var(--accent); }
.thumb:hover { border-color: #b38757; }

.stock-badge {
  background: #e8efe6;
  color: #2d6a32;
  border-radius: 999px;
  padding: 0.26rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-block;
}

.qty-row { margin: 1.1rem 0; }
.qty-row > p { font-weight: 600; margin-bottom: 0.5rem; font-size: 0.88rem; }

.qty-selector {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  border: none;
  width: 42px;
  height: 42px;
  background: #f4eee6;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background var(--fast) ease;
}
.qty-btn:hover { background: #e8dfd2; }
.qty-selector input {
  width: 56px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 0.5rem;
  font-size: 1rem;
}

.product-actions { display: flex; gap: 0.65rem; margin: 1.2rem 0; flex-wrap: wrap; }

.delivery-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}
.delivery-card h2 { font-size: 0.95rem; margin-bottom: 0.35rem; }

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.trust-inline span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ── Product Tabs ── */
.tabs {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}
.tab-btn {
  border: none;
  background: none;
  padding: 0.95rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color var(--fast) ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); background: var(--surface); }
.tab-panel { display: none; padding: 1.4rem; }
.tab-panel.active { display: block; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.benefits-grid article {
  background: var(--surface-alt);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--line);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.usage-steps { padding-left: 1.3rem; }
.usage-steps li { margin-bottom: 0.5rem; }

/* ── Recently Viewed ── */
.recently-viewed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.mini-product {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  transition: box-shadow var(--normal) ease;
}
.mini-product:hover { box-shadow: var(--shadow-soft); }
.mini-product img {
  width: 70px; height: 70px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}
.mini-product span { font-size: 0.88rem; font-weight: 600; }

/* ── About Page ── */
.about-hero .editorial { gap: 3rem; }
.mission-grid, .cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.cert-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-form-card,
.hours-card,
.faq-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem;
  margin-bottom: 1.2rem;
}
.contact-form-card { margin-bottom: 0; }
.hours-card h3, .faq-preview h3 { font-size: 1rem; margin-bottom: 0.6rem; }

.map-placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.map-placeholder img { border-radius: 0; aspect-ratio: 16 / 7; }
.map-placeholder p { padding: 0.8rem 1rem; font-weight: 600; margin: 0; font-size: 0.9rem; }

.wholesale-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity var(--slow) ease, transform var(--slow) cubic-bezier(0.4,0,0.2,1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity var(--slow) ease, transform var(--slow) cubic-bezier(0.4,0,0.2,1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity var(--slow) ease, transform var(--slow) cubic-bezier(0.4,0,0.2,1); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity var(--slow) ease, transform var(--slow) cubic-bezier(0.4,0,0.2,1); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible, .reveal-scale.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ── Responsive: 1100px ── */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-grid, .mission-grid, .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ingredient-grid, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid, .bundle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
}

/* ── Responsive: 860px ── */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero-grid,
  .two-col,
  .editorial,
  .collection-banner,
  .product-detail-grid,
  .contact-grid,
  .products-layout,
  .newsletter-wrap { grid-template-columns: 1fr; }

  .two-col img, .editorial img { aspect-ratio: 16 / 9; }
  .hero-media img { aspect-ratio: 16 / 9; }

  .review-card { min-width: calc(100% - 0.2rem); }
  .filters-card { position: static; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive: 620px ── */
@media (max-width: 620px) {
  .section-pad { padding: 3.5rem 0; }
  .announcement-inner { gap: 0.6rem; }

  .product-grid, .listing-grid, .icon-grid, .ingredient-grid, .category-grid,
  .steps-grid, .stats-grid, .plan-grid, .bundle-grid, .mission-grid, .cert-grid,
  .insta-grid, .benefits-grid, .review-grid, .recently-viewed-grid,
  .logo-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .header-icons .icon-btn:nth-child(1),
  .header-icons .icon-btn:nth-child(2) { display: none; }

  .product-actions-inline, .product-actions { flex-direction: column; }

  .tab-nav { gap: 0; }
  .tab-btn { padding: 0.8rem 0.7rem; font-size: 0.82rem; }
}
