:root {
  --green: #1B4332;
  --green-2: #2D6A4F;
  --herbal: #D9ED92;
  --mint: #B7E4C7;
  --gold: #C7A34B;
  --ivory: #FBFAF4;
  --cream: #F2E8D5;
  --ink: #18231F;
  --muted: #68756D;
  --line: rgba(27, 67, 50, 0.14);
  --shadow: 0 24px 70px rgba(27, 67, 50, 0.15);
  --radius: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0;
  animation: pageIn 260ms ease-out forwards;
}

body.nav-open,
body.cart-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

[hidden],
.admin-hidden {
  display: none !important;
}

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

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

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

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.96;
  letter-spacing: 0;
  margin: 0;
}

h1 { font-size: clamp(4.2rem, 9vw, 8.6rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4.5rem); }
h3 { font-size: 1.55rem; }
p { margin: 0; }

.page-shell {
  min-height: 100vh;
  overflow: clip;
}

.site-header {
  position: fixed;
  inset: 18px 22px auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(27, 67, 50, 0.22);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(9, 25, 18, 0.18);
  transition: background 240ms ease, color 240ms ease, transform 240ms ease;
}

.inner-page .site-header,
.site-header.scrolled {
  color: var(--green);
  background: rgba(251, 250, 244, 0.88);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: currentColor;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(9, 25, 18, 0.16);
}

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

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.84;
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(217, 237, 146, 0.24);
  opacity: 1;
  transform: translateY(-1px);
}

.admin-top-nav {
  gap: 10px;
}

.admin-top-link {
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.84;
  cursor: pointer;
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.admin-top-link:hover,
.admin-top-link.active {
  background: rgba(217, 237, 146, 0.24);
  opacity: 1;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.icon-button,
.close-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.inner-page .icon-button,
.site-header.scrolled .icon-button {
  background: rgba(27, 67, 50, 0.08);
}

.icon-button:hover,
.close-button:hover {
  transform: translateY(-2px);
}

.icon {
  font-size: 1.2rem;
}

.cart-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--herbal);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  padding: 130px 6vw 70px;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 19, 13, 0.76), rgba(7, 19, 13, 0.22)),
    url("https://images.unsplash.com/photo-1563911892437-1feda0179e1b?auto=format&fit=crop&w=1800&q=82") center / cover;
  transform: scale(1.04);
  will-change: transform;
}

.hero-overlay {
  z-index: -1;
  background: radial-gradient(circle at 80% 30%, rgba(217, 237, 146, 0.22), transparent 34%);
}

.hero-content {
  max-width: 920px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.about-hero .eyebrow {
  color: var(--herbal);
}

.hero-copy {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(27, 67, 50, 0.2);
}

.button.primary {
  background: var(--herbal);
  color: var(--green);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.hero-panel {
  position: absolute;
  right: 6vw;
  bottom: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 1px;
  width: min(480px, 82vw);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 18px;
}

.hero-panel strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.section {
  padding: 94px 6vw;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.intro-band {
  background: linear-gradient(135deg, #FBFAF4 0%, #EFF6DE 100%);
}

.feature-grid,
.facts-grid,
.testimonial-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.fact-card,
.process-step,
.contact-form,
.business-card,
.filter-panel,
.product-card,
blockquote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 20px 56px rgba(27, 67, 50, 0.08);
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green);
  color: var(--herbal);
}

.feature-card p,
.fact-card p,
.process-step p,
.story-copy p,
.mission-band p,
.page-hero p,
.about-hero p {
  color: var(--muted);
}

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

.product-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  transform-origin: center;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.product-card:hover {
  border-color: rgba(199, 163, 75, 0.42);
  transform: translateY(-7px) scale(1.01);
  box-shadow: var(--shadow);
}

.product-carousel {
  position: relative;
  overflow: hidden;
  background: #eef5de;
}

/* Smooth local-image carousel used by every product card. */
.product-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-track::-webkit-scrollbar {
  display: none;
}

.product-slide {
  flex: 0 0 100%;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: center;
}

.product-slide img,
.product-card > img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 520ms ease, filter 520ms ease;
}

.product-card:hover .product-slide img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.09);
}

.product-carousel-actions {
  position: absolute;
  inset: 50% 8px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.product-carousel-actions span {
  display: none;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(9, 25, 18, 0.2);
  transition: transform 160ms ease, background 160ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--herbal);
  transform: scale(1.08);
}

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

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}

