*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #ee4d2d;
  --primary-dark: #d73211;
  --yellow: #F5A623;
  --dark: #1a1a1a;
  --dark-2: #333;
  --gray: #888;
  --gray-light: #f5f5f5;
  --white: #fff;
  --green: #27ae60;
  --text: #222;
  --text-secondary: #666;
  --border: #e8e8e8;
  --radius: 8px;
  --shadow: 0 1px 4px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-light);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: inherit; background: none; }

/* ===== VIEWS ===== */
.view { display: none; }
.view.active { display: block; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-bar-left { display: flex; align-items: center; }
.top-bar-logo { height: 42px; width: auto; }
.top-bar-actions { display: flex; gap: 18px; align-items: center; }
.top-bar-btn {
  color: var(--white);
  font-size: 1.3rem;
  position: relative;
  background: none;
  padding: 4px;
}
.top-bar-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SEARCH BAR ===== */
.search-bar {
  padding: 8px 16px;
  background: var(--primary);
  animation: slideDown 0.2s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.search-bar-inner { display: flex; align-items: center; gap: 8px; }
.search-input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 20px;
  border: none;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
  outline: none;
}
.search-close {
  color: var(--white);
  font-size: 1.1rem;
  background: none;
  padding: 6px 8px;
}

/* ===== BANNER ===== */
.banner {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  padding: 24px 20px;
  color: var(--white);
  text-align: center;
}
.banner h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.banner h2 span { color: var(--yellow); }
.banner p { font-size: 0.85rem; color: #aaa; }
.banner-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.banner-badge {
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== CATEGORIES SCROLL ===== */
.categories-scroll {
  background: var(--white);
  padding: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.categories-list {
  display: flex;
  gap: 0;
  padding: 0 8px;
  min-width: max-content;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-item.active { color: var(--primary); }
.cat-item .cat-icon { font-size: 1.5rem; }

/* ===== FLASH SALE BAR ===== */
.flash-bar {
  background: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flash-title {
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.flash-timer {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 0.8rem;
}
.timer-block {
  background: var(--dark);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.8rem;
}

/* ===== PRODUCT GRID ===== */
.products-section {
  padding: 8px;
}
.products-section-title {
  padding: 12px 8px 8px;
  font-size: 1rem;
  font-weight: 700;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.p-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.p-card-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.p-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-card-discount {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-bottom-left-radius: 4px;
}
.p-card-body { padding: 10px; }
.p-card-name {
  font-size: 0.8rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  margin-bottom: 6px;
}
.p-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.p-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.p-card-old-price {
  font-size: 0.7rem;
  color: var(--gray);
  text-decoration: line-through;
}
.p-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}
.p-card-rating {
  font-size: 0.7rem;
  color: var(--yellow);
}
.p-card-sold {
  font-size: 0.65rem;
  color: var(--gray);
}

/* ===== PRODUCT DETAIL VIEW ===== */
.detail-top-bar {
  background: var(--white);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.detail-back {
  font-size: 1.3rem;
  padding: 4px;
}
.detail-top-actions { display: flex; gap: 16px; }
.detail-top-actions button { font-size: 1.2rem; }

.detail-breadcrumb {
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--primary);
  background: var(--white);
}

.carousel {
  background: var(--white);
  position: relative;
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  min-width: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  aspect-ratio: 1;
  background: var(--white);
}
.carousel-slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 16px;
  background: var(--white);
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s;
}
.carousel-dot.active { background: var(--primary); width: 20px; border-radius: 4px; }

.detail-badges {
  background: var(--white);
  padding: 0 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.badge-br {
  background: var(--primary);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.7rem;
}

/* Price Section */
.price-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.discount-badge {
  background: var(--yellow);
  color: var(--dark);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 800;
}
.price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-currency { font-size: 0.9rem; }
.price-value { font-size: 2rem; font-weight: 800; }
.price-old-detail {
  font-size: 0.85rem;
  text-decoration: line-through;
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}
.price-right { text-align: right; }
.flash-label {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.flash-countdown {
  font-size: 0.8rem;
  margin-top: 4px;
}

.savings-row {
  background: var(--white);
  padding: 10px 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.saving-tag {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid;
}
.saving-tag.green { color: var(--green); border-color: var(--green); background: #eafaf1; }
.saving-tag.orange { color: var(--primary); border-color: var(--primary); background: #fff5f2; }

.detail-title-section {
  background: var(--white);
  padding: 16px;
}
.detail-product-name {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}
.detail-rating .stars { color: var(--yellow); }
.detail-rating .count { color: var(--primary); font-weight: 600; }
.detail-rating .sold { color: var(--text-secondary); }
.detail-rating .divider { color: #ddd; }

.detail-shipping {
  background: var(--white);
  margin-top: 8px;
  padding: 16px;
}
.shipping-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}
.shipping-icon { font-size: 1.2rem; }
.shipping-info .date { font-weight: 700; }
.shipping-info .fee { color: var(--gray); text-decoration: line-through; font-size: 0.8rem; }

.detail-description {
  background: var(--white);
  margin-top: 8px;
  padding: 16px;
}
.detail-description h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.detail-description p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.detail-specs {
  margin-top: 12px;
}
.spec-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.83rem;
}
.spec-label { color: var(--gray); width: 120px; flex-shrink: 0; }
.spec-value { color: var(--text); font-weight: 500; }

/* Bottom Bar */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 200;
  padding: 0;
}
.bottom-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  gap: 2px;
}
.bottom-icon-btn .ico { font-size: 1.2rem; }
.bottom-add-cart {
  flex: 1;
  padding: 14px;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}
.bottom-buy {
  flex: 1;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

/* ===== CART VIEW ===== */
.cart-list { padding: 8px 16px; padding-bottom: 80px; }
.cart-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-body { flex: 1; }
.cart-item-name { font-size: 0.85rem; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { color: var(--primary); font-weight: 700; font-size: 0.95rem; }
.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.qty-control button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text);
}
.qty-control span {
  width: 36px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 6px 0;
}
.cart-item-remove { color: var(--gray); font-size: 0.8rem; }

.cart-empty-msg {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.cart-empty-msg .ico { font-size: 3rem; margin-bottom: 12px; }

.cart-summary {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
}
.cart-summary-total { font-size: 0.9rem; }
.cart-summary-total strong { color: var(--primary); font-size: 1.2rem; }
.cart-summary-btn {
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== PLACEHOLDER IMAGE ===== */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f8f8, #eee);
  color: var(--gray);
  padding: 16px;
  text-align: center;
}
.placeholder-img .ph-icon { font-size: 2.5rem; margin-bottom: 8px; }
.placeholder-img .ph-text { font-size: 0.7rem; line-height: 1.3; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(0,0,0,0.8);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 5000;
  transition: transform 0.3s ease;
  white-space: nowrap;
  max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Padding for bottom bar */
.page-content { padding-bottom: 70px; }

/* ===== VOLTAGE SELECTOR ===== */
.voltage-section {
  background: var(--white);
  padding: 16px;
  margin-top: 8px;
}
.voltage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.voltage-hint {
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.voltage-options {
  display: flex;
  gap: 12px;
}
.voltage-btn {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  background: var(--white);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.voltage-btn.active {
  border-color: var(--primary);
  background: #fff5f2;
}
.voltage-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.voltage-price {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

/* ===== UPSELL IN CART ===== */
.upsell-section {
  margin-top: 16px;
  padding-bottom: 20px;
}
.upsell-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 700;
}
.upsell-hint {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 400;
}
.upsell-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.upsell-scroll::-webkit-scrollbar { display: none; }
.upsell-card {
  min-width: 150px;
  max-width: 150px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.upsell-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.upsell-img img { width: 100%; height: 100%; object-fit: cover; }
.upsell-discount {
  position: absolute;
  top: 0;
  right: 0;
  background: #e91e63;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-bottom-left-radius: 6px;
}
.upsell-body { padding: 10px; }
.upsell-name {
  font-size: 0.75rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
  margin-bottom: 6px;
}
.upsell-old {
  font-size: 0.7rem;
  color: var(--gray);
  text-decoration: line-through;
}
.upsell-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.upsell-frete {
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 8px;
}
.upsell-add-btn {
  width: 100%;
  padding: 8px;
  background: #e91e63;
  color: var(--white);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

/* ===== CHECKOUT FORM ===== */
.checkout-content {
  padding: 0 0 100px;
}
.ck-section {
  background: var(--white);
  margin-bottom: 8px;
  padding: 20px 16px;
}
.ck-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.ck-section-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.ck-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.ck-step-icon { font-size: 1.1rem; }
.ck-field {
  margin-bottom: 14px;
  flex: 1;
}
.ck-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.ck-req { color: var(--primary); }
.ck-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  font-family: inherit;
}
.ck-field input:focus {
  outline: none;
  border-color: var(--primary);
}
.ck-field input.ck-input-error {
  border-color: var(--primary);
}
.ck-field-error {
  display: block;
  font-size: 0.75rem;
  color: var(--primary);
  margin-top: 4px;
  min-height: 1em;
}
.ck-field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.ck-row {
  display: flex;
  gap: 12px;
}
.ck-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.ck-summary-item span:first-child {
  flex: 1;
  padding-right: 10px;
}
.ck-order-total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  padding: 12px 0 4px;
}
.ck-shipping-free {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 700;
}
.ck-submit-btn {
  display: block;
  width: calc(100% - 32px);
  margin: 16px auto 20px;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

/* ===== CHECKOUT PIX STEP ===== */
#view-checkout { background: var(--white); }
#checkout-pix-step {
  text-align: center;
  padding: 20px 16px;
  background: var(--white);
}
.checkout-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  color: var(--text-secondary);
}
.checkout-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pix-header { margin-bottom: 20px; }
.pix-icon-big { font-size: 3rem; margin-bottom: 8px; }
.pix-header h3 { font-size: 1.1rem; color: var(--green); margin-bottom: 8px; }
.checkout-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.checkout-qr-wrapper {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  display: inline-block;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}
.checkout-qr-wrapper img {
  width: 250px;
  height: 250px;
}
.pix-copy-section {
  background: #f0faf0;
  border: 2px dashed var(--green);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.pix-copy-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.pix-code-box { margin-bottom: 12px; }
.pix-code-box textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text);
  background: var(--white);
  resize: none;
  font-family: monospace;
  word-break: break-all;
}
.pix-copy-btn {
  background: var(--green);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  letter-spacing: 0.5px;
}
.pix-copy-btn:active { transform: scale(0.98); }
.pix-steps {
  text-align: left;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: 10px;
}
.pix-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0;
}
.pix-step span {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.checkout-timer {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  animation: pulse-text 2s ease-in-out infinite;
}
@keyframes pulse-text { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.checkout-status { margin-top: 8px; }
.checkout-approved {
  background: #eafaf1;
  color: var(--green);
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
}
.checkout-failed {
  background: #fff5f2;
  color: var(--primary);
  padding: 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.checkout-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
}
.checkout-error-icon { font-size: 3rem; }
.checkout-error p { color: var(--text-secondary); font-size: 0.9rem; }
.checkout-retry-btn {
  background: var(--primary);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  position: fixed;
  bottom: 20px;
  left: 16px;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
  max-width: calc(100% - 32px);
}
.social-proof.sp-show {
  opacity: 1;
  transform: translateY(0);
}
.sp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sp-text {
  font-size: 0.82rem;
  color: var(--text);
}

@media (min-width: 481px) {
  body { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
}

/* ===== REVIEWS ===== */
.reviews-section { padding: 16px; background: #fff; margin-top: 8px; }
.reviews-section h3 { font-size: 1rem; margin-bottom: 12px; color: var(--dark); }
.reviews-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px; background: var(--gray-light); border-radius: var(--radius); }
.reviews-score { font-size: 2rem; font-weight: 800; color: var(--dark); }
.reviews-score span { font-size: 1rem; font-weight: 400; color: var(--gray); }
.reviews-stars { color: #f5a623; font-size: 1.3rem; }
.review-card { padding: 14px 0; border-bottom: 1px solid var(--border); }
.review-card:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.review-date { font-size: 0.75rem; color: var(--gray); }
.review-stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 4px; }
.review-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ===== Q&A ===== */
.qa-section { padding: 16px; background: #fff; margin-top: 8px; }
.qa-section h3 { font-size: 1rem; margin-bottom: 12px; color: var(--dark); }
.qa-item { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.qa-item:last-child { border-bottom: none; }
.qa-question, .qa-answer { display: flex; gap: 10px; margin-bottom: 8px; }
.qa-badge { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.qa-q { background: #e3f2fd; color: #1976d2; }
.qa-a { background: #e8f5e9; color: #388e3c; }
.qa-author { font-size: 0.75rem; color: var(--gray); margin-bottom: 2px; }
.qa-question p, .qa-answer p { font-size: 0.85rem; color: var(--text); line-height: 1.4; margin: 0; }
.qa-answer { margin-left: 12px; }
