@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");

:root {
  --green-950: #063a1e;
  --green-900: #0b5a2f;
  --green-800: #10713b;
  --green-700: #168447;
  --green-100: #eaffcf;
  --cream: #fff7df;
  --white: #ffffff;
  --ink: #102217;
  --muted: rgba(255, 255, 255, 0.76);
  --glass: rgba(255, 255, 255, 0.16);
  --glass-strong: rgba(255, 255, 255, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 30% 20%, rgba(122, 210, 139, 0.22), transparent 28rem),
    linear-gradient(135deg, #0d7a40 0%, #2d9c59 48%, #0d6a38 100%);
  font-family: "Sora", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.overflow-hidden {
  overflow: hidden;
}

html.product-detail-scroll {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body.themed-product-page {
  background:
    radial-gradient(circle at 50% 38%, var(--page-glow) 0%, var(--page-deep) 100%);
}

body.themed-product-page .site-header {
  color: var(--ink);
  max-width: 1180px;
}

body.themed-product-page .main-nav a.active {
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--white);
}

body.themed-product-page .product-detail {
  max-width: none;
  padding: 0;
}

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

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

.site-header {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 15rem 1fr 15rem;
  margin: 0 auto;
  max-width: 1180px;
  padding: 1.2rem 1.25rem 0.8rem;
}

.brand img {
  display: block;
  height: 3.3rem;
  object-fit: contain;
  width: 10.5rem;
}

.main-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  display: flex;
  justify-self: center;
  padding: 0.28rem;
}

.main-nav a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.54rem 1.25rem;
}

.main-nav a.active {
  background: var(--green-800);
  color: var(--white);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
}

.icon-button,
.cart-trigger {
  overflow: visible;
}

.cart-trigger .cart-icon {
  left: 50%;
  position: absolute;
  top: 50%;
}

.cart-trigger .cart-icon {
  transform: translate(-50%, -50%);
}

.cart-trigger {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 2.65rem;
  justify-content: center;
  position: relative;
  width: 2.65rem;
}

.cart-count {
  align-items: center;
  background: var(--green-800);
  border-radius: 999px;
  color: var(--white);
  display: flex;
  font-size: 0.66rem;
  font-weight: 800;
  height: 1rem;
  justify-content: center;
  min-width: 1rem;
  padding: 0 0.22rem;
  position: absolute;
  right: -0.12rem;
  top: -0.12rem;
}

.icon-button svg {
  display: block;
  fill: none;
  height: 1.55rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 1.55rem;
}

.cart-icon {
  display: block;
  height: 1.75rem;
  object-fit: contain;
  width: 1.75rem;
}

.shop-button,
.primary-link,
.checkout-button {
  background: var(--white);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  justify-content: center;
  padding: 0.75rem 1.45rem;
}

.home-hero,
.products-shell,
.product-detail {
  margin: 0 auto;
  max-width: 1240px;
  padding: 1rem 1.25rem 5rem;
}

.products-shell {
  padding-bottom: 6rem;
}

.home-hero {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  min-height: calc(100vh - 7rem);
}

.eyebrow {
  color: var(--green-100);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-copy h1,
.products-intro h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 800;
  line-height: 0.92;
  margin-bottom: 1rem;
}

.hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 36rem;
}

.hero-product {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 34rem;
  position: relative;
  width: 100%;
}

