:root {
  --navy: #07164a;
  --green: #0a7a3d;
  --yellow: #f7c948;
  --blue: #1238a8;
  --error: #d93025;
  --ink: #171717;
  --muted: #6e706f;
  --paper: #f8f7f2;
  --sand: #ece9dd;
  --line: #d7d1c2;
  --card: #ffffff;
  --elevated: #fffdf7;
  --shadow-low: 0 8px 24px rgba(7, 22, 74, 0.08);
  --shadow-med: 0 18px 55px rgba(7, 22, 74, 0.12);
  --shadow-high: 0 28px 80px rgba(7, 22, 74, 0.18);
  --radius-sm: 6px;
  --radius: 8px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 74px;
  color: var(--ink);
  background: var(--paper);
}

body.drawer-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 920;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 7px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.18;
}

p {
  color: #565b61;
  line-height: 1.55;
}

.announcement-bar {
  position: relative;
  overflow: hidden;
  padding: 9px 12px 12px;
  color: var(--card);
  background: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
}

.announcement-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.announcement-items span + span::before {
  margin-right: 14px;
  color: rgba(255, 255, 255, 0.42);
  content: "|";
}

.announcement-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(248, 247, 242, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: var(--card);
  background: var(--navy);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

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

.brand small {
  max-width: 122px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav {
  display: none;
}

.cart-trigger {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-icon {
  position: relative;
  width: 19px;
  height: 16px;
  border: 2px solid currentColor;
  border-top: 0;
}

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

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding: 0 6px;
  color: var(--card);
  background: var(--error);
  border: 2px solid var(--card);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
}

.commerce-shell,
.scoreboard-strip,
.benefit-grid,
.reviews-shell,
.details-section,
.footer-top,
.policy-grid,
.footer-bottom {
  width: min(var(--max), calc(100% - 28px));
  margin-right: auto;
  margin-left: auto;
}

.reviews-summary > span,
.section-heading span,
.eyebrow {
  display: inline-flex;
  width: fit-content;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.commerce-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0 26px;
}

.commerce-shell > * {
  min-width: 0;
}

.product-gallery {
  position: relative;
  display: grid;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 22, 74, 0.08), rgba(255, 255, 255, 0)),
    var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.gallery-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gallery-tags span,
.save-pill,
.bundle-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 6px 8px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  white-space: nowrap;
}

.product-stage {
  position: relative;
  display: grid;
  min-height: 338px;
  place-items: center;
  padding: 56px 20px 18px;
}

.product-stage::before {
  position: absolute;
  inset: auto 7% 12% 7%;
  height: 48%;
  background: var(--blue);
  border-radius: var(--radius);
  content: "";
}

.product-stage img {
  position: relative;
  z-index: 1;
  width: min(62vw, 285px);
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(7, 22, 74, 0.24));
}

.gallery-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 12px 12px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.gallery-proof div {
  min-width: 0;
  padding: 10px 8px;
  background: var(--card);
}

.gallery-proof strong,
.gallery-proof span {
  display: block;
  overflow-wrap: anywhere;
}

.gallery-proof strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1;
}

.gallery-proof span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.15;
}

.buy-box {
  min-width: 0;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-med);
  overflow-wrap: anywhere;
}

.buy-box h1 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1;
}

.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

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

