/*
Theme Name: Vagbhatt Organics
Theme URI: https://example.com/vagbhatt-organics
Author: Vagbhatt Organics
Description: Custom organic ecommerce landing theme with product browsing, cart journey, checkout demo, and order confirmation flow.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: sanju-organics
*/

.elementor-friendly-page {
  min-height: 60vh;
}

.empty-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
}

:root {
  --ink: #182018;
  --muted: #687065;
  --line: #dfe6d7;
  --paper: #fbfcf7;
  --panel: #ffffff;
  --leaf: #2f6f3e;
  --leaf-dark: #1f4e2c;
  --gold: #c78624;
  --berry: #8d3d4b;
  --sage: #e9f1df;
  --shadow: 0 18px 50px rgba(31, 78, 44, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.offer-strip {
  display: flex;
  gap: 34px;
  overflow: hidden;
  align-items: center;
  min-height: 38px;
  padding: 8px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--leaf-dark);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.offer-strip span {
  position: relative;
}

.offer-strip span + span::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 5vw, 72px);
  min-height: 112px;
  padding: 16px clamp(22px, 8vw, 190px);
  border-bottom: 1px solid #eef2ea;
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 360px;
}

.brand-mark {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  color: var(--leaf);
  border: 4px solid #78b54a;
  background:
    radial-gradient(circle at 64% 35%, #f5b940 0 10%, transparent 11%),
    linear-gradient(145deg, #f9fff2 0 46%, #d9edc8 47% 100%);
  font-size: 1.1rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.brand strong {
  color: #69aa39;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  flex: 1;
  color: #232323;
  font-size: 1.12rem;
  font-weight: 500;
}

.search-box {
  display: grid;
  gap: 4px;
  min-width: min(240px, 22vw);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.search-box input {
  min-height: 40px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--ink);
  background: #fff;
  text-transform: none;
}

.nav a {
  padding: 8px 2px;
}

.nav a:hover {
  color: var(--leaf);
}

.nav-menu {
  position: relative;
  padding: 8px 0;
}

.nav-dropdown {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 50%;
  display: none;
  min-width: 150px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(24, 32, 24, 0.12);
  transform: translateX(-50%);
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  display: grid;
}

.nav-dropdown a {
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: var(--sage);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 250px;
}

.cart-button,
.account-button,
.filter,
.add-to-cart,
.bundle-add,
.button,
.checkout-button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: transparent;
  color: #79b341;
}

.cart-button strong {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #1b1b1b;
  background: #9ad465;
  font-size: 0.76rem;
  font-weight: 900;
}

.cart-button svg,
.account-button svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.account-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #050505;
  background: transparent;
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(28px, 6vw, 72px);
}

.category-showcase {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-grid a {
  overflow: hidden;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(24, 32, 24, 0.05);
}

.category-grid img {
  height: 180px;
  object-fit: cover;
}

.category-grid strong,
.category-grid span {
  margin-inline: 18px;
}

.category-grid strong {
  margin-top: 16px;
  color: var(--leaf-dark);
  font-size: 1.16rem;
}

.category-grid span {
  margin-top: 5px;
  margin-bottom: 18px;
  color: var(--muted);
}

.hero-slider {
  position: absolute;
  inset: 0;
  display: flex;
  width: 400%;
  animation: heroTicker 24s infinite linear;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 25, 17, 0.82), rgba(18, 25, 17, 0.46), rgba(18, 25, 17, 0.16));
}

.hero-slide {
  flex: 0 0 25%;
  background-position: center;
  background-size: cover;
}

.slide-one {
  background-image: url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1800&q=82");
}

.slide-two {
  background-image: url("https://images.unsplash.com/photo-1587049352851-8d4e89133924?auto=format&fit=crop&w=1800&q=82");
}

.slide-three {
  background-image: url("https://images.unsplash.com/photo-1599599810769-bcde5a160d32?auto=format&fit=crop&w=1800&q=82");
}

@keyframes heroTicker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-75%);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-bottom: min(9vh, 72px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--leaf);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.1);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip div {
  min-height: 110px;
  padding: 26px clamp(18px, 4vw, 46px);
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--leaf-dark);
  font-size: 1.08rem;
}