.feature-card,
.product-card {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)),
    var(--card-accent, rgba(255, 255, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2.2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.feature-card {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  min-height: 33rem;
  padding: 1rem;
}

.feature-card img,
.product-card img {
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.18));
  height: 18rem;
  margin: 0 auto;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.feature-model {
  display: block;
  filter: drop-shadow(0 2.2rem 2.4rem rgba(0, 0, 0, 0.22));
  height: min(34rem, 64vh);
  margin: 0 auto;
  max-width: min(100%, 40rem);
  width: 100%;
  --poster-color: transparent;
}

.model-launcher {
  align-items: center;
  display: grid;
  justify-items: center;
  position: relative;
}

.feature-model-launcher img {
  filter: drop-shadow(0 2.2rem 2.4rem rgba(0, 0, 0, 0.22));
  height: min(28rem, 54vh);
  object-fit: contain;
  width: min(100%, 34rem);
}

.load-model-button {
  background: #102217;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  bottom: clamp(1.5rem, 8vh, 4.5rem);
  box-shadow: 0 0.8rem 2rem rgba(6, 58, 30, 0.18);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  left: 50%;
  padding: 0.72rem 1.1rem;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.category-card-model-launcher {
  min-height: clamp(9.4rem, 13vw, 11.4rem);
  width: min(100%, 11.4rem);
}

.category-card-model-launcher .load-model-button {
  bottom: auto;
  font-size: 0.72rem;
  left: 50%;
  padding: 0.58rem 0.9rem;
  position: relative;
}

.model-disclaimer {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(6, 58, 30, 0.12);
  border-radius: 999px;
  bottom: clamp(1.5rem, 8vh, 4.5rem);
  box-shadow: 0 0.8rem 2rem rgba(6, 58, 30, 0.14);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  left: 50%;
  padding: 0.68rem 1rem;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.mobile-hint {
  display: none;
}

.feature-card-body,
.product-card-body {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
}

.feature-card h2,
.product-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.4rem;
}

.price {
  font-size: 1.05rem;
  font-weight: 900;
}

.add-button {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(6, 58, 30, 0.2);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.7rem 1rem;
  white-space: nowrap;
}

.category-section {
  margin: -1.5rem auto 4rem;
  max-width: 1240px;
  padding: 0 1.25rem;
}

.category-section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.category-section-header h2 {
  color: #000;
  font-size: clamp(2.6rem, 5.4vw, 3.65rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.category-section-header p {
  color: rgba(0, 0, 0, 0.72);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 42rem;
}

.category-band {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(4, 1fr);
}

.category-label-card {
  background: var(--white);
  border: 2px solid #000;
  border-radius: 0.75rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  color: #000;
  display: flex;
  flex-direction: column;
  min-height: 31.25rem;
  padding: clamp(1rem, 1.7vw, 1.45rem);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.category-label-card:hover {
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-0.18rem);
}

.category-card-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.label-header {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.receipt-text {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.75rem, 0.9vw, 0.95rem);
  font-weight: 700;
}

.divider-thick {
  border-bottom: 0.75rem solid #000;
  margin-bottom: 0.75rem;
}

.divider-medium {
  border-bottom: 0.32rem solid #000;
  margin: 0.75rem 0;
}

.divider-thin {
  border-bottom: 1.5px solid #000;
  margin: 0.5rem 0;
}

.label-row {
  align-items: flex-end;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.2rem 0;
}

.label-row span:first-child {
  overflow-wrap: anywhere;
}

.label-bold {
  font-size: clamp(0.82rem, 1vw, 1.1rem);
  font-weight: 900;
}

.label-bottom-divider {
  margin-top: 1rem;
}

.card-footer {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-top: auto;
  min-height: 10.5rem;
  overflow: hidden;
  padding: 1.25rem 0 0.25rem;
  position: relative;
}

.placeholder-3d {
  align-items: center;
  background: radial-gradient(circle, #ffffff 0%, #ececec 100%);
  border: 1px dashed #aaa;
  border-radius: 50%;
  color: #666;
  display: flex;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8rem;
  height: 7.5rem;
  justify-content: center;
  line-height: 1.25;
  padding: 0.8rem;
  text-align: center;
  width: 7.5rem;
}

.category-card-model {
  display: block;
  height: clamp(9.4rem, 13vw, 11.4rem);
  touch-action: none;
  width: min(100%, 11.4rem);
  --poster-color: transparent;
}

.products-intro {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr minmax(18rem, 34rem);
  margin-bottom: 1.5rem;
}

.products-intro h1 {
  margin: 0;
}

.search-wrap {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(6, 58, 30, 0);
  color: rgba(16, 34, 23, 0.62);
  display: flex;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.search-wrap:focus-within {
  background: #ffffff;
  border-color: rgba(20, 83, 53, 0.58);
  box-shadow:
    0 0 0 4px rgba(190, 244, 200, 0.44),
    0 12px 28px rgba(7, 42, 22, 0.14);
  color: #145335;
}

.search-wrap input {
  background: transparent;
  border: 0;
  color: var(--ink);
  min-width: 0;
  outline: 0;
  width: 100%;
}

.catalog-layout {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 1.75rem;
  box-shadow: 0 2rem 5rem rgba(4, 48, 25, 0.16);
  display: grid;
  gap: 2rem;
  grid-template-columns: 14.5rem minmax(0, 1fr);
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.filter-panel {
  align-self: start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.35rem;
  padding: 1rem;
  position: sticky;
  top: 1rem;
}

.filter-title {
  background: var(--green-100);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding: 0.7rem 1rem;
}

.category-options {
  display: grid;
  gap: 0.55rem;
}

.filter-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.8rem;
  color: var(--white);
  cursor: pointer;
  display: flex;
  gap: 0.55rem;
  line-height: 1.25;
  padding: 0.65rem 0.7rem;
  text-align: left;
}

.filter-option.active {
  background: rgba(255, 255, 255, 0.18);
}

.filter-box {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.18rem;
  flex: 0 0 auto;
  height: 0.72rem;
  width: 0.72rem;
}

.filter-option.active .filter-box {
  background: var(--green-100);
  box-shadow: inset 0 0 0 2px var(--green-800);
}

.catalog-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.catalog-toolbar p {
  color: var(--muted);
  margin: 0;
}

.sort-dropdown {
  position: relative;
  width: 11.25rem;
  z-index: 8;
}

.sort-trigger {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(7, 42, 22, 0.12);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 800;
  justify-content: space-between;
  min-height: 3.05rem;
  padding: 0.72rem 1.05rem 0.72rem 1.25rem;
  width: 100%;
}

.sort-trigger svg {
  flex: 0 0 auto;
  height: 1.1rem;
  transition: transform 0.28s ease;
  width: 1.1rem;
}

.sort-dropdown.is-open .sort-trigger svg {
  transform: rotate(180deg);
}

.sort-menu {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 1rem;
  box-shadow: 0 18px 42px rgba(7, 42, 22, 0.16);
  left: 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0.45rem 0;
  position: absolute;
  top: calc(100% + 0.5rem);
  transform: translateY(-0.5rem);
  visibility: hidden;
  width: 100%;
}

.sort-dropdown.is-open .sort-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.sort-item {
  color: rgba(16, 35, 23, 0.76);
  cursor: pointer;
  font-weight: 700;
  padding: 0.68rem 1.25rem;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.sort-item:hover,
.sort-item.active {
  background: rgba(47, 142, 82, 0.1);
  color: #145335;
}

.product-grid {
  display: grid;
  gap: clamp(1.4rem, 2.2vw, 2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  aspect-ratio: 1 / 1.38;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 1.55rem;
  box-shadow: 0 18px 46px rgba(7, 42, 22, 0.18);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.9rem;
  min-height: 0;
  overflow: hidden;
  padding: 1.15rem;
  position: relative;
}

.product-card::before {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.28), transparent 42%),
    radial-gradient(circle at 48% 30%, rgba(255, 255, 255, 0.16), transparent 10rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.product-card::after {
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.28), transparent 68%);
  bottom: 7.45rem;
  content: "";
  filter: blur(0.25rem);
  height: 1.5rem;
  left: 18%;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  right: 18%;
  transform: perspective(12rem) rotateX(58deg);
  z-index: 0;
}

.product-card > a {
  display: grid;
  gap: 0.95rem;
  grid-template-rows: minmax(0, 1fr) minmax(2.6rem, auto);
  min-width: 0;
  position: relative;
  z-index: 1;
}

.product-card img {
  align-self: center;
  filter:
    drop-shadow(0 1.3rem 1.4rem rgba(0, 0, 0, 0.22))
    drop-shadow(0 0.25rem 0.25rem rgba(255, 255, 255, 0.28));
  height: clamp(8.4rem, 12vw, 11.6rem);
  object-position: center;
  transform: translateY(0);
  transition: transform 180ms ease;
  width: 100%;
}

.product-card:hover img {
  transform: translateY(-0.15rem) scale(1.02);
}

.product-meta {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.product-card-actions {
  display: flex;
  justify-content: stretch;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.product-card h3 {
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0;
  max-width: 100%;
  min-height: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 0.08rem 0.35rem rgba(0, 0, 0, 0.18);
}

.product-card .price {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1;
}

.product-card .add-button {
  background: rgba(255, 255, 255, 0.93);
  border-color: rgba(6, 58, 30, 0.2);
  font-size: 0.82rem;
  min-height: 2.45rem;
  padding: 0.68rem 1rem;
  width: 100%;
}

.missing-image {
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  font-weight: 800;
  height: 15rem;
  justify-content: center;
  text-align: center;
}

.detail-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr);
}

.product-stage {
  background:
    radial-gradient(circle at 50% 44%, var(--stage-glow), transparent 18rem),
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.15), transparent 16rem),
    transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--stage-ink);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 5.9rem);
  overflow: visible;
  padding: 1.45rem 0 8.25rem;
  position: sticky;
  scroll-snap-align: none;
  top: 0;
  z-index: 1;
}

.product-stage::before {
  background:
    radial-gradient(ellipse at center, transparent 34%, rgba(255, 255, 255, 0.12) 35%, transparent 36%),
    radial-gradient(ellipse at center, transparent 48%, rgba(255, 255, 255, 0.1) 49%, transparent 50%);
  border-radius: 50%;
  content: "";
  height: 31rem;
  left: 50%;
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
  top: 8rem;
  transform: translateX(-50%) rotate(-18deg);
  width: 31rem;
}

.product-stage::after {
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25), transparent 65%);
  bottom: 7.6rem;
  content: "";
  filter: blur(0.35rem);
  height: 2.6rem;
  left: 37%;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
  right: 37%;
}

