/* Atulyash commerce layer — intentionally namespaced from the editorial site. */

body.commerce-open {
  overflow: hidden;
}

html {
  scrollbar-gutter: stable;
}

.commerce-backdrop[hidden],
.cart-empty[hidden],
.cart-footer[hidden],
.checkout-step[hidden],
.checkout-success[hidden],
.checkout-main form[hidden] {
  display: none !important;
}

button,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.header-cart {
  border: 0;
  cursor: pointer;
}

.header-cart-icon {
  position: relative;
  width: 16px;
  height: 15px;
  display: inline-block;
  border: 1px solid currentColor;
  border-top: 0;
}

.header-cart-icon::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 3px;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  color: var(--forest-950);
  background: var(--wheat-300);
  border-radius: 50px;
  font-size: 0.68rem;
  transition: transform 220ms cubic-bezier(0.2, 0.85, 0.25, 1);
}

.cart-count.is-pulsing {
  animation: commerce-count-pulse 440ms cubic-bezier(0.2, 0.85, 0.25, 1);
}

.hero-commerce-note {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin: -6px 0 26px;
  animation: hero-copy-arrive 720ms 200ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-commerce-note strong {
  color: var(--cream-50);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.hero-commerce-note span {
  color: var(--wheat-300);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.shop-section {
  overflow: clip;
  background:
    radial-gradient(circle at 5% 22%, rgba(203, 166, 93, 0.18), transparent 24%),
    linear-gradient(180deg, #f3ead9 0%, var(--cream-50) 100%);
}

.shop-section::before {
  content: "ATULYASH";
  position: absolute;
  top: 7%;
  right: -0.06em;
  pointer-events: none;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(7rem, 17vw, 17rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.8;
  opacity: 0.055;
  -webkit-text-stroke: 1px var(--forest-900);
}

.shop-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.62fr);
  align-items: end;
  gap: clamp(42px, 8vw, 120px);
  margin-bottom: clamp(48px, 6vw, 82px);
}

.shop-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.6rem, 7vw, 7rem);
}

.shop-heading > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.02rem;
}

.product-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  align-items: stretch;
  background: var(--cream-50);
  border: 1px solid rgba(17, 55, 46, 0.18);
  box-shadow: 0 38px 100px rgba(16, 43, 35, 0.13);
}

.product-gallery {
  position: relative;
  min-height: 790px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(28px, 4vw, 52px);
  color: var(--cream-50);
  background:
    radial-gradient(circle at 50% 47%, rgba(222, 197, 143, 0.19), transparent 32%),
    linear-gradient(145deg, #3B7B3B 0%, #3B7B3B 68%, #3B7B3B 100%);
  isolation: isolate;
}

.product-gallery::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.13;
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
}

.product-gallery::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 16%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(222, 197, 143, 0.24);
  border-radius: 50%;
  transform: translateX(-50%);
}

.product-gallery-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.product-gallery-copy span {
  color: var(--wheat-300);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-gallery-copy strong {
  max-width: 170px;
  color: var(--cream-100);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1;
  text-align: right;
}

.product-image-stage {
  position: absolute;
  inset: 12% 0 8%;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.product-image-stage img {
  position: relative;
  z-index: 2;
  width: min(57%, 355px);
  max-height: 630px;
  object-fit: contain;
  filter: drop-shadow(0 38px 35px rgba(0, 0, 0, 0.42));
  transform: translateZ(24px) rotateY(-3deg);
  transition: opacity 180ms ease, transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 520ms ease;
}

.product-gallery:hover .product-image-stage img {
  filter: drop-shadow(0 46px 38px rgba(0, 0, 0, 0.48));
  transform: translate3d(0, -7px, 34px) rotateY(2deg);
}

.product-image-stage img.is-changing {
  opacity: 0.55;
  transform: translate3d(0, 10px, 12px) rotateY(-1deg) scale(0.98);
}

.product-image-halo {
  position: absolute;
  width: min(64%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(222, 197, 143, 0.46);
  border-radius: 50%;
  box-shadow: 0 0 75px rgba(203, 166, 93, 0.09), inset 0 0 60px rgba(203, 166, 93, 0.04);
}

.product-image-halo::before,
.product-image-halo::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(222, 197, 143, 0.16);
  border-radius: 50%;
}

.product-image-halo::after {
  inset: 28%;
}

.product-pack-badge {
  position: absolute;
  z-index: 4;
  right: 13%;
  bottom: 22%;
  min-width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--forest-950);
  background: var(--wheat-300);
  border: 1px solid rgba(255, 253, 248, 0.8);
  border-radius: 50%;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.23);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  transition: transform 260ms cubic-bezier(0.2, 0.85, 0.25, 1);
}

.product-pack-badge.is-changing {
  transform: scale(0.82) rotate(-7deg);
}

.product-gallery-foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  border-top: 1px solid rgba(255, 253, 248, 0.17);
}

