/* ==========================================================================
   Sharth Baby Essentials — Brand stylesheet
   Loaded AFTER Bootstrap 5. Change brand values in :root only.
   ========================================================================== */

:root {
  /* Brand palette (sampled from the Sharth logo) */
  --sharth-green: #146433;
  --sharth-green-dark: #0e4a25;
  --sharth-green-soft: #e8f2eb;
  --sharth-orange: #e48926;
  --sharth-orange-dark: #c26f15;
  --sharth-orange-soft: #fdecd6;
  --sharth-cream: #fff8ee;
  --sharth-sand: #f6ead8;
  --sharth-ink: #23302a;
  --sharth-muted: #5d6b63;
  --sharth-white: #ffffff;

  /* Type */
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --pop: 4px 4px 0 var(--sharth-orange);       /* signature offset, echoes the logo */
  --pop-green: 4px 4px 0 var(--sharth-green);
  --shadow-soft: 0 10px 30px rgba(20, 100, 51, .08);

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--sharth-ink);
  --bs-body-bg: var(--sharth-cream);
  --bs-link-color: var(--sharth-green);
  --bs-link-color-rgb: 20, 100, 51;
  --bs-link-hover-color: var(--sharth-orange-dark);
  --bs-link-hover-color-rgb: 194, 111, 21;
  --bs-primary: var(--sharth-green);
  --bs-primary-rgb: 20, 100, 51;
  --bs-border-radius: var(--radius-sm);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--sharth-cream);
  color: var(--sharth-ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5, .display-font {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sharth-green);
  line-height: 1.15;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { color: var(--sharth-ink); }
.text-muted-sharth { color: var(--sharth-muted) !important; }
.text-green { color: var(--sharth-green) !important; }
.text-orange { color: var(--sharth-orange-dark) !important; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--sharth-orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sharth-orange-soft); color: var(--sharth-green-dark); }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--sharth-green); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Logo-style offset heading: green text with an orange echo */
.pop-heading {
  text-shadow: 3px 3px 0 var(--sharth-orange-soft), 3px 3px 0 rgba(228,137,38,.45);
}