.tag,
.rank-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(217, 237, 146, 0.62);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tag-stack {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag.out {
  background: rgba(199, 163, 75, 0.24);
  color: #5A3B00;
}

.rating {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.product-body h3 {
  margin-bottom: 8px;
}

.product-body p {
  min-height: 52px;
  color: var(--muted);
  font-size: 0.94rem;
}

.pricing-list,
.table-price-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Tiered weight pricing stays compact in cards and tables. */
.pricing-list {
  margin-top: 16px;
}

.pricing-list span,
.table-price-list span {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(27, 67, 50, 0.14);
  border-radius: 999px;
  background: rgba(217, 237, 146, 0.28);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.pricing-list .price-pending,
.table-price-list .price-pending {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
}

.pricing-list em,
.table-price-list em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.price {
  color: var(--green);
  font-size: 1.16rem;
  font-weight: 900;
}

.price-block {
  display: grid;
  gap: 2px;
}

.price-block span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mini-actions {
  display: flex;
  gap: 8px;
}

.mini-button {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.mini-button:hover,
.mini-button.active {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

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

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

.story-strip,
.leaderboard,
.about-hero,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 94px 6vw;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
  padding: 28px 6vw 94px;
}

body.admin-logged-in .admin-layout {
  grid-template-columns: 1fr;
}

body.admin-logged-in .admin-dashboard {
  width: 100%;
}

body.admin-logged-out .admin-layout {
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  min-height: calc(100vh - 160px);
  padding: 148px 6vw 94px;
  background:
    linear-gradient(rgba(251, 250, 244, 0.84), rgba(251, 250, 244, 0.9)),
    url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
  border-radius: var(--radius);
}

body.admin-logged-out .admin-login {
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 60px rgba(27, 67, 50, 0.12);
}

body.admin-logged-out .admin-dashboard {
  display: none !important;
}

body.admin-logged-out .admin-hero {
  display: none;
}

.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-panels {
  display: grid;
  gap: 26px;
}

.admin-portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.admin-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(217, 237, 146, 0.12);
}

.admin-tab {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 44px;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.admin-tab.active {
  background: var(--green);
  color: #fff;
}

.admin-tab-panels {
  display: grid;
}

.admin-portal-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(27, 67, 50, 0.05);
}

.admin-portal-head {
  margin-bottom: 18px;
}

.admin-portal-head .muted-copy {
  margin: 8px 0 0;
}

.muted-copy {
  margin: 10px 0 18px;
  color: var(--muted);
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-search-wrap {
  margin: 20px 0 24px;
}

.admin-search-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--forest);
}

.admin-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 560px);
  padding: 0 18px;
  border: 1px solid rgba(27, 67, 50, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(247, 250, 237, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 16px 34px rgba(27, 67, 50, 0.08);
}

.admin-search-icon {
  flex: 0 0 auto;
  font-size: 1.2rem;
  color: rgba(27, 67, 50, 0.6);
}

.admin-search input {
  width: 100%;
  min-height: 56px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--text);
}

.admin-search input::placeholder {
  color: rgba(72, 86, 80, 0.72);
}

.admin-search:focus-within {
  border-color: rgba(170, 219, 103, 0.95);
  box-shadow: 0 0 0 4px rgba(214, 238, 130, 0.24), 0 18px 38px rgba(27, 67, 50, 0.12);
}

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

.admin-stock-input {
  width: 140px;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.admin-table select,
.admin-table textarea {
  width: 100%;
  min-width: 140px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.admin-table textarea {
  min-width: 260px;
  resize: vertical;
}

.admin-stock-save {
  min-width: 84px;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.admin-stock-save:hover,
.admin-stock-save:focus-visible {
  background: var(--green-2);
  border-color: var(--green-2);
}

.admin-delete {
  min-width: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #c73e3e;
  background: #c73e3e;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.admin-delete:hover,
.admin-delete:focus-visible {
  background: #a62b2b;
  border-color: #a62b2b;
}

.story-strip {
  background: var(--green);
  color: #fff;
}

.story-image {
  min-height: 520px;
  border-radius: var(--radius);
  background: url("https://images.unsplash.com/photo-1556679343-c7306c1976bc?auto=format&fit=crop&w=1100&q=82") center / cover;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.story-copy {
  max-width: 620px;
}

.story-copy p {
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.76);
}

.facts-section {
  background:
    linear-gradient(rgba(251, 250, 244, 0.9), rgba(251, 250, 244, 0.96)),
    url("https://images.unsplash.com/photo-1531969179221-3946e6b5a5e7?auto=format&fit=crop&w=1700&q=80") center / cover fixed;
}

.facts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact-card {
  padding: 26px;
  min-height: 260px;
}

.fact-card span,
.process-step span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
}

.testimonials {
  background: #F7F2E8;
}

blockquote {
  margin: 0;
  padding: 28px;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 600;
}

cite {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  margin-top: 7px;
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 4px rgba(217, 237, 146, 0.45);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 28px;
  padding: 54px 6vw;
  background: #10291E;
  color: rgba(255, 255, 255, 0.78);
}

.developer-credit {
  grid-column: 1 / -1;
  width: 100%;
  margin: 16px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  text-align: center;
  white-space: nowrap;
}

.site-footer .developer-credit a {
  display: inline;
  color: var(--herbal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 7px 0;
}

.footer-brand {
  color: #fff;
  margin-bottom: 14px;
}

.compact-footer {
  display: block;
  text-align: center;
}

.compact-footer .developer-credit {
  margin-top: 10px;
}

.page-hero {
  margin: 120px 6vw 34px;
  min-height: 380px;
  display: grid;
  align-content: end;
  padding: 44px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 37, 26, 0.84), rgba(12, 37, 26, 0.28)),
    url("https://images.unsplash.com/photo-1544787219-7f47ccb76574?auto=format&fit=crop&w=1500&q=82") center / cover;
}

.products-hero { background-image: linear-gradient(90deg, rgba(12, 37, 26, 0.84), rgba(12, 37, 26, 0.28)), url("https://images.unsplash.com/photo-1576092768241-dec231879fc3?auto=format&fit=crop&w=1500&q=82"); }
.top-hero { background-image: linear-gradient(90deg, rgba(12, 37, 26, 0.84), rgba(12, 37, 26, 0.28)), url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1500&q=82"); }
.contact-hero { background-image: linear-gradient(90deg, rgba(12, 37, 26, 0.84), rgba(12, 37, 26, 0.28)), url("https://images.unsplash.com/photo-1506377247377-2a5b3b417ebb?auto=format&fit=crop&w=1500&q=82"); }
.admin-hero { background-image: linear-gradient(90deg, rgba(12, 37, 26, 0.84), rgba(12, 37, 26, 0.28)), url("https://images.unsplash.com/photo-1447933601403-0c6688de566e?auto=format&fit=crop&w=1500&q=82"); }

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(3.1rem, 6vw, 6.4rem);
}

.page-hero p {
  max-width: 660px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 6vw 94px;
}

.filter-panel {
  position: sticky;
  top: 112px;
  align-self: start;
  z-index: 2;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  padding: 22px;
}

.filter-panel h2 {
  margin-bottom: 18px;
  font-size: 2rem;
}

.filter-buttons {
  display: grid;
  gap: 10px;
}

.mobile-filter-label,
.mobile-filter-select {
  display: none;
}

.filter {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.filter:hover,
.filter.active {
  background: var(--green);
  color: #fff;
  transform: translateX(3px);
}

.filter-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.filter-note strong {
  display: block;
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
}

.wishlist-section {
  padding-top: 0;
}

.price-section {
  padding-top: 0;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 56px rgba(27, 67, 50, 0.08);
}

.price-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  color: var(--green);
  background: rgba(217, 237, 146, 0.34);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table td {
  color: var(--muted);
  font-size: 0.94rem;
}

.price-table td strong {
  display: block;
  color: var(--green);
}

.price-table td span {
  display: block;
  max-width: 420px;
  margin-top: 4px;
}

.price-table .table-price-list span {
  margin-top: 0;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.leaderboard {
  padding-top: 28px;
}

.leaderboard > div {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
}

.leaderboard p {
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.78);
}

.leaderboard img,
.about-hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-hero {
  padding-top: 140px;
}

.about-hero h1 {
  color: var(--green);
  font-size: clamp(3rem, 6vw, 5.7rem);
}

.about-hero .eyebrow {
  color: var(--gold);
}

.about-hero p {
  margin-top: 20px;
}

.process-section {
  background: #F7F2E8;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  padding: 26px;
}

.mission-band {
  margin: 94px 6vw;
  padding: 54px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), #315B3F);
  color: #fff;
}

.mission-band p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-layout {
  align-items: stretch;
  padding-top: 28px;
}

.contact-form,
.business-card {
  padding: 28px;
}

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

.contact-form label {
  color: var(--green);
  font-weight: 800;
}

.business-card p {
  display: grid;
  gap: 3px;
  margin: 18px 0;
  color: var(--muted);
}

.business-card strong {
  color: var(--green);
}

.google-map {
  min-height: 280px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #EEF5DE;
}

.google-map iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}

.map-link {
  width: 100%;
  margin-top: 14px;
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  gap: 12px;
  animation: floatingContactIn 520ms ease both;
}

.floating-contact.message-open {
  z-index: 120;
}

.floating-contact__button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(16, 41, 30, 0.24);
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.floating-contact__button:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 42px rgba(16, 41, 30, 0.32);
}

.floating-contact__button--whatsapp {
  background: #F8F3E9;
  color: #25D366;
}

.floating-contact__button--whatsapp img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.floating-contact__button--email {
  position: relative;
  background: linear-gradient(145deg, #F1F8DD, var(--herbal));
  color: var(--green);
  border: 1px solid rgba(27, 67, 50, 0.12);
}

.floating-contact__button--email:hover {
  background: linear-gradient(145deg, #F7FBEA, #D9ED92);
}

.floating-contact__button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  line-height: 1;
}

.floating-contact__button--email span {
  position: relative;
  width: 28px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 5px;
  font-size: 0;
}

.floating-contact__button--email span::before,
.floating-contact__button--email span::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.floating-contact__button--email span::before {
  left: 4px;
  top: 4px;
  width: 16px;
  height: 2px;
  box-shadow: 0 6px 0 currentColor;
}

.floating-contact__button--email span::after {
  right: 3px;
  bottom: -7px;
  width: 10px;
  height: 10px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.floating-message-panel {
  position: absolute;
  right: 0;
  bottom: 144px;
  width: min(440px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(27, 67, 50, 0.14);
  background:
    radial-gradient(circle at 80% 8%, rgba(217, 237, 146, 0.42), transparent 32%),
    linear-gradient(180deg, #FBFEF1 0%, #fff 38%, #fff 100%);
  box-shadow: 0 28px 80px rgba(16, 41, 30, 0.28);
  animation: floatingEmailOpen 320ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
  transform-origin: bottom right;
}

.floating-message-panel__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.floating-message-panel__close:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.28);
}

.floating-message-panel__brand {
  padding: 20px 30px 64px;
  background:
    linear-gradient(135deg, rgba(217, 237, 146, 0.18), transparent 44%),
    var(--green);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0;
}

.floating-message-panel__bubble {
  position: relative;
  margin: -32px 30px 32px;
  padding: 17px 19px;
  border-radius: 8px;
  background: #EEF5DE;
  color: #17231D;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  line-height: 1.45;
  box-shadow: 0 12px 28px rgba(27, 67, 50, 0.1);
}

.floating-message-panel__bubble::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -12px;
  border-width: 12px 14px 0 0;
  border-style: solid;
  border-color: #EEF5DE transparent transparent transparent;
}

.floating-email-form {
  display: grid;
  gap: 22px;
  padding: 0 30px 30px;
}

.floating-email-form label {
  display: grid;
  gap: 9px;
  color: #17231D;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.floating-email-form input,
.floating-email-form textarea {
  width: 100%;
  border: 1px solid rgba(27, 67, 50, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  color: #17231D;
  font-family: Inter, sans-serif;
  font-size: 0.98rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.floating-email-form input {
  height: 48px;
  padding: 0 14px;
}

.floating-email-form textarea {
  min-height: 118px;
  padding: 13px 14px;
  resize: vertical;
}

.floating-email-form input:focus,
.floating-email-form textarea:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 237, 146, 0.34);
}

.floating-email-form__send {
  justify-self: center;
  min-width: 178px;
  min-height: 60px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #315B3F);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.floating-email-form__send:hover {
  transform: translateY(-2px);
  background: #315B3F;
  box-shadow: 0 14px 28px rgba(16, 41, 30, 0.2);
}

@keyframes floatingContactIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatingEmailOpen {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  background: rgba(8, 18, 13, 0);
  transition: background 220ms ease;
}

.cart-open .cart-drawer {
  pointer-events: auto;
  background: rgba(8, 18, 13, 0.48);
}

.cart-panel {
  width: min(430px, 100vw);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--ivory);
  transform: translateX(100%);
  transition: transform 260ms ease;
  box-shadow: -30px 0 70px rgba(0, 0, 0, 0.22);
}

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

.cart-head,
.cart-footer {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(27, 67, 50, 0.08);
  color: var(--green);
  font-size: 1.5rem;
}

.cart-items {
  overflow: auto;
  padding: 12px 22px;
}

.cart-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  object-fit: cover;
}

.cart-row h3 {
  font-size: 1.25rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
}

.qty-control button,
.remove-item {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  cursor: pointer;
}

.qty-control button {
  width: 28px;
  height: 28px;
}

.remove-item {
  width: 34px;
  height: 34px;
}

.cart-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-footer > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 1.15rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 150;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.product-modal[aria-hidden="true"] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 25, 18, 0.62);
  backdrop-filter: blur(10px);
}