.product-gallery-foot span {
  padding: 17px 8px 0;
  color: rgba(255, 253, 248, 0.64);
  border-right: 1px solid rgba(255, 253, 248, 0.13);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.product-gallery-foot span:last-child {
  border-right: 0;
}

.product-artwork-note {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 11px;
  color: rgba(255, 253, 248, 0.5);
  font-size: 0.57rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.product-buy-panel {
  padding: clamp(38px, 5vw, 72px);
  background: rgba(255, 253, 248, 0.98);
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.product-overline {
  margin-bottom: 14px;
  color: var(--rust-500);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-title-row h3 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4vw, 3.75rem);
  line-height: 0.95;
}

.product-stock {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-top: 5px;
  color: var(--forest-700);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-stock i {
  width: 7px;
  height: 7px;
  background: #4d8e62;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(77, 142, 98, 0.12);
}

.product-description {
  max-width: 580px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-price-line strong {
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.product-price-line span,
.product-price-line small {
  color: var(--muted);
  font-size: 0.72rem;
}

.product-price-line small {
  margin-left: auto;
}

.pack-selector,
.purchase-selector,
.checkout-fieldset {
  padding: 0;
  margin: 30px 0 0;
  border: 0;
}

.pack-selector legend,
.purchase-selector legend {
  width: 100%;
  margin-bottom: 13px;
  color: var(--forest-950);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pack-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pack-option,
.purchase-option {
  position: relative;
  cursor: pointer;
}

.pack-option input,
.purchase-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.pack-option {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: #fffefa;
  border: 1px solid var(--line);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pack-option:hover {
  border-color: rgba(17, 55, 46, 0.42);
  transform: translateY(-2px);
}

.pack-option.is-selected {
  background: rgba(222, 197, 143, 0.18);
  border-color: var(--forest-800);
  box-shadow: inset 0 0 0 1px var(--forest-800);
}

.pack-option input:focus-visible + span {
  outline: 3px solid var(--wheat-400);
  outline-offset: 6px;
}

.pack-option span,
.pack-option span strong,
.pack-option span small {
  display: block;
}

.pack-option span strong {
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.pack-option span small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.62rem;
}

.pack-option b {
  color: var(--forest-800);
  font-size: 0.76rem;
}

.purchase-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.purchase-selector legend {
  grid-column: 1 / -1;
}

.purchase-option {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  padding: 15px 16px;
  background: #fffefa;
  border: 1px solid var(--line);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.purchase-option.is-selected {
  background: rgba(222, 197, 143, 0.13);
  border-color: var(--forest-800);
  box-shadow: inset 0 0 0 1px var(--forest-800);
}

.purchase-option input:focus-visible + span {
  outline: 3px solid var(--wheat-400);
  outline-offset: 6px;
}

.purchase-option span strong,
.purchase-option span small {
  display: block;
}

.purchase-option span strong {
  color: var(--forest-950);
  font-size: 0.79rem;
}

.purchase-option span small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.35;
}

.purchase-option em {
  grid-column: 1 / -1;
  color: var(--rust-500);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-option i {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 55, 46, 0.38);
  border-radius: 50%;
}

.purchase-option.is-selected i::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--forest-800);
  border-radius: 50%;
}

.weekly-plan-panel {
  padding: 18px;
  margin-top: 18px;
  background:
    linear-gradient(135deg, rgba(222, 197, 143, 0.2), rgba(255, 254, 250, 0.86)),
    #f7f1e6;
  border: 1px solid rgba(17, 55, 46, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  animation: weekly-panel-in 220ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.weekly-plan-heading,
.weekly-dates-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.weekly-plan-heading span,
.weekly-plan-field > span,
.weekly-delivery-dates > p {
  display: block;
  color: var(--rust-500);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.weekly-plan-heading h4 {
  margin: 3px 0 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.weekly-plan-heading > b {
  padding: 6px 9px;
  color: var(--forest-800);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(17, 55, 46, 0.14);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weekly-plan-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.weekly-plan-field > span {
  margin-bottom: 6px;
  color: var(--forest-800);
  letter-spacing: 0.06em;
}

.weekly-plan-field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 36px 10px 12px;
  color: var(--forest-950);
  background: #fffefa;
  border: 1px solid rgba(17, 55, 46, 0.24);
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 600;
}

.weekly-plan-field select:focus-visible,
.weekly-dates-bar button:focus-visible {
  outline: 3px solid var(--wheat-400);
  outline-offset: 2px;
}

.weekly-calculator-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px 16px;
  margin-top: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(222, 197, 143, 0.25), transparent 42%),
    rgba(255, 254, 250, 0.78);
  border: 1px solid rgba(17, 55, 46, 0.16);
}

.weekly-calculator-suggestion-copy > span,
.weekly-calculator-suggestion-copy > strong,
.weekly-calculator-suggestion-copy > small {
  display: block;
}

.weekly-calculator-suggestion-copy > span {
  margin-bottom: 4px;
  color: var(--rust-500);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.weekly-calculator-suggestion-copy > strong {
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
}

.weekly-calculator-suggestion-copy > small {
  max-width: 540px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.56rem;
  line-height: 1.5;
}

.weekly-calculator-suggestion-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.weekly-calculator-suggestion-actions a,
.weekly-calculator-suggestion-actions button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid rgba(17, 55, 46, 0.35);
  cursor: pointer;
  font: inherit;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.weekly-calculator-suggestion-actions a {
  color: var(--forest-900);
  background: transparent;
}

.weekly-calculator-suggestion-actions button {
  color: #fffdf7;
  background: var(--forest-900);
}

.weekly-calculator-suggestion-actions a:hover,
.weekly-calculator-suggestion-actions button:hover:not(:disabled) {
  border-color: var(--rust-500);
}

.weekly-calculator-suggestion-actions a:focus-visible,
.weekly-calculator-suggestion-actions button:focus-visible {
  outline: 3px solid var(--wheat-400);
  outline-offset: 2px;
}

.weekly-calculator-suggestion-actions button:disabled {
  color: var(--forest-800);
  background: rgba(17, 55, 46, 0.08);
  border-color: rgba(17, 55, 46, 0.16);
  cursor: default;
}

.weekly-calculator-suggestion-actions button[hidden] {
  display: none !important;
}

.weekly-dates-bar {
  padding-top: 13px;
  margin-top: 13px;
  border-top: 1px solid rgba(17, 55, 46, 0.14);
}

.weekly-dates-bar strong,
.weekly-dates-bar small {
  display: block;
}

.weekly-dates-bar strong {
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
}

.weekly-dates-bar small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.55rem;
}

.weekly-dates-bar button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 0;
  color: var(--forest-900);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(17, 55, 46, 0.5);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weekly-dates-bar button span {
  display: inline-block;
  margin-left: 4px;
  color: var(--rust-500);
}

.weekly-delivery-dates {
  padding-top: 14px;
}

.weekly-delivery-dates > p {
  margin: 0 0 7px;
}

.weekly-delivery-dates ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.weekly-delivery-dates time {
  min-height: 39px;
  display: grid;
  place-items: center;
  padding: 7px 4px;
  color: var(--forest-900);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(17, 55, 46, 0.12);
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
}

.weekly-delivery-dates > small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.53rem;
  line-height: 1.45;
}

@keyframes weekly-panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-purchase-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
  margin-top: 28px;
}

.quantity-control,
.cart-item-quantity {
  min-height: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border: 1px solid var(--line);
}

.quantity-control button,
.cart-item-quantity button {
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.1rem;
}

.quantity-control button:disabled,
.cart-item-quantity button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.quantity-control output,
.cart-item-quantity span {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-add-button {
  width: 100%;
  color: var(--cream-50);
  background: var(--forest-900);
  border: 0;
  cursor: pointer;
}

.product-add-button:hover {
  background: var(--forest-700);
}

.product-add-button #addToCartPrice {
  padding-left: 18px;
  margin-left: auto;
  border-left: 1px solid rgba(255, 253, 248, 0.3);
}

.product-add-button .product-add-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.product-add-button[aria-busy="true"] .product-add-label::before {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 253, 248, 0.38);
  border-top-color: var(--cream-50);
  border-radius: 50%;
  content: "";
  animation: commerce-button-spin 700ms linear infinite;
}

@keyframes commerce-button-spin {
  to { transform: rotate(360deg); }
}

.buy-now-button {
  width: 100%;
  min-height: 50px;
  margin-top: 9px;
  color: var(--forest-900);
  background: transparent;
  border: 1px solid var(--forest-900);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.buy-now-button:hover {
  color: var(--cream-50);
  background: var(--forest-900);
}

.product-reassurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 24px 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-reassurance span {
  color: var(--forest-800);
  font-size: 0.63rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-reassurance i {
  display: block;
  margin-bottom: 7px;
  color: var(--rust-500);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 500;
}

.product-details details {
  border-bottom: 1px solid var(--line);
}

.product-details summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  color: var(--forest-950);
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
}

.product-details summary::-webkit-details-marker {
  display: none;
}

.product-details summary span {
  color: var(--rust-500);
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.product-details details[open] summary span {
  transform: rotate(45deg);
}

.product-details details p {
  padding: 0 32px 18px 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.start-cart-action {
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
}

.weekly-result .weekly-pack-match {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 14px;
  padding: 11px 13px;
  color: var(--cream-50);
  background: rgba(255, 253, 248, .08);
  border: 1px solid rgba(222, 197, 143, .22);
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.45;
}

/* Cart */

.commerce-backdrop {
  position: fixed;
  z-index: 10050;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: rgba(5, 25, 20, 0.64);
  backdrop-filter: blur(5px);
  transition: opacity 260ms ease;
}

.commerce-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  z-index: 10060;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 510px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--ink);
  background: var(--cream-50);
  box-shadow: -30px 0 80px rgba(5, 25, 20, 0.28);
  visibility: hidden;
  transform: translateX(104%);
  transition: visibility 0s linear 320ms, transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.cart-drawer.is-open {
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

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

.cart-header {
  min-height: 116px;
  padding: 25px 30px;
  border-bottom: 1px solid var(--line);
}

.cart-header p,
.checkout-kicker {
  margin: 0 0 5px;
  color: var(--rust-500);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-header h2 {
  margin: 0;
  font-size: 2.4rem;
}

.cart-header h2 span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.commerce-close {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  color: var(--forest-950);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.commerce-close:hover {
  color: var(--cream-50);
  background: var(--forest-950);
  transform: rotate(8deg);
}

.commerce-close span {
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1;
}

.cart-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-empty {
  min-height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 42px 38px;
  text-align: center;
}

.cart-empty-visual {
  width: 124px;
  height: 150px;
  display: grid;
  overflow: hidden;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(222, 197, 143, 0.2);
  border: 1px solid var(--line);
  border-radius: 90px 90px 4px 4px;
}

.cart-empty-visual img {
  width: 96px;
  margin-top: 35px;
}

.cart-empty .eyebrow {
  margin-bottom: 14px;
}

.cart-empty h3 {
  margin-bottom: 15px;
  font-size: 2.35rem;
}

.cart-empty > p:not(.eyebrow) {
  max-width: 320px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.85rem;
}

.cart-items {
  padding: 4px 30px;
}

.cart-item {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 20px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-visual {
  position: relative;
  min-height: 138px;
  display: grid;
  overflow: hidden;
  place-items: center;
  background: var(--forest-950);
}

.cart-item-visual::before {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(222, 197, 143, 0.28);
  border-radius: 50%;
}

.cart-item-visual img {
  position: relative;
  z-index: 1;
  width: 70px;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.34));
}

.cart-item-info {
  min-width: 0;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.cart-item-top h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.cart-item-top strong {
  flex: 0 0 auto;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.12rem;
}

.cart-item-meta {
  margin: 7px 0 15px;
  color: var(--muted);
  font-size: 0.68rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-item-quantity {
  width: 98px;
  min-height: 39px;
}

.cart-item-remove,
.cart-continue,
.checkout-back {
  padding: 5px 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 600;
}

.cart-item-remove:hover,
.cart-continue:hover,
.checkout-back:hover {
  color: var(--rust-500);
}

.cart-footer {
  padding: 25px 30px max(28px, env(safe-area-inset-bottom));
  background: #f7f1e6;
  border-top: 1px solid var(--line);
}

.cart-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 6px;
  color: var(--forest-950);
}

.cart-subtotal span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-subtotal strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
}

.cart-footer > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.45;
}

.cart-continue {
  display: block;
  margin: 15px auto 0;
}

/* Checkout */

.checkout-modal {
  position: fixed;
  z-index: 10070;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 26px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: visibility 0s linear 300ms, opacity 240ms ease, transform 300ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.checkout-modal.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.checkout-shell {
  width: min(1120px, 100%);
  max-height: min(900px, calc(100svh - 52px));
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--cream-50);
  box-shadow: 0 45px 120px rgba(5, 25, 20, 0.36);
}

.checkout-header {
  min-height: 90px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
}

.checkout-brand {
  width: 146px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.checkout-brand img:first-child {
  width: 23%;
}

.checkout-brand img:last-child {
  width: 74%;
}

.checkout-progress {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkout-progress span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checkout-progress b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.61rem;
}

.checkout-progress .is-active {
  color: var(--forest-900);
}

.checkout-progress .is-active b {
  color: var(--cream-50);
  background: var(--forest-900);
  border-color: var(--forest-900);
}

.checkout-progress i {
  width: 58px;
  height: 1px;
  background: var(--line);
}

.checkout-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
}

.checkout-main {
  min-height: 0;
  padding: clamp(34px, 5vw, 64px);
  overflow-y: auto;
}

.checkout-step > h2,
.checkout-success h2 {
  max-width: 620px;
  margin: 0 0 14px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.checkout-step > p:not(.checkout-kicker),
.checkout-success > p:not(.checkout-kicker) {
  max-width: 650px;
  color: var(--muted);
  font-size: 0.86rem;
}

.checkout-fieldset {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.checkout-fieldset legend {
  padding: 0;
  margin-bottom: 14px;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.checkout-fields {
  display: grid;
  gap: 15px;
}

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

.checkout-field-wide {
  grid-column: 1 / -1;
}

.checkout-field > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--forest-900);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-field > span em {
  color: var(--muted);
  font-size: 0.57rem;
  font-style: normal;
}

.checkout-field input,
.checkout-field textarea,
.checkout-field select {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid rgba(17, 55, 46, 0.25);
  border-radius: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.checkout-field textarea {
  min-height: 84px;
  resize: vertical;
}

.checkout-field input:focus,
.checkout-field textarea:focus,
.checkout-field select:focus {
  border-color: var(--forest-800);
  box-shadow: 0 0 0 3px rgba(40, 100, 84, 0.1);
  outline: none;
}

.checkout-field input:focus-visible,
.checkout-field textarea:focus-visible,
.checkout-field select:focus-visible {
  outline: 3px solid var(--wheat-400);
  outline-offset: 2px;
}

.checkout-field input[readonly] {
  color: var(--muted);
  background: rgba(40, 100, 84, 0.06);
  cursor: not-allowed;
}

.checkout-field.has-error input,
.checkout-field.has-error textarea,
.checkout-field.has-error select {
  border-color: var(--rust-500);
}

.field-error {
  display: block;
  min-height: 16px;
  padding-top: 3px;
  color: var(--rust-600);
  font-size: 0.59rem;
}

.checkout-field-help {
  display: block;
  padding-top: 5px;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.4;
}

.checkout-error-summary {
  padding: 13px 15px;
  margin: 18px 0;
  color: var(--rust-600);
  background: rgba(184, 79, 49, 0.08);
  border-left: 3px solid var(--rust-500);
  font-size: 0.72rem;
}

.checkout-demo-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-top: 18px;
  background: rgba(222, 197, 143, 0.14);
  border: 1px solid rgba(17, 55, 46, 0.14);
}

.checkout-demo-notice > span {
  padding: 6px 8px;
  color: var(--forest-900);
  background: var(--wheat-300);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.checkout-demo-notice strong {
  display: block;
  color: var(--forest-950);
  font-size: 0.74rem;
}

.checkout-demo-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.5;
}

.checkout-demo-notice dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 8px 0 0;
}

.checkout-demo-notice dl div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.checkout-demo-notice dt {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.checkout-demo-notice dd {
  margin: 0;
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.checkout-demo-notice button,
.checkout-otp-text-button,
.checkout-otp-reset {
  min-height: 44px;
  padding: 9px 12px;
  color: var(--forest-900);
  background: transparent;
  border: 1px solid rgba(17, 55, 46, 0.28);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-demo-notice button:hover,
.checkout-otp-text-button:hover,
.checkout-otp-reset:hover {
  background: rgba(222, 197, 143, 0.2);
  border-color: var(--forest-800);
}

.checkout-demo-notice button:focus-visible,
.checkout-otp-text-button:focus-visible,
.checkout-otp-reset:focus-visible {
  outline: 3px solid var(--wheat-400);
  outline-offset: 2px;
}

.checkout-otp-card,
.checkout-otp-verified {
  padding: 17px;
  margin-top: 20px;
  background:
    linear-gradient(135deg, rgba(222, 197, 143, 0.18), rgba(255, 254, 250, 0.82)),
    #f7f1e6;
  border: 1px solid rgba(17, 55, 46, 0.18);
  animation: checkout-otp-enter 180ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.checkout-otp-card-head,
.checkout-otp-verified {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.checkout-otp-card-head > div > span {
  color: var(--rust-500);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-otp-card h3,
.checkout-otp-verified h3 {
  margin: 3px 0 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.checkout-otp-card-head p,
.checkout-otp-verified p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.62rem;
}

.checkout-otp-card-head p strong,
.checkout-otp-verified p strong {
  color: var(--forest-900);
}

.checkout-otp-entry {
  display: grid;
  grid-template-columns: minmax(210px, 230px) auto;
  align-items: end;
  gap: 12px;
  margin-top: 16px;
}

.checkout-otp-code-field input {
  min-height: 52px;
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.46em;
  text-indent: 0.46em;
}

.checkout-otp-code-field .checkout-field-help {
  min-height: 18px;
}

.checkout-otp-code-field .checkout-field-help strong {
  display: inline;
  color: var(--forest-900);
  font-size: inherit;
}

.checkout-otp-error {
  display: block;
  min-height: 18px;
  padding-top: 2px;
  color: var(--rust-600);
  font-size: 0.59rem;
}

.checkout-otp-check {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cream-50);
  background: var(--forest-800);
  border: 6px solid rgba(40, 100, 84, 0.12);
  border-radius: 50%;
  background-clip: padding-box;
  font-size: 0.85rem;
}

.checkout-otp-verified > div {
  flex: 1 1 auto;
}

.checkout-otp-status {
  min-height: 18px;
  margin: 8px 0 -6px;
  color: var(--forest-800);
  font-size: 0.61rem;
  font-weight: 600;
}

@keyframes checkout-otp-enter {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.checkout-next {
  margin-top: 28px;
  border: 0;
  cursor: pointer;
}

.checkout-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}

.checkout-step-actions .checkout-next {
  margin-top: 0;
}

.checkout-summary {
  min-height: 0;
  padding: 42px 30px;
  overflow-y: auto;
  color: var(--cream-50);
  background:
    radial-gradient(circle at 90% 12%, rgba(203, 166, 93, 0.14), transparent 25%),
    var(--forest-950);
}

.checkout-summary .checkout-kicker {
  color: var(--wheat-300);
}

.checkout-summary > h3 {
  margin-bottom: 25px;
  color: var(--cream-50);
  font-size: 2rem;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
}

.checkout-summary-item-image {
  height: 76px;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 248, 0.07);
}

.checkout-summary-item img {
  width: 42px;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.3));
}

.checkout-summary-item strong,
.checkout-summary-item small {
  display: block;
}

.checkout-summary-item strong {
  color: var(--cream-50);
  font-size: 0.7rem;
  line-height: 1.35;
}

.checkout-summary-item small {
  margin-top: 4px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.58rem;
}

.checkout-summary-item > b {
  color: var(--wheat-300);
  font-family: var(--serif);
  font-size: 0.98rem;
}

.checkout-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 12px;
  border-top: 1px solid rgba(255, 253, 248, 0.28);
}

.checkout-summary-total span {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-summary-total strong {
  color: var(--wheat-300);
  font-family: var(--serif);
  font-size: 1.8rem;
}

.checkout-summary > small {
  display: block;
  color: rgba(255, 253, 248, 0.52);
  font-size: 0.6rem;
  line-height: 1.5;
}

.checkout-review-address {
  padding: 22px;
  margin: 26px 0 18px;
  background: rgba(222, 197, 143, 0.14);
  border: 1px solid var(--line);
}

.checkout-review-address strong,
.checkout-review-address span {
  display: block;
}

.checkout-review-address strong {
  margin-bottom: 6px;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.checkout-review-address span {
  color: var(--muted);
  font-size: 0.75rem;
}

.checkout-payment-note {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 19px;
  border: 1px solid var(--line);
}

.checkout-payment-note > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--forest-950);
  background: var(--wheat-300);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.checkout-payment-note strong {
  display: block;
  color: var(--forest-950);
  font-size: 0.78rem;
}

.checkout-payment-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.checkout-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 20px 0;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.checkout-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--forest-800);
}

.checkout-consent-error {
  display: block;
  min-height: 18px;
  margin-top: -13px;
  color: var(--rust-600);
  font-size: 0.63rem;
}

.checkout-review-actions,
.checkout-success-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
}

.checkout-review-actions .button,
.checkout-success-actions .button {
  border: 0;
  cursor: pointer;
}

.checkout-success {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.checkout-success-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  color: var(--cream-50);
  background: var(--forest-800);
  border: 8px solid rgba(40, 100, 84, 0.13);
  border-radius: 50%;
  background-clip: padding-box;
  font-size: 1.5rem;
}

.commerce-toast {
  position: fixed;
  z-index: 10100;
  right: 26px;
  bottom: 26px;
  max-width: min(380px, calc(100% - 36px));
  padding: 15px 18px;
  opacity: 0;
  color: var(--cream-50);
  background: var(--forest-950);
  border: 1px solid rgba(222, 197, 143, 0.36);
  box-shadow: 0 18px 45px rgba(5, 25, 20, 0.26);
  pointer-events: none;
  font-size: 0.73rem;
  font-weight: 600;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.commerce-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-buy-bar {
  display: none;
}

@keyframes commerce-count-pulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.35); }
}

@media (max-width: 1180px) {
  .product-showcase {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  }

  .product-gallery {
    min-height: 740px;
  }

  .product-buy-panel {
    padding: 46px;
  }
}

@media (max-width: 980px) {
  .shop-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .shop-heading > p {
    max-width: 700px;
  }

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

  .product-gallery {
    min-height: 680px;
  }

  .product-image-stage img {
    width: min(42%, 300px);
    max-height: 530px;
  }

  .checkout-body {
    grid-template-columns: 1fr 310px;
  }
}

@media (max-width: 820px) {
  .checkout-modal {
    padding: 0;
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .checkout-shell {
    width: 100%;
    min-height: 100svh;
    max-height: none;
  }

  .checkout-body {
    display: flex;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
  }

  .checkout-main {
    flex: 0 0 auto;
    overflow: visible;
  }

  .checkout-summary {
    min-height: auto;
    overflow: visible;
  }
}

@media (max-width: 680px) {
  .header-cart {
    gap: 7px;
  }

  .header-cart > span:nth-child(2) {
    display: none;
  }

  .hero-commerce-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 22px;
  }

  .hero-commerce-note strong {
    font-size: 1.3rem;
  }

  .shop-section {
    padding-top: 90px;
  }

  .shop-section::before {
    top: 4%;
    font-size: 27vw;
  }

  .shop-heading {
    margin-bottom: 38px;
  }

  .shop-heading h2 {
    font-size: clamp(3.25rem, 15vw, 4.5rem);
  }

  .shop-heading > p {
    font-size: 0.9rem;
  }

  .product-showcase {
    width: 100%;
    border-right: 0;
    border-left: 0;
    box-shadow: 0 24px 70px rgba(16, 43, 35, 0.12);
  }

  .product-gallery {
    min-height: 520px;
    padding: 24px 18px;
  }

  .product-gallery-copy strong {
    max-width: 130px;
    font-size: 1rem;
  }

  .product-image-stage {
    inset: 14% 0 9%;
  }

  .product-image-stage img {
    width: min(50%, 225px);
    max-height: 390px;
  }

  .product-image-halo {
    width: 66%;
  }

  .product-pack-badge {
    right: 12%;
    bottom: 21%;
    min-width: 68px;
    height: 68px;
    font-size: 1rem;
  }

  .product-gallery-foot span {
    padding-top: 13px;
    font-size: 0.65rem;
  }

  .product-buy-panel {
    padding: 38px 20px 44px;
  }

  .product-title-row {
    display: block;
  }

  .product-stock {
    margin-top: 15px;
  }

  .product-title-row h3 {
    font-size: 2.65rem;
  }

  .product-price-line {
    flex-wrap: wrap;
  }

  .product-price-line small {
    width: 100%;
    margin-left: 0;
  }

  .pack-options {
    gap: 8px;
  }

  .pack-option {
    min-height: 72px;
    padding: 12px;
  }

  .purchase-selector {
    grid-template-columns: 1fr;
  }

  .product-purchase-row {
    grid-template-columns: 105px 1fr;
  }

  .product-add-button {
    padding-inline: 16px;
    letter-spacing: 0.02em;
  }

  .product-add-button #addToCartPrice {
    display: none;
  }

  .product-reassurance {
    gap: 8px;
  }

  .product-reassurance span {
    font-size: 0.65rem;
  }

  .cart-drawer {
    width: 100%;
  }

  .cart-header {
    min-height: 92px;
    padding: 19px 20px;
  }

  .cart-items {
    padding: 4px 20px;
  }

  .cart-footer {
    padding: 20px 20px max(20px, env(safe-area-inset-bottom));
  }

  .checkout-header {
    min-height: 78px;
    padding: 14px 16px;
  }

  .checkout-brand {
    width: 118px;
  }

  .checkout-progress {
    display: none;
  }

  .checkout-main {
    padding: 42px 20px;
  }

  .checkout-step > h2,
  .checkout-success h2 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .checkout-fields-two {
    grid-template-columns: 1fr;
  }

  .checkout-field-wide {
    grid-column: 1;
  }

  .checkout-review-actions,
  .checkout-success-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .checkout-review-actions .button,
  .checkout-success-actions .button {
    width: 100%;
  }

  .checkout-summary {
    padding: 34px 20px;
  }

  .commerce-toast {
    right: 18px;
    bottom: 94px;
  }

  .mobile-buy-bar {
    position: fixed;
    z-index: 9990;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 9px 9px 18px;
    opacity: 0;
    color: var(--cream-50);
    background: rgba(11, 39, 33, 0.97);
    border: 1px solid rgba(222, 197, 143, 0.36);
    box-shadow: 0 16px 44px rgba(5, 25, 20, 0.3);
    pointer-events: none;
    transform: translateY(calc(100% + 20px));
    transition: opacity 220ms ease, transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1);
  }

  .mobile-buy-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.commerce-open .mobile-buy-bar,
  body.menu-open .mobile-buy-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 20px));
  }

  .mobile-buy-bar small,
  .mobile-buy-bar strong {
    display: block;
  }

  .mobile-buy-bar small {
    color: var(--wheat-300);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-buy-bar strong {
    margin-top: 2px;
    font-family: var(--serif);
    font-size: 1.15rem;
  }

  .mobile-buy-bar button {
    min-height: 48px;
    padding: 10px 20px;
    color: var(--forest-950);
    background: var(--wheat-300);
    border: 0;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
}

@media (max-width: 430px) {
  .product-gallery {
    min-height: 480px;
  }

  .product-image-stage img {
    width: min(53%, 205px);
  }

  .pack-option b {
    font-size: 0.68rem;
  }

  .product-purchase-row {
    grid-template-columns: 92px 1fr;
  }

  .cart-item {
    grid-template-columns: 84px 1fr;
    gap: 14px;
  }

  .cart-item-visual {
    min-height: 120px;
  }

  .cart-item-visual img {
    width: 58px;
  }

  .cart-item-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}

/* Pack selection motion — symbolic chapatis fill the chosen fresh batch. */

.pack-fill-animation {
  --chapati-size: clamp(38px, 5vw, 56px);
  --drop-start-y: -38px;
  --drop-mid-y: 88px;
  --drop-end-y: 184px;
  position: absolute;
  z-index: 1;
  top: 3%;
  left: 50%;
  width: min(62%, 320px);
  height: 46%;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
  perspective: 620px;
  transform: translateX(-50%);
}

.chapati-token {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--chapati-size);
  aspect-ratio: 1.08;
  opacity: 0;
  background:
    radial-gradient(circle at 31% 29%, rgba(113, 65, 25, 0.62) 0 3%, transparent 4%),
    radial-gradient(circle at 68% 38%, rgba(130, 77, 28, 0.48) 0 2.6%, transparent 3.7%),
    radial-gradient(circle at 44% 69%, rgba(104, 59, 22, 0.42) 0 2.8%, transparent 4%),
    radial-gradient(circle at 57% 53%, #f6dfa1 0%, #e3bd70 57%, #bd8037 100%);
  border: 1px solid rgba(110, 68, 27, 0.56);
  border-radius: 48% 52% 46% 54% / 52% 45% 55% 48%;
  box-shadow:
    inset 4px 5px 10px rgba(255, 249, 213, 0.3),
    inset -5px -6px 9px rgba(111, 65, 22, 0.18),
    0 7px 10px rgba(4, 23, 19, 0.22);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.product-gallery.is-filling .pack-fill-animation .chapati-token,
.pack-selection-scene.is-filling .chapati-token {
  animation: chapati-into-pack 640ms cubic-bezier(0.22, 0.78, 0.25, 1) var(--roti-delay) both;
}

.product-gallery.is-filling #shopProductImage {
  animation: packet-receive 760ms cubic-bezier(0.22, 0.78, 0.25, 1) both;
}

.product-pack-badge.is-changing {
  animation: pack-badge-update 520ms cubic-bezier(0.22, 0.78, 0.25, 1) both;
}

.pack-selection-scene {
  display: none;
}

@keyframes chapati-into-pack {
  0% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--roti-start-x)), var(--drop-start-y), 0) rotateX(58deg) rotateZ(var(--roti-rotation)) scale(0.78);
  }

  16% {
    opacity: 1;
  }

  58% {
    opacity: 1;
    transform: translate3d(calc(-50% + var(--roti-mid-x)), var(--drop-mid-y), 0) rotateX(48deg) rotateZ(var(--roti-mid-rotation)) scale(0.94);
  }

  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(-50%, var(--drop-end-y), 0) rotateX(68deg) rotateZ(0deg) scale(0.42);
  }
}