.trust-strip span {
  margin-top: 7px;
  color: var(--muted);
}

.section,
.bundle-section,
.quality,
.contact {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 26px;
  padding-bottom: 4px;
}

.filter {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #3f4b3c;
  font-weight: 750;
}

.filter.active {
  color: #fff;
  border-color: var(--leaf);
  background: var(--leaf);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(24, 32, 24, 0.06);
}

.sale-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 4px;
  color: #fff;
  background: var(--berry);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-card[hidden] {
  display: none;
}

.product-card img {
  height: 250px;
  object-fit: cover;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.tag {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-card h3,
.bundle-list h3 {
  margin: 0;
  font-size: 1.32rem;
  letter-spacing: 0;
}

.product-card p:not(.tag),
.bundle-section p,
.quality-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.product-meta strong {
  font-size: 1.22rem;
  color: var(--leaf-dark);
}

.product-meta span {
  color: var(--muted);
  font-weight: 700;
}

.rating {
  color: var(--leaf-dark);
  font-size: 0.84rem;
  font-weight: 850;
}

.product-meta s {
  color: #9aa395;
}

.size-options {
  display: grid;
  gap: 8px;
  color: #3d463b;
  font-size: 0.9rem;
  font-weight: 800;
}

.size-options select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--paper);
}

.add-to-cart {
  min-height: 44px;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.bundle-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--sage);
}

.wellness {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.wellness p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.wellness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wellness-grid button {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--sage);
  text-align: left;
  cursor: pointer;
}

.wellness-grid strong {
  color: var(--leaf-dark);
  font-size: 1.18rem;
}

.wellness-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.bundle-list {
  display: grid;
  gap: 14px;
}

.bundle-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  min-height: 120px;
  padding: 20px;
  border: 1px solid rgba(47, 111, 62, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.bundle-list span {
  color: var(--gold);
  font-weight: 900;
}

.bundle-list strong {
  color: var(--berry);
  white-space: nowrap;
}

.bundle-add {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--leaf);
  font-weight: 800;
  white-space: nowrap;
}

.journey {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journey-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.journey-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--berry);
  font-weight: 900;
}

.journey-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.22rem;
}

.journey-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.quality {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.quality-image {
  min-height: 470px;
  border-radius: 8px;
  background: url("https://images.unsplash.com/photo-1606914469633-bd39206ea739?auto=format&fit=crop&w=1000&q=82") center / cover;
  box-shadow: var(--shadow);
}

.quality-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.quality-copy li {
  padding: 14px 16px;
  border-left: 4px solid var(--leaf);
  background: #fff;
  font-weight: 750;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--leaf-dark);
  background: var(--paper);
  font-weight: 850;
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-links a:hover {
  color: #fff;
  border-color: var(--leaf);
  background: var(--leaf);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #3d463b;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
}

.cart-drawer {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(390px, 100vw);
  height: 100vh;
  padding: 18px;
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: -18px 0 60px rgba(24, 32, 24, 0.16);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header,
.cart-row,
.cart-total,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  font-size: 1.4rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 16px 0;
}

.cart-row {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  justify-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.quantity-control button {
  width: 34px;
  height: 34px;
  border: 0;
  color: var(--ink);
  background: var(--sage);
  cursor: pointer;
  font-weight: 900;
}

.quantity-control span {
  font-weight: 850;
}

.cart-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.empty-cart {
  color: var(--muted);
}

.cart-total {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 1.12rem;
}

.checkout-button {
  min-height: 48px;
  border-radius: 6px;
  color: #fff;
  background: var(--berry);
  font-weight: 850;
}

.checkout-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(24, 32, 24, 0.55);
}

.checkout-overlay.open {
  display: flex;
}

.checkout-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(940px, 100%);
  max-height: min(860px, calc(100vh - 40px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.checkout-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.checkout-top h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  list-style: none;
}

.steps li {
  padding: 14px 16px;
  color: var(--muted);
  background: var(--paper);
  font-weight: 850;
  text-align: center;
}

.steps li.active {
  color: #fff;
  background: var(--leaf);
}

.checkout-form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
}

.checkout-step {
  display: none;
  overflow: auto;
  padding: 24px;
}

.checkout-step.active {
  display: block;
}

.checkout-step h3 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}

