:root {
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --ink: #1b241e;
  --muted: #6e766c;
  --line: #e5dfd4;
  --accent: #1f5c43;
  --accent-2: #b9743f;
  --soft: #e9f0e8;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.ico { flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
::selection { background: var(--accent); color: var(--bg); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.eyebrow { display: block; font-family: var(--body); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border: 1px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: var(--bg); font-size: 13.5px; font-weight: 600;
  letter-spacing: .01em; cursor: pointer; transition: transform .2s, filter .2s;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); filter: none; }
.btn-wide { width: 100%; }

.announcement { background: var(--ink); color: var(--bg); }
.announcement-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding-block: 8px; font-size: 11.5px; font-weight: 500; letter-spacing: .03em; }
.announcement-inner span { display: inline-flex; align-items: center; gap: 6px; }
.announcement-dot { opacity: .45; }

.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--accent); color: var(--bg); font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.brand-name { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 13px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.header-cta { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 12.5px; font-weight: 600; }

.hero { position: relative; margin-top: 18px; border-radius: var(--radius); overflow: hidden; background: var(--soft); isolation: isolate; }
.hero-banner { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.hero-cta { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; width: min(360px, calc(100% - 48px)); padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(18px); box-shadow: 0 18px 50px rgba(0,0,0,.12); }
.hero-cta h2 { font-size: 22px; line-height: 1.1; margin-top: 2px; }
.hero-price { font-size: 17px; font-weight: 600; color: var(--accent); }
.hero-price s { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.hero-cta .btn { margin-top: 7px; }
.hero-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink); }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-block: 24px; padding-block: 16px; border-block: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.trust-item .ico { color: var(--accent); }
.trust-item div { display: flex; flex-direction: column; gap: 1px; }
.trust-item strong { font-size: 12.5px; }
.trust-item span { font-size: 11px; color: var(--muted); }

.section { padding-block: clamp(36px, 6vw, 64px); }
.section-head { max-width: 640px; margin-bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.08; }
.section-head p { color: var(--muted); font-size: 14.5px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { display: block; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 20px 45px rgba(0,0,0,.09); border-color: color-mix(in srgb, var(--accent) 32%, var(--line)); }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover .product-media img { transform: scale(1.03); }
.product-badge { position: absolute; top: 11px; left: 11px; padding: 4px 8px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.product-discount { position: absolute; top: 11px; right: 11px; padding: 4px 8px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; }
.product-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 15px 16px; }
.product-cat { font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product-name { font-size: 16px; line-height: 1.2; margin-top: 1px; }
.product-price-row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-top: 2px; }
.product-price { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.product-compare { font-size: 11.5px; color: var(--muted); text-decoration: line-through; }
.product-installments { font-size: 11.5px; color: var(--muted); }
.product-see { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--accent); }

.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 4vw, 40px); align-items: center; }
.story-media { border-radius: var(--radius); overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.story-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.story-copy { display: flex; flex-direction: column; gap: 12px; }
.story-lead { font-family: var(--display); font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.story-copy > p { color: var(--muted); font-size: 14px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.value { display: flex; flex-direction: column; gap: 3px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.value .ico { color: var(--accent); margin-bottom: 2px; }
.value strong { font-size: 12.5px; }
.value span { font-size: 11.5px; color: var(--muted); }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.review-card { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.review-stars { color: var(--accent-2); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.review-text { font-size: 14px; line-height: 1.5; }
.review-meta { display: flex; flex-direction: column; gap: 1px; margin-top: 12px; }
.review-meta strong { font-size: 12.5px; }
.review-meta span { font-size: 11px; color: var(--muted); }

.faq { max-width: 760px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { font-family: var(--body); font-size: 20px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { padding: 0 0 15px; color: var(--muted); font-size: 14px; max-width: 62ch; }

.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.contact-band h2 { font-size: 24px; margin-top: 4px; }
.contact-band p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.contact-actions { display: flex; gap: 9px; flex-wrap: wrap; }

.site-footer { background: var(--ink); color: var(--bg); margin-top: 40px; padding-top: 42px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; padding-bottom: 32px; }
.footer-brand p { margin-top: 10px; font-size: 13px; opacity: .78; max-width: 32ch; }
.footer-small { font-size: 11.5px; line-height: 1.6; opacity: .62; margin-top: 12px; }
.brand-light .brand-mark { background: var(--accent); color: var(--bg); }
.brand-light .brand-name { color: var(--bg); }
.footer-col { display: flex; flex-direction: column; gap: 7px; }
.footer-col h3 { font-family: var(--body); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 3px; }
.footer-col a, .footer-col p { font-size: 12.5px; opacity: .82; display: inline-flex; align-items: center; gap: 5px; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-block: 16px; border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); font-size: 10.5px; opacity: .65; }
.footer-trust { display: inline-flex; align-items: center; gap: 6px; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.22); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.06); }

.breadcrumb { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; padding-top: 18px; font-size: 11.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb strong { color: var(--ink); font-weight: 500; }

.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: 24px 44px; }
.product-gallery { position: sticky; top: 92px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info { display: flex; flex-direction: column; gap: 7px; }
.product-info h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.05; margin-top: 4px; }
.product-rating { display: flex; align-items: center; gap: 7px; color: var(--accent-2); font-size: 12px; }
.product-rating span { color: var(--muted); }
.product-info .product-price { font-size: 30px; }
.product-info .product-compare { font-size: 14px; }
.discount-pill { padding: 3px 7px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.product-pix { font-size: 14.5px; font-weight: 600; color: var(--accent); }
.product-pix span { font-weight: 400; color: var(--muted); font-size: 12px; }
.product-description { font-size: 14px; color: var(--muted); margin-top: 4px; max-width: 58ch; }
.product-bullets { list-style: none; display: flex; flex-direction: column; gap: 6px; padding: 0; margin: 4px 0; }
.product-bullets li { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; }
.product-bullets .ico { color: var(--accent); margin-top: 2px; }
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.product-actions .btn { flex: 1; min-width: 160px; }
.product-ship { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.product-ship .ico { color: var(--accent); }
.quote { margin: 8px 0 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 10px 10px 0; font-family: var(--display); font-size: 15px; line-height: 1.35; }
.accordion { margin-top: 10px; }
.related { padding-top: 10px; }

.checkout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 44px); align-items: start; padding-block: 22px 44px; }
.checkout h1 { font-size: 30px; margin: 4px 0 16px; }
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); outline: none; font-size: 14px; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.pix-card { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.pix-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.pix-card-head .ico { color: var(--accent); }
.pix-card-head strong { font-size: 13.5px; }
.pix-card-head span { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--accent); }
.pix-card p { font-size: 12.5px; color: var(--muted); }
.pix-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; }
.pix-meta div { min-width: 0; }
.pix-meta dt { font-size: 9.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pix-meta dd { margin: 2px 0 0; font-size: 11.5px; overflow-wrap: anywhere; }
.checkout-note { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.checkout-summary { position: sticky; top: 92px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.summary-product { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.summary-product img { width: 62px; height: 62px; border-radius: 9px; object-fit: cover; }
.summary-product div { display: flex; flex-direction: column; gap: 2px; }
.summary-product strong { font-size: 13px; }
.summary-product span { font-size: 11px; color: var(--muted); }
.summary-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13px; color: var(--muted); }
.summary-line strong { color: var(--ink); font-weight: 500; }
.summary-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.summary-total strong { font-family: var(--display); font-size: 21px; }
.summary-note { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 11px; color: var(--muted); }
.form-error { padding: 10px 12px; border-radius: 9px; background: #f8efe7; color: var(--accent-2); font-size: 12.5px; margin-bottom: 12px; }

.order-page { max-width: 760px; padding-block: 22px 44px; }
.order-card { padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.success-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--accent); margin-bottom: 12px; }
.order-card h1 { font-size: 28px; margin: 4px 0 6px; }
.order-card > p { color: var(--muted); font-size: 13.5px; }
.pix-key { padding: 12px; margin: 10px 0 0; border-radius: 9px; background: var(--soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.copy-btn { margin-top: 11px; }
.pix-instructions { margin-top: 11px; font-size: 12px; color: var(--muted); }
.order-summary { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .product-page { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .checkout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .announcement-inner { justify-content: flex-start; padding-inline: 16px; font-size: 10.5px; }
  .header-inner { min-height: 60px; }
  .brand-name { font-size: 17px; }
  .header-cta { padding: 8px 12px; font-size: 11.5px; }
  .hero { margin-top: 12px; border-radius: 14px; overflow: visible; }
  .hero-banner { border-radius: 14px; }
  .hero-cta { position: static; width: auto; max-width: none; margin: -28px 12px 0; padding: 14px 16px; }
  .hero-cta h2 { font-size: 19px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { aspect-ratio: 1.08; }
  .values { grid-template-columns: 1fr; }
  .contact-band { padding: 18px; }
  .contact-band h2 { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .pix-meta { grid-template-columns: 1fr; }
  .product-actions .btn { min-width: 100%; }
  .product-info h1 { font-size: 28px; }
  .whatsapp-float { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .section { padding-block: 34px; }
  .accordion .faq-item summary { font-size: 14px; }
}

/* ---- Marketplace layer: mais informação, foto real, vitrine de varejo ---- */
#ofertas, #colecao, #mais-vendidos, #sobre, #faq, #contato { scroll-margin-top: 84px; }

.category-strip { display: flex; align-items: center; gap: 6px; padding-block: 14px 6px; overflow-x: auto; scrollbar-width: none; }
.category-strip::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.category-chip:hover { border-color: var(--accent); color: var(--ink); }
.category-chip.active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.category-count { margin-left: auto; flex: 0 0 auto; font-size: 10.5px; color: var(--muted); white-space: nowrap; }

.promo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-block: 10px 0; }
.promo-card { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.promo-card .ico { color: var(--accent); }
.promo-card strong { display: block; font-size: 12.5px; }
.promo-card span { display: block; font-size: 10.5px; color: var(--muted); }

.rating-line { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.rating-line .stars { color: var(--accent-2); font-size: 10.5px; letter-spacing: 1px; }
.rating-line strong { color: var(--ink); font-size: 11px; font-weight: 600; }
.rating-small { margin-top: 1px; }
.hero-rating .rating-line { margin: 1px 0 2px; }

.ship-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.ship-chips span { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 9px; font-weight: 600; white-space: nowrap; }
.product-card .ship-chips span:nth-child(3) { display: none; }
.product-pix { font-size: 11.5px; font-weight: 600; color: var(--accent); }
.product-seller { font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.product-card .product-installments { font-size: 10.5px; }
.product-card .product-pix { font-size: 10.5px; }
.product-card .rating-line { margin-top: 2px; }

.price-block { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-block .product-price { font-size: 30px; }
.price-block .product-compare { font-size: 13px; }
.pix-price { font-size: 14.5px; font-weight: 600; color: var(--accent); }
.pix-price span { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.installments { font-size: 12.5px; color: var(--muted); }
.rating-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.rating-row .stars { color: var(--accent-2); font-size: 12px; letter-spacing: 1px; }
.rating-row strong { color: var(--ink); }

.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 8px; }
.gallery-thumb { padding: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--soft); cursor: pointer; opacity: .7; }
.gallery-thumb.active { border-color: var(--accent); opacity: 1; }
.gallery-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.product-gallery { position: sticky; top: 92px; }
.product-gallery > .gallery-main { border: 1px solid var(--line); }

.variations { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 3px; }
.variations > span { font-size: 10.5px; color: var(--muted); }
.variation { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 10.5px; cursor: pointer; }
.variation i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.variation.active { border-color: var(--accent); color: var(--ink); }
.qty-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 5px; }
.qty-row label { font-size: 10.5px; color: var(--muted); }
.qty-row select { padding: 9px 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); }
.qty-row .btn { flex: 1; min-width: 170px; }
.stock-line { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.stock-line .ico { color: var(--accent); }

.seller-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.seller-main { display: flex; align-items: center; gap: 8px; min-width: 0; }
.seller-main .ico { color: var(--accent); }
.seller-main strong { display: block; font-size: 11.5px; }
.seller-main span { display: block; font-size: 10px; color: var(--muted); }
.seller-rating { font-size: 10.5px; color: var(--accent-2); white-space: nowrap; }

.ship-box { padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; background: var(--bg); }
.ship-box label { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 6px; }
.ship-box > div { display: flex; gap: 6px; }
.ship-box input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 12px; }
.ship-box .btn { padding: 8px 12px; font-size: 11.5px; }
.ship-result { margin-top: 6px; font-size: 11px; color: var(--muted); }

.product-details { padding-block: 10px 40px; }
.details-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(20px, 4vw, 40px); align-items: start; }
.details-main { display: flex; flex-direction: column; gap: 10px; }
.details-main h2 { font-size: 21px; margin-top: 10px; }
.details-main p { font-size: 14px; color: var(--muted); }
.specs-table { width: 100%; border-collapse: collapse; font-size: 12.5px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.specs-table th { text-align: left; padding: 8px 10px; width: 38%; background: var(--soft); color: var(--muted); font-weight: 500; border-top: 1px solid var(--line); }
.specs-table td { padding: 8px 10px; border-top: 1px solid var(--line); }
.specs-table tr:first-child th, .specs-table tr:first-child td { border-top: 0; }
.details-side { display: flex; flex-direction: column; gap: 12px; }
.review-summary { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.review-score { display: flex; align-items: center; gap: 12px; margin: 8px 0 12px; }
.review-score > strong { font-family: var(--display); font-size: 36px; line-height: 1; letter-spacing: -.03em; }
.review-score div { display: flex; flex-direction: column; gap: 2px; }
.review-score .stars { color: var(--accent-2); font-size: 13px; letter-spacing: 1px; }
.review-score small { font-size: 10.5px; color: var(--muted); }
.rating-bars { display: flex; flex-direction: column; gap: 4px; }
.rating-bars div { display: flex; align-items: center; gap: 6px; font-size: 9.5px; color: var(--muted); }
.rating-bars span { width: 8px; }
.rating-bars i { flex: 1; height: 5px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.rating-bars b { display: block; height: 100%; background: var(--accent-2); }
.rating-bars em { width: 24px; text-align: right; font-style: normal; }
.review-list { display: flex; flex-direction: column; gap: 8px; }
.details-side .review-card { padding: 14px; }
.muted { color: var(--muted); font-size: 11.5px; }

@media (max-width: 980px) {
  .promo-strip { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .product-details { padding-block: 0 32px; }
}
@media (max-width: 640px) {
  .category-strip { padding-block: 10px 4px; }
  .category-count { display: none; }
  .product-card .rating-line { font-size: 10.5px; }
  .qty-row .btn { min-width: 100%; }
  .seller-box { align-items: flex-start; flex-direction: column; }
  .ship-box > div { flex-direction: column; }
  .review-score > strong { font-size: 30px; }
}
