:root {
  --bg: #f7f8f2;
  --surface: #ffffff;
  --surface-soft: #fbfcf7;
  --ink: #07150f;
  --muted: #5d665f;
  --line: #dfe5da;
  --primary: #07853f;
  --primary-dark: #064b2a;
  --secondary: #f8d33a;
  --accent: #1f56b5;
  --danger: #df2f2f;
  --shadow: 0 18px 48px rgba(7, 21, 15, 0.12);
  --max: 1180px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(7, 133, 63, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 86, 181, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 52px 52px;
  color: var(--ink);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: relative;
  z-index: 50;
  overflow: hidden;
  background: var(--primary-dark);
  color: #ffffff;
}

.topbar-track {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.84rem;
  font-weight: 850;
  white-space: nowrap;
}

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

.store-header {
  position: sticky;
  top: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(7, 21, 15, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  transition: box-shadow 160ms ease;
}

.store-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(7, 21, 15, 0.08);
}

.store-logo-link {
  display: inline-flex;
  align-items: center;
  width: min(230px, 60vw);
}

.store-logo {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

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

.store-nav a,
.header-buy {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 850;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.store-nav a:hover,
.store-nav a:focus-visible {
  border-color: var(--line);
  background: rgba(7, 133, 63, 0.07);
}

.header-buy {
  border-color: rgba(7, 133, 63, 0.22);
  background: var(--primary);
  color: #ffffff;
}

.header-buy:hover,
.header-buy:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}

.breadcrumbs,
.product-shell,
.metric-strip,
.section,
.final-cta,
.footer-inner,
.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 24px 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--primary-dark);
}

.product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: 30px;
  align-items: start;
}

.product-media {
  position: sticky;
  top: 112px;
  min-width: 0;
}

.main-media-card,
.product-panel,
.checkout-card,
.metric-strip,
.included-list article,
.spec-table,
.review-card,
.faq-list details,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(7, 21, 15, 0.07);
}

.main-media-card {
  position: relative;
  overflow: hidden;
}

.offer-ribbon {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--secondary);
  color: #3b3200;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #ffffff;
}

.main-photo-button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  min-height: 86px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--surface);
}

.thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.thumb.is-active {
  border-color: var(--primary);
}

.product-panel {
  padding: 24px;
}

.seller-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-line span,
.card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: #ecf8ef;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.seller-line span:last-child {
  background: #fff7d4;
  color: #7c5900;
}

.vendor-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.vendor-line strong {
  color: var(--primary-dark);
}

.product-panel h1 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 950;
  line-height: 1.04;
}

.subtitle {
  margin: 12px 0 0;
  font-size: 1.02rem;
}

.rating-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 750;
}

.stars {
  color: #e0a200;
  letter-spacing: 0;
}

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

.shipping-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid rgba(7, 133, 63, 0.16);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(7, 133, 63, 0.08), rgba(248, 211, 58, 0.16));
}

.shipping-banner svg {
  color: var(--primary);
}

.shipping-banner strong,
.shipping-banner span {
  display: block;
}

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

.shipping-banner span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(31, 86, 181, 0.14);
  border-radius: 6px;
  background: var(--surface-soft);
}

.coupon-line {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(223, 47, 47, 0.09);
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 900;
}

.old-price-line {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 800;
}

.old-price-line s {
  color: #777f79;
}

.sale-price-line {
  margin-top: 8px;
}

.sale-price-line span {
  display: block;
  color: var(--primary-dark);
  font-size: 0.83rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sale-price-line strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(2.8rem, 7vw, 4.7rem);
  font-weight: 950;
  line-height: 0.95;
}

.price-card p {
  margin: 12px 0 0;
}

.stock-box {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.stock-top {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-weight: 900;
}

.stock-top span {
  color: var(--danger);
}

.stock-bar {
  height: 10px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0e9;
}

.stock-bar span {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--danger), var(--secondary));
}

.stock-box p {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.quantity-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.quantity-row > span {
  color: var(--ink);
  font-weight: 900;
}

.qty-control {
  display: grid;
  grid-template-columns: 42px 62px 42px;
  gap: 6px;
  align-items: center;
}

.qty-control button,
.qty-control output {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
}

.qty-control button {
  color: var(--primary);
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 950;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:disabled,
.header-buy:disabled,
.mobile-buy-bar button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button.is-loading {
  cursor: progress;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 133, 63, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.buy-main {
  background: linear-gradient(180deg, var(--main-cta-from, var(--cta-from, var(--primary))), var(--main-cta-to, var(--cta-to, var(--primary-dark))));
  color: var(--main-cta-text, var(--cta-text, #ffffff));
  width: 100%;
  margin-top: 18px;
}

.benefit-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.45;
}

.benefit-list svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--primary);
}

.safe-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.safe-strip span {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
}

.safe-strip svg {
  color: var(--accent);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  padding: 1px;
  background: var(--line);
  overflow: hidden;
}

.metric-strip div {
  padding: 22px;
  background: var(--surface);
}

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

.metric-strip strong {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 950;
}

.metric-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 780;
}

.section {
  padding: 72px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 410px);
  gap: 30px;
  align-items: start;
}

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

.copy-block h2,
.section-heading h2,
.reviews-header h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 950;
  line-height: 1.05;
}

.copy-block p,
.section-heading p,
.final-cta p {
  max-width: 720px;
  margin: 18px 0 0;
}

.included-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.included-list article {
  min-height: 150px;
  padding: 18px;
}

.included-list svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.included-list strong,
.included-list span {
  display: block;
}

.included-list strong {
  margin-top: 14px;
  color: var(--ink);
}

.included-list span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-card {
  position: sticky;
  top: 112px;
  padding: 22px;
}

.checkout-card h3 {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.18;
}

.mini-total {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  margin: 22px 0 14px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
}

.mini-total span {
  color: var(--muted);
  font-weight: 850;
}

.mini-total strong {
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 950;
}

.mini-shipping {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-weight: 850;
}

.checkout-card .button {
  width: 100%;
}

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

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: minmax(220px, 1fr);
  gap: 12px;
}

.photo-card {
  position: relative;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 21, 15, 0.08);
  border-radius: 6px;
  background: var(--surface);
}

.photo-card-large {
  grid-row: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease;
}

.photo-card:hover img,
.photo-card:focus-visible img {
  transform: scale(1.035);
}

.photo-card span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  background: rgba(7, 21, 15, 0.78);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 900;
}

.spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
}

.spec-table div {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.spec-table div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.spec-table dt {
  color: var(--muted);
  font-weight: 850;
}

.spec-table dd {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.45;
}

.notice-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #ecd99a;
  border-radius: 6px;
  background: #fff9e8;
}