.vendor {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.short-description {
  margin-bottom: 15px;
  color: #4f5660;
  font-size: 0.98rem;
}

.campaign-note {
  margin: -4px 0 15px;
  padding-left: 12px;
  color: #3f4752;
  border-left: 3px solid var(--green);
  font-size: 0.9rem;
  line-height: 1.42;
}

.price-box {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-price,
.installments {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.compare-price {
  text-decoration: line-through;
}

.current-price {
  display: block;
  margin: 2px 0;
  color: var(--navy);
  font-size: 2.35rem;
  font-weight: 950;
  line-height: 0.98;
}

.save-pill {
  color: var(--card);
  background: var(--green);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.coupon-box span {
  margin-bottom: 8px;
  color: #30343b;
  font-size: 0.88rem;
  font-weight: 900;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.flavor-grid input,
.bundle-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.flavor-grid span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.flavor-grid input:checked + span {
  color: var(--card);
  background: var(--navy);
  border-color: var(--navy);
}

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

.bundle-option {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  grid-template-areas:
    "radio copy price"
    "radio tag price";
  gap: 4px 10px;
  align-items: center;
  min-height: 70px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.bundle-option.selected {
  background: var(--card);
  border: 2px solid var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.radio-dot {
  grid-area: radio;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #b8b09c;
  border-radius: 50%;
}

.bundle-option.selected .radio-dot {
  border-color: var(--navy);
}

.bundle-option.selected .radio-dot::before {
  width: 12px;
  height: 12px;
  background: var(--navy);
  border-radius: 50%;
  content: "";
}

.bundle-copy {
  grid-area: copy;
  min-width: 0;
}

.bundle-copy strong,
.bundle-copy small,
.bundle-price strong,
.bundle-price small {
  display: block;
}

.bundle-copy strong {
  font-size: 0.98rem;
}

.bundle-copy small,
.bundle-price small {
  color: var(--muted);
  font-size: 0.8rem;
}

.bundle-tag {
  grid-area: tag;
  padding: 6px 8px;
  color: var(--navy);
  background: var(--yellow);
  font-size: 0.72rem;
}

.bundle-price {
  grid-area: price;
  text-align: right;
}

.bundle-price strong {
  font-size: 1rem;
}

.bundle-price small {
  text-decoration: line-through;
}

.bundle-microcopy {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px;
  color: var(--navy);
  background: #eef8f2;
  border: 1px solid #bfe7d3;
  border-radius: var(--radius);
  font-size: 0.8rem;
}

.bundle-microcopy span,
.bundle-microcopy strong {
  display: block;
}

.bundle-microcopy strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.primary-button,
.secondary-button,
.checkout-button {
  display: grid;
  width: 100%;
  min-height: 49px;
  place-items: center;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-weight: 950;
  transition:
    transform 160ms var(--ease),
    background 160ms var(--ease),
    border-color 160ms var(--ease);
}

.primary-button,
.checkout-button {
  color: var(--card);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.secondary-button {
  margin-top: 9px;
  color: var(--navy);
  background: var(--card);
  border: 1px solid var(--line);
}

.quick-buy-button {
  margin-bottom: 14px;
}

.primary-button:hover,
.checkout-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.trust-grid,
.scoreboard-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.trust-grid {
  margin-top: 14px;
}

.trust-grid div,
.spec-list div {
  padding: 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.trust-grid strong {
  font-size: 0.9rem;
}

.trust-grid span,
.scoreboard-strip span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.scoreboard-strip {
  margin-bottom: 34px;
  padding: 12px;
  color: var(--card);
  background: var(--navy);
  border-radius: var(--radius);
}

.scoreboard-strip div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.scoreboard-strip div:last-child {
  border-bottom: 0;
}

.scoreboard-strip strong {
  color: var(--yellow);
  font-size: 1.42rem;
}

.scoreboard-strip span {
  color: rgba(255, 255, 255, 0.76);
}

.benefits-section,
.reviews-section,
.details-section,
.faq-section,
.site-footer {
  padding: 38px 0;
}

.benefits-section,
.details-section,
.faq-section {
  background: var(--card);
}

.section-heading {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto 18px;
}

.section-heading p {
  margin-bottom: 0;
}

.benefit-grid {
  display: grid;
  gap: 10px;
}

.benefit-grid {
  counter-reset: benefit;
}

.benefit-grid article {
  counter-increment: benefit;
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "index title"
    "icon copy";
  gap: 6px 12px;
  padding: 16px 0;
  background: transparent;
  border-top: 1px solid var(--line);
}

.benefit-grid article::before {
  grid-area: index;
  color: var(--green);
  content: counter(benefit, decimal-leading-zero);
  font-size: 0.84rem;
  font-weight: 950;
}

.benefit-grid article h3 {
  grid-area: title;
  margin: 0;
}

.benefit-grid article p {
  grid-area: copy;
  margin: 0;
}

.benefit-icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  grid-area: icon;
  margin: 0;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.benefit-icon::before,
.benefit-icon::after {
  position: absolute;
  content: "";
}

.protein-icon::before {
  width: 16px;
  height: 23px;
  border: 3px solid var(--blue);
  border-radius: 6px;
}

.protein-icon::after {
  width: 8px;
  height: 3px;
  background: var(--error);
  box-shadow: 0 8px 0 var(--error);
}

.clean-icon::before {
  width: 23px;
  height: 23px;
  border: 3px solid var(--green);
  border-radius: 50%;
}

.clean-icon::after {
  width: 22px;
  height: 3px;
  background: var(--green);
  transform: rotate(-42deg);
}

.bio-icon::before {
  width: 25px;
  height: 25px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.bio-icon::after {
  width: 7px;
  height: 7px;
  background: var(--error);
  border-radius: 50%;
  box-shadow: 10px -5px 0 var(--error), 10px 9px 0 var(--error);
}

.amino-icon::before {
  width: 25px;
  height: 8px;
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
}

.amino-icon::after {
  width: 8px;
  height: 8px;
  background: var(--error);
  border-radius: 50%;
  box-shadow: 16px 0 0 var(--green);
}

.muscle-icon::before {
  width: 28px;
  height: 18px;
  border: 3px solid var(--blue);
  border-right-width: 7px;
  border-radius: 14px 7px 7px 14px;
}

.muscle-icon::after {
  right: 9px;
  width: 9px;
  height: 27px;
  border-left: 3px solid var(--error);
  transform: rotate(26deg);
}

.high-icon::before {
  width: 8px;
  height: 25px;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 10px 8px 0 var(--green), -10px 12px 0 var(--error);
}

.reviews-section {
  background: var(--paper);
}

.reviews-shell {
  display: grid;
  gap: 14px;
}

.reviews-summary {
  align-self: start;
  padding: 16px;
  color: var(--card);
  background: var(--navy);
  border-radius: var(--radius);
}

.reviews-summary > span {
  color: var(--yellow);
}

.reviews-summary > strong {
  display: block;
  margin: 12px 0 4px;
  font-size: 3.2rem;
  font-weight: 950;
  line-height: 0.9;
}

.reviews-summary p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.rating-bars {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.rating-bars div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.rating-bars span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 850;
}

.rating-bars i {
  display: block;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.rating-bars i::before {
  display: block;
  width: var(--bar);
  height: 100%;
  background: var(--yellow);
  border-radius: inherit;
  content: "";
}

.reviews-stream {
  min-width: 0;
}

.reviews-stream .section-heading {
  width: 100%;
  margin: 0 0 14px;
}

.featured-review,
.review-rows article {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.featured-review {
  display: grid;
  margin-bottom: 10px;
}

.featured-review > div,
.review-rows article > div {
  padding: 14px;
}

.review-rows {
  display: grid;
  gap: 10px;
}

.review-photo {
  width: 100%;
  height: 184px;
  object-fit: cover;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: var(--card);
  background: var(--navy);
  border-radius: 50%;
  font-size: 0.83rem;
  font-weight: 950;
}

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

.review-head small {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.details-section {
  display: grid;
  gap: 18px;
}

.product-sheet {
  align-items: start;
}

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

.routine-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-top: 1px solid var(--line);
  color: #3f4752;
  font-size: 0.92rem;
  line-height: 1.42;
}

.routine-list li::before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

.spec-list {
  display: grid;
  gap: 8px;
}

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

.spec-list span {
  color: var(--muted);
}

.spec-list strong {
  text-align: right;
}

.faq-section details,
.policy-grid details {
  border-bottom: 1px solid var(--line);
}

.faq-section details {
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
  padding: 17px 0;
}

summary {
  list-style: none;
  cursor: pointer;
}

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

.faq-section summary,
.policy-grid summary {
  position: relative;
  padding-right: 28px;
  font-weight: 950;
}

.faq-section summary::after,
.policy-grid summary::after {
  position: absolute;
  top: 0;
  right: 2px;
  content: "+";
  font-weight: 950;
}

.faq-section details[open] summary::after,
.policy-grid details[open] summary::after {
  content: "-";
}

.faq-section p,
.policy-grid p {
  margin: 10px 0 0;
}

.site-footer {
  color: var(--card);
  background: var(--navy);
}

.footer-top {
  display: grid;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-brand .brand-mark {
  color: var(--navy);
  background: var(--card);
}

.footer-brand small,
.site-footer p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.74);
}

.policy-grid {
  display: grid;
  gap: 0;
  padding: 14px 0;
}

.policy-grid details {
  padding: 15px 0;
  border-color: rgba(255, 255, 255, 0.16);
}

.policy-grid p {
  font-size: 0.9rem;
}

.footer-bottom {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(7, 22, 74, 0);
  pointer-events: none;
  transition: background 200ms var(--ease);
}

.cart-drawer.open {
  background: rgba(7, 22, 74, 0.52);
  pointer-events: auto;
}

.cart-panel {
  display: flex;
  width: min(100vw, 430px);
  height: 100%;
  flex-direction: column;
  overflow-y: auto;
  padding: 18px;
  background: var(--card);
  box-shadow: -24px 0 60px rgba(7, 22, 74, 0.24);
  transform: translateX(105%);
  transition: transform 240ms var(--ease);
}

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

.cart-progress {
  margin-bottom: 14px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.cart-progress-copy span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cart-progress-copy strong {
  font-size: 0.86rem;
  text-align: right;
}

.cart-progress-track {
  overflow: hidden;
  height: 8px;
  background: #e2dccd;
  border-radius: 999px;
}

.cart-progress-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  border-radius: inherit;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-head h2 {
  margin: 2px 0 0;
  font-size: 1.55rem;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.5rem;
  line-height: 1;
}

.empty-cart {
  display: grid;
  min-height: 360px;
  align-content: center;
  gap: 12px;
  text-align: center;
}

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

.cart-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.cart-items {
  min-height: 0;
  max-height: 39vh;
  overflow: auto;
  padding: 18px 0;
}

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

.cart-item:first-child {
  padding-top: 0;
}

.cart-thumb {
  display: grid;
  height: 86px;
  place-items: center;
  background: #eef0f6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-thumb img {
  width: 50px;
  height: 72px;
  object-fit: contain;
}

.cart-item h3 {
  margin: 0 0 3px;
  font-size: 0.98rem;
}

.cart-item p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.mini-stepper {
  display: grid;
  grid-template-columns: 32px 36px 32px;
  height: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-stepper button,
.mini-stepper span {
  display: grid;
  place-items: center;
  border: 0;
  background: var(--card);
  font-weight: 950;
}

.mini-stepper span {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cart-price {
  font-weight: 950;
}

.coupon-box {
  display: grid;
  gap: 7px;
  margin-top: auto;
}

.coupon-box span,
.checkout-form label span,
.pix-result label span {
  margin: 0;
}

.coupon-box input,
.checkout-form input,
.pix-result textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.coupon-box input {
  color: var(--green);
  background: #edf9f3;
  border: 1px solid #bfe7d3;
  font-weight: 950;
}

.totals {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #4b5563;
}

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

.total-line {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 1.16rem;
  font-weight: 950;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-bottom: 12px;
}

.checkout-form-head {
  display: grid;
  gap: 3px;
}

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

.checkout-form-head span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.checkout-form label,
.pix-result label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.checkout-form label span,
.pix-result label span {
  color: #30343b;
  font-size: 0.78rem;
  font-weight: 900;
}

.checkout-form input:focus,
.pix-result textarea:focus {
  outline: 2px solid rgba(10, 122, 61, 0.22);
  border-color: var(--green);
}

.checkout-button.loading {
  opacity: 0.72;
  pointer-events: none;
}

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

.payment-methods img {
  width: 100%;
  height: 34px;
  padding: 5px;
  object-fit: contain;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.cart-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
}

.cart-trust-row span {
  padding: 6px 8px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.checkout-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.pix-result {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  background: #edf9f3;
  border: 1px solid #bfe7d3;
  border-radius: var(--radius);
}

.pix-result-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pix-result-head strong,
.pix-result-head span {
  display: block;
}

.pix-result-head span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

.pix-result img {
  width: min(210px, 100%);
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pix-result textarea {
  min-height: 84px;
  resize: vertical;
  color: #263238;
  font-size: 0.78rem;
}

.pix-result small {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.mobile-sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 28px rgba(7, 22, 74, 0.08);
  backdrop-filter: blur(14px);
}

.mobile-sticky span,
.mobile-sticky strong {
  display: block;
}

.mobile-sticky span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.mobile-sticky strong {
  font-size: 1.12rem;
}

.mobile-sticky button {
  min-width: 156px;
  min-height: 46px;
  color: var(--card);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 950;
}

.toast {
  position: fixed;
  right: 14px;
  bottom: 88px;
  left: 14px;
  z-index: 95;
  padding: 13px 15px;
  color: var(--card);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(7, 22, 74, 0.22);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 374px) {
  body {
    min-width: 0;
  }

  .announcement-items {
    flex-direction: column;
    gap: 3px;
  }

  .announcement-items span + span::before {
    margin: 0;
    content: "";
  }

  .commerce-shell,
  .scoreboard-strip,
  .benefit-grid,
  .reviews-shell,
  .details-section,
  .footer-top,
  .policy-grid,
  .footer-bottom {
    width: min(100% - 20px, var(--max));
  }

  .buy-box {
    padding: 12px;
  }

  .price-box {
    flex-direction: column;
  }

  .bundle-option {
    grid-template-columns: 22px minmax(0, 1fr);
    grid-template-areas:
      "radio copy"
      "radio tag"
      "radio price";
  }

  .bundle-price {
    text-align: left;
  }

  .mobile-sticky button {
    min-width: 128px;
  }
}

@media (min-width: 640px) {
  body {
    padding-bottom: 0;
  }

  .commerce-shell {
    padding-top: 18px;
  }

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

  .product-stage img {
    width: 320px;
    max-height: 420px;
  }

  .trust-grid,
  .scoreboard-strip,
  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scoreboard-strip div {
    padding: 4px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
  }

  .scoreboard-strip div:last-child {
    border-right: 0;
  }

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

  .reviews-shell {
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
  }

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

  .details-section {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    align-items: start;
  }

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

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

  .footer-bottom span:last-child {
    text-align: right;
  }

  .mobile-sticky {
    display: none;
  }

  .toast {
    right: 22px;
    bottom: 22px;
    left: auto;
    width: min(360px, calc(100vw - 44px));
  }
}

@media (min-width: 980px) {
  .announcement-bar {
    font-size: 0.84rem;
  }

  .site-header {
    padding: 14px clamp(24px, 5vw, 70px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand small {
    max-width: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #353a42;
    font-size: 0.92rem;
    font-weight: 850;
  }

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

  .commerce-shell {
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: start;
    gap: 24px;
    padding-bottom: 44px;
  }

  .product-gallery {
    position: sticky;
    top: 94px;
    min-height: 690px;
  }

  .product-stage img {
    width: 420px;
    max-height: 620px;
  }

  .buy-box {
    padding: 20px;
  }

  .reviews-shell {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
  }

  .reviews-summary {
    position: sticky;
    top: 104px;
  }

  .featured-review {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: stretch;
  }

  .featured-review .review-photo {
    height: 100%;
    min-height: 240px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .benefit-grid article {
    padding: 18px;
  }
}