/* Eyebrow / kicker label (matches "BABY ESSENTIALS" letter-spacing) */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sharth-orange-dark);
  margin-bottom: .75rem;
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; border-radius: 999px; padding: .75rem 1.6rem; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn-lg { padding: .95rem 2rem; font-size: 1.1rem; }
.btn-sharth {
  background: var(--sharth-green); color: #fff; border: 2px solid var(--sharth-green);
  box-shadow: var(--pop);
}
.btn-sharth:hover, .btn-sharth:focus-visible { background: var(--sharth-green-dark); border-color: var(--sharth-green-dark); color: #fff; transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--sharth-orange); }
.btn-sharth:active { transform: translate(2px,2px) !important; box-shadow: 1px 1px 0 var(--sharth-orange) !important; }

.btn-amazon {
  background: var(--sharth-orange); color: #fff; border: 2px solid var(--sharth-orange);
  box-shadow: var(--pop-green);
}
.btn-amazon:hover, .btn-amazon:focus-visible { background: var(--sharth-orange-dark); border-color: var(--sharth-orange-dark); color: #fff; transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--sharth-green); }
.btn-amazon:active { transform: translate(2px,2px) !important; box-shadow: 1px 1px 0 var(--sharth-green) !important; }
.btn-amazon .bi-box-arrow-up-right { font-size: .85em; opacity: .85; }

.btn-outline-sharth { background: transparent; color: var(--sharth-green); border: 2px solid var(--sharth-green); }
.btn-outline-sharth:hover, .btn-outline-sharth:focus-visible { background: var(--sharth-green); color: #fff; }
.btn-light-sharth { background: #fff; color: var(--sharth-green); border: 2px solid #fff; box-shadow: var(--pop); }
.btn-light-sharth:hover { background: var(--sharth-cream); color: var(--sharth-green-dark); transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--sharth-orange); }

/* Note shown under every Amazon buy button */
.amazon-note {
  display: flex; align-items: center; gap: .45rem;
  font-size: .88rem; color: var(--sharth-muted); margin-top: .75rem; line-height: 1.35;
}
.amazon-note .bi { color: var(--sharth-orange-dark); flex-shrink: 0; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--sharth-green); color: #fff; font-size: .9rem; text-align: center;
  padding: .5rem 1rem; line-height: 1.4;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.announce .bi { color: var(--sharth-orange); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 248, 238, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--sharth-sand); box-shadow: 0 6px 20px rgba(20,100,51,.06); }
.site-header .navbar { padding-top: .7rem; padding-bottom: .7rem; }
.navbar-brand img { height: 46px; width: auto; display: block; }
@media (min-width: 992px) { .navbar-brand img { height: 54px; } }
.site-header .nav-link {
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  color: var(--sharth-ink); padding: .5rem .9rem !important; border-radius: 999px; position: relative;
}
.site-header .nav-link:hover { color: var(--sharth-green); background: var(--sharth-green-soft); }
.site-header .nav-link.active { color: var(--sharth-green); }
.site-header .nav-link.active::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 3px;
  background: var(--sharth-orange); border-radius: 3px;
}
.site-header .dropdown-menu {
  border: 2px solid var(--sharth-sand); border-radius: var(--radius); padding: .6rem;
  box-shadow: var(--shadow-soft); min-width: 18rem;
}
.site-header .dropdown-item { border-radius: var(--radius-sm); padding: .55rem .8rem; font-weight: 600; color: var(--sharth-ink); }
.site-header .dropdown-item:hover, .site-header .dropdown-item.active { background: var(--sharth-green-soft); color: var(--sharth-green); }
.navbar-toggler { border: 2px solid var(--sharth-green); border-radius: 12px; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23146433' stroke-linecap='round' stroke-width='2.5' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: 1rem 0 .5rem; }
  .site-header .nav-link.active::after { display: none; }
  .site-header .nav-link.active { background: var(--sharth-green-soft); }
  .site-header .dropdown-menu { border: 0; box-shadow: none; background: transparent; padding-left: 1rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-white-sharth { background: #fff; }
.bg-green-soft { background: var(--sharth-green-soft); }
.bg-orange-soft { background: var(--sharth-orange-soft); }
.bg-sand { background: var(--sharth-sand); }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--sharth-muted); font-size: 1.1rem; }

/* Wavy divider */
.wave { display: block; width: 100%; height: 48px; }
.wave path { fill: currentColor; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -140px;
  background: radial-gradient(circle, var(--sharth-orange-soft) 0%, rgba(253,236,214,0) 70%); z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--sharth-muted); max-width: 34rem; }
.hero-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-collage .tile {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 3px solid #fff;
  box-shadow: var(--shadow-soft); aspect-ratio: 1 / 1;
}
.hero-collage .tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .tile:nth-child(1) { grid-row: span 2; aspect-ratio: auto; box-shadow: 8px 8px 0 var(--sharth-orange); }
.hero-collage .tile:nth-child(2) { transform: rotate(2deg); }
.hero-collage .tile:nth-child(3) { transform: rotate(-2deg); }
.hero-badge {
  position: absolute; left: -12px; bottom: 18px; background: #fff; border-radius: 999px;
  padding: .6rem 1.1rem .6rem .7rem; display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--shadow-soft); font-weight: 700; font-size: .92rem; color: var(--sharth-green);
}
.hero-badge .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--sharth-orange); color: #fff; display: grid; place-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.75rem; color: var(--sharth-muted); font-size: .95rem; font-weight: 600; }
.hero-trust .bi { color: var(--sharth-green); margin-right: .35rem; }

/* ---------- Feature cards ---------- */
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.75rem; height: 100%;
  border: 2px solid var(--sharth-sand); transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--sharth-orange); }
.icon-blob {
  width: 64px; height: 64px; border-radius: 22px 22px 22px 6px; display: grid; place-items: center;
  background: var(--sharth-green-soft); color: var(--sharth-green); font-size: 1.75rem; margin-bottom: 1.1rem;
}
.icon-blob.orange { background: var(--sharth-orange-soft); color: var(--sharth-orange-dark); }
.feature-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.feature-card p { color: var(--sharth-muted); margin: 0; }