.product-modal__panel {
  position: relative;
  width: min(1100px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(251, 250, 244, 0.92);
  box-shadow: var(--shadow);
}

.product-modal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 244, 0.92);
  backdrop-filter: blur(10px);
}

.product-modal__head h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

.product-modal__body {
  padding: 18px;
}

.product-modal__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.product-modal__media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  overflow: hidden;
}

.product-modal__carousel img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.product-modal__info {
  display: grid;
  gap: 14px;
  align-content: start;
}

.product-modal__desc {
  color: var(--muted);
}

.product-modal__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
}

.product-modal__note {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(217, 237, 146, 0.18);
  color: var(--muted);
}

.product-modal__note strong {
  color: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 400ms ease, transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card.reveal {
  transform: none;
  transition: opacity 220ms ease, box-shadow 260ms ease, border-color 260ms ease;
  transition-delay: min(calc(var(--reveal-index, 0) * 35ms), 175ms);
}

.product-card.reveal.visible {
  transform: none;
}

.product-card.reveal.visible:hover {
  transform: translateY(-7px) scale(1.01);
}

.feature-card.reveal,
.fact-card.reveal,
.process-step.reveal {
  transform: translateY(30px) scale(0.96);
}

.feature-card.reveal.visible,
.fact-card.reveal.visible,
.process-step.reveal.visible {
  transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 60ms; }
.delay-2 { transition-delay: 120ms; }
.delay-3 { transition-delay: 180ms; }

.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;
}