.checkout-cart,
.review-details {
  display: grid;
  gap: 12px;
}

.checkout-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.checkout-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.order-summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--sage);
}

.order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.order-summary div:last-child {
  padding-top: 10px;
  border-top: 1px solid rgba(47, 111, 62, 0.2);
  font-size: 1.15rem;
}

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

.form-grid label,
.payment-options label,
.confirm-check {
  color: #3d463b;
  font-weight: 800;
}

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
}

.payment-options {
  display: grid;
  gap: 14px;
}

.payment-options label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.payment-options input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.payment-options small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.review-details > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.review-details p,
.review-details ul {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.confirm-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.button.secondary.dark {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.confirmation {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 32, 24, 0.58);
}

.confirmation-card {
  position: relative;
  width: min(820px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(47, 111, 62, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.confirmation-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.confirmation-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.tracking {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 24px 0;
}

.tracking span {
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--paper);
  font-weight: 800;
  text-align: center;
}

.tracking .done {
  color: #fff;
  border-color: var(--leaf);
  background: var(--leaf);
}

.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer {
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.footer strong {
  color: var(--ink);
}

.login-page {
  min-height: calc(100vh - 112px);
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vw, 72px) 18px;
  background: var(--sage);
}

.login-panel {
  width: min(720px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.login-panel h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.login-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.login-form,
.account-summary {
  display: grid;
  gap: 16px;
}

.account-detail,
.account-order {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.account-detail span,
.account-order span,
.account-order p {
  color: var(--muted);
}

.account-orders {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.account-orders h2 {
  font-size: 1.5rem;
}

#orderList {
  display: grid;
  gap: 12px;
}

.account-order p {
  margin: 0;
  line-height: 1.5;
}

.account-order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.login-form label {
  display: grid;
  gap: 8px;
  color: #3d463b;
  font-weight: 800;
}

.login-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
}

.account-summary {
  padding: 18px;
  border-radius: 8px;
  background: var(--paper);
}

.account-summary span {
  color: var(--muted);
}

.product-page {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.product-page-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  margin-bottom: 34px;
}

.product-page-hero img {
  order: 2;
  height: 360px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.product-page-hero > div {
  order: 1;
}

.product-page-hero p {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px 24px;
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    order: 3;
    width: auto;
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .header-actions {
    min-width: 0;
    margin-left: auto;
  }

  .search-box {
    order: 4;
    width: min(420px, 100%);
  }

  .trust-strip,
  .product-grid,
  .category-grid,
  .journey-grid,
  .bundle-section,
  .wellness,
  .quality,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .bundle-section,
  .quality,
  .contact {
    grid-template-columns: 1fr;
  }

  .bundle-list article {
    grid-template-columns: 40px 1fr;
  }

  .bundle-list strong,
  .bundle-list button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 62px;
    height: 62px;
    border-width: 3px;
    font-size: 0.9rem;
  }

  .brand strong {
    font-size: 1.2rem;
  }

  .brand small {
    display: none;
  }

  .nav {
    gap: 18px;
    font-size: 1rem;
  }

  .header-actions {
    gap: 10px;
  }

  .hero {
    min-height: 680px;
    padding: 28px 18px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 17vw, 4.8rem);
  }

  .trust-strip,
  .product-grid,
  .category-grid,
  .journey-grid,
  .product-page-hero,
  .tracking {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .offer-strip {
    gap: 22px;
    overflow-x: auto;
  }

  .search-box {
    width: 100%;
  }

  .wellness-grid {
    grid-template-columns: 1fr;
  }

  .bundle-list article {
    grid-template-columns: 1fr;
  }

  .bundle-list strong,
  .bundle-list button {
    grid-column: auto;
  }

  .checkout-overlay {
    align-items: stretch;
    padding: 0;
  }

  .checkout-panel {
    max-height: 100vh;
    border-radius: 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-item,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .checkout-actions {
    justify-content: stretch;
  }

  .checkout-actions .button {
    flex: 1;
    padding-inline: 12px;
  }

  .quality-image {
    min-height: 320px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