/* ---------- Product cards ---------- */
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; border: 2px solid var(--sharth-sand);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--sharth-green); box-shadow: 6px 6px 0 var(--sharth-orange); }
.product-card .media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--sharth-cream); overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .media img { transform: scale(1.04); }
.product-card .tag {
  position: absolute; top: 14px; left: 14px; background: var(--sharth-green); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px;
}
.product-card .body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.product-card h3 a { color: var(--sharth-green); text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.product-card { position: relative; }
.product-card .body p { color: var(--sharth-muted); font-size: .98rem; margin-bottom: 1.1rem; }
.product-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; position: relative; z-index: 2; }
.product-card .actions .btn { padding: .6rem 1.15rem; font-size: .95rem; }

/* Category filter pills */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-pills button {
  font-family: var(--font-display); font-weight: 600; border: 2px solid var(--sharth-green);
  background: transparent; color: var(--sharth-green); border-radius: 999px; padding: .45rem 1.1rem;
}
.filter-pills button.active, .filter-pills button:hover { background: var(--sharth-green); color: #fff; }

/* ---------- How buying works ---------- */
.steps { counter-reset: step; }
.step {
  position: relative; background: #fff; border-radius: var(--radius); padding: 2.25rem 1.5rem 1.75rem;
  text-align: center; height: 100%; border: 2px dashed var(--sharth-orange);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--sharth-green); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center;
  box-shadow: 3px 3px 0 var(--sharth-orange);
}
.step .bi { font-size: 2rem; color: var(--sharth-orange-dark); }
.step h3 { font-size: 1.2rem; margin: .6rem 0 .35rem; }
.step p { color: var(--sharth-muted); margin: 0; font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sharth-green); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px;
  border-radius: 50%; border: 28px solid rgba(228,137,38,.35);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