@keyframes packet-receive {
  0%, 60%, 100% {
    transform: translate3d(0, 8px, 26px) rotateY(-2deg) scale(1);
  }

  77% {
    transform: translate3d(0, 11px, 22px) rotateY(-1deg) scaleX(1.006) scaleY(0.994);
  }

  90% {
    transform: translate3d(0, 6px, 28px) rotateY(-2deg) scale(1.004);
  }
}

@keyframes pack-badge-update {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }

  36% {
    transform: scale(0.9) rotate(-4deg);
  }

  68% {
    transform: scale(1.045) rotate(1deg);
  }
}

@media (max-width: 940px) {
  .pack-selection-scene {
    --chapati-size: 24px;
    --drop-start-y: 0px;
    --drop-mid-y: 18px;
    --drop-end-y: 48px;
    position: fixed;
    z-index: 120;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: min(306px, calc(100vw - 36px));
    min-height: 94px;
    display: grid;
    grid-template-columns: 1fr 78px;
    align-items: center;
    gap: 16px;
    padding: 13px 14px 13px 18px;
    visibility: hidden;
    opacity: 0;
    color: var(--cream-50);
    background:
      radial-gradient(circle at 84% 18%, rgba(222, 197, 143, 0.18), transparent 34%),
      var(--forest-950);
    border: 1px solid rgba(222, 197, 143, 0.5);
    box-shadow: 0 22px 58px rgba(7, 30, 25, 0.28);
    pointer-events: none;
  }

  .pack-selection-scene.is-filling {
    visibility: visible;
    animation: pack-scene-visit 920ms ease both;
  }

  .pack-selection-scene-copy strong,
  .pack-selection-scene-copy span {
    display: block;
  }

  .pack-selection-scene-copy strong {
    color: var(--wheat-200);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 500;
  }

  .pack-selection-scene-copy span {
    margin-top: 4px;
    color: rgba(255, 253, 248, 0.68);
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }

  .pack-selection-mini-stage {
    position: relative;
    width: 72px;
    height: 72px;
    overflow: hidden;
    contain: paint;
  }

  .pack-selection-mini-fill {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    contain: paint;
    perspective: 420px;
  }

  .pack-selection-mini-fill .chapati-token {
    top: -2px;
    left: 63%;
  }

  .pack-selection-mini-stage img {
    position: absolute;
    z-index: 2;
    right: 1px;
    bottom: -9px;
    width: 48px;
    height: auto;
    filter: drop-shadow(0 7px 7px rgba(0, 0, 0, 0.32));
  }

  .pack-selection-scene.is-filling .pack-selection-mini-stage img {
    animation: mini-packet-receive 720ms cubic-bezier(0.22, 0.78, 0.25, 1) both;
  }
}