.stage-nav,
.stage-layout,
.stage-bottom {
  position: relative;
  z-index: 1;
}

.stage-nav {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.stage-nav > a {
  font-size: 0.78rem;
  font-weight: 700;
}

.stage-pills {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.stage-pills span {
  align-items: center;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  min-height: 1.7rem;
  padding: 0.35rem 0.72rem;
}

.stage-layout {
  align-items: center;
  display: grid;
  gap: clamp(2.25rem, 4vw, 4.5rem);
  grid-template-columns: minmax(15rem, 0.82fr) minmax(20rem, 0.95fr) minmax(14rem, 0.82fr);
  min-height: 27.5rem;
}

.stage-copy h1 {
  font-size: clamp(2.45rem, 3.8vw, 3.65rem);
  font-weight: 800;
  line-height: 0.98;
  margin-bottom: 1.35rem;
  max-width: 20rem;
}

.product-ashwagandha-capsules .stage-copy h1 {
  font-size: clamp(2.15rem, 3.35vw, 3.2rem);
  max-width: 22rem;
}

.product-ashwagandha-capsules .stage-layout {
  grid-template-columns: minmax(16rem, 0.95fr) minmax(20rem, 0.9fr) minmax(14rem, 0.86fr);
}

.product-ashwagandha-capsules .stage-product img {
  height: min(28rem, 52vh);
}

.stage-kicker,
.stage-copy p {
  font-size: 0.9rem;
  font-weight: 700;
}

.stage-product {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 27rem;
  position: relative;
}

.stage-product img {
  filter: drop-shadow(0 2.2rem 2rem rgba(0, 0, 0, 0.22));
  height: min(30rem, 56vh);
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.stage-notes {
  align-self: center;
  display: grid;
  gap: 1.6rem;
  justify-items: end;
}

.certification-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-items: end;
  justify-content: end;
  max-width: 22rem;
}

.certification-tags span {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 1rem;
  box-shadow: 0 0.8rem 2rem rgba(111, 73, 0, 0.12);
  color: var(--stage-ink);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.6rem;
  min-height: 3.35rem;
  padding: 0.48rem 0.9rem 0.48rem 0.48rem;
}

.certification-tags strong,
.certification-tags img {
  align-items: center;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 2.25rem;
  justify-content: center;
  line-height: 1;
  object-fit: cover;
  width: 2.25rem;
}

.certification-tags .halal-mark {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.certification-tags img {
  background: transparent;
}

.details-certification-tags {
  display: none;
}

.stage-notes a {
  font-size: 0.75rem;
  font-weight: 700;
}

.stage-bottom {
  align-items: end;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(12rem, 1fr) auto minmax(16rem, 1fr);
  margin-top: 0.4rem;
}

.stage-bottom p {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  max-width: 24rem;
}

.stage-bottom > strong {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.stage-buy {
  align-items: center;
  display: flex;
  gap: 1.3rem;
  justify-content: end;
}

.stage-buy .quantity-control {
  background: transparent;
  color: var(--stage-ink);
}

.stage-buy .quantity-control button {
  background: rgba(255, 255, 255, 0.2);
  color: var(--stage-ink);
}

.stage-cart-button {
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 999px;
  color: var(--stage-ink);
  cursor: pointer;
  font-weight: 800;
  padding: 0.82rem 1.55rem;
}

.stage-cart-button {
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.scroll-details-cue {
  align-items: center;
  bottom: 2.1rem;
  color: rgba(22, 17, 10, 0.72);
  display: none;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.7rem;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  z-index: 4;
}

.scroll-details-cue strong {
  align-items: center;
  animation: bounceDown 1.2s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  display: inline-flex;
  font-size: 1.2rem;
  height: 2.1rem;
  justify-content: center;
  width: 2.1rem;
}

.more-details-sheet {
  animation: detailSheetRise 720ms ease both;
  background:
    linear-gradient(145deg, #ffffff, #eef6f1);
  border: 1px solid #ffffff;
  border-radius: 2rem 2rem 0 0;
  box-shadow: 0 -1.6rem 4.8rem rgba(0, 0, 0, 0.2);
  color: var(--ink);
  margin: -3rem 0 0;
  max-width: none;
  min-height: calc(100vh + 3rem);
  padding: 1rem 0 4rem;
  position: relative;
  scroll-margin-top: 1.5rem;
  scroll-snap-align: start;
  width: 100%;
  z-index: 4;
}

.sheet-inner {
  margin: 0 auto;
  max-width: 1420px;
  padding: 0 clamp(1.8rem, 5vw, 5rem);
}

.sheet-handle {
  background: rgba(16, 34, 23, 0.18);
  border-radius: 999px;
  height: 0.35rem;
  margin: 0 auto 1.2rem;
  width: 4.5rem;
}

.sheet-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.sheet-head .eyebrow {
  color: rgba(16, 34, 23, 0.56);
}

.sheet-head h2 {
  font-size: clamp(2.35rem, 4vw, 3.45rem);
  line-height: 1;
  margin: 0;
}

.sheet-intro {
  color: rgba(16, 34, 23, 0.72);
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 1.75rem;
  max-width: 76rem;
}

@keyframes detailSheetRise {
  from {
    opacity: 0;
    transform: translateY(2.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(0.45rem);
  }
}

@keyframes bounceUp {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.35rem);
  }
}

.detail-showcase {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    var(--card-accent);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2.4rem;
  box-shadow: var(--shadow);
  min-height: 39rem;
  overflow: hidden;
  padding: 1.2rem;
  position: relative;
}

.detail-showcase::before {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.24), transparent 12rem),
    linear-gradient(130deg, rgba(255, 255, 255, 0.2), transparent 48%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.detail-showcase > img {
  display: block;
  filter: drop-shadow(0 34px 38px rgba(0, 0, 0, 0.2));
  height: 27rem;
  margin: 3.5rem auto 0;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 1;
}

.detail-orbit {
  border: 2.8rem solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  height: 23rem;
  left: 50%;
  position: absolute;
  top: 7rem;
  transform: translateX(-50%);
  width: 23rem;
}

.detail-badges {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.detail-badges span {
  background: rgba(0, 0, 0, 0.44);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.45rem 0.8rem;
}

.detail-thumbs {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.detail-thumbs img {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 0.7rem;
  height: 4.7rem;
  object-fit: cover;
  padding: 0.2rem;
  width: 4.7rem;
}

.detail-purchase-panel {
  align-self: end;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 241, 244, 0.92));
  border-radius: 2.4rem;
  color: var(--ink);
  padding: 2rem;
}

.detail-purchase-panel .eyebrow {
  color: rgba(16, 34, 23, 0.62);
}

.detail-purchase-panel p {
  color: rgba(16, 34, 23, 0.7);
}

.detail-purchase-panel .add-button {
  background: #ffd22c;
}

.detail-gallery,
.detail-info,
.detail-section {
  background: #ffffff;
  border: 1px solid rgba(16, 34, 23, 0.08);
  border-radius: 1.4rem;
  padding: clamp(1.35rem, 2.2vw, 2rem);
}

.detail-gallery img {
  display: block;
  height: 28rem;
  object-fit: contain;
  width: 100%;
}

.thumbnail-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.thumbnail-row img {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.8rem;
  height: 5rem;
  object-fit: cover;
  padding: 0.2rem;
  width: 5rem;
}

.detail-info h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.detail-info p {
  color: var(--muted);
  line-height: 1.65;
}

.detail-price {
  font-size: 2.3rem;
  font-weight: 900;
  margin: 1rem 0;
}

.quantity-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: inline-flex;
  gap: 1rem;
  padding: 0.45rem;
}

.quantity-control button {
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  height: 2rem;
  width: 2rem;
}

.detail-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.detail-sections {
  display: grid;
  gap: 1.35rem;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  overflow: visible;
  position: relative;
}

.detail-sections::after {
  background: linear-gradient(to bottom, rgba(248, 252, 244, 0), rgba(248, 252, 244, 0.96));
  bottom: 0;
  content: "";
  display: none;
}

.detail-sections.expanded {
  max-height: none;
}

.detail-sections.expanded::after {
  display: none;
}

.show-more-details {
  background: rgba(16, 34, 23, 0.92);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: none;
  font-weight: 800;
  margin: 1.35rem auto 0;
  padding: 0.82rem 1.35rem;
}

.details-back-top {
  background: rgba(16, 34, 23, 0.92);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: flex;
  font-weight: 800;
  justify-content: center;
  margin: 1.35rem auto 0;
  padding: 0.82rem 1.35rem;
}

.back-top-arrow {
  display: none;
}

.detail-section h2 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.15rem;
}

.detail-section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.detail-section li {
  color: rgba(16, 34, 23, 0.82);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.detail-section li strong {
  display: block;
}

.detail-section li span {
  display: block;
}

.detail-section p {
  color: rgba(16, 34, 23, 0.82);
  font-size: 0.94rem;
  line-height: 1.65;
}

.cart-drawer {
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.4);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  visibility: hidden;
  z-index: 40;
}

.cart-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.cart-panel {
  background: #f2f7ec;
  border-radius: 1.35rem 1.35rem 0 0;
  color: var(--ink);
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 80vh;
  max-width: none;
  padding: 1rem;
  width: 100%;
  z-index: 50;
}

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

.cart-head .icon-button {
  height: 3rem;
  width: 3rem;
}

.cart-items {
  display: grid;
  gap: 0.85rem;
  overflow: auto;
  padding: 1rem 0;
}

.cart-item {
  align-items: center;
  background: rgba(13, 122, 64, 0.08);
  border-radius: 1rem;
  gap: 0.8rem;
  padding: 0.8rem;
}

.cart-item img {
  border-radius: 0.7rem;
  height: 4.4rem;
  object-fit: cover;
  width: 4.4rem;
}

.cart-item-main {
  flex: 1;
}

.cart-item-main h3 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.cart-qty {
  display: flex;
  gap: 0.3rem;
}

.cart-qty button {
  background: var(--green-800);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  height: 2.65rem;
  width: 2.65rem;
}

.cart-footer {
  border-top: 1px solid rgba(16, 34, 23, 0.18);
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}

.checkout-button {
  background: var(--green-800);
  color: var(--white);
  width: 100%;
}

.wallet-options {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wallet-options span {
  align-items: center;
  background: #101010;
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.62rem 0.8rem;
}

.checkout-note {
  color: rgba(16, 34, 23, 0.64);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  text-align: center;
}

.back-to-top {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(6, 58, 30, 0.16);
  border-radius: 999px;
  bottom: 1.25rem;
  box-shadow: 0 1rem 2.5rem rgba(4, 48, 25, 0.24);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 0.5rem;
  opacity: 0;
  padding: 0.78rem 1rem;
  pointer-events: none;
  position: fixed;
  right: 1.25rem;
  transform: translateY(0.8rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 18;
}

.back-to-top svg {
  display: block;
  fill: none;
  height: 1.05rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  width: 1.05rem;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.portal-page {
  background:
    linear-gradient(135deg, #f7fbf2 0%, #eaf3ee 48%, #dcebe3 100%);
  color: var(--ink);
}

.portal-page .site-header {
  color: var(--ink);
}

.portal-header-title {
  color: var(--green-950);
  font-size: 0.82rem;
  font-weight: 900;
  justify-self: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 2rem 1.25rem 5rem;
}

.portal-auth {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem);
  min-height: calc(100vh - 9rem);
}

.portal-copy h1,
.portal-heading h1 {
  color: var(--green-950);
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  line-height: 0.96;
  margin: 0;
  max-width: 11ch;
}

.portal-copy p:not(.eyebrow),
.portal-heading > p {
  color: rgba(16, 34, 23, 0.68);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 38rem;
}

.auth-card,
.form-section {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(6, 58, 30, 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2.5rem rgba(6, 58, 30, 0.1);
}

.auth-card {
  padding: 1rem;
}

.portal-tabs {
  background: #eaf3ee;
  border-radius: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
  padding: 0.25rem;
}

.portal-tabs button {
  background: transparent;
  border: 0;
  border-radius: 0.38rem;
  color: rgba(16, 34, 23, 0.72);
  cursor: pointer;
  font-weight: 800;
  padding: 0.78rem 1rem;
}

.portal-tabs button.active {
  background: var(--white);
  color: var(--green-950);
  box-shadow: 0 0.45rem 1rem rgba(6, 58, 30, 0.08);
}

.auth-card form,
.listing-form {
  display: grid;
  gap: 1rem;
}

.auth-card label,
.listing-form label {
  border-radius: 0.5rem;
  display: grid;
  gap: 0.45rem;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.auth-card label:focus-within,
.listing-form label:focus-within {
  background: rgba(16, 113, 59, 0.06);
  box-shadow: 0 0 0 0.45rem rgba(16, 113, 59, 0.06);
  transform: translateY(-0.06rem);
}

.auth-card label:focus-within span,
.listing-form label:focus-within span {
  color: var(--green-800);
}

.auth-card label span,
.listing-form label span {
  color: rgba(16, 34, 23, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-card input,
.listing-form input,
.listing-form select,
.listing-form textarea {
  background: #f9fcf8;
  border: 1px solid rgba(6, 58, 30, 0.18);
  border-radius: 0.45rem;
  color: var(--ink);
  min-height: 3rem;
  outline: 0;
  padding: 0.8rem 0.9rem;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  width: 100%;
}

.auth-card input:focus,
.listing-form input:focus,
.listing-form select:focus,
.listing-form textarea:focus {
  background: var(--white);
  border-color: rgba(16, 113, 59, 0.64);
  box-shadow:
    0 0 0 0.2rem rgba(16, 113, 59, 0.12),
    0 0.65rem 1.5rem rgba(6, 58, 30, 0.08);
}

.listing-form textarea {
  line-height: 1.6;
  resize: vertical;
}

.portal-submit,
.secondary-action,
.portal-logout {
  align-items: center;
  background: var(--green-800);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.2rem;
}

.secondary-action {
  background: #e1efe7;
  color: var(--green-950);
  justify-self: start;
}

.portal-logout {
  background: rgba(6, 58, 30, 0.1);
  color: var(--green-950);
}

.portal-message {
  color: rgba(16, 34, 23, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.portal-message.error {
  color: #9b1c1c;
}

.portal-heading {
  align-items: end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.listing-form {
  gap: 1.25rem;
}

.script-list {
  display: grid;
  gap: 1rem;
}

.script-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(6, 58, 30, 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2.5rem rgba(6, 58, 30, 0.08);
  overflow: hidden;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.script-panel[open] {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1.15rem 3rem rgba(6, 58, 30, 0.12);
}

.script-panel > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  list-style: none;
  padding: 1rem 1.15rem;
  transition: background-color 180ms ease;
}

.script-panel > summary::marker {
  content: "";
}

.script-panel > summary:hover {
  background: rgba(16, 113, 59, 0.05);
}

.script-panel > summary::-webkit-details-marker {
  display: none;
}

.script-panel > summary span {
  color: var(--green-950);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.script-panel > summary strong {
  align-items: center;
  background: var(--green-800);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  transition: transform 160ms ease;
  width: 2rem;
}

.script-panel[open] > summary strong {
  transform: rotate(45deg);
}

.script-panel-content {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    height 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.script-panel[open] > .script-panel-content {
  opacity: 1;
}

.script-panel-content > * {
  min-height: 0;
}

.form-section-content {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms ease;
}

.form-section-details[open] > .form-section-content {
  opacity: 1;
}

.script-panel .listing-form,
.script-placeholder {
  border-top: 1px solid rgba(6, 58, 30, 0.1);
  padding: 1rem;
}

.form-section-details {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 58, 30, 0.12);
  border-radius: 0.5rem;
  overflow: hidden;
}

.form-section-details > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  list-style: none;
  padding: 1rem 1.15rem;
  transition: background-color 180ms ease;
}

.form-section-details > summary::marker {
  content: "";
}

.form-section-details > summary:hover {
  background: rgba(16, 113, 59, 0.05);
}

.form-section-details > summary::-webkit-details-marker {
  display: none;
}

.form-section-details > summary span {
  color: var(--green-950);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-section-details > summary strong {
  align-items: center;
  background: #e1efe7;
  border-radius: 999px;
  color: var(--green-950);
  display: inline-flex;
  height: 1.9rem;
  justify-content: center;
  line-height: 1;
  transition: transform 160ms ease;
  width: 1.9rem;
}

.form-section-details[open] > summary strong {
  transform: rotate(45deg);
}

.script-placeholder p {
  color: rgba(16, 34, 23, 0.68);
  font-weight: 700;
  margin: 0;
}

.form-section {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.form-section h2 {
  color: var(--green-950);
  font-size: 1rem;
  margin: 0;
  text-transform: uppercase;
}

.field-grid {
  display: grid;
  gap: 1rem;
}

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

.section-head {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.tag-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.tag-preview span {
  background: var(--green-950);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 0.46rem 0.7rem;
  text-transform: uppercase;
}

.benefit-list {
  display: grid;
  gap: 0.75rem;
}

.benefit-row {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(10rem, 0.8fr) minmax(14rem, 1.2fr);
}

.ingredient-list {
  display: grid;
  gap: 0.75rem;
}

.ingredient-row {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(14rem, 1fr) 2.75rem;
}

.ingredient-row .icon-button {
  background: #eef5f0;
  color: var(--green-950);
  height: 3rem;
  width: 3rem;
}

.portal-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.portal-checks label {
  align-items: center;
  color: rgba(16, 34, 23, 0.76);
  display: inline-flex;
  font-weight: 800;
  gap: 0.5rem;
}

.portal-checks input {
  accent-color: var(--green-800);
  min-height: auto;
  width: auto;
}

.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.back-to-top span[aria-hidden="true"] {
  align-items: center;
  background: var(--green-800);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 1rem;
  height: 1.55rem;
  justify-content: center;
  width: 1.55rem;
}

@media (max-width: 920px) {
  html.product-detail-scroll {
    scroll-snap-type: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .brand,
  .main-nav,
  .header-actions {
    justify-self: center;
  }

  .home-hero,
  .products-intro,
  .catalog-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    gap: 0.75rem;
    min-height: auto;
  }

  .hero-product {
    min-height: clamp(20rem, 56vh, 30rem);
  }

  .feature-model {
    height: clamp(19rem, 54vh, 30rem);
    max-width: min(100%, 34rem);
  }

  .model-disclaimer {
    bottom: 0.9rem;
  }

  .catalog-layout {
    gap: 1.4rem;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.8rem;
  }

  .sort-dropdown {
    width: 100%;
  }

  .product-grid,
  .category-band,
  .detail-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-section {
    margin-top: 1.5rem;
  }

  .category-label-card {
    min-height: 29rem;
  }

  .filter-panel {
    position: static;
  }

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

  .product-stage {
    min-height: auto;
    overflow: hidden;
    padding-bottom: 9.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .stage-layout,
  .stage-bottom {
    grid-template-columns: 1fr;
  }

  .stage-layout {
    gap: 1.2rem;
    min-height: auto;
    text-align: center;
  }

  .product-ashwagandha-capsules .stage-layout {
    grid-template-columns: 1fr;
  }

  .stage-nav {
    gap: 1rem;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .stage-nav > a {
    justify-self: start;
  }

  .stage-copy h1,
  .product-ashwagandha-capsules .stage-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    margin: 0 auto 0.85rem;
    max-width: 24rem;
  }

  .stage-product {
    min-height: auto;
    order: 2;
  }

  .stage-copy {
    order: 1;
  }

  .stage-notes {
    order: 3;
  }

  .stage-product img,
  .product-ashwagandha-capsules .stage-product img {
    height: min(24rem, 44vh);
    max-width: min(100%, 34rem);
    width: 100%;
  }

  .stage-notes {
    display: none;
    justify-items: center;
  }

  .stage-certification-tags {
    display: none;
  }

  .stage-notes a {
    display: none;
  }

  .details-certification-tags {
    display: flex;
    justify-content: center;
    margin: 0.35rem 0 1.4rem;
  }

  .certification-tags {
    justify-content: center;
    max-width: 100%;
  }

  .stage-bottom {
    gap: 1rem;
    justify-items: center;
    margin-top: 1.5rem;
    text-align: center;
  }

  .stage-bottom p {
    max-width: 36rem;
  }

  .stage-buy {
    flex-wrap: wrap;
    justify-content: center;
  }

  .scroll-details-cue {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .more-details-sheet {
    background:
      linear-gradient(145deg, #ffffff, #eef6f1);
    margin-top: 0;
    min-height: 100vh;
  }

  .sheet-inner {
    padding: 0 1.25rem;
  }

}

@media (min-width: 621px) {
  .cart-drawer {
    align-items: stretch;
    background: transparent;
    justify-content: flex-end;
  }

  .cart-panel {
    border-radius: 0;
    box-shadow: -1.2rem 0 3rem rgba(4, 48, 25, 0.18);
    height: 100%;
    max-width: 25rem;
    width: min(100%, 25rem);
  }

  .cart-head .icon-button {
    height: 2.5rem;
    width: 2.5rem;
  }

  .cart-qty button {
    height: 2rem;
    width: 2rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 0.7rem;
    padding-top: 0.7rem;
  }

  .brand img {
    height: 2.5rem;
    width: 8.5rem;
  }

  .main-nav a {
    padding: 0.5rem 0.82rem;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .shop-button {
    display: inline-flex;
    padding: 0.68rem 1rem;
  }

  .hide-mobile-shop .shop-button {
    display: none;
  }

  .home-hero,
  .products-shell,
  .product-detail {
    padding-top: 0.5rem;
  }

  .home-hero {
    gap: 0.2rem;
    padding-bottom: 1.5rem;
  }

  body.themed-product-page .product-detail {
    padding: 0;
  }

  .hero-copy h1,
  .products-intro h1 {
    font-size: 3.25rem;
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .primary-link {
    display: none;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 22rem;
    text-align: center;
  }

  .hero-product {
    min-height: clamp(17rem, 42vh, 22rem);
  }

  .feature-model {
    height: clamp(16rem, 40vh, 21rem);
    max-width: min(100%, 24rem);
  }

  .model-disclaimer {
    bottom: 0.35rem;
    font-size: 0.72rem;
    max-width: calc(100vw - 2rem);
    overflow-wrap: anywhere;
    padding: 0.58rem 0.78rem;
    text-align: center;
    white-space: normal;
  }

  .desktop-hint {
    display: none;
  }

  .mobile-hint {
    display: inline;
  }

  .product-grid,
  .category-band,
  .detail-sections {
    grid-template-columns: 1fr;
  }

  .category-section {
    margin-top: 0;
    padding-bottom: 18vh;
  }

  .category-section-header {
    margin-bottom: 1.6rem;
  }

  .category-section-header h2 {
    color: #000;
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .category-section-header p {
    display: none;
  }

  .category-band {
    display: block;
  }

  .category-label-card {
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.34);
    margin-bottom: 6rem;
    min-height: 32rem;
    padding: 1.35rem;
    position: sticky;
    top: 1rem;
  }

  .category-label-card:nth-child(2) {
    top: 5.25rem;
  }

  .category-label-card:nth-child(3) {
    top: 9.5rem;
  }

  .category-label-card:nth-child(4) {
    top: 13.75rem;
  }

  .label-header {
    font-size: clamp(1.65rem, 9vw, 2.25rem);
  }

  .receipt-text {
    font-size: 0.84rem;
  }

  .placeholder-3d {
    height: 6.5rem;
    width: 6.5rem;
  }

  .product-card {
    aspect-ratio: auto;
    min-height: 23rem;
  }

  .product-card img {
    height: clamp(11rem, 44vw, 14rem);
  }

  .catalog-layout {
    border-radius: 1.25rem;
    padding: 1rem;
  }

  .category-options {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    flex-direction: column;
  }

  .product-stage {
    padding-top: 0.55rem;
    padding-bottom: 6rem;
  }

  .stage-pills,
  .certification-tags {
    gap: 0.45rem;
  }

  .stage-pills {
    margin-bottom: 0.65rem;
  }

  .stage-pills span {
    font-size: 0.66rem;
  }

  .certification-tags span {
    border-radius: 0.9rem;
    font-size: 0.7rem;
    min-height: 2.85rem;
    padding: 0.38rem 0.62rem 0.38rem 0.38rem;
  }

  .certification-tags strong,
  .certification-tags img {
    height: 1.9rem;
    width: 1.9rem;
  }

  .certification-tags .halal-mark {
    font-size: 0.72rem;
  }

  .stage-product img,
  .product-ashwagandha-capsules .stage-product img {
    height: min(16rem, 32vh);
    max-width: 100%;
    width: 100%;
  }

  .product-ashwagandha-capsules .stage-product img {
    height: auto;
    max-height: 16.5rem;
    object-fit: contain;
    width: min(100%, 17rem);
  }

  .stage-cart-button {
    padding: 0.78rem 1.15rem;
  }

  .stage-bottom {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.18));
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 1.1rem;
    bottom: 0;
    box-shadow: 0 -1rem 2.6rem rgba(0, 0, 0, 0.12);
    left: 0;
    margin-bottom: 3.5rem;
    padding: 0.85rem 1rem;
    position: relative;
    right: 0;
    z-index: 6;
  }

  .stage-bottom p {
    display: none;
  }

  .stage-bottom > strong {
    font-size: 1.9rem;
  }

  .stage-buy {
    gap: 0.65rem;
    width: 100%;
  }

  .stage-buy .quantity-control {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.45rem;
    padding: 0.25rem;
  }

  .stage-buy .quantity-control button {
    height: 2rem;
    width: 2rem;
  }

  .stage-buy .quantity-control strong {
    min-width: 1.3rem;
  }

  .stage-cart-button {
    flex: 1;
    min-height: 2.8rem;
  }

  .scroll-details-cue {
    display: none;
  }

  .more-details-sheet {
    background:
      linear-gradient(145deg, #ffffff, #eef6f1);
    border-radius: 1.35rem 1.35rem 0 0;
    margin-top: 0;
    min-height: 100vh;
  }

  .detail-section {
    background: #ffffff;
  }

  .sheet-head h2 {
    font-size: 2.25rem;
  }

  .sheet-intro {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .detail-sections {
    max-height: 27rem;
    overflow: hidden;
  }

  .detail-sections::after {
    display: block;
    height: 5rem;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
  }

  .detail-sections.expanded {
    max-height: none;
  }

  .detail-sections.expanded::after {
    display: none;
  }

  .show-more-details {
    display: flex;
    margin-top: 1rem;
  }

  .details-back-top {
    align-items: center;
    animation: bounceUp 1.25s ease-in-out infinite;
    bottom: 1rem;
    box-shadow: 0 0.8rem 1.8rem rgba(6, 38, 20, 0.24);
    display: inline-flex;
    height: 3rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: fixed;
    right: 1rem;
    width: 3rem;
    z-index: 20;
  }

  .back-top-label {
    display: none;
  }

  .back-top-arrow {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
  }
}

@media (max-width: 760px) {
  .portal-shell {
    padding-top: 1rem;
  }

  .portal-auth,
  .field-grid.two,
  .benefit-row,
  .ingredient-row {
    grid-template-columns: 1fr;
  }

  .portal-auth {
    min-height: auto;
  }

  .portal-copy h1,
  .portal-heading h1 {
    font-size: clamp(2.2rem, 13vw, 4rem);
  }

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

  .tag-preview {
    justify-content: flex-start;
  }

  .ingredient-row .icon-button {
    justify-self: start;
  }
}