.notice-box svg {
  flex: 0 0 auto;
  color: #8a6400;
}

.notice-box p {
  margin: 0;
}

.rating-summary {
  min-width: 170px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  text-align: center;
}

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

.rating-summary strong {
  color: var(--ink);
  font-size: 2.4rem;
  line-height: 1;
}

.rating-summary small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 780;
}

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

.review-card {
  overflow: hidden;
}

.review-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.review-card div {
  padding: 18px;
}

.review-card p {
  min-height: 78px;
  margin: 12px 0 16px;
  color: var(--ink);
  font-weight: 760;
}

.review-card strong,
.review-card small {
  display: block;
}

.review-card small {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding-inline: 18px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  min-height: 62px;
  color: var(--ink);
  font-weight: 900;
}

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

.faq-list summary::after {
  margin-left: auto;
  content: "+";
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 950;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding-bottom: 18px;
}

.final-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-block: 26px 58px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(7, 133, 63, 0.1), rgba(248, 211, 58, 0.18)),
    var(--surface);
}

.final-cta p {
  margin-top: 10px;
}

.mobile-buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 38;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: var(--mobile-bar-bg, rgba(255, 255, 255, 0.96));
  box-shadow: 0 -12px 30px rgba(7, 21, 15, 0.12);
}

.mobile-buy-bar > div > span,
.mobile-buy-bar > div > strong {
  display: block;
}

.mobile-buy-bar > div > span {
  color: var(--mobile-bar-label, var(--muted));
  font-size: 0.78rem;
  font-weight: 850;
}

.mobile-buy-bar > div > strong {
  color: var(--mobile-bar-price, var(--ink));
  font-size: 1.35rem;
  font-weight: 950;
}

.mobile-buy-bar button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--mobile-bar-button-from, var(--primary)), var(--mobile-bar-button-to, var(--primary-dark)));
  color: var(--mobile-bar-button-text, #ffffff);
  font-weight: 950;
}

.mobile-buy-bar button span {
  color: inherit;
}

.social-proof {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 30px;
  gap: 12px;
  align-items: center;
  width: min(380px, calc(100vw - 36px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 58px rgba(7, 21, 15, 0.18);
  animation: proofIn 220ms ease both;
}

.social-proof[hidden] {
  display: none;
}

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

.proof-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(7, 133, 63, 0.1);
  color: var(--primary);
}

.social-proof strong,
.social-proof p {
  display: block;
  margin: 0;
}

.social-proof strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.social-proof p {
  margin-top: 2px;
  font-size: 0.88rem;
}

.social-proof button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
}

.checkout-modal,
.image-modal {
  width: min(980px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.checkout-modal::backdrop,
.image-modal::backdrop {
  background: rgba(7, 21, 15, 0.68);
  backdrop-filter: blur(8px);
}

.checkout-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  max-height: calc(100svh - 28px);
  overflow: auto;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}

.checkout-summary {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(7, 133, 63, 0.08), rgba(248, 211, 58, 0.2)),
    var(--surface-soft);
}

.checkout-summary h2 {
  margin: 14px 0 20px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.05;
}