.page-hero p { color: var(--sharth-muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }
.breadcrumb { justify-content: center; font-size: .9rem; margin-bottom: 1rem; --bs-breadcrumb-divider-color: var(--sharth-muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb-item.active { color: var(--sharth-muted); }
.product-breadcrumb .breadcrumb { justify-content: flex-start; }

/* ---------- Product detail ---------- */
.gallery-main {
  position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1 / 1; border: 2px solid var(--sharth-sand); cursor: zoom-in;
}
.gallery-main img, .gallery-main video, .gallery-main iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.gallery-main video, .gallery-main iframe { object-fit: contain; background: #000; cursor: auto; }
.gallery-main .zoom-hint {
  position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--sharth-green);
  border-radius: 999px; padding: .35rem .8rem; font-size: .85rem; font-weight: 700; pointer-events: none;
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95);
  color: var(--sharth-green); display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow-soft);
}
.gallery-nav.prev { left: 12px; } .gallery-nav.next { right: 12px; }
.gallery-thumbs { display: flex; gap: .7rem; margin-top: 1rem; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory; }
.gallery-thumbs button {
  flex: 0 0 auto; width: 84px; height: 84px; border-radius: 16px; overflow: hidden; padding: 0;
  border: 3px solid transparent; background: #fff; position: relative; scroll-snap-align: start;
  outline-offset: 2px;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.active { border-color: var(--sharth-orange); }
.gallery-thumbs .play {
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem;
  background: rgba(20,100,51,.45);
}
.gallery-thumbs .video-thumb-fallback { width: 100%; height: 100%; background: var(--sharth-green); }

.product-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.product-info .tagline { font-size: 1.15rem; color: var(--sharth-muted); }
.product-highlights { list-style: none; padding: 0; margin: 1.5rem 0; }
.product-highlights li { display: flex; gap: .7rem; padding: .45rem 0; }
.product-highlights .bi { color: var(--sharth-orange-dark); font-size: 1.15rem; flex-shrink: 0; margin-top: .1rem; }
.buy-box {
  background: #fff; border: 2px solid var(--sharth-sand); border-radius: var(--radius); padding: 1.5rem;
}
.buy-box .btn { width: 100%; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.25rem; text-align: center; }
.trust-row div { font-size: .82rem; font-weight: 700; color: var(--sharth-muted); line-height: 1.3; }
.trust-row .bi { display: block; font-size: 1.4rem; color: var(--sharth-green); margin-bottom: .25rem; }

.spec-table { background: #fff; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--sharth-sand); }
.spec-table table { margin: 0; }
.spec-table th { width: 38%; color: var(--sharth-green); font-family: var(--font-display); font-weight: 600; background: var(--sharth-cream); }
.spec-table th, .spec-table td { padding: .9rem 1.2rem; border-color: var(--sharth-sand); }

.accordion-sharth .accordion-item { border: 2px solid var(--sharth-sand); border-radius: var(--radius) !important; overflow: hidden; margin-bottom: .75rem; }
.accordion-sharth .accordion-button { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--sharth-green); background: #fff; }
.accordion-sharth .accordion-button:not(.collapsed) { background: var(--sharth-green-soft); box-shadow: none; }
.accordion-sharth .accordion-button:focus { box-shadow: none; }

/* Sticky mobile buy bar */
.mobile-buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; background: #fff;
  border-top: 2px solid var(--sharth-sand); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .8rem; transform: translateY(110%); transition: transform .25s ease;
  box-shadow: 0 -8px 24px rgba(20,100,51,.08);
}
.mobile-buy-bar.show { transform: translateY(0); }
.mobile-buy-bar .name { font-family: var(--font-display); font-weight: 600; color: var(--sharth-green); line-height: 1.2; font-size: .95rem; flex: 1; min-width: 0; }
.mobile-buy-bar .name small { display: block; font-family: var(--font-body); font-weight: 600; color: var(--sharth-muted); font-size: .75rem; }
.mobile-buy-bar .btn { padding: .6rem 1.1rem; white-space: nowrap; box-shadow: none; }
@media (min-width: 992px) { .mobile-buy-bar { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox .modal-content { background: transparent; border: 0; }
.lightbox .modal-body { padding: 0; position: relative; display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.lightbox .lb-stage img, .lightbox .lb-stage video { max-height: 86vh; max-width: 100%; border-radius: var(--radius); display: block; margin: 0 auto; }
.lightbox .lb-stage .ratio { width: min(100%, 1100px); }
.lightbox .lb-close {
  position: fixed; top: 16px; right: 16px; z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: #fff; color: var(--sharth-green); font-size: 1.4rem; display: grid; place-items: center;
}
.lightbox .lb-count { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; background: rgba(0,0,0,.35); padding: .3rem .9rem; border-radius: 999px; }
.lightbox .gallery-nav { position: fixed; }
.modal-backdrop.lightbox-backdrop.show { opacity: .88; background: #0b2a17; }

/* ---------- Amazon redirect modal ---------- */
.redirect-modal .modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; text-align: center; }
.redirect-modal .modal-body { padding: 2.5rem 2rem 2rem; }
.redirect-modal .redirect-icon {
  width: 84px; height: 84px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--sharth-orange-soft);
  display: grid; place-items: center; color: var(--sharth-orange-dark); font-size: 2.2rem; position: relative;
}
.redirect-modal .redirect-icon::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 3px solid var(--sharth-orange); border-right-color: transparent; border-bottom-color: transparent;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.redirect-modal h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.redirect-modal .product-name { font-weight: 800; color: var(--sharth-green); }
.redirect-progress { height: 8px; background: var(--sharth-sand); border-radius: 999px; overflow: hidden; margin: 1.5rem 0 .6rem; }
.redirect-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sharth-green), var(--sharth-orange)); border-radius: 999px; }
.redirect-modal .small-print { font-size: .85rem; color: var(--sharth-muted); }
.redirect-modal .btn-link { color: var(--sharth-muted); text-decoration: underline; font-family: var(--font-body); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .redirect-modal .redirect-icon::after { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); border: 2px solid var(--sharth-sand); }
.form-label { font-weight: 700; color: var(--sharth-green); font-size: .95rem; }
.form-control, .form-select {
  border: 2px solid var(--sharth-sand); border-radius: var(--radius-sm); padding: .75rem 1rem; background: var(--sharth-cream);
}
.form-control:focus, .form-select:focus { border-color: var(--sharth-green); box-shadow: 0 0 0 .2rem rgba(20,100,51,.15); background: #fff; }
.form-check-input:checked { background-color: var(--sharth-green); border-color: var(--sharth-green); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(20,100,51,.15); border-color: var(--sharth-green); }
.form-check-card {
  border: 2px solid var(--sharth-sand); border-radius: var(--radius-sm); padding: .75rem 1rem .75rem 2.6rem; background: var(--sharth-cream); height: 100%;
}
.form-check-card:has(input:checked) { border-color: var(--sharth-green); background: var(--sharth-green-soft); }
.form-check-card .form-check-input { margin-left: -1.6rem; }
.form-success { display: none; background: var(--sharth-green-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; color: var(--sharth-green-dark); }
.form-success.show { display: block; }

.contact-tile {
  background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 2px solid var(--sharth-sand);
  display: flex; gap: 1rem; align-items: flex-start;
}
.contact-tile .icon-blob { margin: 0; flex-shrink: 0; width: 54px; height: 54px; font-size: 1.4rem; }
.contact-tile h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.contact-tile p { margin: 0; color: var(--sharth-muted); }
.contact-tile a { font-weight: 700; word-break: break-word; }

/* ---------- About ---------- */
.value-num { font-family: var(--font-display); font-weight: 700; font-size: 3rem; color: var(--sharth-orange); line-height: 1; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 10px 10px 0 var(--sharth-orange); border: 3px solid #fff; }
.quote-card { background: var(--sharth-green); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3rem); }
.quote-card p { color: #fff; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; font-weight: 500; }
.quote-card .bi-quote { font-size: 3rem; color: var(--sharth-orange); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sharth-green); color: rgba(255,255,255,.86); padding: 4rem 0 0; margin-top: 0; }
.site-footer .footer-logo { height: 64px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: var(--sharth-orange); }
.site-footer .footer-tagline { color: rgba(255,255,255,.8); max-width: 22rem; margin-top: 1rem; }
.site-footer .amazon-footer-note {
  display: flex; gap: .7rem; align-items: flex-start; background: rgba(255,255,255,.08); border-radius: var(--radius-sm);
  padding: .9rem 1rem; font-size: .9rem; margin-top: 1.25rem; max-width: 26rem;
}
.site-footer .amazon-footer-note .bi { color: var(--sharth-orange); font-size: 1.2rem; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 3rem; padding: 1.25rem 0 1.5rem;
  font-size: .85rem; color: rgba(255,255,255,.7);
}
.site-footer .footer-bottom p { color: rgba(255,255,255,.7); margin: 0; }
.footer-wave { color: var(--sharth-green); background: transparent; margin-bottom: -1px; }

/* Back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 1010; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--sharth-orange); color: #fff; font-size: 1.2rem; display: grid; place-items: center;
  box-shadow: 3px 3px 0 var(--sharth-green); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.to-top.show { opacity: 1; visibility: visible; }
body.has-buy-bar .to-top { bottom: 92px; }
@media (min-width: 992px) { body.has-buy-bar .to-top { bottom: 18px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.notfound-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 20vw, 11rem); color: var(--sharth-green); line-height: 1; text-shadow: 6px 6px 0 var(--sharth-orange); }

/* Small screens */
@media (max-width: 575.98px) {
  body { font-size: 1rem; }
  .hero-badge { left: 8px; bottom: 8px; font-size: .82rem; }
  .trust-row div { font-size: .75rem; }
  .product-card .actions .btn { flex: 1 1 auto; }
}

/* Footer: warm peach */
.footer-wave { color: var(--sharth-orange-soft); }
.site-footer { background: var(--sharth-orange-soft); color: var(--sharth-ink); }
.site-footer h3 { color: var(--sharth-green); }
.site-footer a { color: var(--sharth-ink); }
.site-footer a:hover { color: var(--sharth-orange-dark); }
.site-footer .footer-tagline { color: var(--sharth-muted); }
.site-footer .amazon-footer-note { background: #fff; color: var(--sharth-ink); }
.site-footer .footer-bottom {
  border-top: 0;
  background: var(--sharth-green);
  box-shadow: 0 0 0 100vmax var(--sharth-green);   /* stretches the bar to full screen width */
  clip-path: inset(0 -100vmax);
}
.site-footer .footer-bottom p { color: rgba(255,255,255,.85); }
