:root {
  --bg: #f7f3ee;
  --bg-elev: #fffcf8;
  --ink: #1c1916;
  --muted: #6b645c;
  --line: rgba(28, 25, 22, 0.1);
  --accent: #e85d04;
  --accent-soft: rgba(232, 93, 4, 0.16);
  --accent-ink: #fff;
  --danger: #9b2c2c;
  --shadow: 0 18px 50px rgba(28, 25, 22, 0.12);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 93, 4, 0.1), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(92, 74, 58, 0.07), transparent 50%),
    var(--bg);
  min-height: 100dvh;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.promo-bar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 0.89rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 15px;
  line-height: 1.35;
}

.promo-price {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  white-space: nowrap;
}

.promo-flag {
  width: 1.15em;
  height: 0.78em;
  display: block;
  flex-shrink: 0;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 32px);
  background: rgba(246, 243, 238, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.brand-name {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.2;
  max-width: none;
  white-space: nowrap;
}

.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.icon-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: #fff;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}

.cart-wrap {
  position: relative;
}

.cart-wrap.has-items .cart-badge {
  display: inline-flex;
}

.page {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 20px 0 28px;
}

.hero-hook {
  margin: 0 0 clamp(14px, 2.5vw, 20px);
  padding: clamp(8px, 2vw, 14px) clamp(12px, 3vw, 16px);
  text-align: center;
}

.hero-hook-title {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-hook-lead {
  margin: 0;
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  line-height: 1.4;
  color: var(--accent);
  font-weight: 600;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(280px, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.product-above {
  display: contents;
}

.product-below {
  grid-column: 2;
  min-width: 0;
}

.media-panel,
.info-top {
  min-width: 0;
}

@media (min-width: 861px) {
  .media-panel {
    grid-row: 1 / span 2;
  }
}

.info-top {
  display: flex;
  flex-direction: column;
}

.media-stage {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

.thumbs {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 6px;
  min-height: 0;
}

.thumb {
  appearance: none;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 3px;
  cursor: pointer;
  min-height: 0;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.thumb.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.gallery {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  aspect-ratio: 2 / 3;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 4px 4px 36px;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  left: 6px;
  right: 6px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.gallery-nav button {
  pointer-events: auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  line-height: 1;
}

.gallery-dots {
  display: none;
}

.gallery-sold {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 10px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  background: linear-gradient(to top, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82) 70%, transparent);
  pointer-events: none;
}

.range-label {
  margin: 10px 0 3px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.range-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
  align-items: end;
  padding-top: 0.95em;
}

.range-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 0;
  position: relative;
}

.range-badge {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  color: var(--accent);
  padding: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.range-btn {
  appearance: none;
  width: 100%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 6px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.range-btn:hover {
  border-color: rgba(232, 93, 4, 0.4);
}

.range-btn.is-selected {
  border-color: var(--accent);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.gallery.is-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(232, 93, 4, 0.1), transparent 55%),
    #fff8f3;
}

.gallery.is-featured .gallery-slide {
  background: transparent;
  padding-top: 4px;
}

.gallery.is-featured::after {
  content: "★";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.35);
  pointer-events: none;
}

.gallery.is-featured .gallery-sold {
  color: #9a3412;
  background: linear-gradient(to top, rgba(255, 248, 243, 0.96), rgba(255, 248, 243, 0.75) 70%, transparent);
}

.media-stage.is-featured .thumb.is-selected {
  border-color: var(--accent);
}

@media (max-width: 860px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-above {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .product-below {
    grid-column: 1;
    padding-top: 2px;
    border-top: 0;
  }
}

.product-copy {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.product-subtitle {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
}

.offer-card {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 25, 22, 0.04);
}

.qty-block {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin: 0 0 14px;
}

.qty-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  appearance: none;
  border: none;
  background: transparent;
  width: 36px;
  height: 34px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}

.qty-btn:hover {
  background: rgba(232, 93, 4, 0.08);
  color: var(--accent);
}

.qty-btn:disabled {
  opacity: 0.35;
  cursor: default;
  background: transparent;
  color: var(--muted);
}

.qty-value {
  min-width: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 34px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink);
}

.offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.offer-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.offer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.offer-model {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.option-block {
  margin: 0 0 14px;
}

.option-block .range-row {
  margin-top: 0;
  padding-top: 0;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  flex-wrap: wrap;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2f7a45;
  background: rgba(47, 122, 69, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.eyebrow-badge svg {
  width: 10px;
  height: 10px;
  color: #2f7a45;
  flex-shrink: 0;
}

.eyebrow {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
  padding: 9px 12px;
  background: rgba(28, 25, 22, 0.03);
  border-radius: 10px;
  border: 1px solid var(--line);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.trust-item svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-sep {
  color: var(--line);
  font-size: 0.9rem;
  line-height: 1;
}

.product-title {
  margin: 0 0 4px;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.price {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.offer-card .price {
  font-size: 1.72rem;
}

.pitch-copy {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
}

.reviews-wrap {
  margin: 0 0 22px;
}

.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  flex-wrap: wrap;
}

.reviews-head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.reviews-meta {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

.reviews-avg {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.88rem;
}

.reviews-stars-mini {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.reviews-count {
  color: var(--muted);
}

.reviews-carousel {
  display: grid;
  gap: 10px;
}

.reviews-viewport {
  overflow: hidden;
  margin-right: -4px;
}

.reviews-track {
  display: flex;
  gap: 10px;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.reviews-slide {
  flex: 0 0 calc(100% - 42px);
  min-width: 0;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 228px;
  height: 100%;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(28, 25, 22, 0.05);
}

.review-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.review-copy {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}

.review-media {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: 168px;
}

.review-media img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  max-height: 200px;
  object-fit: contain;
  display: block;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  border: 1.5px solid var(--line);
  background: #eee;
  flex-shrink: 0;
}

.review-who {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.review-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.review-place {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
}

.review-stars {
  color: var(--accent);
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  line-height: 1;
}

.review-stars span {
  color: #ddd6ce;
}

.review-variant {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

.review-text {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink);
  line-height: 1.45;
}

.review-verified {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #2f7a45;
}

.review-verified svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.reviews-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.reviews-arrow {
  appearance: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(28, 25, 22, 0.06);
}

.reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.reviews-dot {
  appearance: none;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d8d0c8;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s;
}

.reviews-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.pitch-copy strong {
  color: var(--accent);
  font-weight: 700;
}

.includes {
  margin: 0 0 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.includes-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.includes-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.includes-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}

.includes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.variant-desc {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.9);
}

.btn-freight {
  margin: 0;
  width: 100%;
  box-shadow: 0 8px 18px rgba(232, 93, 4, 0.28);
}

.product-cta-stack {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn-wa svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-wa:hover {
  background: rgba(232, 93, 4, 0.06);
  color: var(--accent);
  transform: translateY(-1px);
}

.variant-specs-label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.variant-specs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.variant-specs-list li {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.4;
}

.product-desc {
  margin: 0 0 14px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-accordions {
  margin: 0 0 8px;
  border-top: 1px solid var(--line);
}

.product-accordion {
  border-bottom: 1px solid var(--line);
}

.product-accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.product-accordion-head::-webkit-details-marker {
  display: none;
}

.product-accordion-head::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: -3px;
  transition: transform 0.2s var(--ease);
}

.product-accordion[open] .product-accordion-head::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.product-accordion-body {
  padding: 0 2px 14px;
}

.product-accordion-body p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-accordion-body p:last-child {
  margin-bottom: 0;
}

.product-accordion-body strong {
  color: var(--ink);
  font-weight: 700;
}

.section-label {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.variant-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.variant-card {
  appearance: none;
  position: relative;
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  min-width: 0;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.variant-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.variant-card:hover {
  border-color: rgba(232, 93, 4, 0.4);
}

.variant-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.variant-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: none;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.variant-check::before {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.variant-card.is-selected .variant-check {
  display: grid;
}

@media (max-width: 860px) {
  .promo-bar {
    font-size: 0.8rem;
    padding: 8px 13px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand-name {
    font-size: clamp(0.95rem, 4.2vw, 1.08rem);
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .page {
    width: min(100% - 24px, var(--max));
    padding: 10px 0 20px;
  }

  .hero-hook {
    margin-bottom: 12px;
    padding: 8px 10px;
  }

  .hero-hook-title {
    font-size: 1.02rem;
    margin-bottom: 6px;
  }

  .hero-hook-lead {
    font-size: 0.88rem;
  }

  .eyebrow {
    margin: 2px 0 4px;
    font-size: 0.68rem;
  }

  .product-title {
    margin: 0 0 4px;
    font-size: 1.22rem;
  }

  .product-subtitle {
    font-size: 0.88rem;
  }

  .offer-card {
    padding: 12px 14px;
  }

  .offer-head {
    align-items: flex-start;
    gap: 10px;
  }

  .offer-model {
    font-size: 0.9rem;
  }

  .offer-card .price {
    font-size: 1.46rem;
  }

  .range-label {
    margin-bottom: 8px;
  }

  .product-desc {
    margin: 0 0 14px;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .btn {
    padding: 13px 18px;
  }
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s var(--ease), opacity 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.buy-head .btn-add:disabled {
  box-shadow: none;
}

.includes[hidden] {
  display: none;
}

.range-row.is-need-pick .range-btn {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  width: 100%;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px clamp(16px, 4vw, 40px) 28px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

.footer-shield {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-tagline {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.footer-copy {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 14, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
  z-index: 60;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 100%);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  transform: translateX(104%);
  transition: transform 0.38s var(--ease);
  z-index: 70;
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 18px;
}

.drawer-empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.cart-line img {
  width: 88px;
  height: 110px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.cart-line-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-line-meta h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.cart-line-meta p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-line-price {
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.cart-unit {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
}

.cart-remove {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--danger, #9b2c2c);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.cart-remove:hover {
  text-decoration: underline;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg-elev);
}

.cart-qty-btn {
  appearance: none;
  border: none;
  background: transparent;
  width: 34px;
  height: 32px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.cart-qty-btn:hover {
  background: rgba(28, 25, 22, 0.05);
}

.cart-qty-value {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 0 4px;
  line-height: 32px;
}

.cart-includes {
  margin-top: 2px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.cart-includes-label {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-includes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.cart-includes li {
  font-size: 0.86rem;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}

.cart-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.drawer-foot {
  padding: 16px 18px 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

/* Checkout */
.checkout-wrap {
  width: min(100% - 32px, 640px);
  margin: 0 auto;
  padding: 28px 0 72px;
}

.checkout-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 10px 30px rgba(28, 25, 22, 0.05);
}

.checkout-card h1 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  font-weight: 700;
}

.checkout-lead {
  margin: 0 0 22px;
  color: var(--muted);
}

.checkout-form {
  display: flex;
  flex-direction: column;
}

.checkout-section {
  margin: 0 0 22px;
}

.checkout-section:last-of-type {
  margin-bottom: 0;
}

.checkout-section:not(.checkout-section--order) {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.checkout-section--order {
  margin-bottom: 18px;
  padding-top: 0;
  border-top: 0;
}

.checkout-form[data-phase="edit"] .checkout-section--order {
  order: 1;
}

.checkout-form[data-phase="edit"] .checkout-section--address-edit {
  order: 2;
  padding-top: 0;
  border-top: 0;
}

.checkout-form[data-phase="ready"] .checkout-section--order {
  order: 1;
}

.checkout-form[data-phase="ready"] .checkout-section--address-summary {
  order: 2;
}

.checkout-form[data-phase="ready"] .checkout-section--payer {
  order: 3;
}

.checkout-form[data-phase="ready"] .checkout-section--shipping {
  order: 4;
}

.checkout-form[data-phase="ready"] .checkout-section--pay {
  order: 5;
}

/* Pós-frete: seções mais compactas sem amontoar */
.checkout-form[data-phase="ready"] .checkout-section {
  margin-bottom: 14px;
}

.checkout-form[data-phase="ready"] .checkout-section:not(.checkout-section--order) {
  padding-top: 14px;
}

.checkout-form[data-phase="ready"] .checkout-section--order {
  margin-bottom: 12px;
}

.checkout-form[data-phase="ready"] .checkout-section .section-label--dados {
  margin-bottom: 8px;
}

.checkout-form[data-phase="ready"] .checkout-section-lead {
  margin: -2px 0 8px;
}

.checkout-form[data-phase="ready"] .addr-summary-head {
  margin-bottom: 8px;
}

.checkout-form[data-phase="ready"] .addr-card--summary .addr-summary-rows {
  gap: 5px;
  padding: 10px 12px 11px;
}

.checkout-form[data-phase="ready"] .addr-summary-line {
  line-height: 1.32;
}

.checkout-form[data-phase="ready"] .addr-summary-line--cep {
  margin-top: 2px;
  padding-top: 8px;
}

.checkout-form[data-phase="ready"] .checkout-payer .dados-panel {
  padding: 10px 12px;
}

.checkout-form[data-phase="ready"] .checkout-payer .dados-pessoais .field {
  gap: 4px;
  margin-bottom: 8px;
}

.checkout-form[data-phase="ready"] .checkout-payer .dados-pessoais .field-row {
  margin-bottom: 8px;
}

.checkout-form[data-phase="ready"] .checkout-payer .field label {
  font-size: 0.8rem;
}

.checkout-form[data-phase="ready"] .checkout-payer .field input {
  padding: 9px 11px;
  font-size: 0.88rem;
  border-radius: 8px;
}

.checkout-form[data-phase="ready"] .ship-list {
  gap: 6px;
}

.checkout-form[data-phase="ready"] .ship-opt {
  padding: 8px 10px;
  border-radius: 10px;
  row-gap: 1px;
}

.checkout-form[data-phase="ready"] .checkout-footer .order-bump {
  margin-bottom: 10px;
}

.checkout-form[data-phase="ready"] .checkout-total {
  margin: 10px 0 12px;
  padding: 10px 12px;
}

.checkout-form[data-phase="ready"] .checkout-actions {
  margin-top: 4px;
}

/* Barra flutuante — total do pedido (some na seção Pagamento) */
body[data-flow="checkout"].has-checkout-sticky {
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

body[data-flow="checkout"].has-checkout-sticky .checkout-wrap {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.checkout-sticky-total {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 252, 248, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(28, 25, 22, 0.08);
}

.checkout-sticky-total[hidden] {
  display: none !important;
}

.checkout-sticky-label {
  flex-shrink: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.checkout-sticky-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  min-width: 0;
  margin-left: auto;
}

.checkout-sticky-currency {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
}

.checkout-sticky-value {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.checkout-section-lead {
  margin: -4px 0 12px;
  font-size: 0.84rem;
  color: var(--muted);
}

.checkout-product {
  margin-bottom: 0;
}

.checkout-section--shipping .ship-list {
  margin-bottom: 0;
}

.addr-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.addr-summary-head .section-label--dados {
  margin-bottom: 0;
}

.checkout-addr-edit-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 4px 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.checkout-addr-edit-link:hover {
  opacity: 0.85;
}

.addr-card--summary {
  margin: 0;
}

.addr-card--summary .addr-summary-rows {
  display: grid;
  gap: 7px;
  padding: 12px 14px 13px;
}

.addr-summary-line {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--muted);
}

.addr-summary-line--main {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.addr-summary-line--city {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.addr-summary-uf {
  flex-shrink: 0;
  min-width: 34px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(28, 25, 22, 0.06);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--ink);
}

.addr-summary-line--cep {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.addr-summary-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.checkout-address {
  margin: 0;
}

.checkout-section .section-label--dados {
  margin-bottom: 12px;
}

.checkout-address--compact .field {
  gap: 4px;
  margin-bottom: 8px;
}

.checkout-address--compact .field input {
  padding: 9px 11px;
  font-size: 0.88rem;
  border-radius: 8px;
}

.checkout-address--compact .cep-status {
  min-height: 0;
  margin-top: 2px;
  font-size: 0.76rem;
  line-height: 1.25;
}

.checkout-address .field {
  margin-bottom: 12px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.field-label-row > label:first-child {
  min-width: 0;
}

.field--numero-row {
  margin-bottom: 8px;
}

.checkout-numero-line {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) max-content;
  gap: 8px;
  align-items: stretch;
}

.checkout-numero-line > input#numero {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.checkout-numero-line .addr-check--block {
  width: max-content;
  max-width: 100%;
  justify-content: flex-start;
  padding: 9px 10px;
  align-self: stretch;
}

.checkout-address--compact .field--comp {
  margin-bottom: 8px;
}

.checkout-addr-row--city {
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 10px;
  align-items: start;
}

.checkout-addr-row--city .field {
  margin-bottom: 8px;
  gap: 4px;
  min-width: 0;
}

.checkout-addr-row--city .field label {
  display: block;
  min-height: 1.15em;
  line-height: 1.15;
  text-align: left;
}

.checkout-addr-row--city .field--uf label {
  text-align: left;
}

.addr-check--block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  margin: 0;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #faf9f7;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.addr-check--block:has(input:checked) {
  border-color: var(--accent);
  background: rgba(196, 92, 62, 0.08);
  color: var(--accent);
}

.addr-check--block input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.field--uf input {
  padding-left: 6px;
  padding-right: 6px;
  text-align: center;
  text-transform: uppercase;
}

.checkout-address .dados-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.checkout-address--compact .btn-freight {
  margin-top: 0;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.checkout-addr-row {
  gap: 10px;
}

.checkout-addr-row .field {
  margin-bottom: 12px;
}

.checkout-payer .dados-panel {
  padding: 14px;
}

.checkout-footer {
  margin-bottom: 0;
}

.checkout-footer .order-bump {
  margin-bottom: 12px;
}

.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(232, 93, 4, 0.08);
  font-size: 1rem;
}

.checkout-total strong {
  font-size: 1.25rem;
  color: var(--accent);
}

.pay-recap {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.pay-recap-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pay-recap-copy strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.pay-recap-copy span {
  font-size: 0.84rem;
  color: var(--muted);
}

body.bump-modal-open {
  overflow: hidden;
}

.bump-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  background: rgba(28, 25, 22, 0.55);
}

.bump-overlay[hidden] {
  display: none !important;
}

.bump-modal {
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: var(--bg-elev);
  box-shadow: 0 18px 40px rgba(28, 25, 22, 0.22);
}

.bump-modal-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.bump-modal-product {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  background: #fff8f3;
}

.bump-modal-product img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.bump-modal-product div:nth-child(2) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.bump-modal-product strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.bump-modal-product span {
  font-size: 0.76rem;
  color: var(--muted);
}

.bump-modal-price {
  display: grid;
  justify-items: end;
  gap: 1px;
}

.bump-modal-price s {
  font-size: 0.72rem;
  color: var(--muted);
}

.bump-modal-price b {
  font-size: 0.98rem;
  color: var(--accent);
}

.bump-modal-discount {
  margin: 0;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink);
}

.bump-modal-totals {
  display: grid;
  gap: 8px;
}

.bump-modal-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(28, 25, 22, 0.04);
  font-size: 0.84rem;
  color: var(--muted);
}

.bump-modal-totals .is-offer {
  background: rgba(232, 93, 4, 0.1);
  color: var(--ink);
}

.bump-modal-totals strong {
  font-size: 1rem;
  color: var(--ink);
}

.bump-modal-totals .is-offer strong {
  color: var(--accent);
}

.bump-modal-accept {
  width: 100%;
}

.bump-modal-decline {
  appearance: none;
  border: 0;
  background: none;
  padding: 8px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-address .btn-freight {
  width: 100%;
  margin-top: 4px;
}

.checkout-address .freight-loading {
  margin-top: 10px;
}

body[data-flow="frete"] .checkout-card h1 {
  font-size: clamp(1.404rem, 2.704vw, 1.716rem);
}

body[data-flow="frete"] .checkout-card .checkout-lead {
  font-size: 1.04rem;
}

body[data-flow="frete"] .checkout-card .field label {
  font-size: 0.8736rem;
}

body[data-flow="frete"] .checkout-card .cep-status {
  font-size: 0.8528rem;
}

body[data-flow="frete"] .checkout-card .addr-header-label {
  font-size: 0.7488rem;
}

body[data-flow="frete"] .checkout-card .addr-street {
  font-size: 1.0192rem;
}

body[data-flow="frete"] .checkout-card .addr-meta {
  font-size: 0.832rem;
}

.order-summary {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(28, 25, 22, 0.03);
  margin-bottom: 10px;
}

.order-summary[hidden] {
  display: none !important;
}

.freight-products {
  margin: 0 0 14px;
}

.freight-products .section-label {
  margin-bottom: 8px;
}

.bump-frete-tip {
  margin: 2px 0 12px;
  padding: 0 2px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.bump-frete-tip[hidden] {
  display: none !important;
}

.addr-in-dados {
  display: grid;
  gap: 10px;
  margin: 0;
}

.addr-in-dados .field {
  margin-bottom: 0;
}

.addr-in-dados .field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.addr-in-dados .field input {
  max-width: 168px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.addr-in-dados .addr-card {
  margin-bottom: 0;
}

.addr-in-dados .cep-status {
  min-height: 0;
}

body.is-freight-ready .cep-status:empty,
body.is-freight-ready .cep-status.is-ok {
  display: none;
}

.order-summary img {
  width: 72px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.order-summary strong {
  display: block;
}

.order-summary span {
  color: var(--muted);
  font-size: 0.88rem;
}

.order-summary--pay {
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 10px 12px;
  padding: 14px;
}

.order-summary--pay .pay-summary-thumb {
  width: 56px;
  height: 70px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.order-summary--pay .pay-summary-body {
  min-width: 0;
}

.order-summary--pay .pay-summary-title {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.order-summary--pay .pay-summary-dl {
  margin: 0;
  display: grid;
  gap: 7px;
}

.order-summary--pay .pay-summary-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: baseline;
  font-size: 0.84rem;
  line-height: 1.35;
}

.order-summary--pay .pay-summary-item dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.order-summary--pay .pay-summary-item dd {
  margin: 0;
  min-width: 0;
  color: var(--ink);
}

.order-summary--pay .pay-summary-amt {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink);
}

.order-summary--pay .pay-summary-item--bump {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding-top: 2px;
  border-top: 1px solid rgba(28, 25, 22, 0.08);
}

.order-summary--pay .pay-summary-item--bump dt {
  color: var(--ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-summary--pay .pay-summary-item--bump .pay-summary-amt {
  color: var(--accent);
}

.order-summary--pay .pay-summary-item--discount .pay-summary-amt {
  color: #2f7a45;
}

.order-bump {
  position: relative;
  display: grid;
  grid-template-columns: 18px 56px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 10px 0 18px;
  padding: 18px 12px 12px;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(232, 93, 4, 0.1), transparent 42%),
    #fff8f3;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  animation: bump-glow 2.4s ease-in-out infinite;
}

.order-bump-flash {
  position: absolute;
  top: -9px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.35);
}

.order-bump-flash svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

@keyframes bump-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 93, 4, 0.18);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.12);
  }
}

.order-bump[hidden] {
  display: none !important;
}

.order-bump.is-on {
  box-shadow: 0 0 0 2px var(--accent-soft);
  animation: none;
}

.order-bump input {
  margin: 0;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.order-bump img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
}

.order-bump-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.order-bump-body strong {
  font-size: 0.84rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-bump-body > span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}

.order-bump-price {
  display: grid;
  justify-items: end;
  gap: 1px;
  white-space: nowrap;
}

.order-bump-price s {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.order-bump-price b {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--accent);
}

.order-bump-hint {
  color: #2f7a45 !important;
  font-weight: 600;
}

.order-bump-hint[hidden] {
  display: none !important;
}

.order-summary-bump {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.84rem;
}

.order-summary-bump strong {
  font-weight: 600;
}

.order-summary-bump span {
  color: var(--accent);
  font-weight: 700;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select {
  width: 100%;
  border: 1.5px solid var(--line);
  background: #faf9f7;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.cep-row {
  display: block;
}

.btn-cep-calc {
  appearance: none;
  display: block;
  width: 100%;
  margin: 12px 0 4px;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(232, 93, 4, 0.28);
  transition: transform 0.15s var(--ease), opacity 0.15s, background 0.15s;
}

.btn-cep-calc:hover {
  transform: translateY(-1px);
}

.btn-cep-calc:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-cep-calc[hidden] {
  display: none !important;
}

body.is-freight-ready .btn-cep-calc {
  display: none !important;
}

@media (max-width: 420px) {
  .btn-cep-calc {
    font-size: 0.9rem;
  }
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field input.is-found,
.field input.is-found:focus {
  border-color: #2f7a45;
  box-shadow: 0 0 0 3px rgba(47, 122, 69, 0.18);
}

.field input:disabled,
.field select:disabled {
  background: #f0ece6;
  color: var(--muted);
}

.field-optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.82em;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field-row .field {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field-row .field {
    margin-bottom: 14px;
  }

  .field-row .field:last-child {
    margin-bottom: 0;
  }

  .checkout-numero-line {
    grid-template-columns: minmax(96px, 1fr) max-content;
    gap: 8px;
  }

  .checkout-addr-row--city {
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 8px;
  }
}

.cep-status {
  min-height: 1.2em;
  font-size: 0.82rem;
  color: var(--muted);
}

.cep-status.is-loading {
  color: var(--accent);
}

.cep-status:empty {
  min-height: 0;
}

.cep-status.is-ok {
  color: #2f7a45;
}

.cep-status.is-error {
  color: var(--danger);
}

.address-block {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.25s;
}

.address-block.is-ready {
  opacity: 1;
  pointer-events: auto;
}

.ship-block {
  margin-top: 6px;
}

.addr-card {
  margin: 0 0 14px;
  border: 1px solid rgba(47, 122, 69, 0.28);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(47, 122, 69, 0.06);
}

.addr-card.is-invalid {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.16);
}

.addr-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.addr-check--row {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(28, 25, 22, 0.03);
  width: fit-content;
  max-width: 100%;
}

.addr-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.btn-calc-freight {
  display: none;
}

.freight-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 88px;
  margin: 0 0 14px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}

.freight-loading[hidden] {
  display: none !important;
}

.freight-results[hidden] {
  display: none !important;
}

.addr-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px 8px;
  background: rgba(47, 122, 69, 0.06);
  border-bottom: 1px solid rgba(47, 122, 69, 0.12);
}

.addr-pin {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #2f7a45;
}

.addr-header-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2f7a45;
}

.addr-info {
  padding: 11px 14px 2px;
}

.addr-street {
  margin: 0 0 3px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--ink);
}

.addr-meta {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.addr-divider {
  height: 1px;
  background: var(--line);
  margin: 10px 14px 0;
}

.addr-fields {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px 12px;
  padding: 12px 14px 14px;
  align-items: start;
}

.addr-field-wrap {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.addr-field-wrap--num {
  grid-column: 1;
}

.addr-field-wrap--comp {
  grid-column: 2;
}

.addr-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.addr-required {
  color: var(--accent);
  font-weight: 700;
}

.addr-input {
  width: 100%;
  border: 1.5px solid var(--line);
  background: #faf9f7;
  border-radius: 10px;
  padding: 10px 11px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

@media (max-width: 400px) {
  .addr-fields {
    grid-template-columns: 1fr;
  }

  .addr-field-wrap--num,
  .addr-field-wrap--comp {
    grid-column: 1;
  }
}

.addr-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.addr-input::placeholder {
  color: #b0a89e;
}

.payer-block {
  margin: 18px 0 6px;
  padding-top: 2px;
}

.section-label--dados {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.dados-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.dados-entrega {
  display: grid;
  gap: 10px;
}

.dados-pessoais {
  display: grid;
  gap: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.dados-pessoais--solo {
  padding-top: 0;
  border-top: 0;
}

.dados-pessoais .field {
  margin-bottom: 12px;
}

.dados-pessoais .field-row {
  margin-bottom: 12px;
}

.dados-pessoais .field:last-child,
.dados-pessoais .field-row:last-child {
  margin-bottom: 0;
}

.ship-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.ship-opt {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  text-align: left;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ship-opt-logo {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 70px;
  height: 16px;
  max-width: 70px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.ship-opt-name {
  grid-column: 2;
  grid-row: 1;
  font-weight: 700;
  font-size: 0.92rem;
}

.ship-opt-days {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.78rem;
  color: var(--muted);
}

.ship-opt-price {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.ship-opt.is-selected {
  border-color: var(--accent);
  background: #fff8f3;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.ship-opt.is-selected .ship-opt-price {
  color: var(--accent);
}

.checkout-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.checkout-form .form-alert {
  order: 99;
  margin-top: 16px;
}

.form-alert {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fdecea;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 10px 28px rgba(180, 35, 24, 0.18);
}

.form-alert:not([hidden]) {
  position: fixed;
  left: 50%;
  bottom: max(88px, calc(env(safe-area-inset-bottom) + 72px));
  transform: translateX(-50%);
  z-index: 80;
  width: min(92vw, 420px);
  white-space: normal;
  text-align: center;
}

.field-error {
  margin: 6px 0 0;
  color: #b42318;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.field input.is-invalid,
.field select.is-invalid,
.addr-input.is-invalid {
  border-color: #d32f2f;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.16);
}

.ship-list.is-invalid {
  outline: 2px solid #d32f2f;
  outline-offset: 4px;
  border-radius: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.back-link:hover {
  color: var(--ink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
  z-index: 90;
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pix-panel {
  margin-top: 8px;
}

.pix-loading,
.pix-error {
  padding: 16px;
  border-radius: 12px;
  background: rgba(28, 25, 22, 0.04);
  color: var(--muted);
  font-size: 0.92rem;
}

.pix-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 72px;
  font-weight: 600;
  color: var(--ink);
}

.pix-spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(232, 93, 4, 0.22);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: pix-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes pix-spin {
  to {
    transform: rotate(360deg);
  }
}

.pix-error {
  background: #fdecec;
  color: var(--danger);
}

.pix-loading[hidden],
.pix-error[hidden],
.pix-ready[hidden],
.pix-paid[hidden],
.pix-qr-wrap[hidden] {
  display: none !important;
}

.pix-ready {
  display: grid;
  gap: 12px;
  justify-items: stretch;
  text-align: center;
}

.pix-amount {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pix-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
}

.pix-code-row {
  display: grid;
  gap: 10px;
  width: 100%;
}

.pix-code-mask {
  margin: 0;
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.82rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #faf9f7;
  color: var(--ink);
  text-align: left;
  word-break: break-all;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pix-qr-toggle {
  width: 100%;
}

.pix-qr-wrap {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  justify-self: center;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.pix-qr {
  width: 220px;
  height: 220px;
  display: block;
}

.pix-hint {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.pix-paid {
  display: grid;
  gap: 10px;
  text-align: center;
  padding: 12px 0;
}

.pix-paid-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2f7a45;
}

.pix-paid-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— Obrigado / Rastreio —— */
.obrigado-card {
  text-align: center;
}

.obrigado-check {
  margin: 0 auto 8px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47, 122, 69, 0.14);
  color: #2f7a45;
  font-size: 1.45rem;
  font-weight: 700;
}

.obrigado-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.track-code-box {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 14px 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(232, 93, 4, 0.05);
  margin: 8px 0 4px;
}

.track-code-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}

.track-code {
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.aprovado-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(28, 25, 22, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease);
}

.aprovado-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.aprovado-modal {
  width: min(420px, 100%);
  background: #f4fbf6;
  border: 1px solid rgba(47, 122, 69, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(28, 70, 40, 0.18);
  padding: 26px 22px 22px;
  display: grid;
  gap: 10px;
  text-align: center;
  transform: translateY(10px);
  transition: transform 0.22s var(--ease);
}

.aprovado-overlay.is-open .aprovado-modal {
  transform: translateY(0);
}

.aprovado-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(160deg, #3f9a58 0%, #2f7a45 100%);
  box-shadow: 0 10px 24px rgba(47, 122, 69, 0.35);
}

.aprovado-check svg {
  width: 30px;
  height: 30px;
}

.aprovado-badge {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2f7a45;
}

.aprovado-modal h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #1d3f28;
}

.aprovado-modal p {
  margin: 0;
  color: #5a6f60;
  font-size: 0.95rem;
}

.aprovado-code {
  font-weight: 700;
  color: #1d3f28 !important;
  letter-spacing: 0.04em;
  font-size: 1.05rem !important;
}

.aprovado-btn {
  margin-top: 6px;
  background: #2f7a45;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.aprovado-btn:hover {
  background: #27653a;
}

.page-rastreio {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.page-rastreio .checkout-wrap {
  flex: 1 0 auto;
}

.page-rastreio .site-footer {
  margin-top: auto;
  width: 100%;
}

.rastreio-wrap {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.rastreio-example {
  margin: -6px 0 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.rastreio-alert {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  background: rgba(28, 25, 22, 0.05);
}

.rastreio-alert.is-error {
  background: rgba(155, 44, 44, 0.1);
  color: var(--danger);
}

.rastreio-result-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.rastreio-eta {
  display: grid;
  gap: 2px;
  text-align: right;
  font-size: 0.86rem;
  color: var(--muted);
}

.rastreio-eta strong {
  color: var(--ink);
  font-size: 1rem;
}

.rastreio-order-meta {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rastreio-prod-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.rastreio-order-info {
  min-width: 0;
}

.rastreio-order-meta strong {
  display: block;
  font-size: 0.98rem;
}

.rastreio-order-meta span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
}

.rastreio-order-ship {
  text-align: right;
  display: grid;
  gap: 6px;
  justify-items: end;
  align-self: center;
}

.rastreio-ship-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rastreio-ship-logo {
  width: 40px;
  height: 28px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
  border-radius: 6px;
  padding: 2px;
  border: 1px solid var(--line);
}

.rastreio-order-ship strong {
  display: block;
  font-size: 0.95rem;
}

.rastreio-addr {
  margin: 14px 0 6px;
  font-size: 0.9rem;
}

.rastreio-addr > span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.rastreio-addr p {
  margin: 0;
}

.rastreio-dest {
  margin-top: 4px !important;
  color: var(--muted);
  font-size: 0.86rem;
}

.rastreio-section-title {
  margin: 18px 0 10px;
  font-size: 1.05rem;
}

.tl-wrap {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line);
  margin-left: 7px;
  padding-left: 16px;
}

.tl-item {
  position: relative;
  padding: 0 0 16px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c4bbb0;
  border: 2px solid var(--bg-elev);
  box-shadow: 0 0 0 1px var(--line);
}

.tl-item.is-done .tl-dot {
  background: #2f7a45;
  box-shadow: 0 0 0 1px rgba(47, 122, 69, 0.35);
}

.tl-item.is-progress .tl-dot {
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(232, 93, 4, 0.4);
}

.tl-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: baseline;
}

.tl-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.tl-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.tl-item.is-done .tl-status {
  color: #2f7a45;
}

.tl-item.is-progress .tl-status {
  color: var(--accent);
}

.tl-date {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.rastreio-empty-tl {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.rastreio-extras {
  display: grid;
  gap: 8px;
  padding: 4px 0 12px;
  border-bottom: 1px solid var(--line);
}

.rastreio-extra-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

@media (max-width: 560px) {
  .rastreio-extra-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .rastreio-order-meta {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .rastreio-prod-img {
    width: 56px;
    height: 56px;
  }

  .rastreio-order-ship {
    text-align: right;
    justify-items: end;
  }

  .rastreio-ship-logo {
    width: 34px;
    height: 24px;
  }

  .rastreio-eta {
    text-align: left;
  }
}

/* —— Sticky buy bar (mobile) —— */
.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 252, 248, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(28, 25, 22, 0.08);
}

.sticky-buy-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-left: 2px;
}

.sticky-buy-model {
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.sticky-buy-model[hidden] {
  display: none;
}

.sticky-buy-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex-shrink: 0;
}

.sticky-buy-currency {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
}

.sticky-buy-value {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.sticky-buy-btn {
  flex-shrink: 0;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 132px;
  padding: 8px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(232, 93, 4, 0.28);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), opacity 0.18s;
}

.sticky-buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(232, 93, 4, 0.34);
}

.sticky-buy-btn:active {
  transform: translateY(0);
}

.sticky-buy-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 860px) {
  body.has-sticky-buy {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .sticky-buy {
    display: flex;
  }

  .toast {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

/* —— Upsell rastreio —— */
.upsell-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 8px;
  background: rgba(28, 25, 22, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease);
}

.upsell-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.upsell-modal {
  position: relative;
  width: min(400px, 100%);
  max-height: calc(100dvh - 16px);
  overflow: hidden;
  background: var(--bg-elev);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 12px 10px;
  display: grid;
  gap: 7px;
}

.upsell-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: rgba(28, 25, 22, 0.06);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  z-index: 2;
}

.upsell-badge {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.upsell-frete {
  margin: -2px 0 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: #2f7a45;
  text-align: center;
}

.upsell-badge.is-ok {
  color: #2f7a45;
}

.upsell-modal h2 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
  padding-right: 28px;
  text-align: center;
}

.upsell-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
  display: grid;
  gap: 4px;
  justify-items: center;
}

.upsell-timer {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(232, 93, 4, 0.1);
  padding: 2px 10px;
  border-radius: 999px;
}

.upsell-timer.is-ended {
  color: var(--danger);
  background: rgba(155, 44, 44, 0.1);
}

.upsell-stock {
  display: inline-block !important;
  width: fit-content;
  margin: 1px 0 !important;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(155, 44, 44, 0.1);
  color: var(--danger) !important;
  font-size: 0.62rem !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

[data-upsell-offer] {
  display: grid;
  gap: 7px;
}

.upsell-modal.is-confirming [data-upsell-offer],
.upsell-modal.is-confirming [data-upsell-pix] {
  display: none !important;
}

.upsell-confirm {
  display: none;
  gap: 10px;
  text-align: center;
  padding: 18px 8px 6px;
}

.upsell-modal.is-confirming .upsell-confirm {
  display: grid;
}

.upsell-confirm h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.upsell-confirm p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

[data-upsell-offer][hidden],
[data-upsell-pix][hidden] {
  display: none !important;
}

.upsell-item {
  display: grid;
  grid-template-columns: 16px 44px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.upsell-item + .upsell-item {
  margin-top: 0;
}

.upsell-item.is-on {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.upsell-item input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.upsell-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
}

.upsell-item-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.upsell-item-body strong {
  font-size: 0.84rem;
}

.upsell-item-body > span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}

.upsell-item-price {
  margin-top: 1px !important;
  color: var(--ink) !important;
  font-size: 0.8rem !important;
}

.upsell-item-price s {
  color: var(--muted);
  margin-right: 6px;
}

.upsell-item-price b {
  color: var(--accent);
}

.upsell-total {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(232, 93, 4, 0.08);
}

.upsell-total-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
}

.upsell-from {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: line-through;
}

.upsell-price {
  display: block;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.upsell-save {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2f7a45;
}

.upsell-error {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(155, 44, 44, 0.1);
  color: var(--danger);
  font-size: 0.8rem;
}

.upsell-go,
.upsell-modal .btn {
  width: 100%;
}

.upsell-modal .upsell-go {
  padding: 11px 16px;
  font-size: 0.92rem;
}

.upsell-skip {
  appearance: none;
  width: 100%;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 2px 0 0;
  cursor: pointer;
}

.upsell-skip:hover {
  color: var(--ink);
}

.aprovado-overlay[data-upsell-aprovado] {
  z-index: 100;
}

.upsell-pix-wait {
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.upsell-pix-code {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed var(--line);
  font-size: 0.78rem;
  word-break: break-all;
  line-height: 1.4;
  max-height: 120px;
  overflow: auto;
}