.checkout-product {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.checkout-product img {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  border-radius: 6px;
  object-fit: cover;
}

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

.checkout-product strong {
  color: var(--ink);
  line-height: 1.25;
}

.checkout-product span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.checkout-quantity {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(7, 21, 15, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.checkout-quantity > span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
}

.qty-control-small {
  grid-template-columns: 38px 46px 38px;
  min-width: 126px;
}

.qty-control-small button {
  min-height: 38px;
}

.checkout-total {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.checkout-total div {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.checkout-total dt {
  color: var(--muted);
  font-weight: 850;
}

.checkout-total dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.checkout-total div:last-child {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checkout-total div:last-child dd {
  font-size: 1.5rem;
  font-weight: 950;
}

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

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

.form-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.55rem;
}

.form-heading p {
  margin: 8px 0 6px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.field-hint {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.field-hint[data-state="success"] {
  color: var(--primary);
}

.field-hint[data-state="loading"] {
  color: var(--accent);
}

.field-hint[data-state="error"] {
  color: var(--danger);
}

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

.checkout-form input {
  min-height: 48px;
  padding: 0 12px;
}

.checkout-form textarea {
  min-height: 106px;
  padding: 12px;
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(7, 133, 63, 0.12);
}

.pix-result {
  display: grid;
  grid-template-columns: 184px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 6px;
  padding: 18px;
  border: 1px solid rgba(7, 133, 63, 0.18);
  border-radius: 6px;
  background: #f5fbf6;
}

.pix-reservation {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(7, 133, 63, 0.18);
  border-radius: 8px;
  background: #ffffff;
}

.pix-reservation span {
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pix-reservation p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.pix-reservation strong {
  color: var(--danger);
  font-size: 1.8rem;
  font-weight: 950;
}

.pix-result[hidden] {
  display: none;
}

.checkout-shipping {
  padding: 12px;
  border: 1px solid rgba(7, 133, 63, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 133, 63, 0.08), rgba(248, 211, 58, 0.13)),
    #ffffff;
}

.checkout-shipping[hidden] {
  display: none;
}

.shipping-radio {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px !important;
  align-items: center;
  color: var(--ink);
}

.shipping-radio input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--primary);
  box-shadow: none;
}

.shipping-radio span,
.shipping-radio strong,
.shipping-radio small,
.shipping-radio b {
  display: block;
}

.shipping-radio small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.shipping-radio b {
  color: var(--primary-dark);
  font-size: 0.92rem;
}

.qr-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.fake-qr {
  width: 132px;
  height: 132px;
  background:
    linear-gradient(90deg, #07150f 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(#07150f 10px, transparent 10px) 0 0 / 22px 22px,
    conic-gradient(from 90deg, #07150f 25%, transparent 0 50%, #07150f 0 75%, transparent 0) 0 0 / 18px 18px;
  border: 10px solid #ffffff;
  outline: 12px solid #07150f;
  outline-offset: -30px;
}

.qr-frame img {
  width: min(100%, 260px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.qr-frame img[hidden],
.fake-qr[hidden] {
  display: none;
}

.checkout-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(223, 47, 47, 0.25);
  border-radius: 8px;
  background: #fff5f5;
  color: #a61d1d;
  font-size: 0.86rem;
  font-weight: 850;
  text-align: center;
}

.checkout-error[hidden] {
  display: none;
}

.pix-copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.pix-copy .button {
  margin-top: 10px;
}

.pix-copy p {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 850;
}

.image-modal {
  width: min(820px, calc(100vw - 28px));
}

.image-modal img {
  width: 100%;
  max-height: calc(100svh - 28px);
  border-radius: 8px;
  object-fit: contain;
  background: var(--surface);
}

.store-footer {
  background: #07150f;
  color: #eaf0e8;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 26px;
  padding: 42px 0 28px;
  justify-items: center;
  text-align: center;
}

.footer-brand-block img {
  width: min(260px, 100%);
  max-height: 72px;
  object-fit: contain;
  object-position: center;
}

.store-footer h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
}

.store-footer p,
.store-footer a,
.footer-bottom {
  color: #bdc8c0;
}

.store-footer p {
  margin: 0 0 8px;
}

.store-footer a {
  font-weight: 850;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1040px) {
  .store-header {
    grid-template-columns: 210px auto auto;
  }

  .product-shell,
  .split-section,
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .product-media,
  .checkout-card {
    position: static;
  }

  .product-panel h1 {
    font-size: 2.65rem;
  }

  .included-list,
  .review-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-summary {
    padding-right: 76px;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 92px;
  }

  .topbar-track {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .store-header {
    grid-template-columns: minmax(120px, 1fr) auto;
    gap: 12px;
    min-height: 70px;
    padding-inline: 14px;
  }

  .store-logo-link {
    width: min(210px, 58vw);
  }

  .store-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

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

  .store-nav a {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: grid;
  }

  .header-buy {
    display: none;
  }

  .breadcrumbs,
  .product-shell,
  .metric-strip,
  .section,
  .final-cta,
  .footer-inner,
  .footer-bottom {
    width: min(var(--max), calc(100% - 28px));
  }

  .breadcrumbs {
    padding-top: 18px;
  }

  .product-shell {
    gap: 18px;
  }

  .product-panel {
    padding: 18px;
  }

  .product-panel h1 {
    font-size: 2.25rem;
  }

  .thumb-row {
    grid-template-columns: repeat(6, minmax(70px, 1fr));
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .thumb {
    min-height: 72px;
  }

  .safe-strip,
  .metric-strip,
  .included-list,
  .spec-table,
  .review-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    display: grid;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading,
  .reviews-header,
  .final-cta,
  .footer-bottom {
    align-items: center;
    flex-direction: column;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-card,
  .photo-card-large {
    grid-row: auto;
    min-height: auto;
  }

  .photo-card img {
    aspect-ratio: 1 / 1;
  }

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 6px;
    border-right: 0 !important;
  }

  .review-card img {
    height: 220px;
  }

  .final-cta {
    padding: 22px;
  }

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

  .social-proof {
    bottom: 82px;
  }

  .checkout-modal {
    width: 100vw;
    max-height: 100svh;
  }

  .checkout-shell {
    max-height: 100svh;
    border-radius: 0;
  }

  .checkout-summary,
  .checkout-form {
    padding: 22px;
  }

  .checkout-summary {
    padding-right: 72px;
  }

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

  .pix-result {
    grid-template-columns: 1fr;
  }

  .qr-frame {
    width: min(220px, 100%);
    justify-self: center;
  }

  .store-footer {
    padding-bottom: 80px;
  }
}

@media (max-width: 460px) {
  .sale-price-line strong {
    font-size: 3.3rem;
  }

  .quantity-row,
  .mini-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .qty-control {
    width: 100%;
    grid-template-columns: 46px 1fr 46px;
  }

  .checkout-total div {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

/* Product template polish inspired by the Shopify product theme */
.product-shell {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 24px;
}

.product-media {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
}

.main-media-card {
  grid-column: 2;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 21, 15, 0.06);
}

.main-photo-button {
  min-height: clamp(520px, 58vw, 690px);
}

.main-photo-button img {
  height: 100%;
  min-height: inherit;
  padding: 22px;
}

.thumb-row {
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: 1fr;
  align-content: start;
  max-height: clamp(520px, 58vw, 690px);
  margin-top: 0;
  overflow-y: auto;
  padding-right: 2px;
}

.thumb {
  min-height: 84px;
  border-color: var(--line);
  box-shadow: 0 6px 18px rgba(7, 21, 15, 0.04);
}

.product-panel {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(7, 21, 15, 0.06);
}

.seller-line span,
.card-badge,
.coupon-line {
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.product-panel h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  letter-spacing: 0;
}

.price-card,
.stock-box,
.shipping-banner,
.safe-strip span,
.included-list article,
.review-card,
.faq-list details,
.checkout-card,
.final-cta {
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(7, 21, 15, 0.045);
}

.price-card {
  background:
    linear-gradient(180deg, rgba(7, 133, 63, 0.055), rgba(255, 255, 255, 0)),
    #ffffff;
}

.sale-price-line strong {
  font-size: clamp(3rem, 6vw, 4.2rem);
}

.stock-box {
  position: relative;
  overflow: hidden;
}

.stock-bar {
  height: 14px;
  background: #eff1ed;
}

.stock-bar span {
  width: 8%;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.26) 0,
      rgba(255, 255, 255, 0.26) 8px,
      transparent 8px,
      transparent 16px
    ),
    linear-gradient(90deg, var(--secondary), var(--danger));
  transition: width 460ms ease;
}

.soldout-alert {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(223, 47, 47, 0.2);
  border-radius: 6px;
  background: rgba(223, 47, 47, 0.08);
  color: var(--danger);
  font-size: 0.9rem;
}

.soldout-alert[hidden] {
  display: none;
}

.out-of-stock .stock-top span,
.out-of-stock [data-stock-label] {
  color: var(--danger);
}

.out-of-stock .stock-bar span {
  width: 100% !important;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.22) 0,
      rgba(255, 255, 255, 0.22) 8px,
      transparent 8px,
      transparent 16px
    ),
    var(--danger);
}

.carousel-actions,
.reviews-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.reviews-tools {
  justify-content: center;
  width: 100%;
}

.carousel-actions button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(7, 21, 15, 0.06);
}

.carousel-actions button:hover,
.carousel-actions button:focus-visible {
  border-color: rgba(7, 133, 63, 0.34);
  color: var(--primary);
}

.carousel-side-actions {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 4;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.carousel-side-actions button {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(7, 21, 15, 0.14);
}

.carousel-frame {
  position: relative;
  overflow: visible;
  padding-inline: 54px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 18px;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

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

.photo-grid,
.review-grid {
  grid-template-columns: none;
  grid-auto-rows: auto;
}

.photo-card {
  flex: 0 0 clamp(270px, 32vw, 390px);
  scroll-snap-align: start;
  min-height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(7, 21, 15, 0.08);
}

.photo-card-large {
  grid-row: auto;
}

.photo-card img {
  height: clamp(280px, 31vw, 380px);
  aspect-ratio: auto;
  object-fit: cover;
}

.review-card {
  flex: 0 0 clamp(310px, 31vw, 400px);
  scroll-snap-align: start;
  overflow: hidden;
}

.review-card img {
  height: 270px;
}

body[data-proof-position="right"] .social-proof {
  left: auto;
  right: 18px;
}

body[data-proof-position="left"] .social-proof {
  left: 18px;
  right: auto;
}

body[data-proof-position="center"] .social-proof {
  left: 50%;
  right: auto;
  --proof-x: -50%;
}

.social-proof {
  --proof-x: 0;
  grid-template-columns: 42px minmax(0, 1fr) 30px;
  border-radius: 8px;
}

@keyframes proofIn {
  from {
    opacity: 0;
    transform: translate(var(--proof-x), 16px);
  }
  to {
    opacity: 1;
    transform: translate(var(--proof-x), 0);
  }
}

.social-proof p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.35;
}

.social-proof p strong {
  display: inline;
  color: var(--ink);
  font-weight: 950;
}

@media (max-width: 980px) {
  .product-media {
    position: static;
    display: block;
  }

  .main-photo-button {
    min-height: auto;
  }

  .main-photo-button img {
    min-height: auto;
    padding: 12px;
  }

  .thumb-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(70px, 1fr));
    max-height: none;
    margin-top: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
  }
}

@media (max-width: 740px) {
  .section-heading,
  .reviews-header {
    gap: 16px;
    justify-items: center;
    text-align: center;
  }

  .reviews-tools {
    width: 100%;
    justify-content: center;
  }

  .carousel-actions button {
    width: 40px;
    height: 40px;
  }

  .carousel-frame {
    margin-inline: -10px;
    padding-inline: 0;
    overflow: hidden;
  }

  .carousel-track {
    padding-inline: 10px;
    scroll-padding-inline: 10px;
  }

  .carousel-side-actions {
    display: none;
  }

  .photo-card,
  .review-card {
    flex-basis: min(86vw, 360px);
  }

  .photo-card img,
  .review-card img {
    height: 260px;
  }

  body[data-proof-mobile-position="center"] .social-proof,
  body[data-proof-position="center"] .social-proof {
    left: 50%;
    right: auto;
    --proof-x: -50%;
  }

  body[data-proof-mobile-position="right"] .social-proof {
    left: auto;
    right: 14px;
    --proof-x: 0;
  }

  body[data-proof-mobile-position="left"] .social-proof {
    left: 14px;
    right: auto;
    --proof-x: 0;
  }

  .social-proof {
    bottom: 84px;
    width: min(380px, calc(100vw - 28px));
  }

  .benefit-list {
    justify-items: center;
    text-align: center;
  }

  .benefit-list li {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .benefit-list svg,
  .benefit-list i {
    margin-top: 0;
  }

  .safe-strip span {
    justify-content: center;
    text-align: center;
  }

  .metric-strip div {
    text-align: center;
  }
}

/* Storefront finish: product-page commerce layout */
body {
  background: #ffffff;
}

main {
  background:
    linear-gradient(180deg, #ffffff 0 610px, var(--bg) 610px 100%),
    var(--bg);
}

.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent));
}

.topbar-track {
  min-height: 34px;
  font-size: 0.8rem;
}

.store-header {
  border-bottom: 1px solid rgba(7, 21, 15, 0.06);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(7, 21, 15, 0.045);
}

.store-nav a {
  border-radius: 999px;
}

.store-nav a:hover,
.store-nav a:focus-visible {
  background: rgba(7, 133, 63, 0.08);
  color: var(--primary-dark);
}

.header-buy,
.mobile-buy-bar button,
.button-primary {
  background: linear-gradient(180deg, var(--cta-from, var(--primary)), var(--cta-to, var(--primary-dark)));
  color: var(--cta-text, #ffffff);
  box-shadow: 0 12px 22px rgba(7, 133, 63, 0.22);
}

.header-buy:hover,
.mobile-buy-bar button:hover,
.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(7, 133, 63, 0.28);
}

.buy-main.button-primary {
  background: linear-gradient(180deg, var(--main-cta-from, var(--cta-from, var(--primary))), var(--main-cta-to, var(--cta-to, var(--primary-dark))));
  color: var(--main-cta-text, var(--cta-text, #ffffff));
}

.header-buy,
.checkout-form [data-checkout-submit-button],
.checkout-card .button-primary,
.mobile-buy-bar button {
  background: linear-gradient(180deg, var(--main-cta-from, var(--cta-from, var(--primary))), var(--main-cta-to, var(--cta-to, var(--primary-dark))));
  color: var(--main-cta-text, var(--cta-text, #ffffff));
}

.mobile-buy-bar button {
  box-shadow: 0 12px 22px rgba(7, 133, 63, 0.22);
}

.breadcrumbs {
  margin-bottom: 6px;
  color: #6f776f;
  font-size: 0.82rem;
}

.product-shell {
  align-items: start;
  padding-top: 14px;
}

.product-media {
  position: sticky;
  top: 118px;
}

.main-media-card {
  overflow: hidden;
  border: 1px solid rgba(7, 21, 15, 0.08);
  background:
    radial-gradient(circle at 18% 16%, rgba(248, 211, 58, 0.22), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(31, 86, 181, 0.12), transparent 26%),
    #ffffff;
  box-shadow: 0 18px 46px rgba(7, 21, 15, 0.09);
}

.main-photo-button {
  background: transparent;
}

.main-photo-button img {
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(7, 21, 15, 0.11));
}

.offer-ribbon {
  left: 16px;
  top: 16px;
  border-radius: 999px;
  background: var(--secondary);
  color: #1d230d;
  box-shadow: 0 10px 22px rgba(248, 211, 58, 0.24);
}

.thumb {
  border: 1px solid rgba(7, 21, 15, 0.08);
  background: #ffffff;
}

.thumb.is-active {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 2px rgba(7, 133, 63, 0.16);
}

.product-panel {
  position: sticky;
  top: 118px;
  align-self: start;
  border: 1px solid rgba(7, 21, 15, 0.09);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(7, 21, 15, 0.09);
}

.seller-line span:first-child {
  background: rgba(7, 133, 63, 0.09);
  color: var(--primary-dark);
}

.seller-line span:last-child {
  background: rgba(248, 211, 58, 0.34);
  color: #44380b;
}

.vendor-line {
  color: #687169;
}

.product-panel h1 {
  max-width: 12.5em;
  color: #111914;
  font-weight: 950;
}

.subtitle {
  color: #465047;
  font-size: 1rem;
}

.rating-line {
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(248, 211, 58, 0.58);
  border-radius: 999px;
  background: rgba(248, 211, 58, 0.14);
}

.shipping-banner {
  border-color: rgba(7, 133, 63, 0.16);
  background:
    linear-gradient(90deg, rgba(7, 133, 63, 0.12), rgba(7, 133, 63, 0.03)),
    #ffffff;
}

.shipping-banner i {
  color: var(--primary);
}

.price-card {
  border: 1px solid rgba(7, 133, 63, 0.12);
  background:
    linear-gradient(135deg, rgba(7, 133, 63, 0.08), rgba(248, 211, 58, 0.16) 58%, rgba(255, 255, 255, 0.72)),
    #ffffff;
}

.coupon-line {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  background: var(--danger);
  color: #ffffff;
}

.old-price-line s {
  color: #777f78;
}

.sale-price-line span {
  color: var(--primary-dark);
  font-weight: 950;
}

.sale-price-line strong {
  color: var(--primary-dark);
  text-shadow: 0 7px 18px rgba(7, 133, 63, 0.12);
}

.stock-box {
  border: 1px solid rgba(7, 21, 15, 0.1);
  background: #ffffff;
}

.stock-top strong {
  color: var(--primary-dark);
}

.qty-control {
  border: 1px solid rgba(7, 21, 15, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.qty-control button {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.buy-main {
  min-height: 58px;
  font-size: 1.05rem;
}

.safe-strip {
  border: 1px solid rgba(7, 21, 15, 0.08);
  background: #fbfcf7;
}

.benefit-list li {
  align-items: flex-start;
}

.benefit-list i {
  margin-top: 2px;
  color: var(--primary);
}

.metric-strip {
  margin-top: 36px;
  border: 1px solid rgba(7, 21, 15, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(7, 21, 15, 0.06);
}

.metric-strip div {
  border-right-color: rgba(7, 21, 15, 0.07);
}

.metric-strip strong {
  color: var(--primary-dark);
}

.section {
  border-bottom: 1px solid rgba(7, 21, 15, 0.06);
}

.split-section {
  align-items: start;
}

.checkout-card {
  border: 1px solid rgba(7, 21, 15, 0.08);
  background: #ffffff;
}

.photo-card,
.review-card {
  border: 1px solid rgba(7, 21, 15, 0.08);
  background: #ffffff;
}

.photo-card span {
  background: rgba(7, 21, 15, 0.7);
  backdrop-filter: blur(8px);
}

.carousel-actions button {
  border-color: rgba(7, 21, 15, 0.12);
  background: #ffffff;
}

.carousel-actions button:hover,
.carousel-actions button:focus-visible {
  background: var(--primary);
  color: #ffffff;
}

.spec-table {
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}

.notice-box {
  border-radius: 8px;
}

.final-cta {
  border: 0;
  background:
    linear-gradient(135deg, rgba(7, 133, 63, 0.95), rgba(6, 75, 42, 0.96)),
    var(--primary-dark);
  color: #ffffff;
}

.final-cta .eyebrow,
.final-cta h2,
.final-cta p {
  color: #ffffff;
}

.final-cta .button-primary {
  background: #ffffff;
  color: var(--main-cta-from, var(--primary-dark));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.store-footer {
  background:
    linear-gradient(180deg, #101812, #07150f);
  color: #ffffff;
}

.store-footer p,
.store-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.store-footer h2 {
  color: #ffffff;
}

.footer-brand-block img {
  max-height: 58px;
  width: auto;
}

/* Stock alert and restock automation */
.restock-modal {
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  overflow: visible;
}

.restock-modal::backdrop {
  background: rgba(7, 21, 15, 0.6);
  backdrop-filter: blur(10px);
}

.restock-shell {
  position: relative;
  padding: 34px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 242, 0.98)),
    #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.restock-bell {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.86), transparent 30%),
    linear-gradient(180deg, var(--secondary), #f2b712);
  color: #31250a;
  box-shadow: 0 16px 30px rgba(248, 211, 58, 0.28);
  animation: bellPulse 1.9s ease-in-out infinite;
}

.restock-bell svg {
  width: 34px;
  height: 34px;
}

.restock-shell .eyebrow {
  justify-content: center;
  margin-bottom: 8px;
}

.restock-shell h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  line-height: 1.05;
}

.restock-shell p {
  margin: 12px 0 20px;
}

.restock-shell .button {
  width: 100%;
  min-height: 54px;
}

.restock-shell .button.is-active {
  background: linear-gradient(180deg, var(--accent), #123d87);
  box-shadow: 0 12px 22px rgba(31, 86, 181, 0.2);
}

.restock-shell small {
  display: block;
  min-height: 20px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 750;
}

@keyframes bellPulse {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  12% {
    transform: rotate(-7deg) scale(1.03);
  }
  24% {
    transform: rotate(7deg) scale(1.03);
  }
  36% {
    transform: rotate(-4deg) scale(1.01);
  }
  48% {
    transform: rotate(4deg) scale(1.01);
  }
}

[data-current-total].is-updating {
  animation: totalPulse 420ms ease;
}

@keyframes totalPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.045);
  }
  100% {
    transform: scale(1);
  }
}

/* Transparent checkout style */
.checkout-modal::backdrop {
  background:
    radial-gradient(circle at 18% 16%, rgba(248, 211, 58, 0.22), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(7, 133, 63, 0.18), transparent 32%),
    rgba(7, 21, 15, 0.72);
  backdrop-filter: blur(12px);
}

.checkout-modal {
  width: min(1040px, calc(100vw - 28px));
}

.checkout-shell {
  grid-template-columns: 0.92fr 1.08fr;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.checkout-summary {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(248, 211, 58, 0.32), transparent 32%),
    linear-gradient(180deg, rgba(7, 133, 63, 0.13), rgba(255, 255, 255, 0.84)),
    #f8fbf3;
}

.checkout-summary::after {
  content: "";
  position: absolute;
  inset: auto -34px -62px auto;
  width: 178px;
  height: 178px;
  border: 28px solid rgba(7, 133, 63, 0.09);
  border-radius: 50%;
}

.checkout-summary > * {
  position: relative;
  z-index: 1;
}

.checkout-summary h2 {
  max-width: 9em;
  font-weight: 950;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: -6px 0 18px;
}

.checkout-steps span {
  display: grid;
  place-items: center;
  min-height: 30px;
  border: 1px solid rgba(7, 21, 15, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #667067;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-steps span.is-active {
  border-color: rgba(7, 133, 63, 0.24);
  background: var(--primary);
  color: #ffffff;
}

.checkout-product {
  box-shadow: 0 10px 24px rgba(7, 21, 15, 0.07);
}

.checkout-total {
  padding: 16px;
  border: 1px solid rgba(7, 21, 15, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.checkout-total div:last-child dd {
  color: var(--primary-dark);
}

.checkout-trust {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.checkout-trust span {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid rgba(7, 21, 15, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: #344038;
  font-size: 0.88rem;
  font-weight: 850;
}

.checkout-trust i {
  color: var(--primary);
}

.checkout-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 252, 247, 0.98)),
    #ffffff;
}

.form-heading span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(7, 133, 63, 0.1);
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.form-heading h3 {
  font-weight: 950;
}

.checkout-form label {
  color: #263129;
}

.checkout-form input,
.checkout-form textarea {
  border-color: rgba(7, 21, 15, 0.14);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(7, 21, 15, 0.03);
}

.checkout-form input {
  min-height: 52px;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--primary);
  box-shadow:
    0 0 0 3px rgba(7, 133, 63, 0.12),
    inset 0 1px 0 rgba(7, 21, 15, 0.03);
}

.pix-result {
  border-color: rgba(7, 133, 63, 0.2);
  background:
    linear-gradient(135deg, rgba(7, 133, 63, 0.08), rgba(248, 211, 58, 0.14)),
    #ffffff;
  box-shadow: 0 12px 28px rgba(7, 21, 15, 0.06);
}

.social-proof {
  border-color: rgba(7, 21, 15, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px rgba(7, 21, 15, 0.18);
}

.proof-icon {
  background: linear-gradient(180deg, rgba(7, 133, 63, 0.14), rgba(248, 211, 58, 0.22));
  color: var(--primary-dark);
}

body.out-of-stock .buy-main,
body.out-of-stock [data-checkout-open] {
  animation: none !important;
  box-shadow: none;
  transform: none;
}

body[data-cta-animation="pulse"] .button-primary:not(:disabled),
body[data-cta-animation="pulse"] .header-buy:not(:disabled),
body[data-cta-animation="pulse"] .mobile-buy-bar button:not(:disabled) {
  animation: ctaPulse var(--cta-speed, 1.8s) ease-in-out infinite;
}

body[data-cta-animation="glow"] .button-primary:not(:disabled),
body[data-cta-animation="glow"] .header-buy:not(:disabled),
body[data-cta-animation="glow"] .mobile-buy-bar button:not(:disabled) {
  animation: ctaGlow var(--cta-speed, 1.8s) ease-in-out infinite;
}

body[data-cta-animation="shake"] .button-primary:not(:disabled),
body[data-cta-animation="shake"] .header-buy:not(:disabled),
body[data-cta-animation="shake"] .mobile-buy-bar button:not(:disabled) {
  animation: ctaShake calc(var(--cta-speed, 1.8s) * 1.4) ease-in-out infinite;
}

.buy-main:not(:disabled),
.checkout-form [data-checkout-submit-button]:not(:disabled),
.checkout-card .button-primary:not(:disabled),
.header-buy:not(:disabled),
.mobile-buy-bar button:not(:disabled) {
  animation: none;
}

body[data-main-cta-animation="pulse"] .buy-main:not(:disabled),
body[data-main-cta-animation="pulse"] .checkout-form [data-checkout-submit-button]:not(:disabled),
body[data-main-cta-animation="pulse"] .checkout-card .button-primary:not(:disabled),
body[data-main-cta-animation="pulse"] .header-buy:not(:disabled),
body[data-main-cta-animation="pulse"] .mobile-buy-bar button:not(:disabled) {
  animation: ctaPulse var(--main-cta-speed, var(--cta-speed, 1.8s)) ease-in-out infinite;
}

body[data-main-cta-animation="glow"] .buy-main:not(:disabled),
body[data-main-cta-animation="glow"] .checkout-form [data-checkout-submit-button]:not(:disabled),
body[data-main-cta-animation="glow"] .checkout-card .button-primary:not(:disabled),
body[data-main-cta-animation="glow"] .header-buy:not(:disabled),
body[data-main-cta-animation="glow"] .mobile-buy-bar button:not(:disabled) {
  animation: ctaGlow var(--main-cta-speed, var(--cta-speed, 1.8s)) ease-in-out infinite;
}

body[data-main-cta-animation="shake"] .buy-main:not(:disabled),
body[data-main-cta-animation="shake"] .checkout-form [data-checkout-submit-button]:not(:disabled),
body[data-main-cta-animation="shake"] .checkout-card .button-primary:not(:disabled),
body[data-main-cta-animation="shake"] .header-buy:not(:disabled),
body[data-main-cta-animation="shake"] .mobile-buy-bar button:not(:disabled) {
  animation: ctaShake calc(var(--main-cta-speed, var(--cta-speed, 1.8s)) * 1.4) ease-in-out infinite;
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 12px 22px rgba(7, 133, 63, 0.22);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 18px 38px rgba(7, 133, 63, 0.34);
  }
}

@keyframes ctaGlow {
  0%,
  100% {
    box-shadow: 0 12px 22px rgba(7, 133, 63, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(248, 211, 58, 0.22),
      0 18px 38px rgba(7, 133, 63, 0.34);
  }
}

@keyframes ctaShake {
  0%,
  76%,
  100% {
    transform: translateX(0);
  }
  80% {
    transform: translateX(-2px);
  }
  84% {
    transform: translateX(2px);
  }
  88% {
    transform: translateX(-1px);
  }
  92% {
    transform: translateX(1px);
  }
}

@media (max-width: 1100px) {
  .product-shell {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  }

  .product-panel h1 {
    max-width: none;
  }
}

@media (max-width: 980px) {
  main {
    background: #ffffff;
  }

  .product-media,
  .product-panel {
    position: static;
  }

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

  .product-media {
    display: block;
  }

  .main-photo-button {
    min-height: auto;
  }

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

  .checkout-summary h2 {
    max-width: none;
  }
}

@media (max-width: 740px) {
  .topbar-track {
    gap: 18px;
  }

  .product-panel h1 {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
  }

  .rating-line {
    width: 100%;
  }

  .sale-price-line strong {
    font-size: clamp(3rem, 15vw, 3.7rem);
  }

  .mobile-buy-bar {
    left: 12px;
    right: 12px;
    bottom: 10px;
    width: auto;
    border: 1px solid rgba(7, 21, 15, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 40px rgba(7, 21, 15, 0.16);
  }

  .social-proof {
    bottom: 96px;
  }

  .checkout-modal,
  .restock-modal {
    width: calc(100vw - 18px);
    max-height: calc(100svh - 18px);
  }

  .checkout-shell {
    max-height: calc(100svh - 18px);
    border-radius: 8px;
  }

  .checkout-summary,
  .checkout-form {
    padding: 20px;
  }

  .checkout-summary {
    padding-right: 64px;
  }

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

  .restock-shell {
    padding: 30px 20px 22px;
  }
}

/* Footer and checkout details pulled closer to the Shopify storefront style */
.checkout-steps span.is-complete {
  border-color: rgba(7, 133, 63, 0.18);
  background: rgba(7, 133, 63, 0.1);
  color: var(--primary-dark);
}

.checkout-quantity {
  margin-top: 14px;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: #9aa39b;
}

.checkout-form input[readonly] {
  background: #f6f8f4;
}

.checkout-shipping {
  margin: -2px 0 2px;
}

.store-footer {
  padding-top: 54px;
}

.footer-inner {
  align-items: start;
  padding-bottom: 26px;
}

.footer-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  justify-items: center;
  text-align: center;
}

.footer-trust-block {
  display: grid;
  width: 100%;
  justify-items: center;
  align-content: start;
}

.footer-trust-block h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-trust-block p {
  max-width: 25em;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.45;
}

.payment-icons,
.security-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.payment-icons img {
  width: 50px;
  height: 32px;
  padding: 3px;
  border-radius: 6px;
  background: #ffffff;
  object-fit: contain;
}

.security-icons img,
.shipping-methods-img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  padding: 4px 6px;
  border-radius: 6px;
  background: #ffffff;
  object-fit: contain;
}

.shipping-methods-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.shipping-logo-img {
  display: block;
  width: auto;
  height: 34px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.security-icons img {
  max-height: 42px;
}

.footer-bottom {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .footer-trust {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 740px) {
  body {
    padding-bottom: 78px;
  }

  .store-header {
    min-height: 66px;
  }

  .store-logo {
    max-height: 45px;
  }

  .breadcrumbs {
    padding-top: 12px;
    font-size: 0.78rem;
  }

  .product-shell {
    width: min(var(--max), calc(100% - 18px));
    gap: 14px;
  }

  .main-media-card,
  .product-panel,
  .price-card,
  .stock-box,
  .shipping-banner {
    border-radius: 8px;
  }

  .main-photo-button img {
    padding: 10px;
  }

  .thumb-row {
    grid-template-columns: repeat(6, minmax(62px, 1fr));
    gap: 8px;
  }

  .thumb {
    min-height: 66px;
  }

  .product-panel {
    padding: 16px;
  }

  .price-card,
  .stock-box {
    padding: 16px;
  }

  .coupon-line {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .buy-main {
    min-height: 56px;
  }

  .checkout-summary h2 {
    font-size: 1.72rem;
  }

  .checkout-product {
    align-items: flex-start;
  }

  .checkout-product img {
    width: 64px;
    height: 64px;
  }

  .checkout-quantity,
  .shipping-radio {
    align-items: flex-start;
  }

  .checkout-quantity {
    flex-direction: column;
  }

  .qty-control-small {
    width: 100%;
    grid-template-columns: 44px 1fr 44px;
  }

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

  .checkout-form label {
    font-size: 0.9rem;
  }

  .shipping-radio {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .shipping-radio b {
    grid-column: 2;
  }

  .footer-inner,
  .footer-trust,
  .footer-bottom {
    width: min(var(--max), calc(100% - 28px));
  }

  .footer-trust {
    padding-top: 22px;
  }

  .payment-icons {
    gap: 7px;
  }

  .payment-icons img {
    width: 46px;
    height: 30px;
  }

  .security-icons {
    justify-content: center;
  }

  .shipping-methods-row {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .footer-bottom {
    padding-inline: 0;
    background: transparent;
  }
}

@media (max-width: 430px) {
  .shipping-methods-row {
    gap: 6px;
  }

  .shipping-logo-img {
    height: 30px;
  }
}

@media (max-width: 360px) {
  .shipping-methods-row {
    gap: 5px;
  }

  .shipping-logo-img {
    height: 27px;
  }
}

@media (max-width: 740px) {
  .checkout-summary {
    display: grid;
    justify-items: center;
    padding: 24px 20px 22px !important;
    text-align: center;
  }

  .checkout-summary .card-badge {
    margin-inline: auto;
  }

  .checkout-summary h2 {
    max-width: 11em;
    margin: 12px auto 18px;
    text-align: center;
  }

  .checkout-steps,
  .checkout-product,
  .checkout-quantity,
  .checkout-total,
  .checkout-trust {
    width: 100%;
  }

  .checkout-product {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .checkout-product img {
    width: 72px;
    height: 72px;
    margin-inline: auto;
  }

  .checkout-product strong,
  .checkout-product span {
    text-align: center;
  }

  .checkout-quantity {
    align-items: center;
    text-align: center;
  }

  .checkout-quantity > span {
    width: 100%;
    text-align: center;
  }

  .checkout-total div {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .checkout-total dt,
  .checkout-total dd {
    width: 100%;
    text-align: center;
  }

  .checkout-trust span {
    justify-content: center;
    text-align: center;
  }
}

/* Final sales-page refinements */
.topbar-track {
  width: max-content;
  min-width: max-content;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  animation: topbarMarquee var(--topbar-speed, 22s) linear infinite;
}

.topbar-group {
  display: flex;
  flex: 0 0 auto;
  gap: 36px;
  align-items: center;
  min-height: 38px;
  padding-inline: 0 36px;
}

@keyframes topbarMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(var(--topbar-distance, -50%));
  }
}

.store-header {
  grid-template-columns: 112px 1fr auto;
  min-height: 92px;
}

.store-logo-link {
  width: 96px;
}

.store-logo {
  width: auto;
  height: 76px;
  max-height: 76px;
}

.footer-inner {
  grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(0, 1fr));
  justify-items: center;
  text-align: center;
}

.footer-brand-block {
  display: grid;
  justify-items: center;
  text-align: center;
}

.footer-brand-block img {
  width: min(190px, 100%);
  max-height: 170px;
  margin-inline: auto;
}

.shipping-choice-heading {
  display: grid;
  gap: 2px;
  margin-bottom: 10px;
}

.shipping-choice-heading strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.shipping-choice-heading small {
  color: var(--muted);
  font-weight: 750;
}

.shipping-options-list {
  display: grid;
  gap: 10px;
}

.shipping-radio {
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(7, 21, 15, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.shipping-radio:has(input:checked) {
  border-color: rgba(7, 133, 63, 0.42);
  background: rgba(7, 133, 63, 0.08);
  box-shadow: 0 10px 24px rgba(7, 133, 63, 0.08);
}

.checkout-flow-actions {
  display: flex;
  gap: 10px;
}

.checkout-flow-actions[hidden] {
  display: none;
}

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

.checkout-flow-actions .button {
  flex: 1;
}

.checkout-modal[data-mode="steps"] .checkout-shell {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.checkout-modal[data-mode="steps"] .checkout-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-modal[data-mode="steps"][data-flow-step="entrega"] .checkout-summary,
.checkout-modal[data-mode="steps"][data-flow-step="pix"] .checkout-summary {
  display: none;
}

.checkout-modal[data-mode="steps"] [data-checkout-section] {
  display: none;
}

.checkout-modal[data-mode="steps"][data-flow-step="dados"] [data-checkout-section="dados"],
.checkout-modal[data-mode="steps"][data-flow-step="entrega"] [data-checkout-section="entrega"],
.checkout-modal[data-mode="steps"][data-flow-step="pix"] [data-checkout-section="pix"] {
  display: grid;
}

.checkout-modal[data-mode="steps"][data-flow-step="entrega"] button[data-checkout-section="entrega"] {
  display: inline-flex;
}

.checkout-modal[data-mode="steps"][data-flow-step="pix"] .checkout-form {
  grid-template-columns: minmax(0, 1fr);
}

.checkout-modal[data-mode="steps"][data-flow-step="pix"] .pix-result {
  min-height: 420px;
  align-content: center;
}

.pix-modal {
  width: min(540px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.pix-modal::backdrop {
  background:
    radial-gradient(circle at 18% 16%, rgba(248, 211, 58, 0.24), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(7, 133, 63, 0.2), transparent 32%),
    rgba(7, 21, 15, 0.78);
  backdrop-filter: blur(12px);
}

.pix-shell {
  position: relative;
  max-height: calc(100svh - 28px);
  overflow: auto;
  padding: clamp(18px, 3.5vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 12%, rgba(248, 211, 58, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 244, 0.98)),
    #ffffff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.pix-modal .modal-close {
  right: 12px;
  top: 12px;
}

.pix-modal .pix-result {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.pix-modal .pix-result[hidden] {
  display: none !important;
}

.pix-header {
  display: grid;
  justify-items: center;
  gap: 6px;
  max-width: 390px;
  padding: 2px 46px 0;
}

.pix-header .card-badge {
  margin-inline: auto;
}

.pix-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.66rem, 4.2vw, 2.08rem);
  font-weight: 950;
  line-height: 1;
}

.pix-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.38;
}

.pix-modal .qr-frame {
  width: min(260px, 70vw);
  justify-self: center;
  box-shadow: 0 16px 34px rgba(7, 21, 15, 0.1);
}

.pix-modal .fake-qr {
  width: 104px;
  height: 104px;
}

.pix-modal .pix-reservation {
  justify-items: center;
  width: 100%;
  max-width: 420px;
  gap: 4px;
  margin: 0;
  padding: 10px 12px;
  text-align: center;
}

.pix-modal .pix-reservation p {
  font-size: 0.86rem;
  line-height: 1.36;
}

.pix-modal .pix-reservation strong {
  font-size: 1.55rem;
}

.pix-modal .pix-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}

.pix-modal .pix-copy > strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 950;
}

.pix-modal .pix-copy textarea {
  width: 100%;
  min-height: 58px;
  max-height: 64px;
  padding: 10px;
  border: 1px solid rgba(7, 21, 15, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: #263129;
  font-size: 0.78rem;
  text-align: center;
  resize: none;
}

.pix-modal .pix-copy .button {
  width: 100%;
  justify-content: center;
  margin-top: 0;
}

.pix-modal .pix-copy p {
  min-height: 18px;
  margin: 0;
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

@media (max-width: 780px) {
  .pix-modal {
    width: min(430px, calc(100vw - 18px));
    max-height: calc(100svh - 18px);
  }

  .pix-shell {
    max-height: calc(100svh - 18px);
    padding: 18px;
  }

  .pix-header {
    padding-inline: 42px;
  }

  .pix-modal .qr-frame {
    width: min(160px, 52vw);
  }

  .topbar-track {
    gap: 0;
    animation-duration: var(--topbar-speed, 18s);
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 70;
  }

  .topbar-group {
    gap: 28px;
    padding-inline: 0 28px;
  }

  .store-header {
    position: relative;
    top: auto;
    z-index: 45;
    grid-template-columns: minmax(82px, 1fr) auto;
    min-height: 76px;
  }

  .store-logo-link {
    width: 76px;
  }

  .store-logo {
    height: 60px;
    max-height: 60px;
  }
}

@media (max-width: 740px) {
  .section-heading,
  .reviews-header,
  .copy-block,
  .faq-section,
  .final-cta {
    text-align: center;
  }

  .section-heading,
  .reviews-header {
    align-items: center;
    justify-items: center;
  }

  .section-heading > *,
  .reviews-header > *,
  .copy-block > *,
  .faq-section .section-heading > * {
    margin-inline: auto;
  }

  .copy-block .eyebrow,
  .section-heading .eyebrow,
  .reviews-header .eyebrow {
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand-block img {
    width: min(168px, 72vw);
    max-height: 150px;
  }
}

@media (max-width: 420px) {
  .pix-shell {
    padding: 16px;
  }

  .pix-header h2 {
    font-size: 1.72rem;
  }

  .pix-header p {
    font-size: 0.84rem;
  }

  .pix-modal .qr-frame {
    width: min(148px, 50vw);
  }

  .pix-modal .pix-reservation p {
    font-size: 0.8rem;
  }

  .store-header {
    min-height: 70px;
  }

  .store-logo-link {
    width: 68px;
  }

  .store-logo {
    height: 54px;
    max-height: 54px;
  }
}

/* Sticky sales controls on every viewport */
body {
  padding-top: 38px;
  padding-bottom: 84px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
}

.store-header {
  position: relative;
  top: auto;
}

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

.social-proof {
  bottom: 92px;
}

@media (min-width: 781px) {
  .mobile-buy-bar {
    left: 50%;
    right: auto;
    bottom: 18px;
    width: min(560px, calc(100vw - 36px));
    transform: translateX(-50%);
    border: 1px solid rgba(7, 21, 15, 0.1);
    border-radius: 10px;
  }
}

@media (max-width: 740px) {
  .checkout-card {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .checkout-card .card-badge {
    margin-inline: auto;
  }

  .checkout-card h3 {
    max-width: 16em;
    margin-inline: auto;
  }

  .mini-total {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .mini-shipping {
    justify-content: center;
    text-align: center;
  }

  .checkout-card .button {
    justify-content: center;
  }
}
