/* =============================================================
   New Balance Brasil — clone HTML/CSS puro
   Design fiel ao site original (achadinhosnapromo.site)
   ============================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f4f4f4;
  color: #222;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.4;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; font-size: 14px; }

/* container mobile-first centralizado, similar ao original */
.app-shell {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  position: relative;
  padding-bottom: 80px;
}

/* ===== Topbar ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.topbar .icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; color: #333;
}
.topbar .search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: #f1f1f1; border-radius: 999px; padding: 8px 14px;
  color: #888;
}
.topbar .search input {
  border: none; background: transparent; outline: none; flex: 1;
  font-size: 14px;
}

/* ===== Banner loja ===== */
.shop-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 12px;
}
.shop-card .logo {
  width: 56px; height: 56px; border-radius: 50%;
  background: #ed1c2e; display: grid; place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.shop-card .logo img { width: 100%; height: 100%; object-fit: cover; }
.shop-card .info { flex: 1; min-width: 0; }
.shop-card .info h2 { font-size: 16px; font-weight: 700; }
.shop-card .info p  { font-size: 12px; color: #888; margin-top: 2px; }
.shop-card .actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.shop-card .btn-follow,
.shop-card .btn-msg {
  font-size: 12px; padding: 6px 16px; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; white-space: nowrap;
}
.shop-card .btn-follow { background: #ff2a4d; color: #fff; }
.shop-card .btn-msg    { border-color: #ddd; color: #333; }

/* ===== Cupons ===== */
.coupons {
  display: flex; gap: 8px; padding: 0 12px 12px; overflow-x: auto;
}
.coupon {
  flex: 1 0 180px; display: flex; align-items: center; justify-content: space-between;
  border-radius: 6px; padding: 10px 12px; font-size: 12px;
  background: #e6f7f7; border: 1px dashed #b6e3e3;
}
.coupon.alt { background: #fde9ee; border-color: #f4c2cf; }
.coupon strong { display: block; font-size: 13px; color: #222; }
.coupon span   { display: block; color: #666; margin-top: 2px; font-size: 11px; }
.coupon .resgatar {
  background: #18b6b6; color: #fff; padding: 6px 12px; border-radius: 4px;
  font-weight: 700; font-size: 11px;
}
.coupon.alt .resgatar { background: #ff2a4d; }

/* ===== Tabs ===== */
.tabs {
  display: flex; border-bottom: 1px solid #eee; padding: 0 4px;
  position: sticky; top: 56px; background: #fff; z-index: 40;
}
.tabs button {
  flex: 1; padding: 12px 0; font-size: 14px; color: #888; font-weight: 500;
  border-bottom: 2px solid transparent;
}
.tabs button.active { color: #222; font-weight: 700; border-color: #222; }

/* ===== Sections ===== */
.section { padding: 14px 12px 4px; }
.section-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; text-align: center; }

/* ===== Top 3 destaque ===== */
.top3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.top3 .card { position: relative; background: #fafafa; border-radius: 8px; overflow: hidden; }
.top3 .badge-top {
  position: absolute; top: 0; left: 6px; z-index: 2;
  width: 28px; height: 36px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 11px;
  background: linear-gradient(180deg, #ff7a00, #ff4500);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  padding-bottom: 6px;
}
.top3 .card:nth-child(2) .badge-top { background: linear-gradient(180deg, #aaa, #777); }
.top3 .card:nth-child(3) .badge-top { background: linear-gradient(180deg, #c08457, #8a5a31); }
.top3 .card .badge-top::before { content: "TOP"; display: block; font-size: 8px; line-height: 1; }

.top3 .img-wrap { aspect-ratio: 1/1; background: #f0f0f0; }
.top3 .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.top3 .meta { padding: 6px; }
.top3 .meta .name {
  font-size: 11px; color: #333; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 28px;
}
.top3 .price-row { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.top3 .price-now { color: #ff2a4d; font-weight: 800; font-size: 14px; }
.top3 .price-now small { font-size: 9px; font-weight: 600; }
.top3 .price-old { color: #aaa; font-size: 10px; text-decoration: line-through; }
.top3 .off-tag {
  margin-top: 4px; display: inline-block; background: #ffe1e6; color: #ff2a4d;
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px;
}
.top3 .sold { font-size: 10px; color: #888; margin-top: 4px; }

/* ===== Recomendado grid 2 col ===== */
.recom-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 0 12px 16px;
}
.recom-card {
  background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #f0f0f0;
}
.recom-card .img-wrap { aspect-ratio: 1/1; background: #f0f0f0; }
.recom-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.recom-card .meta { padding: 8px; }
.recom-card .meta .name {
  font-size: 12px; color: #333; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 32px;
}
.recom-card .price-row { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.recom-card .price-now { color: #ff2a4d; font-weight: 800; font-size: 15px; }
.recom-card .price-now small { font-size: 10px; font-weight: 600; }
.recom-card .price-old { color: #aaa; font-size: 11px; text-decoration: line-through; }
.recom-card .off-tag {
  margin-top: 6px; display: inline-block; background: #ffe1e6; color: #ff2a4d;
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px;
}
.recom-card .sold { font-size: 10px; color: #888; margin-top: 4px; }

/* ===== Página de Produto ===== */
.gallery {
  position: relative; aspect-ratio: 1/1; background: #fff; overflow: hidden;
}
.gallery .slides { display: flex; height: 100%; transition: transform .3s ease; }
.gallery .slides img { flex: 0 0 100%; height: 100%; object-fit: contain; padding: 20px; }
.gallery .counter {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,.55); color: #fff; padding: 3px 12px;
  border-radius: 999px; font-size: 12px; font-weight: 500;
}
.gallery .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center;
  background: rgba(255,255,255,.9); border-radius: 50%; color: #555; font-size: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.gallery .nav-btn.prev { left: 8px; }
.gallery .nav-btn.next { right: 8px; }

/* ===== Bloco de preço (banner laranja-vermelho) ===== */
.price-block {
  position: relative;
  background: linear-gradient(90deg, #FF3B38 0%, #FF6B35 100%);
  color: #fff; padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  overflow: hidden;
}
.price-block::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  background: repeating-linear-gradient(135deg,
    rgba(255,255,255,.06) 0 12px,
    transparent 12px 24px);
  pointer-events: none;
}
.price-block .price-left { display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
.price-block .off-pill {
  display: inline-block; align-self: flex-start;
  background: #fff; color: #FF3B38;
  font-weight: 800; padding: 1px 8px; border-radius: 4px;
  font-size: 11px; line-height: 1.4;
}
.price-block .now {
  display: flex; align-items: baseline; gap: 2px;
  font-size: 28px; font-weight: 800; line-height: 1.1; margin-top: 2px;
}
.price-block .now small { font-size: 14px; font-weight: 700; }
.price-block .old {
  font-size: 12px; opacity: .9; text-decoration: line-through;
}
.price-block .price-right {
  margin-left: auto; text-align: right;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.price-block .flash-title {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
}
.price-block .flash-time { font-size: 11px; opacity: .95; }
.price-block .flash-time .timer {
  background: rgba(0,0,0,.25); padding: 1px 6px; border-radius: 3px;
  font-weight: 700; margin-left: 2px;
}

/* Banner de bônus rosa claro */
.bonus-banner {
  display: flex; align-items: center; gap: 8px;
  margin: 8px 12px; padding: 10px 12px;
  background: #FFE5EA; border-radius: 8px;
  color: #FF2B56; font-size: 12px; font-weight: 600;
  cursor: pointer;
}
.bonus-banner .ticket-ico { font-size: 14px; }
.bonus-banner .bonus-text { flex: 1; }
.bonus-banner .bonus-arrow { font-size: 18px; line-height: 1; opacity: .7; }

/* Info do produto */
.product-info { padding: 12px 14px 8px; }
.product-info h1 { font-size: 16px; font-weight: 600; line-height: 1.35; color: #222; }
.product-info .ratings {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; margin-top: 8px; flex-wrap: wrap;
}
.product-info .star-ico { color: #FF6B35; font-size: 13px; }
.product-info .rating-num { color: #FF6B35; font-weight: 700; margin-right: 2px; }
.product-info .rating-count { color: #FF2B56; font-weight: 600; }
.product-info .rating-sep { color: #ddd; margin: 0 6px; }
.product-info .sold-inline { color: #888; }

.divider { height: 8px; background: #f4f4f4; }

/* Linha de frete (com ícone caminhão laranja) */
.shipping-row {
  padding: 12px 14px;
  display: flex; align-items: flex-start; gap: 10px;
}
.shipping-row .ship-ico {
  flex-shrink: 0; padding-top: 2px;
}
.shipping-row .ship-content { flex: 1; }
.shipping-row .ship-line1 {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.shipping-row .free-tag {
  background: #E8F9F1; color: #00B080;
  font-weight: 700; font-size: 12px;
  padding: 2px 10px; border-radius: 999px;
}
.shipping-row .arrives { color: #555; font-size: 13px; }
.shipping-row .ship-line2 {
  font-size: 11px; color: #999; margin-top: 4px;
}
.shipping-row .ship-line2 s { opacity: .8; }

/* Opções compactas (color swatches em linha + grid icon + "X opções disponíveis") */
.options { padding: 12px 14px; }
.compact-opts .opts-grid-row {
  display: flex; align-items: center; gap: 8px;
}
.compact-opts .grid-icon {
  flex-shrink: 0; width: 32px; height: 32px;
  display: grid; place-items: center;
  background: #f5f5f5; border-radius: 6px;
}
.compact-opts .swatches-strip {
  display: flex; gap: 6px; overflow: hidden; flex: 0 1 auto;
}
.compact-opts .swatch {
  flex: 0 0 36px; aspect-ratio: 1/1; border-radius: 6px; overflow: hidden;
  border: 1.5px solid transparent; background: #f0f0f0;
  padding: 0;
}
.compact-opts .swatch.active { border-color: #FF2B56; }
.compact-opts .swatch img { width: 100%; height: 100%; object-fit: cover; }
.compact-opts .opts-more {
  margin-left: auto; flex-shrink: 0;
  display: flex; align-items: center; gap: 2px;
  font-size: 12px; color: #777;
  white-space: nowrap;
}
.compact-opts .opts-more span { font-size: 16px; line-height: 1; }
.compact-opts .swatch-label { font-size: 11px; color: #777; margin-top: 8px; }

/* sizes */
.options h3 { font-size: 13px; color: #555; margin-bottom: 8px; font-weight: 600; }
.options .sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.options .size {
  min-width: 44px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px;
  font-size: 13px; color: #333; background: #fff;
}
.options .size.active { border-color: #FF2B56; color: #FF2B56; font-weight: 700; background: #fff1f3; }

/* Proteção do cliente (com escudo dourado) */
.protection { padding: 14px; }
.protection h3 {
  font-size: 13px; font-weight: 600; margin-bottom: 10px;
  color: #B8860B; display: flex; align-items: center; gap: 4px;
}
.protection .shield-ico { font-size: 14px; }
.protection ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.protection li {
  font-size: 12px; color: #555;
  display: flex; align-items: center; gap: 4px;
}

.description { padding: 14px; }
.description h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: #222; }
.description p  { font-size: 13px; color: #444; line-height: 1.6; white-space: pre-line; }

/* ===== Bottom buy bar (idêntico: ícones à esquerda + 1 botão grande) ===== */
.buy-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  background: #fff; border-top: 1px solid #eee;
  display: flex; align-items: center; padding: 6px 10px; gap: 6px; z-index: 100;
  box-shadow: 0 -2px 8px rgba(0,0,0,.04);
}
.buy-bar .side-btn {
  width: 44px; height: 50px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: #555; font-size: 10px; font-weight: 500;
  flex-shrink: 0;
}
.buy-bar .cart-btn { width: 48px; }
.buy-bar .cart-ico-wrap { position: relative; }
.buy-bar .cart-badge {
  position: absolute; top: -6px; right: -8px;
  background: #FF2B56; color: #fff;
  border-radius: 999px; font-size: 10px;
  padding: 1px 5px; font-weight: 700; line-height: 1.4;
  min-width: 16px; text-align: center;
}
.buy-bar .btn-buy-pill {
  flex: 1; height: 48px; border-radius: 999px;
  background: linear-gradient(90deg, #FF2B56 0%, #FF3B70 100%);
  color: #fff; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.15;
  margin-left: 4px;
}
.buy-bar .btn-buy-pill .bb-price { font-size: 16px; font-weight: 800; }
.buy-bar .btn-buy-pill .bb-sub { font-size: 11px; font-weight: 500; opacity: .95; }


/* ===== Carrinho ===== */
.cart-page { padding: 12px; }
.cart-empty {
  text-align: center; padding: 40px 20px; color: #888;
}
.cart-empty .icon { font-size: 48px; margin-bottom: 12px; }
.cart-empty .btn-go {
  display: inline-block; margin-top: 14px; background: #ff2a4d; color: #fff;
  padding: 10px 20px; border-radius: 999px; font-weight: 700;
}
.cart-item {
  display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f0f0;
}
.cart-item .thumb { width: 80px; height: 80px; border-radius: 6px; overflow: hidden; background: #f0f0f0; flex-shrink: 0; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .meta { flex: 1; min-width: 0; }
.cart-item .meta .name { font-size: 13px; line-height: 1.35; }
.cart-item .meta .opt  { font-size: 11px; color: #888; margin-top: 4px; }
.cart-item .meta .row  { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-item .meta .price { color: #ff2a4d; font-weight: 800; font-size: 15px; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; overflow: hidden;
}
.qty button { width: 28px; height: 28px; font-size: 16px; color: #555; }
.qty span   { width: 32px; text-align: center; font-size: 13px; }

.cart-summary {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: #fff;
  border-top: 1px solid #eee; padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.cart-summary .total { font-size: 12px; color: #555; }
.cart-summary .total b { display: block; color: #ff2a4d; font-size: 18px; font-weight: 800; }
.cart-summary .btn-checkout {
  background: #ff2a4d; color: #fff; padding: 12px 22px;
  border-radius: 999px; font-weight: 700; font-size: 14px;
}

/* ===== Checkout / Modal Pix ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200;
  display: none; align-items: flex-end; justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal {
  background: #fff; width: 100%; max-width: 480px;
  border-radius: 16px 16px 0 0; padding: 18px 16px 22px;
  max-height: 92vh; overflow-y: auto;
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal h2 { font-size: 16px; font-weight: 700; margin-bottom: 12px; text-align: center; }
.modal .close-x {
  position: absolute; right: 18px; top: 14px; width: 30px; height: 30px;
  border-radius: 50%; background: #f0f0f0; display: grid; place-items: center; font-size: 16px;
}
.modal .field { margin-bottom: 10px; }
.modal .field label { display: block; font-size: 12px; color: #555; margin-bottom: 4px; font-weight: 600; }
.modal .field input {
  width: 100%; padding: 11px 12px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 14px; outline: none;
}
.modal .field input:focus { border-color: #ff2a4d; }
.modal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.modal .submit {
  margin-top: 12px; width: 100%; background: #ff2a4d; color: #fff;
  padding: 14px; border-radius: 999px; font-weight: 800; font-size: 15px;
}
.modal .submit[disabled] { opacity: .6; }
.modal .total-summary {
  background: #f8f8f8; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.modal .total-summary b { color: #ff2a4d; font-size: 17px; }

/* ===== Pix display ===== */
.pix-result { text-align: center; }
.pix-result .qr {
  margin: 14px auto; padding: 12px; background: #fff;
  border: 1px solid #eee; border-radius: 12px; max-width: 240px;
}
.pix-result .qr img { width: 100%; height: auto; }
.pix-result .copy-area {
  display: flex; gap: 6px; margin-top: 14px;
  background: #f4f4f4; border-radius: 8px; padding: 10px;
}
.pix-result .copy-area input {
  flex: 1; background: transparent; border: none; font-size: 12px; outline: none;
  color: #333; font-family: monospace; min-width: 0;
}
.pix-result .copy-area button {
  background: #ff2a4d; color: #fff; padding: 6px 14px; border-radius: 6px;
  font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.pix-result .status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px; margin-top: 12px;
  background: #fff7e6; color: #d97706; font-size: 13px; font-weight: 600;
}
.pix-result .status-pill.paid { background: #e6fff0; color: #00a854; }
.pix-result .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.pix-result .info { font-size: 12px; color: #777; margin-top: 10px; line-height: 1.5; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #222; color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  z-index: 300; max-width: 90%;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* spinner */
.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
  display: inline-block; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Responsivo ===== */
@media (min-width: 540px) {
  body { background: #ddd; }
  .app-shell { box-shadow: 0 0 30px rgba(0,0,0,.08); }
}

/* ===== Reviews Section ===== */
.reviews-section { padding: 16px 14px 8px; background: #fff; }
.reviews-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.reviews-header h3 {
  font-size: 16px; font-weight: 700; color: #222;
}
.reviews-see-all {
  font-size: 13px; color: #777; display: flex; align-items: center; gap: 2px;
}
.reviews-see-all span { font-size: 18px; line-height: 1; }

.reviews-summary {
  display: flex; gap: 16px; align-items: center;
  padding: 10px 0 16px;
}
.reviews-score {
  display: flex; flex-direction: column; align-items: center;
  min-width: 90px;
}
.score-num {
  font-size: 36px; font-weight: 700; color: #222; line-height: 1;
}
.score-stars { margin: 4px 0 6px; }
.score-total { font-size: 11px; color: #777; }

.reviews-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.bar-row { display: flex; align-items: center; gap: 8px; }
.bar-label {
  font-size: 12px; color: #555; min-width: 22px;
}
.bar-track {
  flex: 1; height: 6px; background: #efefef; border-radius: 3px; overflow: hidden;
}
.bar-fill {
  height: 100%; background: #FFB800; border-radius: 3px;
  transition: width .4s ease;
}
.bar-pct {
  font-size: 11px; color: #777; min-width: 32px; text-align: right;
}

.reviews-filters {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 0 14px; -ms-overflow-style: none; scrollbar-width: none;
}
.reviews-filters::-webkit-scrollbar { display: none; }
.rev-pill {
  flex-shrink: 0;
  padding: 6px 12px; border-radius: 999px;
  background: #f5f5f5; color: #555;
  font-size: 12px; font-weight: 500;
  white-space: nowrap;
}
.rev-pill.active {
  background: #fff1f3; color: #FF2B56;
  border: 1px solid #FF2B56;
}

.reviews-list { display: flex; flex-direction: column; }
.review-item {
  padding: 14px 0;
  border-top: 1px solid #f0f0f0;
}
.review-item:first-child { border-top: none; }
.review-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.review-meta { flex: 1; min-width: 0; }
.review-name {
  font-size: 13px; font-weight: 600; color: #333;
}
.review-stars { margin-top: 2px; line-height: 1; }
.review-date {
  font-size: 11px; color: #999; flex-shrink: 0;
}
.review-verified {
  display: inline-block;
  font-size: 11px; color: #2E7D32;
  background: #E8F5E9;
  padding: 2px 8px; border-radius: 4px;
  margin-bottom: 8px;
}
.review-text {
  font-size: 13px; color: #444; line-height: 1.5;
}

.review-images {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 8px;
}
.review-images img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
  cursor: pointer;
  transition: transform .15s ease;
}
.review-images img:hover { transform: scale(1.04); }

/* Photo strip (reviews summary "Com fotos" preview) */
.reviews-photos-strip {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding: 10px 0 4px;
  scrollbar-width: none;
}
.reviews-photos-strip::-webkit-scrollbar { display: none; }
.reviews-photos-strip img {
  flex-shrink: 0;
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #eee;
}

/* Lightbox */
.review-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: grid; place-items: center;
  padding: 20px;
}
.review-lightbox img {
  max-width: 100%; max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}
.review-lightbox .lb-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  color: #fff; border-radius: 50%;
  font-size: 22px; line-height: 40px;
  text-align: center; cursor: pointer;
  border: none;
}
.review-lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff; font-size: 22px;
  border: none; cursor: pointer;
}
.review-lightbox .lb-prev { left: 12px; }
.review-lightbox .lb-next { right: 12px; }
.review-lightbox .lb-counter {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: #fff; font-size: 13px;
  background: rgba(0,0,0,.5);
  padding: 4px 12px; border-radius: 12px;
}

.reviews-more {
  display: block; width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #f7f7f7; border-radius: 8px;
  font-size: 13px; color: #555; font-weight: 500;
}
.reviews-more:hover { background: #efefef; }

.review-variation {
  font-size: 11px; color: #888; margin: 4px 0 6px;
}

/* ===== Checkout page ===== */
.checkout-shell { background: #f4f4f4; padding-bottom: 110px; }
.checkout-title { flex: 1; text-align: center; font-weight: 700; font-size: 15px; }
.checkout-page { padding: 12px; display: flex; flex-direction: column; gap: 10px; }

.checkout-collapse {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #e5e5e5; border-radius: 10px;
  padding: 14px 14px; width: 100%; text-align: left;
  font-weight: 700; color: #222; font-size: 14px;
  flex-wrap: wrap;
}
.checkout-collapse .plus {
  width: 22px; height: 22px; border-radius: 4px;
  display: grid; place-items: center;
  font-size: 18px; color: #555; font-weight: 400;
}
.checkout-collapse .lbl { flex: 1; text-align: center; }
.checkout-collapse .saved {
  flex-basis: 100%; font-size: 12px; color: #666; font-weight: 500;
  margin-top: 6px; text-align: left; padding-left: 32px;
}

.checkout-form {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 10px;
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
  margin-top: -6px;
}
.checkout-form[hidden] { display: none !important; }
.checkout-form .field { display: flex; flex-direction: column; gap: 4px; }
.checkout-form .field label { font-size: 12px; color: #666; font-weight: 600; }
.checkout-form .field input {
  border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px;
  font-size: 14px; outline: none;
}
.checkout-form .field input:focus { border-color: #ff2a4d; }
.checkout-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout-save {
  background: #ff2a4d; color: #fff; font-weight: 700;
  padding: 11px; border-radius: 999px; font-size: 14px; margin-top: 4px;
}

.dashed-sep {
  height: 2px; margin: 4px 0;
  background-image: linear-gradient(to right, #ff2a4d 50%, #32BCAD 50%);
  background-size: 14px 2px; background-repeat: repeat-x;
}

.checkout-shop-line { font-weight: 700; font-size: 14px; padding: 0 2px; }
.ship-banner-green {
  display: flex; align-items: center; gap: 8px;
  background: #e8f7ee; color: #16a34a; font-weight: 600; font-size: 13px;
  padding: 10px 12px; border-radius: 8px;
}

.ck-item {
  display: flex; gap: 10px; background: #fff; border-radius: 10px;
  padding: 12px; border: 1px solid #eee;
}
.ck-thumb { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #f4f4f4; }
.ck-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ck-meta { flex: 1; min-width: 0; }
.ck-name { font-size: 13px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ck-prices { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.ck-now { color: #ff2a4d; font-weight: 800; font-size: 15px; }
.ck-ticket { font-size: 12px; }
.ck-old-row { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 11px; color: #888; }
.ck-off { background: #ffe5ea; color: #ff2a4d; padding: 1px 5px; border-radius: 4px; font-weight: 700; }
.ck-qty {
  display: flex; align-items: center; gap: 6px; align-self: flex-end;
  background: #f4f4f4; border-radius: 999px; padding: 4px 8px;
}
.ck-qty button { width: 22px; height: 22px; border-radius: 50%; background: #fff; font-weight: 700; color: #333; }
.ck-qty span { min-width: 16px; text-align: center; font-weight: 600; font-size: 13px; }

.ck-summary-card {
  background: #d6e0f0; border-radius: 10px; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.ck-summary-card h3 { font-size: 14px; font-weight: 700; color: #2d3a55; }
.ck-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #2d3a55; }
.ck-pill-free { background: #cfe9d6; color: #16a34a; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.ck-row.ck-total { font-size: 16px; font-weight: 700; padding-top: 8px; border-top: 1px solid rgba(45,58,85,.15); }
.ck-tax { font-size: 11px; color: #6b7a99; text-align: right; }

.ck-payment {
  background: #fff; border-radius: 10px; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.ck-payment h3 { font-size: 14px; font-weight: 700; }
.ck-pay-pix {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid #ff2a4d; border-radius: 8px; padding: 12px;
  background: #fff5f7;
}
.pay-ico { width: 32px; height: 32px; display: grid; place-items: center; }
.pay-info { flex: 1; display: flex; flex-direction: column; }
.pay-info b { font-size: 14px; }
.pay-info small { font-size: 11px; color: #666; }
.pay-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #ff2a4d; position: relative; }
.pay-radio.active::after { content: ""; position: absolute; inset: 3px; background: #ff2a4d; border-radius: 50%; }

.ck-savings {
  background: #e8f7ee; color: #16a34a; font-size: 13px;
  padding: 10px 12px; border-radius: 8px; display: flex; gap: 6px; align-items: center;
}
.ck-savings b { color: #16a34a; }

.ck-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 480px; margin: 0 auto;
  background: #fff; border-top: 1px solid #eee;
  padding: 10px 12px; display: flex; align-items: center; gap: 10px;
  z-index: 60;
}
.ck-bb-left { display: flex; flex-direction: column; flex-shrink: 0; }
.ck-bb-left small { font-size: 11px; color: #666; }
.ck-bb-left b { font-size: 16px; color: #ff2a4d; font-weight: 800; }
.ck-bb-btn {
  flex: 1; background: linear-gradient(180deg, #ff3a5e, #ff1e47);
  color: #fff; font-weight: 800; padding: 10px;
  border-radius: 999px; display: flex; flex-direction: column; align-items: center;
  font-size: 15px;
}
.ck-bb-btn small { font-size: 10px; font-weight: 500; opacity: .9; }

/* ============ Estados Seguir / Resgatar ============ */
.btn-follow.following {
  background: #fff;
  color: #ff2a4d;
  border: 1.5px solid #ff2a4d;
}
.resgatar.claimed {
  background: #e8f5e9;
  color: #2e7d32;
  cursor: default;
}

/* ============ Chat com a loja ============ */
.chat-page {
  display: flex; flex-direction: column;
  height: 100vh;
  background: #f5f5f5;
}
.chat-topbar {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  position: sticky; top: 0; z-index: 10;
}
.chat-topbar .chat-title {
  font-size: 16px; font-weight: 700; color: #222; margin: 0;
}
.chat-topbar .icon-btn {
  background: none; border: none; padding: 6px; cursor: pointer; color: #222;
}
.cart-badge-top {
  position: absolute; top: 0; right: 0;
  background: #ff2a4d; color: #fff;
  border-radius: 999px; font-size: 10px;
  padding: 1px 5px; font-weight: 700;
}

.chat-shop-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  padding: 14px 16px;
  margin: 10px 12px 0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.chat-shop-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #ff2a4d;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.chat-shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.chat-shop-info { display: flex; flex-direction: column; gap: 2px; }
.chat-shop-info strong { font-size: 15px; color: #222; font-weight: 700; }
.chat-shop-status {
  font-size: 13px; color: #777;
  display: flex; align-items: center; gap: 6px;
}
.dot-online {
  width: 8px; height: 8px;
  background: #2e7d32;
  border-radius: 50%;
  display: inline-block;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.chat-messages {
  display: flex; flex-direction: column;
  gap: 8px;
}
.chat-msg {
  display: flex;
  max-width: 85%;
}
.chat-msg.from-shop { align-self: flex-start; }
.chat-msg.from-me { align-self: flex-end; }
.chat-bubble {
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: relative;
}
.chat-msg.from-me .chat-bubble {
  background: #ff2a4d;
  color: #fff;
}
.chat-text { font-size: 14px; line-height: 1.4; word-wrap: break-word; }
.chat-time {
  font-size: 10px;
  color: #999;
  text-align: right;
  margin-top: 4px;
}
.chat-msg.from-me .chat-time { color: rgba(255,255,255,0.85); }

.chat-faq { margin-top: 8px; }
.chat-faq-title {
  font-size: 12px;
  color: #888;
  font-weight: 600;
  margin: 0 0 8px;
}
.chat-faq-list {
  display: flex; flex-direction: column;
  gap: 8px;
}
.chat-faq-btn {
  background: #fff;
  border: 1.5px solid #ff2a4d;
  color: #ff2a4d;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.chat-faq-btn:hover { background: #fff5f7; }
.chat-faq-btn:active { transform: scale(0.98); }

.chat-input-bar {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  padding: 10px 12px;
  border-top: 1px solid #eee;
  position: sticky; bottom: 0;
}
.chat-input-bar input {
  flex: 1;
  background: #f5f5f5;
  border: none;
  outline: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: #222;
}
.chat-input-bar input::placeholder { color: #999; }
.chat-send {
  width: 40px; height: 40px;
  border: none;
  background: #ddd;
  color: #888;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.chat-input-bar input:not(:placeholder-shown) ~ .chat-send,
.chat-send:hover {
  background: #ff2a4d;
  color: #fff;
}

/* ===== Variant Picker (popup cor + tamanho) ===== */
.variant-modal { padding-bottom: 16px; }
.variant-modal .vp-head {
  display: flex; gap: 12px; padding: 4px 0 14px;
  border-bottom: 1px solid #f0f0f0; margin-bottom: 14px;
  position: relative;
}
.variant-modal .vp-thumb {
  width: 96px; height: 96px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; background: #f5f5f5;
  margin-top: -34px;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.variant-modal .vp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.variant-modal .vp-info { flex: 1; min-width: 0; padding-top: 4px; }
.variant-modal .vp-price { color: #FF2B56; font-size: 20px; font-weight: 800; line-height: 1; }
.variant-modal .vp-price small { font-size: 12px; font-weight: 700; margin-right: 2px; }
.variant-modal .vp-old {
  color: #999; font-size: 12px; text-decoration: line-through; margin-top: 2px;
}
.variant-modal .vp-stock { font-size: 11px; color: #16a34a; margin-top: 4px; }
.variant-modal .vp-selected { font-size: 12px; color: #555; margin-top: 6px; }
.variant-modal .vp-selected b { color: #222; font-weight: 600; }

.variant-modal .vp-section { margin-bottom: 14px; }
.variant-modal .vp-label {
  font-size: 13px; font-weight: 600; color: #333; margin-bottom: 8px;
}

.variant-modal .vp-colors {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.variant-modal .vp-color {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 8px 4px 4px; border: 1.5px solid #e5e5e5;
  border-radius: 8px; background: #fff; text-align: left;
  min-height: 44px;
}
.variant-modal .vp-color img {
  width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex-shrink: 0;
}
.variant-modal .vp-color span {
  font-size: 11px; color: #444; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.variant-modal .vp-color.active {
  border-color: #FF2B56; background: #fff1f3;
}
.variant-modal .vp-color.active span { color: #FF2B56; font-weight: 600; }

.variant-modal .vp-sizes {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.variant-modal .vp-size {
  min-width: 50px; padding: 9px 14px;
  border: 1.5px solid #e5e5e5; border-radius: 6px;
  background: #fff; font-size: 13px; color: #333;
}
.variant-modal .vp-size.active {
  border-color: #FF2B56; color: #FF2B56;
  background: #fff1f3; font-weight: 700;
}

.variant-modal .vp-qty-row {
  display: flex; align-items: center; justify-content: space-between;
}
.variant-modal .vp-qty {
  display: inline-flex; align-items: center;
  border: 1px solid #ddd; border-radius: 6px; overflow: hidden;
}
.variant-modal .vp-qty button {
  width: 34px; height: 34px; font-size: 18px; color: #555; background: #fff;
}
.variant-modal .vp-qty span {
  width: 40px; text-align: center; font-size: 14px; font-weight: 600;
}

.variant-modal .vp-confirm {
  margin-top: 4px;
  background: linear-gradient(90deg, #FF2B56 0%, #FF3B70 100%);
}

/* ---- Cart: protection strip + recommendations (row cards) ---- */
.cart-protect {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding: 12px 14px; margin: 10px 0 0;
  background: #fff; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0;
  font-size: 13px; color: #2a8f3f;
}
.cart-recom { background: #fff; padding: 14px 12px 80px; }
.cart-recom-title { font-size: 15px; font-weight: 700; color: #222; margin: 4px 4px 12px; }
.recom-rows { display: flex; flex-direction: column; gap: 14px; }

.recom-row {
  display: flex; gap: 12px; align-items: stretch;
  background: #fff; padding: 4px 0; text-decoration: none; color: inherit;
}
.recom-row .rr-thumb {
  width: 110px; height: 110px; flex: 0 0 110px;
  background: #f4f4f4; border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.recom-row .rr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recom-row .rr-meta { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.recom-row .rr-name {
  font-size: 13px; line-height: 1.3; color: #222;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.recom-row .rr-off { margin-top: 6px; }
.recom-row .rr-off .off-tag {
  display: inline-block; background: #FFE4EA; color: #FF2B56;
  font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
}
.recom-row .rr-sold { font-size: 11px; color: #888; margin-top: 4px; }
.recom-row .rr-bottom {
  margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.recom-row .rr-price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.recom-row .rr-currency { font-size: 12px; color: #FF2B56; font-weight: 600; }
.recom-row .rr-now { font-size: 18px; font-weight: 800; color: #FF2B56; line-height: 1; }
.recom-row .rr-old { font-size: 11px; color: #999; text-decoration: line-through; margin-left: 4px; }
.recom-row .rr-actions { display: flex; align-items: center; gap: 6px; }
.recom-row .rr-cart {
  width: 36px; height: 34px; border: 1px solid #FF2B56; color: #FF2B56;
  background: #fff; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
}
.recom-row .rr-cart svg { width: 16px; height: 16px; }
.recom-row .rr-buy {
  height: 34px; padding: 0 18px; border: 0; border-radius: 6px;
  background: linear-gradient(90deg, #FF6A4A 0%, #FF2B56 100%);
  color: #fff; font-weight: 700; font-size: 13px;
}