@keyframes pack-scene-visit {
  0% {
    visibility: visible;
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.98);
  }

  13%, 80% {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    visibility: visible;
    opacity: 0;
    transform: translate3d(0, 5px, 0) scale(0.99);
  }
}

@keyframes mini-packet-receive {
  0%, 60%, 100% {
    transform: translateY(0) scale(1);
  }

  78% {
    transform: translateY(2px) scaleX(1.015) scaleY(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pack-fill-animation,
  .pack-selection-scene {
    display: none !important;
  }

  .product-gallery.is-filling #shopProductImage,
  .product-pack-badge.is-changing,
  .pack-selection-scene.is-filling .pack-selection-mini-stage img {
    animation: none !important;
  }
}

.purchase-option[aria-disabled="true"],
.weekly-plan-field select:disabled,
.calculator-plan-field select:disabled {
  cursor: wait;
  opacity: .58;
}

#calculatorCta[aria-disabled="true"],
.hero-subscribe[aria-disabled="true"] {
  pointer-events: none;
  opacity: .52;
}

/* Keep the calculator's primary recommendation steady and single-tap friendly. */
.calculator-plan-cta {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.calculator-plan-cta:hover,
.calculator-plan-cta:active {
  transform: none;
}

.calculator-plan-cta:hover:not(:disabled) {
  background: var(--forest-800);
  box-shadow: inset 0 0 0 1px rgba(222, 197, 143, .42);
}

.calculator-plan-cta:focus-visible {
  outline: 3px solid var(--wheat-400);
  outline-offset: 4px;
}

.calculator-plan-cta:disabled {
  cursor: not-allowed;
}

.cursor-ready .calculator-plan-cta[data-cursor-hide]:not(:disabled) {
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .motion-ready .calculator.reveal.is-visible:hover,
  .motion-ready .calculator.reveal.is-visible:focus-within {
    transform: none;
  }
}

.cart-auth-gate[hidden] {
  display: none !important;
}

.cart-auth-gate {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 38px;
  background:
    radial-gradient(circle at 82% 18%, rgba(222, 197, 143, .24), transparent 34%),
    linear-gradient(145deg, #fffdf7, #f5eddf);
  border-bottom: 1px solid rgba(17, 55, 46, .14);
}

.cart-auth-gate-mark {
  position: relative;
  width: 58px;
  height: 58px;
  display: block;
  margin-bottom: 26px;
  color: var(--forest-900);
  background: rgba(222, 197, 143, .2);
  border: 1px solid rgba(17, 55, 46, .24);
  border-radius: 50%;
}

.cart-auth-gate-mark::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 18px;
  height: 16px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  transform: translateX(-50%);
}

.cart-auth-gate-mark::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 50%;
  width: 25px;
  height: 19px;
  background: currentColor;
  border-radius: 2px;
  transform: translateX(-50%);
}

.cart-auth-gate h3 {
  max-width: 340px;
  margin: 0 0 14px;
  color: var(--forest-950);
  font-size: clamp(2.15rem, 6vw, 3rem);
  line-height: .96;
}

.cart-auth-gate > p:not(.eyebrow) {
  max-width: 350px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.7;
}

.cart-auth-gate .button {
  min-height: 50px;
  margin-bottom: 14px;
}

.cart-auth-gate small {
  color: var(--muted);
  font-size: .62rem;
}

@media (max-width: 560px) {
  .cart-auth-gate {
    min-height: 390px;
    padding: 38px 24px;
  }
}

.cart-item.is-unavailable,
.checkout-summary-item.is-unavailable {
  border-color: rgba(164, 77, 45, 0.42);
  background: linear-gradient(135deg, rgba(255, 248, 238, 0.98), rgba(249, 231, 211, 0.72));
}

.cart-item-warning {
  color: #8e3f2a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Real commerce API surfaces — 29 July 2026 */

.store-service-status[hidden],
.catalog-api-status[hidden],
.cart-api-status[hidden],
.checkout-address-status[hidden],
.checkout-saved-addresses[hidden],
.checkout-address-empty[hidden],
.checkout-new-address[hidden],
.checkout-place-order-status[hidden],
.checkout-otp-resend time[hidden] {
  display: none !important;
}

.header-inner {
  grid-template-columns: 180px minmax(0, 1fr) auto auto;
  gap: 18px;
}

.header-account {
  min-height: 44px;
  display: inline-flex;
  grid-column: 3;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 12px;
  color: var(--forest-900);
  border: 1px solid rgba(17, 55, 46, 0.2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-account:hover {
  color: var(--forest-950);
  background: rgba(222, 197, 143, 0.16);
  border-color: rgba(17, 55, 46, 0.42);
}

.header-account:focus-visible {
  outline: 3px solid var(--wheat-400);
  outline-offset: 2px;
}

.header-account-icon {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.header-account-icon::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 4px;
  height: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.header-account-icon::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 2px;
  left: 3px;
  height: 5px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.header-cart {
  grid-column: 4;
}

.store-service-status {
  position: fixed;
  z-index: 9995;
  top: calc(var(--announcement-height) + var(--header-height) + 12px);
  left: 50%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  color: var(--cream-50);
  background: var(--forest-950);
  border: 1px solid rgba(222, 197, 143, 0.34);
  box-shadow: 0 15px 35px rgba(5, 25, 20, 0.2);
  font-size: 0.65rem;
  font-weight: 600;
  transform: translateX(-50%);
}

.store-service-status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--wheat-300);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(222, 197, 143, 0.12);
}

.store-service-status[data-state="success"] .store-service-status-dot {
  background: #a9cf9a;
}

.store-service-status[data-state="error"] {
  color: #fff8f3;
  background: #742f24;
  border-color: rgba(255, 248, 243, 0.25);
}

.store-service-status[data-state="error"] .store-service-status-dot {
  background: #f2b29f;
}

.store-service-status button,
.catalog-api-status button,
.cart-api-status button,
.checkout-address-status button {
  min-height: 30px;
  padding: 5px 9px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  cursor: pointer;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-api-status,
.cart-api-status,
.checkout-address-status,
.checkout-place-order-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: var(--forest-800);
  background: rgba(222, 197, 143, 0.13);
  border: 1px solid rgba(17, 55, 46, 0.14);
  font-size: 0.65rem;
  font-weight: 650;
}

.catalog-api-status {
  margin-bottom: 20px;
}

.cart-api-status {
  margin: 20px 20px 0;
}

.checkout-address-status {
  max-width: 720px;
  margin: 22px 0 0;
}

.checkout-place-order-status {
  margin: 4px 0 16px;
}

.api-status-spinner,
.api-button-spinner {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 2px solid rgba(17, 55, 46, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: api-spinner-rotate 720ms linear infinite;
}

.api-button-spinner {
  display: none;
  border-color: rgba(255, 253, 248, 0.35);
  border-top-color: currentColor;
}

.api-async-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.api-async-button[aria-busy="true"] .api-button-spinner,
.checkout-otp-verify[aria-busy="true"] .api-button-spinner {
  display: inline-block;
}

.api-async-button[aria-busy="true"],
.checkout-otp-verify[aria-busy="true"],
.api-async-button:disabled,
.checkout-otp-verify:disabled {
  opacity: 0.68;
  cursor: wait;
}

@keyframes api-spinner-rotate {
  to { transform: rotate(360deg); }
}

.checkout-auth-notice {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  margin-top: 20px;
  background:
    linear-gradient(135deg, rgba(222, 197, 143, 0.16), rgba(255, 254, 250, 0.76)),
    #f7f1e6;
  border: 1px solid rgba(17, 55, 46, 0.16);
}

.checkout-auth-notice-icon {
  position: relative;
  width: 37px;
  height: 37px;
  display: block;
  border: 1px solid var(--forest-700);
  border-radius: 50%;
}

.checkout-auth-notice-icon::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 11px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 6px 6px 0 0;
  transform: translateX(-50%);
}

.checkout-auth-notice-icon::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  width: 15px;
  height: 11px;
  background: var(--forest-800);
  transform: translateX(-50%);
}

.checkout-auth-notice strong {
  display: block;
  color: var(--forest-950);
  font-size: 0.73rem;
}

.checkout-auth-notice p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.63rem;
  line-height: 1.5;
}

.checkout-otp-entry {
  grid-template-columns: minmax(210px, 1fr) auto;
}

.checkout-otp-verify {
  min-height: 48px;
  margin-bottom: 18px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.checkout-otp-resend {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.62rem;
}

.checkout-otp-resend .checkout-otp-reset {
  min-height: 36px;
  padding: 6px 10px;
}

.checkout-otp-resend time {
  color: var(--forest-800);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.checkout-fieldset-intro {
  max-width: 630px;
  margin: -6px 0 17px;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.5;
}

.checkout-saved-addresses,
.checkout-delivery-availability,
.checkout-payment-methods {
  max-width: 720px;
  padding: 20px;
  margin-top: 22px;
  background: rgba(222, 197, 143, 0.08);
  border: 1px solid rgba(17, 55, 46, 0.16);
}

.checkout-new-address {
  max-width: 720px;
  margin-top: 22px;
}

.checkout-subsection-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.checkout-subsection-heading > div > span {
  color: var(--rust-500);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-subsection-heading h3 {
  margin: 2px 0 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.checkout-subsection-heading button {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--forest-900);
  background: transparent;
  border: 1px solid rgba(17, 55, 46, 0.26);
  cursor: pointer;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkout-address-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-address-option {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 15px;
  color: var(--muted);
  background: #fffefa;
  border: 1px solid rgba(17, 55, 46, 0.18);
  cursor: pointer;
}

.checkout-address-option:has(input:checked),
.checkout-address-option.is-selected {
  color: var(--forest-900);
  background: rgba(222, 197, 143, 0.14);
  border-color: var(--forest-700);
  box-shadow: inset 3px 0 0 var(--wheat-500);
}

.checkout-address-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkout-address-option strong,
.checkout-address-option small {
  display: block;
}

.checkout-address-option strong {
  color: var(--forest-950);
  font-size: 0.72rem;
}

.checkout-address-option small {
  margin-top: 4px;
  font-size: 0.61rem;
  line-height: 1.45;
}

.checkout-address-option i {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 55, 46, 0.34);
  border-radius: 50%;
}

.checkout-address-option:has(input:checked) i::after,
.checkout-address-option.is-selected i::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--forest-800);
  border-radius: 50%;
}

.checkout-address-option:focus-within {
  outline: 3px solid var(--wheat-400);
  outline-offset: 2px;
}

.checkout-address-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.checkout-delivery-availability > p {
  padding: 10px 12px;
  margin: 0 0 15px;
  color: var(--forest-800);
  background: rgba(40, 100, 84, 0.06);
  border-left: 2px solid var(--wheat-500);
  font-size: 0.65rem;
  line-height: 1.45;
}

.checkout-delivery-availability .checkout-fields {
  align-items: start;
}

.checkout-payment-methods {
  padding: 20px;
}

.checkout-payment-methods legend {
  padding: 0 5px;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.checkout-payment-option {
  position: relative;
  min-height: 70px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 13px;
  padding: 13px;
  margin-top: 10px;
  background: #fffefa;
  border: 1px solid rgba(17, 55, 46, 0.18);
  cursor: pointer;
}

.checkout-payment-option:has(input:checked),
.checkout-payment-option.is-selected {
  background: rgba(222, 197, 143, 0.14);
  border-color: var(--forest-700);
  box-shadow: inset 3px 0 0 var(--wheat-500);
}

.checkout-payment-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkout-payment-option-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--forest-950);
  background: var(--wheat-300);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
}

.checkout-payment-option-wallet {
  color: var(--cream-50);
  background: var(--forest-800);
}

.checkout-payment-option strong,
.checkout-payment-option small {
  display: block;
}

.checkout-payment-option strong {
  color: var(--forest-950);
  font-size: 0.72rem;
}

.checkout-payment-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.61rem;
}

.checkout-payment-option i {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 55, 46, 0.34);
  border-radius: 50%;
}