@keyframes pageIn {
  to { opacity: 1; }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 82px 22px auto;
    width: min(360px, calc(100vw - 44px));
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(251, 250, 244, 0.96);
    color: var(--green);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  .feature-grid,
  .product-grid,
  .product-grid.compact,
  .facts-grid,
  .testimonial-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    position: static;
    margin-top: 36px;
  }

  .story-strip,
  .leaderboard,
  .about-hero,
  .contact-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .product-modal__grid {
    grid-template-columns: 1fr;
  }

  .product-modal__carousel img {
    height: 420px;
  }

  .admin-image-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .filter-buttons {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  body[data-page] .reveal,
  body[data-page] .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-header {
    inset: 10px 10px auto !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 8px !important;
    padding: 10px !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #fff !important;
  }

  .site-header.scrolled {
    background: rgba(251, 250, 244, 0.94) !important;
    border-color: var(--line) !important;
    box-shadow: 0 8px 24px rgba(9, 25, 18, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: var(--green) !important;
  }

  .site-header.scrolled .nav-toggle {
    background: rgba(27, 67, 50, 0.08) !important;
  }

  .site-nav {
    inset: 70px 10px auto;
  }

  .brand-mark,
  .brand-logo,
  .icon-button,
  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    flex-basis: 38px;
  }

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

  .brand small {
    display: none;
  }

  .brand {
    min-width: 0;
    overflow: hidden;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions {
    gap: 4px;
  }

  .hero {
    min-height: calc(100vh - 74px) !important;
    align-items: center !important;
    padding: 100px 22px 52px !important;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .section,
  .story-strip,
  .leaderboard,
  .about-hero,
  .contact-layout,
  .admin-layout {
    padding: 66px 22px;
  }

  .page-hero {
    margin: 98px 22px 24px;
    min-height: 340px;
    padding: 28px;
  }

  body.admin-logged-out .admin-layout {
    min-height: auto;
    padding: 72px 22px 48px;
  }

  .page-hero h1 {
    max-width: 100%;
  }

  .shop-layout {
    padding: 20px 22px 66px;
  }

  .products-page .shop-layout {
    gap: 18px;
  }

  .products-page .filter-buttons {
    display: none;
  }

  .products-page .mobile-filter-select {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 0 46px 0 16px;
    border: 1px solid rgba(27, 67, 50, 0.18);
    border-radius: 14px;
    outline: 0;
    background: #fff;
    color: var(--green);
    font-weight: 800;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
    background-position: calc(100% - 21px) 22px, calc(100% - 15px) 22px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
  }

  .products-page .mobile-filter-select:focus {
    border-color: var(--green-2);
    box-shadow: 0 0 0 4px rgba(217, 237, 146, 0.35);
  }

  .products-page .product-grid,
  .products-page .product-grid.compact,
  body[data-page="home"] .product-grid.compact,
  body[data-page="top"] .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .products-page .product-card,
  body[data-page="home"] .product-grid.compact .product-card,
  body[data-page="top"] .product-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr !important;
    min-height: auto !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff;
    border-radius: 12px !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.04) !important;
    padding: 14px 12px 12px !important;
  }

  .products-page .product-carousel,
  .products-page .product-track,
  .products-page .product-slide,
  body[data-page="home"] .product-grid.compact .product-carousel,
  body[data-page="home"] .product-grid.compact .product-track,
  body[data-page="home"] .product-grid.compact .product-slide,
  body[data-page="top"] .product-carousel,
  body[data-page="top"] .product-track,
  body[data-page="top"] .product-slide {
    height: 160px !important;
    min-height: 160px !important;
    border-radius: 12px 12px 0 0 !important;
  }

  .products-page .product-slide img,
  body[data-page="home"] .product-grid.compact .product-slide img,
  body[data-page="top"] .product-slide img {
    height: 160px !important;
    object-fit: contain !important;
    padding: 10px !important;
  }

  .products-page .product-body,
  body[data-page="home"] .product-grid.compact .product-body,
  body[data-page="top"] .product-body {
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    min-width: 0 !important;
  }

  .products-page .product-body p,
  body[data-page="home"] .product-grid.compact .product-body p,
  body[data-page="top"] .product-body p {
    display: none !important;
  }

  .products-page .tag-stack,
  body[data-page="home"] .product-grid.compact .tag-stack,
  body[data-page="top"] .tag-stack {
    display: inline-flex !important;
    gap: 4px !important;
  }

  .products-page .tag-stack .tag:not(.out),
  body[data-page="home"] .product-grid.compact .tag-stack .tag:not(.out),
  body[data-page="top"] .tag-stack .tag:not(.out),
  .products-page .tag-stack .rank-pill,
  body[data-page="home"] .product-grid.compact .tag-stack .rank-pill,
  body[data-page="top"] .tag-stack .rank-pill {
    display: none !important;
  }

  .products-page .tag-stack .tag.out,
  body[data-page="home"] .product-grid.compact .tag-stack .tag.out,
  body[data-page="top"] .tag-stack .tag.out {
    min-height: 20px !important;
    padding: 2px 6px !important;
    font-size: 0.65rem !important;
  }

  .products-page .product-body h3,
  body[data-page="home"] .product-grid.compact .product-body h3,
  body[data-page="top"] .product-body h3 {
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 2.5em !important;
  }

  .products-page .product-meta,
  body[data-page="home"] .product-grid.compact .product-meta,
  body[data-page="top"] .product-meta {
    margin-bottom: 6px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .products-page .rating,
  body[data-page="home"] .product-grid.compact .rating,
  body[data-page="top"] .rating {
    font-size: 0.8rem !important;
    margin-left: auto !important;
  }

  .products-page .product-foot,
  body[data-page="home"] .product-grid.compact .product-foot,
  body[data-page="top"] .product-foot {
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px dashed var(--line) !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .products-page .price-block,
  body[data-page="home"] .product-grid.compact .price-block,
  body[data-page="top"] .price-block {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
  }

  .products-page .price,
  body[data-page="home"] .product-grid.compact .price,
  body[data-page="top"] .price {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--green) !important;
  }

  .products-page .price-block span,
  body[data-page="home"] .product-grid.compact .price-block span,
  body[data-page="top"] .price-block span {
    font-size: 0.72rem !important;
    color: var(--muted) !important;
  }

  .products-page .mini-actions,
  body[data-page="home"] .product-grid.compact .mini-actions,
  body[data-page="top"] .mini-actions {
    display: flex !important;
    gap: 6px !important;
    width: auto !important;
    flex: 0 0 auto !important;
    align-items: center !important;
  }

  .products-page .mini-button,
  body[data-page="home"] .product-grid.compact .mini-button,
  body[data-page="top"] .mini-button {
    height: 36px !important;
    width: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
    border: 1px solid var(--line) !important;
    background: transparent !important;
    color: var(--green) !important;
    cursor: pointer !important;
  }

  .products-page .mini-button.active,
  body[data-page="home"] .product-grid.compact .mini-button.active,
  body[data-page="top"] .mini-button.active {
    background: #ffe3e3 !important;
    border-color: #ffb3b3 !important;
    color: #ff4d4d !important;
  }

  .products-page .mini-button[data-add-cart],
  body[data-page="home"] .product-grid.compact .mini-button[data-add-cart],
  body[data-page="top"] .mini-button[data-add-cart] {
    background: var(--green) !important;
    border-color: var(--green) !important;
    color: #fff !important;
  }



  .products-page .pricing-list,
  body[data-page="home"] .product-grid.compact .pricing-list,
  body[data-page="top"] .pricing-list {
    display: none !important;
  }

  .feature-grid,
  .facts-grid,
  .testimonial-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-foot {
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .product-meta,
  .product-modal__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-table th,
  .price-table td {
    padding: 14px;
  }

  .story-image,
  .leaderboard img,
  .about-hero img {
    min-height: 0;
    height: 360px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 44px 22px;
  }

  .mission-band {
    margin: 66px 22px;
    padding: 30px;
  }

  .contact-form,
  .business-card,
  .admin-portal-card {
    padding: 22px;
  }

  .admin-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 22px;
  }

  .admin-tab {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .admin-stock-input,
  .admin-table select,
  .admin-table textarea {
    min-width: 0;
    width: 100%;
  }

  .admin-dashboard,
  .admin-portal-card {
    min-width: 0;
  }

  .admin-portal-card {
    padding: 16px;
  }

  .admin-search {
    width: 100%;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody {
    display: grid;
    gap: 12px;
  }

  .admin-table tr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0 14px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .admin-table td {
    display: grid;
    grid-template-columns: minmax(66px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .admin-table td:first-child > strong,
  .admin-table td:first-child > span {
    grid-column: 2;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .admin-table td:last-child,
  .admin-table td:nth-child(7) {
    grid-column: 1 / -1;
  }

  .admin-table td:last-child {
    border-bottom: 0;
  }

  .admin-table td:last-child::before {
    align-self: start;
  }

  .admin-table td[colspan] {
    display: block;
    grid-column: 1 / -1;
  }

  .admin-table td[colspan]::before {
    display: none;
  }

  .admin-table td input,
  .admin-table td select,
  .admin-table td textarea {
    min-width: 0;
    width: 100%;
  }

  .admin-table td textarea {
    min-height: 84px;
  }

  .admin-table td .admin-stock-save,
  .admin-table td .admin-delete {
    margin: 0 6px 6px 0;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-contact__button {
    width: 52px;
    height: 52px;
  }

  .floating-message-panel {
    right: -2px;
    bottom: 124px;
    width: calc(100vw - 28px);
  }

  .floating-message-panel__brand {
    padding: 16px 22px 56px;
    font-size: 1.65rem;
  }

  .floating-message-panel__bubble {
    margin: -28px 20px 26px;
    font-size: 1.1rem;
  }

  .floating-email-form {
    gap: 20px;
    padding: 0 20px 24px;
  }

  .floating-email-form input {
    height: 46px;
  }

  .floating-email-form textarea {
    min-height: 106px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .site-header {
    inset: 8px 8px auto;
    gap: 6px;
    padding: 8px;
  }

  .site-nav {
    inset: 66px 8px auto;
    width: calc(100vw - 16px);
  }

  .hero {
    padding: 128px 16px 40px;
  }

  .hero-actions,
  .product-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .product-modal__actions .button {
    width: 100%;
  }

  .section,
  .story-strip,
  .leaderboard,
  .about-hero,
  .contact-layout,
  .admin-layout,
  .shop-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-hero {
    margin: 88px 16px 20px;
    min-height: 300px;
    padding: 22px 18px;
  }

  .products-page .page-hero {
    min-height: 220px;
    margin-top: 78px;
  }

  .filter-buttons {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .filter {
    flex: 0 0 auto;
    width: auto;
    scroll-snap-align: start;
  }

  .product-body {
    padding: 16px;
  }

  .product-body p {
    min-height: 0;
  }

  .pricing-list span,
  .table-price-list span {
    width: 100%;
    justify-content: space-between;
  }

  .leaderboard > div,
  .mission-band {
    padding: 22px;
  }

  .story-image,
  .leaderboard img,
  .about-hero img,
  .product-modal__carousel img {
    height: 280px;
  }

  .cart-head,
  .cart-footer,
  .cart-items {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cart-row {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .cart-row img {
    width: 60px;
    height: 60px;
  }

  .cart-row h3 {
    font-size: 1.05rem;
  }

  .product-modal__panel {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
    margin: 6px auto;
  }

  .product-modal__head,
  .product-modal__body {
    padding: 14px;
  }

  .product-modal__head {
    gap: 10px;
  }

  .product-modal__note {
    padding: 12px;
  }

  .floating-message-panel {
    right: 0;
    bottom: 116px;
    width: min(100vw - 16px, 360px);
  }
}

@media (max-width: 420px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .site-header .brand > span:last-child {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .nav-toggle {
    order: 0;
  }

  .site-nav {
    inset: 66px 8px auto;
  }

  .page-hero {
    margin-top: 126px;
  }

  .hero-panel div {
    padding: 14px;
  }

  .hero-panel strong {
    font-size: 1.7rem;
  }

  .admin-tabs {
    grid-template-columns: 1fr;
  }

  .price-table {
    min-width: 680px;
  }

  .admin-table {
    min-width: 0;
  }



  .floating-contact__button {
    width: 48px;
    height: 48px;
  }

  .floating-contact__button--whatsapp img {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 720px) {
  @supports (animation-timeline: view()) {
    @keyframes mobileCartButtonReveal {
      from {
        opacity: 0.35;
        transform: translateY(10px) translateZ(0);
      }
      to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
      }
    }

  }
}

@media (max-width: 720px) {
  body[data-page="products"],
  body[data-page="about"],
  body[data-page="top"] {
    background:
      radial-gradient(circle at 92% 4%, rgba(183, 228, 199, 0.5), transparent 28%),
      radial-gradient(circle at 6% 34%, rgba(217, 237, 146, 0.2), transparent 25%),
      linear-gradient(180deg, #f8faf1 0%, var(--ivory) 48%, #eef5de 100%);
  }

  body[data-page="products"] .page-hero,
  body[data-page="top"] .page-hero {
    min-height: 320px;
    margin: 88px 16px 18px;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 20px 46px rgba(27, 67, 50, 0.16);
  }

  body[data-page="products"] .page-hero h1,
  body[data-page="top"] .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 12vw, 4.2rem);
    line-height: 0.95;
  }

  body[data-page="products"] .page-hero p,
  body[data-page="top"] .page-hero p {
    max-width: 100%;
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  body[data-page="products"] .shop-layout {
    padding-top: 14px;
  }

  body[data-page="products"] .filter-panel {
    padding: 22px 16px;
    border-color: rgba(27, 67, 50, 0.16);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 36px rgba(27, 67, 50, 0.1);
  }

  body[data-page="products"] .filter-panel h2 {
    font-size: 2.2rem;
  }

  body[data-page="about"] .about-hero {
    gap: 18px;
    padding: 96px 16px 34px;
  }

  body[data-page="about"] .about-hero img {
    height: 240px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(27, 67, 50, 0.16);
  }

  body[data-page="about"] .about-hero > div {
    padding: 22px 18px;
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 36px rgba(27, 67, 50, 0.08);
  }

  body[data-page="about"] .about-hero h1 {
    font-size: clamp(2.65rem, 12vw, 4.2rem);
    line-height: 0.98;
  }

  body[data-page="about"] .about-hero p {
    margin-top: 14px;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  body[data-page="about"] .process-section {
    background: linear-gradient(180deg, rgba(247, 242, 232, 0.78), rgba(238, 245, 222, 0.82));
  }

  body[data-page="about"] .process-step {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
  }

  body[data-page="top"] .leaderboard {
    gap: 16px;
    padding: 20px 16px 36px;
  }

  body[data-page="top"] .leaderboard > div {
    padding: 24px 20px;
    border-radius: 18px;
    background: linear-gradient(145deg, #1b513d, #10291e);
    box-shadow: 0 18px 38px rgba(27, 67, 50, 0.16);
  }

  body[data-page="top"] .leaderboard h2 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  body[data-page="top"] .leaderboard img {
    height: 230px;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(27, 67, 50, 0.14);
  }

  body[data-page="top"] main > .section {
    padding-top: 38px;
  }

  body[data-page="top"] .product-grid {
    gap: 16px;
  }

  body[data-page="top"] .product-card {
    min-height: 0;
    background: rgba(255, 255, 255, 0.82);
  }

  body[data-page="top"] .product-carousel,
  body[data-page="top"] .product-track,
  body[data-page="top"] .product-slide {
    height: 220px;
    min-height: 220px;
  }

  body[data-page="top"] .product-slide img {
    height: 220px;
    aspect-ratio: auto;
    object-fit: cover;
    transform: none;
  }

  body[data-page="top"] .product-body {
    padding: 16px;
  }

  body[data-page="top"] .product-body h3 {
    font-size: 1.65rem;
  }

  body[data-page="top"] .product-body p {
    display: -webkit-box;
    min-height: 0;
    overflow: hidden;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 720px) {
  body.products-page .product-carousel-actions {
    display: none;
  }
}

/* Bottom Navigation Bar for Mobile */
.mobile-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(251, 250, 244, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(9, 25, 18, 0.06);
  display: none;
  z-index: 95;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 720px) {
  .mobile-nav-bar {
    display: flex;
  }
  
  body {
    padding-bottom: 74px !important;
  }

  .toast {
    bottom: 80px !important;
  }

  .header-actions {
    display: none !important;
  }

  .floating-contact {
    bottom: 78px !important;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  gap: 3px;
  background: none;
  border: none;
  padding: 8px 12px;
  min-width: 58px;
  transition: color 200ms ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--muted);
  transition: stroke 200ms ease, transform 200ms ease;
}

.mobile-nav-item.active {
  color: var(--green);
}

.mobile-nav-item.active svg {
  stroke: var(--green);
  transform: translateY(-1px);
}

.mobile-nav-item .icon-wrap {
  position: relative;
  display: inline-flex;
}

.mobile-nav-item .count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 99px;
  min-width: 14px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(199, 163, 75, 0.3);
}