.checkout-payment-option:has(input:checked) i::after,
.checkout-payment-option.is-selected i::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--forest-800);
  border-radius: 50%;
}

.checkout-payment-option:focus-within {
  outline: 3px solid var(--wheat-400);
  outline-offset: 2px;
}

.checkout-payment-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--rust-600);
  font-size: 0.62rem;
}

.checkout-success-details {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0 8px;
  background: rgba(17, 55, 46, 0.14);
  border: 1px solid rgba(17, 55, 46, 0.14);
}

.checkout-success-details > div {
  padding: 15px;
  background: #fffefa;
}

.checkout-success-details dt {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-success-details dd {
  margin: 4px 0 0;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
}

.checkout-success-support {
  margin-top: 18px !important;
  font-size: 0.67rem !important;
}

.checkout-success-support a {
  color: var(--forest-800);
  font-weight: 750;
  text-underline-offset: 3px;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    gap: 10px;
  }

  .header-account {
    grid-column: 3;
  }

  .header-cart {
    grid-column: 4;
  }

  .menu-toggle {
    grid-column: 5;
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: min(calc(100% - 24px), 1440px);
    gap: 7px;
  }

  .header-account {
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

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

  .checkout-saved-addresses,
  .checkout-delivery-availability,
  .checkout-payment-methods {
    padding: 16px;
  }

  .checkout-subsection-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .checkout-subsection-heading button {
    align-self: flex-start;
  }

  .checkout-address-list,
  .checkout-success-details {
    grid-template-columns: 1fr;
  }

  .checkout-otp-entry {
    grid-template-columns: 1fr;
  }

  .checkout-otp-verify {
    width: 100%;
    margin: 0;
  }

  .checkout-otp-resend {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .checkout-payment-option {
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    gap: 10px;
  }
}

@media (max-width: 430px) {
  .brand {
    width: 108px;
  }

  .header-account,
  .header-cart,
  .menu-toggle {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .header-cart {
    justify-content: center;
  }

  .header-cart .cart-count {
    position: absolute;
    top: 2px;
    right: 1px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: 0.54rem;
  }

  .store-service-status {
    width: calc(100% - 24px);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .api-status-spinner,
  .api-button-spinner {
    animation: none !important;
  }
}

/* Client observations — introductory credit and transparent totals */

.cart-subtotal strong,
.checkout-summary-total strong {
  font-size: 1.25rem;
}

.cart-credit,
.cart-total,
.checkout-summary-credit,
.checkout-summary-delivery,
.checkout-summary-grand-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.cart-credit {
  padding: 8px 0;
  color: var(--forest-800);
  border-top: 1px solid rgba(17, 55, 46, 0.12);
}

.cart-credit span,
.checkout-summary-credit span,
.checkout-summary-delivery span {
  font-size: 0.65rem;
  font-weight: 700;
}

.cart-credit strong,
.checkout-summary-credit strong,
.checkout-summary-delivery strong {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.cart-total {
  padding: 12px 0 8px;
  margin-top: 4px;
  color: var(--forest-950);
  border-top: 1px solid rgba(17, 55, 46, 0.22);
}

.cart-total span,
.checkout-summary-grand-total span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cart-total strong,
.checkout-summary-grand-total strong {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
}

.checkout-summary-credit {
  padding: 10px 0;
  color: var(--wheat-300);
  border-top: 1px solid rgba(255, 253, 248, 0.16);
}

.checkout-summary-delivery {
  padding: 10px 0;
  color: rgba(255, 253, 248, 0.8);
  border-top: 1px solid rgba(255, 253, 248, 0.16);
}

.checkout-summary-delivery strong {
  color: var(--cream-50);
}

.checkout-summary-grand-total {
  padding: 14px 0 12px;
  margin-top: 3px;
  color: var(--cream-50);
  border-top: 1px solid rgba(255, 253, 248, 0.28);
}

.checkout-summary-grand-total strong {
  color: var(--wheat-300);
}

.cart-credit[hidden],
.checkout-summary-credit[hidden] {
  display: none;
}

/* Live offers — compact, contextual and verified against the current bag. */

.commerce-offers {
  margin: 14px 0;
  border: 1px solid rgba(17, 55, 46, 0.18);
  background: rgba(255, 254, 250, 0.72);
}

.commerce-offers-toggle {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--forest-950);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.commerce-offers-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--forest-950);
  background: var(--wheat-300);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1rem;
}

.commerce-offers-toggle strong,
.commerce-offers-toggle small {
  display: block;
}

.commerce-offers-toggle strong {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.commerce-offers-toggle small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.35;
}

.commerce-offers-chevron {
  color: var(--forest-700);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  transform: rotate(0);
  transition: transform 180ms ease;
}

.commerce-offers-toggle[aria-expanded="true"] .commerce-offers-chevron {
  transform: rotate(90deg);
}

.commerce-offers-panel {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(17, 55, 46, 0.12);
}

.commerce-offers-panel[hidden] {
  display: none !important;
}

.commerce-offers-search {
  display: block;
  padding-top: 13px;
}

.commerce-offers-search input {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  color: var(--forest-950);
  background: #fffefa;
  border: 1px solid rgba(17, 55, 46, 0.2);
  border-radius: 0;
  font: 600 0.64rem/1.2 var(--sans);
}

.commerce-offers-search input:focus {
  outline: 2px solid rgba(203, 166, 93, 0.5);
  outline-offset: 2px;
  border-color: var(--forest-700);
}

.commerce-offers-status {
  min-height: 16px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.57rem;
  line-height: 1.4;
}

.commerce-offers-list {
  display: grid;
  gap: 8px;
  margin-top: 5px;
}

.commerce-coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fffefa;
  border: 1px solid rgba(17, 55, 46, 0.16);
  border-left: 3px solid var(--forest-700);
}

.commerce-coupon.is-applied {
  background: rgba(222, 197, 143, 0.18);
  border-left-color: var(--wheat-500);
}

.commerce-coupon.is-ineligible {
  opacity: 0.68;
  border-left-color: rgba(17, 55, 46, 0.2);
}

.commerce-coupon-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.commerce-coupon-top strong {
  color: var(--forest-950);
  font: 800 0.64rem/1 var(--sans);
  letter-spacing: 0.08em;
}

.commerce-coupon-top span {
  padding: 3px 6px;
  color: var(--forest-800);
  background: rgba(40, 100, 84, 0.1);
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.commerce-coupon h4 {
  margin: 6px 0 2px;
  color: var(--forest-950);
  font-size: 0.66rem;
}

.commerce-coupon p {
  margin: 0;
  color: var(--muted);
  font-size: 0.55rem;
  line-height: 1.45;
}

.commerce-coupon > button {
  min-width: 60px;
  min-height: 34px;
  padding: 7px 9px;
  color: var(--forest-950);
  background: transparent;
  border: 1px solid var(--forest-700);
  cursor: pointer;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.commerce-coupon > button:hover:not(:disabled),
.commerce-coupon > button:focus-visible {
  color: var(--cream-50);
  background: var(--forest-800);
}

.commerce-coupon > button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.commerce-offers-empty {
  padding: 12px;
  background: rgba(222, 197, 143, 0.1);
  border: 1px dashed rgba(17, 55, 46, 0.2);
}

.commerce-offers-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.59rem;
  line-height: 1.5;
}

.commerce-offers-empty a {
  display: inline-block;
  margin-top: 8px;
  color: var(--forest-800);
  font-size: 0.58rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Live PIN-code confirmation belongs with the address, before it is saved. */

.checkout-pincode-serviceability {
  grid-column: 1 / -1;
  min-height: 62px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-top: -3px;
  background: rgba(222, 197, 143, 0.09);
  border: 1px solid rgba(17, 55, 46, 0.16);
}

.checkout-pincode-dot {
  width: 10px;
  height: 10px;
  display: block;
  background: rgba(17, 55, 46, 0.24);
  border: 3px solid rgba(17, 55, 46, 0.08);
  border-radius: 50%;
  background-clip: padding-box;
}

.checkout-pincode-serviceability p {
  margin: 0;
}

.checkout-pincode-serviceability strong,
.checkout-pincode-serviceability small {
  display: block;
}

.checkout-pincode-serviceability strong {
  color: var(--forest-950);
  font-size: 0.65rem;
}

.checkout-pincode-serviceability small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.56rem;
  line-height: 1.4;
}

.checkout-pincode-serviceability button,
.checkout-pincode-serviceability a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  color: var(--forest-900);
  background: transparent;
  border: 1px solid rgba(17, 55, 46, 0.3);
  cursor: pointer;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.checkout-pincode-serviceability [hidden] {
  display: none !important;
}

.checkout-pincode-serviceability[data-state="checking"] .checkout-pincode-dot {
  background: var(--wheat-500);
  animation: api-status-spin 900ms linear infinite;
}

.checkout-pincode-serviceability[data-state="success"] {
  background: rgba(40, 100, 84, 0.08);
  border-color: rgba(40, 100, 84, 0.32);
}

.checkout-pincode-serviceability[data-state="success"] .checkout-pincode-dot {
  background: var(--forest-700);
}

.checkout-pincode-serviceability[data-state="error"],
.checkout-pincode-serviceability[data-state="auth"] {
  background: rgba(175, 67, 44, 0.06);
  border-color: rgba(175, 67, 44, 0.28);
}

.checkout-pincode-serviceability[data-state="error"] .checkout-pincode-dot,
.checkout-pincode-serviceability[data-state="auth"] .checkout-pincode-dot {
  background: var(--rust-500);
}

@media (max-width: 560px) {
  .checkout-pincode-serviceability {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .checkout-pincode-serviceability button,
  .checkout-pincode-serviceability a {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 390px) {
  .header-cart .header-cart-icon {
    display: inline-block;
  }

  .header-cart .cart-count {
    display: inline-grid;
  }
}

@media (max-width: 360px) {
  .header-inner {
    gap: 8px;
  }

  .brand {
    width: 108px;
  }

  .header-cart {
    min-width: 62px;
    display: inline-flex;
    padding-inline: 9px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-commerce-note,
  .product-image-stage img,
  .product-pack-badge,
  .cart-count,
  .commerce-backdrop,
  .cart-drawer,
  .checkout-modal,
  .commerce-toast,
  .mobile-buy-bar {
    animation: none;
    transition: none;
  }

  .product-gallery:hover .product-image-stage img,
  .product-image-stage img,
  .product-image-stage img.is-changing,
  .product-pack-badge.is-changing {
    opacity: 1;
    transform: none;
  }

  .button:hover,
  .pack-option:hover,
  .commerce-close:hover {
    transform: none;
  }
}

/* Premium commerce redesign — compact, product-led and conversion focused. */

body.commerce-open .atulyash-cursor {
  display: none !important;
}

.shop-section img,
.cart-drawer img,
.checkout-modal img {
  height: auto;
}

.shop-section {
  padding: clamp(84px, 8vw, 124px) 0 clamp(104px, 10vw, 150px);
  background:
    radial-gradient(circle at 88% 12%, rgba(203, 166, 93, 0.19), transparent 24%),
    linear-gradient(180deg, #f4ecdd 0%, #fffdf8 62%, #f7f1e6 100%);
}

.shop-section::before {
  top: 4%;
  right: 1%;
  font-size: clamp(6rem, 13vw, 13rem);
  opacity: 0.04;
}

.shop-heading {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: clamp(44px, 8vw, 116px);
  margin-bottom: clamp(36px, 4vw, 58px);
}

.shop-heading h2 {
  max-width: 720px;
  font-size: clamp(3.7rem, 5.7vw, 5.7rem);
  line-height: 0.9;
}

.shop-heading > p {
  padding-left: 28px;
  border-left: 1px solid rgba(17, 55, 46, 0.22);
  font-size: 0.96rem;
}

.product-showcase {
  grid-template-columns: minmax(360px, 0.86fr) minmax(500px, 1.14fr);
  align-items: start;
  border-color: rgba(17, 55, 46, 0.2);
  box-shadow: 0 42px 110px rgba(11, 39, 33, 0.16);
  scroll-margin-top: 96px;
}

#packSelector {
  scroll-margin-top: 112px;
}

.product-gallery {
  position: sticky;
  top: 82px;
  height: clamp(620px, calc(100vh - 102px), 760px);
  min-height: 0;
  align-self: start;
  padding: 38px;
  background:
    radial-gradient(circle at 50% 45%, rgba(222, 197, 143, 0.22), transparent 34%),
    linear-gradient(150deg, #3B7B3B 0%, #3B7B3B 60%, #3B7B3B 100%);
}

.product-gallery::after {
  top: 20%;
  width: 76%;
}

.product-gallery-copy strong {
  max-width: 155px;
  font-size: 1.12rem;
}

.product-image-stage {
  inset: 11% 0 10%;
}

.product-image-stage img {
  width: min(78%, 430px);
  max-height: none;
  filter: drop-shadow(0 38px 34px rgba(0, 0, 0, 0.48));
  transform: translate3d(0, 8px, 26px) rotateY(-2deg);
}

.product-gallery:hover .product-image-stage img {
  transform: translate3d(0, -4px, 38px) rotateY(2deg) scale(1.015);
}

.product-image-halo {
  width: min(72%, 430px);
}

.product-pack-badge {
  right: 9%;
  bottom: 20%;
  min-width: 78px;
  height: 78px;
  font-size: 1.08rem;
}

.product-buy-panel {
  padding: clamp(36px, 4vw, 56px);
}

.product-title-row {
  align-items: center;
}

.product-title-row h3 {
  max-width: 500px;
  font-size: clamp(2.65rem, 3.8vw, 3.8rem);
  line-height: 0.92;
}

.product-description {
  margin: 18px 0;
  font-size: 0.9rem;
}

.product-price-line {
  padding: 18px 0;
}

.product-price-line strong {
  font-size: 2rem;
}

.pack-selector,
.purchase-selector {
  margin-top: 23px;
}

.pack-option {
  min-height: 68px;
  padding: 11px 14px;
}

.purchase-option {
  min-height: 82px;
  padding: 12px 14px;
}

.product-purchase-row {
  margin-top: 22px;
}

.product-reassurance {
  padding: 18px 0;
  margin-top: 16px;
}

.product-details summary {
  min-height: 50px;
}

.product-details details p {
  padding-bottom: 15px;
}

.cart-empty-visual {
  width: 142px;
  height: 160px;
  background:
    radial-gradient(circle at 50% 46%, rgba(222, 197, 143, 0.17), transparent 42%),
    var(--forest-950);
  border-color: rgba(222, 197, 143, 0.35);
}

.cart-empty-visual img {
  width: 106px;
  margin: 0;
  filter: drop-shadow(0 15px 14px rgba(0, 0, 0, 0.36));
}

.cart-promise {
  margin: 26px 30px 34px;
  padding: 22px 24px;
  background: #f7f1e6;
  border: 1px solid rgba(17, 55, 46, 0.12);
}

.cart-promise > p {
  margin: 0 0 14px;
  color: var(--rust-500);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cart-promise ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cart-promise li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest-800);
  font-size: 0.72rem;
  font-weight: 600;
}

.cart-promise li span {
  color: var(--wheat-600);
  font-family: var(--serif);
  font-size: 0.92rem;
}

.cart-item {
  align-items: start;
}

.cart-item-visual {
  height: 138px;
  min-height: 0;
  align-self: start;
}

.cart-item-visual img {
  width: 86px;
  filter: drop-shadow(0 13px 12px rgba(0, 0, 0, 0.38));
}

.cart-item-top h3 {
  font-size: 0.88rem;
}

.cart-footer .button-primary {
  background: var(--forest-900);
}

.cart-footer .button-primary:hover {
  background: var(--forest-700);
}

.checkout-step > h2,
.checkout-success h2 {
  font-size: clamp(3.2rem, 4vw, 3.75rem);
  line-height: 0.94;
}

@media (max-width: 1180px) {
  .product-showcase {
    grid-template-columns: minmax(310px, 0.76fr) minmax(440px, 1.24fr);
  }

  .product-gallery {
    padding: 30px;
  }

  .product-buy-panel {
    padding: 38px;
  }

  .product-title-row h3 {
    font-size: 3rem;
  }
}

@media (max-width: 940px) {
  .shop-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .shop-heading h2 {
    max-width: 650px;
    font-size: clamp(3.5rem, 8vw, 4.8rem);
  }

  .shop-heading > p {
    max-width: 670px;
  }

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

  .product-gallery {
    position: relative;
    top: auto;
    height: auto;
    min-height: 520px;
    padding: 26px;
  }

  .product-gallery-copy {
    display: flex;
  }

  .product-gallery-copy strong {
    display: block;
    margin-top: 0;
    text-align: right;
  }

  .product-gallery-foot {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-gallery-foot span {
    padding: 12px 6px 0;
    border-right: 1px solid rgba(255, 253, 248, 0.13);
    border-bottom: 0;
  }

  .product-gallery-foot span:last-child {
    border-right: 0;
  }

  .product-buy-panel {
    padding: 32px;
  }

  .product-title-row {
    display: block;
  }

  .product-stock {
    margin-top: 13px;
  }

  .product-title-row h3 {
    font-size: 2.7rem;
  }
}

@media (max-width: 760px) {
  .product-gallery {
    min-height: 455px;
    padding: 25px;
  }

  .product-gallery-copy {
    display: flex;
  }

  .product-gallery-copy strong {
    display: block;
    margin-top: 0;
    text-align: right;
  }

  .product-gallery-foot {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-gallery-foot span {
    padding: 12px 6px 0;
    border-right: 1px solid rgba(255, 253, 248, 0.13);
    border-bottom: 0;
  }

  .product-image-stage {
    inset: 12% 0 9%;
  }

  .product-image-stage img {
    width: min(66%, 300px);
  }

  .product-image-halo {
    width: min(68%, 310px);
  }

  .product-pack-badge {
    right: 16%;
    bottom: 20%;
  }

  .product-buy-panel {
    padding: 38px 24px 44px;
  }
}

@media (max-width: 820px) {
  .checkout-modal {
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    place-items: initial;
  }

  .checkout-shell {
    min-height: 100svh;
    max-height: none;
    display: block;
    overflow: visible;
  }

  .checkout-header {
    position: sticky;
    z-index: 5;
    top: 0;
    min-height: 78px;
    height: auto;
    background: rgba(255, 253, 248, 0.96);
    backdrop-filter: blur(14px);
  }

  .checkout-body {
    min-height: auto;
    display: flex;
    overflow: visible;
  }

  .checkout-main,
  .checkout-summary {
    overflow: visible;
  }
}

@media (max-width: 680px) {
  .shop-section {
    padding: 72px 0 92px;
  }

  .shop-section::before {
    top: 3%;
  }

  .shop-heading {
    margin-bottom: 28px;
  }

  .shop-heading h2 {
    font-size: clamp(3.2rem, 14vw, 4.15rem);
    line-height: 0.92;
  }

  .shop-heading > p {
    padding: 16px 0 0;
    border-top: 1px solid rgba(17, 55, 46, 0.18);
    border-left: 0;
    font-size: 0.86rem;
  }

  .product-gallery {
    min-height: 405px;
    padding: 21px 18px;
  }

  .product-gallery-copy strong {
    max-width: 120px;
  }

  .product-image-stage img {
    width: min(67%, 255px);
  }

  .product-pack-badge {
    right: 13%;
    bottom: 21%;
    min-width: 64px;
    height: 64px;
    font-size: 0.94rem;
  }

  .product-buy-panel {
    padding: 32px 20px 40px;
  }

  .product-title-row h3 {
    font-size: 2.7rem;
  }

  .product-description {
    margin: 17px 0;
  }

  .pack-selector,
  .purchase-selector {
    margin-top: 21px;
  }

  .cart-item-visual {
    height: 120px;
  }

  .cart-item-visual img {
    width: 74px;
  }

  .cart-promise {
    margin: 22px 20px 30px;
    padding: 19px 20px;
  }

  .checkout-main {
    padding: 34px 20px 42px;
  }

  .checkout-progress {
    display: block;
    margin-left: auto;
    margin-right: 8px;
    font-size: 0.56rem;
  }

  .checkout-progress span,
  .checkout-progress i {
    display: none;
  }

  .checkout-progress span[aria-current="step"] {
    display: inline-flex;
  }

  .checkout-progress b {
    width: 19px;
    height: 19px;
  }

  .checkout-progress [data-checkout-indicator="1"][aria-current="step"]::after {
    content: "Step 1 of 3";
  }

  .checkout-progress [data-checkout-indicator="2"][aria-current="step"]::after {
    content: "Step 2 of 3";
  }

  .checkout-progress [data-checkout-indicator="3"][aria-current="step"]::after {
    content: "Step 3 of 3";
  }

  .checkout-step > h2,
  .checkout-success h2 {
    font-size: clamp(2.7rem, 12vw, 3.5rem);
    line-height: 0.94;
  }

  .checkout-fieldset {
    padding: 20px;
    margin-top: 22px;
    background: #f7f1e6;
    border-top: 0;
  }

  .checkout-fieldset legend {
    padding-top: 5px;
  }

  .checkout-field input,
  .checkout-field textarea,
  .checkout-field select {
    background: #fffdf8;
  }

  .checkout-demo-notice {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .checkout-demo-notice > span {
    justify-self: start;
  }

  .checkout-demo-notice button {
    width: 100%;
  }

  .checkout-otp-card-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .checkout-otp-entry {
    grid-template-columns: 1fr;
  }

  .checkout-otp-code-field input {
    font-size: 1rem;
  }

  .checkout-otp-reset {
    width: 100%;
  }

  .checkout-otp-verified {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
  }

  .checkout-otp-verified > .checkout-otp-text-button {
    grid-column: 2;
    justify-self: start;
  }

  .weekly-plan-panel {
    padding: 16px;
  }

  .weekly-plan-heading {
    align-items: flex-start;
  }

  .weekly-plan-heading > b {
    max-width: 96px;
    text-align: center;
  }

  .weekly-plan-controls {
    grid-template-columns: 1fr;
  }

  .weekly-plan-field select {
    font-size: 1rem;
  }

  .weekly-calculator-suggestion {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .weekly-calculator-suggestion-copy > strong {
    font-size: 1.12rem;
  }

  .weekly-calculator-suggestion-copy > small {
    font-size: 0.7rem;
  }

  .weekly-calculator-suggestion-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .weekly-calculator-suggestion-actions a,
  .weekly-calculator-suggestion-actions button {
    width: 100%;
    min-height: 44px;
    font-size: 0.67rem;
  }

  .weekly-dates-bar {
    align-items: flex-end;
  }

  .weekly-dates-bar small {
    max-width: 210px;
  }

  .weekly-delivery-dates ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-step-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 13px;
  }

  .checkout-step-actions .checkout-next {
    width: 100%;
  }

  .checkout-step-actions .checkout-back {
    align-self: flex-start;
  }
}

@media (max-width: 430px) {
  .product-gallery {
    min-height: 380px;
  }

  .product-image-stage img {
    width: min(66%, 235px);
  }

  .product-buy-panel {
    padding-inline: 18px;
  }

  .weekly-dates-bar {
    display: grid;
  }

  .weekly-dates-bar button {
    justify-self: start;
  }
}

/* This final guard intentionally follows every responsive override. */
@media (prefers-reduced-motion: reduce) {
  .pack-fill-animation,
  .pack-selection-scene {
    display: none !important;
  }

  .product-gallery.is-filling #shopProductImage,
  .product-pack-badge.is-changing,
  .pack-selection-scene.is-filling .pack-selection-mini-stage img,
  .weekly-plan-panel,
  .checkout-otp-card,
  .checkout-otp-verified {
    animation: none !important;
  }
}

/* API checkout final responsive safeguards. */
@media (max-width: 1180px) {
  .header-inner { grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 10px; }
  .header-account { grid-column: 3; }
  .header-cart { grid-column: 4; }
  .menu-toggle { grid-column: 5; }
}

@media (max-width: 680px) {
  .header-inner { width: min(calc(100% - 24px), 1440px); gap: 7px; }
  .header-account { width: 42px; min-width: 42px; min-height: 42px; padding: 0; }
  .header-account > span:last-child { display: none; }
  .checkout-saved-addresses,
  .checkout-delivery-availability,
  .checkout-payment-methods { padding: 16px; }
  .checkout-subsection-heading { align-items: stretch; flex-direction: column; gap: 10px; }
  .checkout-subsection-heading button { align-self: flex-start; }
  .checkout-address-list,
  .checkout-success-details,
  .checkout-otp-entry { grid-template-columns: 1fr; }
  .checkout-otp-verify { width: 100%; margin: 0; }
  .checkout-payment-option { grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 10px; }
}

@media (max-width: 430px) {
  .brand { width: 108px; }
  .header-account,
  .header-cart,
  .menu-toggle { width: 40px; min-width: 40px; min-height: 40px; padding: 0; }
  .header-cart { position: relative; justify-content: center; }
  .header-cart .cart-count {
    position: absolute;
    top: 2px;
    right: 1px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: 0.54rem;
  }
  .store-service-status { width: calc(100% - 24px); justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .api-status-spinner,
  .api-button-spinner { animation: none !important; }
}

/* Accessible API state controls remain last so loading and error states win. */
.store-service-status[hidden],
.catalog-api-status[hidden],
.cart-api-status[hidden],
.checkout-address-status[hidden],
.checkout-place-order-status[hidden] {
  display: none !important;
}

.store-service-status button:focus-visible,
.catalog-api-status button:focus-visible,
.cart-api-status button:focus-visible,
.checkout-address-status button:focus-visible,
.checkout-subsection-heading button:focus-visible,
.checkout-otp-verify:focus-visible {
  outline: 3px solid var(--wheat-400);
  outline-offset: 2px;
}

.checkout-field [aria-invalid="true"],
.checkout-payment-option input[aria-invalid="true"] + .checkout-payment-option-mark {
  border-color: var(--rust-500);
}
/* Account-to-checkout handoff */
.checkout-handoff {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #08251f;
  background:
    radial-gradient(circle at 50% 38%, rgba(203, 166, 93, .16), transparent 27rem),
    #f7f1e6;
  opacity: 1;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.checkout-handoff[hidden],
.checkout-handoff-actions[hidden] {
  display: none !important;
}

.checkout-handoff.is-complete {
  visibility: hidden;
  opacity: 0;
}

.checkout-handoff-card {
  width: min(100%, 460px);
  text-align: center;
}

.checkout-handoff-card img {
  width: 52px;
  height: auto;
  aspect-ratio: 630 / 550;
  object-fit: contain;
  margin: 0 auto 24px;
}

.checkout-handoff-card p {
  margin: 0 0 10px;
  color: #b84f31;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.checkout-handoff-card h2 {
  margin: 0 0 13px;
  color: #08251f;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .96;
}

.checkout-handoff-card > span {
  display: block;
  max-width: 360px;
  margin-inline: auto;
  color: #65706a;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: .75rem;
  line-height: 1.6;
}

.checkout-handoff-progress {
  position: relative;
  width: min(100%, 260px);
  height: 2px;
  margin: 28px auto 0;
  overflow: hidden;
  background: rgba(17, 55, 46, .14);
}

.checkout-handoff-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: #cba65d;
  animation: checkout-handoff-progress 1.15s ease-in-out infinite;
}

.checkout-handoff.is-error .checkout-handoff-progress {
  display: none;
}

.checkout-handoff-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}

.checkout-handoff-actions a,
.checkout-handoff-actions button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid rgba(17, 55, 46, .17);
  border-radius: 999px;
  color: #08251f;
  background: transparent;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: .66rem;
  font-weight: 700;
  text-decoration: none;
}

.checkout-handoff-actions button {
  border-color: #08251f;
  color: #fffdf8;
  background: var(--brand-green);
}

.checkout-handoff-actions a:hover {
  border-color: #cba65d;
}

.checkout-handoff-actions button:hover {
  background: var(--brand-green);
}

@keyframes checkout-handoff-progress {
  0% { transform: translateX(-105%); }
  100% { transform: translateX(345%); }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-handoff {
    transition: none;
  }

  .checkout-handoff-progress i {
    width: 100%;
    animation: none;
  }
}

/* Keep the client-approved product name on one line where the two-column
   product layout has room; mobile keeps natural wrapping for readability. */
@media (min-width: 941px) {
  .product-title-row h3 {
    max-width: none;
    font-size: clamp(1.75rem, 2.45vw, 2.85rem);
    white-space: nowrap;
  }
}
