@font-face {
  font-family: "Graphik";
  src: url("../fonts/Graphik-Regular.cb69af15.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: "Graphik";
  src: url("../fonts/Graphik-Medium.91857239.otf") format("opentype");
  font-weight: 500;
}
@font-face {
  font-family: "Graphik";
  src: url("../fonts/Graphik-Semibold.2e4d3259.otf") format("opentype");
  font-weight: 600;
}
@font-face {
  font-family: "Graphik";
  src: url("../fonts/Graphik-Bold.1aca7237.otf") format("opentype");
  font-weight: 700;
}

/* --blue/--blue-dark mantêm o nome antigo (usado em todo o site), mas agora
   são o rosa/vermelho de destaque do layout estilo app de compras */
:root {
  --blue: #fe2c55;
  --blue-dark: #e0244a;
  --pink-soft: #fff0f3;
  --teal: #00968a;
  --brown: #8a5a00;
  --orange: #fe2c55;
  --ink: #161823;
  --muted: #8a8b91;
  --gray-bg: #f5f5f5;
  --gray-line: #ececec;
  --white: #ffffff;
  --radius: 10px;
}

* { box-sizing: border-box; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--blue); }

/* Trava extra de overflow horizontal (o Safari do iPhone deixa arrastar a
   página pro lado se algo passar da largura da tela). "clip" (e não
   "hidden") pra não virar container de rolagem e não quebrar os elementos
   position: sticky. Não substitui não ter nada fora da tela — ver .co-sheet. */
html, body { overflow-x: clip; }

/* O iPhone dá zoom automático ao tocar num campo com fonte < 16px — e a
   página fica "maior que a tela" (arrastando pro lado) até o cliente tirar
   o zoom na mão. 16px em todo campo de digitação no celular evita isso sem
   travar o zoom de pinça (maximum-scale) por acessibilidade. !important pra
   valer também nos campos com estilo próprio de cada página. */
@media (max-width: 860px) {
  input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]), select, textarea { font-size: 16px !important; }
}

body {
  margin: 0;
  font-family: "Graphik", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--gray-bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Layout com barra lateral (contato / entrega / categorias) */
.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1rem;
}
.page-layout > main { min-width: 0; }
@media (max-width: 860px) {
  .page-layout { grid-template-columns: 1fr; }
}

.sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 1rem; }
@media (max-width: 860px) {
  .sidebar { position: static; display: none; }
  body.is-home .sidebar { display: flex; }
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1rem;
}
.sidebar-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--blue);
}
.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
.sidebar-contact-item:last-child { margin-bottom: 0; }
.sidebar-contact-item svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.sidebar-card p { margin: 0; font-size: 0.9rem; }

.sidebar-cat-list { display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-cat-list a {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.sidebar-cat-list a.active { background: var(--blue); color: var(--white); }
.sidebar-cat-list a:not(.active):hover { background: var(--gray-bg); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-header .logo img { height: 48px; width: auto; }
@media (min-width: 768px) {
  .site-header .logo img { height: 64px; }
}
.header-icons { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }

.site-search { position: relative; flex: 1; max-width: 420px; }
.site-search input {
  width: 100%;
  padding: 0.6rem 0.9rem 0.6rem 2.3rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f1f1f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161823' stroke-width='2.2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 0.75rem center / 18px;
  font-size: 0.95rem;
  font-family: inherit;
}
.site-search input:focus { outline: none; border-color: var(--gray-line); background-color: var(--white); }
.suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-height: 360px;
  overflow-y: auto;
  z-index: 40;
}
.suggestions.open { display: block; }
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--gray-line);
}
.suggestion-item:last-of-type { border-bottom: none; }
.suggestion-item:hover, .suggestion-item.active { background: var(--gray-bg); }
.suggestion-item img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 6px; flex: none; }
.suggestion-item .name { font-size: 0.85rem; flex: 1; }
.suggestion-item .price { font-size: 0.8rem; color: var(--blue); font-weight: 700; white-space: nowrap; }

.suggestion-more {
  display: block;
  text-align: center;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  border-top: 1px solid var(--gray-line);
}
.suggestion-more:hover { background: var(--gray-bg); }

@media (max-width: 640px) {
  .site-search { max-width: none; }
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--blue);
}
.cart-link svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 999px;
  min-width: 16px;
  text-align: center;
  border: 2px solid var(--white);
}
.site-header .cart-link { color: var(--ink); }

/* Banner */
.banner {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem auto;
}

/* Category nav */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.25rem 0 1rem;
}
.cat-nav a {
  flex: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--gray-line);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.cat-nav a.active,
.cat-nav a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Trilha de categorias (região > país > clube) */
.crumb-nav { font-size: 0.85rem; color: #6b7280; margin: 0.5rem 0 1rem; }
.crumb-nav a { color: var(--blue); font-weight: 600; }
.crumb-nav span.sep { margin: 0 0.4rem; }

/* Cards de subcategoria (região/país/clube) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  font-weight: 600;
  display: block;
}
.category-card .category-thumb {
  aspect-ratio: 4/3;
  background: #e9eaed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.category-card .category-thumb img { width: 100%; height: 100%; object-fit: cover; }
.category-card .category-label { display: block; padding: 0.75rem 1rem; }
.category-card:hover { border-color: var(--blue); color: var(--blue-dark); }
.category-card .count { display: block; font-weight: 400; color: #6b7280; font-size: 0.8rem; margin-top: 0.25rem; }

/* Product grid */
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1.5rem 0 0.75rem;
}
.section-title h2 {
  font-size: 1.1rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-title a { color: var(--blue); font-weight: 600; font-size: 0.9rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .thumb {
  aspect-ratio: 3/4;
  background: #e9eaed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa0ab;
  font-size: 0.8rem;
  text-align: center;
}
.product-card .thumb { background: #fff; }
/* fotos de produto (Amazon) têm proporções variadas e fundo branco — mostra
   a foto inteira em vez de recortar pra preencher o quadro */
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .product-card .info { padding: 0.55rem 0.6rem 0.7rem; }
}
.product-card .info { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; }
.product-card .name {
  font-weight: 500; font-size: 0.92rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .price { color: var(--blue); font-weight: 700; display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.product-card .options { color: #6b7280; font-size: 0.8rem; }

.free-shipping-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #e6f7f5;
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
}

.related-products { margin-top: 2rem; }
.return-policy-note::before { content: "🔄 "; }

/* Guia de tamanhos */
.size-guide-btn {
  display: inline-block; margin-top: 0.6rem; background: none; border: none;
  color: var(--blue); font-weight: 600; font-size: 0.85rem; cursor: pointer;
  padding: 0; text-decoration: underline;
}
.size-guide-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5);
  align-items: center; justify-content: center; z-index: 1000; padding: 1rem;
}
.size-guide-overlay.open { display: flex; }
.size-guide-modal {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  max-width: 420px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative;
}
.size-guide-close {
  position: absolute; top: 0.5rem; right: 0.75rem; background: none; border: none;
  font-size: 1.6rem; line-height: 1; cursor: pointer; color: #6b7280;
}
.size-guide-modal h3 { margin: 0 0 1rem; font-size: 1.1rem; }
.size-guide-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.size-guide-table th, .size-guide-table td {
  padding: 0.5rem; text-align: center; border: 1px solid var(--gray-line); font-size: 0.9rem;
}
.size-guide-table th { background: var(--gray-bg); font-weight: 700; }
.size-guide-note { font-size: 0.8rem; color: #6b7280; margin: 0.5rem 0; }

/* Prova social */
.testimonials { margin: 2.5rem 0; }
.testimonial-carousel { display: flex; align-items: center; gap: 0.5rem; }
.testimonial-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 0.5rem;
  flex: 1;
}
.testimonial-track::-webkit-scrollbar { height: 6px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--gray-line); border-radius: 999px; }
.testimonial-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.testimonial-text { font-size: 0.88rem; color: #444; margin: 0 0 0.75rem; line-height: 1.4; }
.testimonial-author { font-weight: 700; font-size: 0.85rem; margin: 0; color: var(--blue-dark); }
.testimonial-nav {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-line);
  background: var(--white);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.testimonial-nav:hover { background: var(--gray-bg); }
@media (max-width: 860px) {
  .testimonial-card { flex-basis: calc((100% - 1rem) / 2); }
}
@media (max-width: 560px) {
  .testimonial-nav { display: none; }
  .testimonial-card { flex-basis: 85%; }
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-line);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
@media (max-width: 720px) {
  .product-detail { grid-template-columns: 1fr; }
}
.product-detail .gallery .thumb { aspect-ratio: 1/1; border-radius: var(--radius); }
.product-detail h1 { font-size: 1.4rem; margin: 0 0 0.5rem; }
.product-detail .price { font-size: 1.6rem; color: var(--blue); font-weight: 700; margin: 0.5rem 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }

.price-old-row { display: flex; align-items: center; gap: 0.5rem; }
.price-old { font-size: 1rem; font-weight: 600; color: #9aa1ab; text-decoration: line-through; }
.price-now { font-size: 1.6rem; color: var(--blue); font-weight: 700; }
.discount-tag {
  display: inline-block; background: #e0193f; color: #fff; font-size: 0.72rem;
  font-weight: 800; padding: 0.15rem 0.5rem; border-radius: 5px; letter-spacing: 0.02em;
}

.option-group { margin: 1rem 0; }
.option-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; }
.option-group .options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.option-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--gray-line);
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
}
.option-btn.selected { border-color: var(--blue); background: var(--pink-soft); color: var(--blue-dark); }

.qty-row { display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0; }
.qty-row button {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--gray-line);
  background: var(--white); font-size: 1.1rem; cursor: pointer;
}
.qty-row input { width: 48px; text-align: center; border: 1px solid var(--gray-line); border-radius: 8px; height: 36px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  border: none;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}
.btn:hover { background: var(--blue-dark); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:disabled:hover { background: var(--blue); }
.btn-outline:disabled:hover { background: transparent; }
.btn.btn-outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn.btn-pix { background: var(--blue); border-radius: 999px; }
.btn.btn-pix:hover { background: var(--blue-dark); }

/* Cart page */
.cart-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}
.cart-item .thumb { width: 72px; height: 72px; border-radius: 8px; flex: none; }
.cart-item .grow { flex: 1 1 160px; min-width: 0; }
.cart-item .name { overflow-wrap: break-word; }
.cart-item-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.cart-item .remove { color: #d33; font-size: 0.85rem; cursor: pointer; background: none; border: none; padding: 0; }

.thumb-col { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; flex: none; }
.personalize-check {
  display: flex; align-items: center; justify-content: center; gap: 0.3rem;
  width: 72px; font-size: 0.72rem; color: #444; cursor: pointer; text-align: center;
}
.personalize-check input { margin: 0; flex: none; }
.personalize-fields {
  flex-basis: 100%; display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: flex-end;
  background: var(--gray-bg); border-radius: 8px; padding: 0.6rem 0.75rem; margin-top: 0.25rem;
}
.personalize-fields .field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.8rem; flex: 1 1 120px; }
.personalize-fields .field label { font-weight: 600; color: #444; }
.personalize-fields input {
  padding: 0.5rem 0.6rem; border: 1px solid var(--gray-line); border-radius: 8px; font-size: 0.85rem; font-family: inherit;
}
.personalize-note { flex-basis: 100%; margin: 0; font-size: 0.78rem; color: var(--blue); font-weight: 700; }

.cart-summary {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1rem;
  position: sticky;
  top: 1rem;
}
.cart-summary .total-row, .order-summary .total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; margin: 0.75rem 0; }

.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; align-items: start; margin: 1.5rem 0; }
.cart-layout > * { min-width: 0; }
@media (max-width: 720px) { .cart-layout { grid-template-columns: 1fr; } }

.empty-state { text-align: center; padding: 3rem 1rem; color: #6b7280; }

/* Frete (carrinho + resumo do pedido no checkout) */
.shipping-block { margin-bottom: 1rem; text-align: left; }
.shipping-block label.field-label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.35rem; }
.shipping-block input[type="text"] {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}
.shipping-block input.invalid { border-color: #d33; }
.shipping-options { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
.shipping-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  cursor: pointer;
}
.shipping-option:has(input:checked) { border-color: var(--blue); background: var(--pink-soft); }
.shipping-option input { flex: none; }
.shipping-option-info { flex: 1; display: flex; flex-direction: column; font-size: 0.85rem; }
.shipping-option-info strong { font-size: 0.9rem; }
.shipping-option-price { font-weight: 700; font-size: 0.9rem; color: var(--blue); white-space: nowrap; }

.order-summary { text-align: left; margin: 1.5rem 0; padding-top: 1rem; border-top: 1px solid var(--gray-line); }
.order-summary h3 { margin: 0 0 0.75rem; font-size: 1rem; }
.order-summary-item { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; margin-bottom: 0.4rem; color: #444; }
.order-summary .total-row { font-size: 1rem; }

/* Formulário de dados do cliente (checkout) */
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.35rem; }
.form-group input, .form-group select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}
.form-group input.invalid { border-color: #d33; }
.phone-input-group { display: flex; align-items: stretch; }
.phone-input-group .phone-country-code {
  display: flex; align-items: center; padding: 0 0.65rem;
  border: 1px solid var(--gray-line); border-right: none;
  border-radius: 8px 0 0 8px; background: var(--gray-bg);
  font-size: 0.95rem; color: #444; font-weight: 600; white-space: nowrap;
}
.phone-input-group input { border-radius: 0 8px 8px 0 !important; }
.form-error { color: #d33; font-size: 0.8rem; margin-top: 0.3rem; display: none; }
.form-row { display: grid; gap: 0.75rem; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 480px) {
  .form-row.cols-2, .form-row.cols-3 { grid-template-columns: 1fr; }
}

/* Checkout / Pix */
.pix-box {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 480px;
  margin: 1.5rem auto;
  text-align: center;
}
.pix-box #qrcode { display: inline-block; margin: 1rem 0; }
.pix-copy {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.pix-copy input {
  flex: 1;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 0.6rem;
  font-size: 0.8rem;
  color: #444;
}
.pix-copy button {
  border: none;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.pix-note { font-size: 0.85rem; color: #6b7280; margin-top: 0.75rem; }
.pix-urgency {
  background: #fff4e5;
  color: #9a5b00;
  border: 1px solid #ffddab;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.pix-urgency strong { font-variant-numeric: tabular-nums; }
.pix-countdown {
  background: #fdecec; color: #b42318; border: 1px solid #f6c6c2;
  border-radius: 8px; padding: 0.65rem 0.9rem; font-size: 1rem; font-weight: 800;
  text-align: center; margin-bottom: 0.75rem;
}
.pix-countdown span { font-variant-numeric: tabular-nums; }

/* Widget de pagamento (Pix real + cartão via Mercado Pago) */
.payment-method-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.payment-tab {
  flex: 1;
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: #444;
}
.payment-tab.active { border-color: var(--blue); background: var(--pink-soft); color: var(--blue); }
.payment-panel { min-height: 60px; }
.payment-loading { color: #6b7280; font-size: 0.9rem; padding: 1rem 0; }
.payment-status { border-radius: 8px; padding: 0.75rem 1rem; margin-top: 1rem; font-size: 0.9rem; text-align: left; }
.payment-status-pending { background: #fff4e5; color: #9a5b00; border: 1px solid #ffddab; }
.payment-status-error { background: #fdecec; color: #b42318; border: 1px solid #f6c6c2; }
.payment-confirmed { text-align: center; padding: 1rem 0; }
.payment-confirmed-icon { font-size: 2.5rem; line-height: 1; margin-bottom: 0.5rem; }
.payment-confirmed-title { font-size: 1.1rem; font-weight: 800; color: #1a7f3c; margin: 0 0 0.35rem; }
.payment-confirmed-sub { font-size: 0.9rem; color: #6b7280; margin: 0; }
.payment-confirmed-notice {
  font-size: 0.85rem; color: #9a5b00; background: #fff4e5; border: 1px solid #ffddab;
  border-radius: 8px; padding: 0.6rem 0.8rem; margin: 0.9rem 0;
}
.btn.btn-whatsapp { background: #25D366; }
.btn.btn-whatsapp:hover { background: #1ebe5b; }

/* ===== Página de produto (js/product-page.js) ===== */
body.pdp .sidebar,
body.pdp main > .cat-nav,
body.pdp .related-products { display: none; }
.pdp-row-note { margin: 0.2rem 0 0; font-size: 0.85rem; color: #555; }
.pdp-options .size-guide-btn { margin-top: 0.7rem; color: var(--muted); text-decoration: none; font-weight: 500; }
body.pdp .page-layout { grid-template-columns: 1fr; }
body.pdp .product-detail {
  background: none; border: none; padding: 0; gap: 1.5rem; margin: 0 0 1rem;
}
.pdp-carousel-wrap { position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.pdp-carousel {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.pdp-carousel::-webkit-scrollbar { display: none; }
.pdp-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1/1; background: var(--white); }
.pdp-slide img { width: 100%; height: 100%; object-fit: contain; }
.pdp-counter {
  position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, 0.45); color: #fff;
  font-size: 0.8rem; padding: 0.25rem 0.65rem; border-radius: 999px; font-variant-numeric: tabular-nums;
}

body.pdp .details { display: flex; flex-direction: column; gap: 0.6rem; }
.pdp-price-band {
  background: linear-gradient(100deg, #fe2c55 0%, #ff4d6d 55%, #ff7a8f 100%);
  color: #fff; border-radius: var(--radius); padding: 0.8rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
}
.pdp-price { display: flex; align-items: baseline; font-weight: 700; line-height: 1; }
.pdp-price .cur { font-size: 1rem; margin-right: 0.2rem; }
.pdp-price .int { font-size: 2.1rem; letter-spacing: -0.02em; }
.pdp-price .cents { font-size: 1rem; }
.pdp-discount {
  align-self: center; background: #161823; color: #fff; font-size: 0.95rem;
  padding: 0.25rem 0.45rem; border-radius: 6px; margin-right: 0.5rem; letter-spacing: 0;
}
.pdp-price-old { font-size: 0.95rem; font-weight: 500; text-decoration: line-through; opacity: 0.85; margin-top: 0.35rem; }
.pdp-price-band.has-campaign { position: relative; overflow: hidden; }
.pdp-price-band.has-campaign > * { position: relative; z-index: 1; }
.pdp-price-band.has-campaign > .pdp-campaign-mark {
  position: absolute; z-index: 0; left: 46%; top: 50%; transform: translate(-50%, -50%);
  font-size: 4.2rem; font-weight: 900; font-style: italic; letter-spacing: -0.04em; line-height: 1;
  color: rgba(255, 255, 255, 0.2); pointer-events: none; white-space: nowrap;
}
.pdp-price-band.has-campaign { gap: 0.5rem; }
.pdp-campaign { margin-left: auto; text-align: right; text-transform: uppercase; line-height: 1.25; white-space: nowrap; }
.pdp-campaign strong { display: block; font-size: 0.88rem; font-weight: 800; }
.pdp-campaign small { display: block; font-size: 0.82rem; font-weight: 500; text-transform: none; margin-top: 0.35rem; }
.pdp-price-tag { font-size: 0.8rem; font-weight: 600; background: rgba(255, 255, 255, 0.2); padding: 0.3rem 0.6rem; border-radius: 6px; }

body.pdp .details h1 { font-size: 1.15rem; font-weight: 500; line-height: 1.35; margin: 0.25rem 0 0; order: 1; }
.pdp-price-band { order: 0; }
.pdp-info { order: 2; }
.pdp-options { order: 3; }
.pdp-buybar { order: 4; }

.pdp-card { background: var(--white); border-radius: var(--radius); padding: 0.9rem 1rem; }
.pdp-row { display: flex; gap: 0.7rem; padding: 0.55rem 0; font-size: 0.92rem; line-height: 1.45; }
.pdp-row + .pdp-row { border-top: 1px solid var(--gray-line); }
.pdp-row-icon { flex: none; width: 22px; height: 22px; }
.pdp-row-icon svg { width: 22px; height: 22px; }
.pdp-row-body { flex: 1; min-width: 0; }
.teal { color: var(--teal); }
.brown { color: var(--brown); }
.pdp-checks {
  list-style: none; margin: 0.35rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 0.75rem; color: var(--ink); font-size: 0.85rem;
}
.pdp-checks li::before { content: "✓ "; color: var(--brown); }

.pdp-options .option-group { margin: 0 0 0.9rem; }
.pdp-options .option-btn { min-width: 48px; border-radius: 6px; background: #f1f1f2; border-color: transparent; }
.pdp-options .option-btn.selected { background: var(--pink-soft); border-color: var(--blue); color: var(--blue); }
.pdp-qty { display: flex; align-items: center; justify-content: space-between; }
.pdp-qty label { font-weight: 600; font-size: 0.9rem; }
.pdp-qty .qty-row { margin: 0; gap: 0; }
.pdp-qty .qty-row button, .pdp-qty .qty-row input { border-radius: 0; background: #f1f1f2; border: none; height: 32px; }
.pdp-qty .qty-row button:first-child { border-radius: 6px 0 0 6px; }
.pdp-qty .qty-row button:last-child { border-radius: 0 6px 6px 0; }
.pdp-qty .qty-row input { border-left: 1px solid #fff; border-right: 1px solid #fff; width: 44px; }

.pdp-below { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.pdp-desc h2, .pdp-recs h2 { font-size: 1.05rem; margin: 0 0 0.6rem; }

/* Avaliações (js/product-page.js) */
.pdp-stars { color: #ffb400; letter-spacing: 1px; font-size: 0.95rem; }
.pdp-stars .off { color: #dcdde0; }
.pdp-rating-line { display: flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; color: var(--ink); order: 1; background: var(--white); padding: 0 1rem 0.8rem; margin-top: -0.4rem; }
.pdp-rating-line > span:not(.pdp-stars) { color: #3b6fd6; }
.pdp-reviews h2 { font-size: 1.05rem; margin: 0 0 0.8rem; }
.pdp-reviews-fake { background: #fff6d6; border: 1px solid #f3d36b; color: #6b5200; border-radius: 6px; padding: 0.6rem 0.75rem; font-size: 0.88rem; line-height: 1.4; margin-bottom: 0.9rem; }
.pdp-review-fake { font-style: normal; font-size: 0.7rem; font-weight: 700; background: #fff6d6; color: #8a6a00; border: 1px solid #f3d36b; border-radius: 3px; padding: 0 0.3rem; }
.pdp-reviews-summary { display: flex; gap: 1.2rem; align-items: center; padding-bottom: 0.9rem; border-bottom: 1px solid var(--gray-line); }
.pdp-reviews-avg { display: flex; flex-direction: column; align-items: center; flex: none; }
.pdp-reviews-avg strong { font-size: 2.2rem; line-height: 1; }
.pdp-reviews-avg span:last-child { color: var(--muted); font-size: 0.8rem; margin-top: 0.2rem; }
.pdp-reviews-bars { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.8rem; color: var(--muted); }
.pdp-reviews-bars div { display: flex; align-items: center; gap: 0.4rem; }
.pdp-reviews-bars i { flex: 1; height: 6px; border-radius: 3px; background: #eeeff1; overflow: hidden; }
.pdp-reviews-bars b { display: block; height: 100%; background: #ffb400; }
.pdp-reviews-list { list-style: none; margin: 0; padding: 0; }
.pdp-reviews-list li { padding: 0.85rem 0; border-bottom: 1px solid var(--gray-line); }
.pdp-reviews-list li:last-child { border-bottom: none; padding-bottom: 0; }
.pdp-review-head { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; font-size: 0.9rem; margin-bottom: 0.2rem; }
.pdp-review-meta { color: var(--muted); font-size: 0.8rem; margin-left: auto; }
.pdp-reviews-list p { margin: 0.35rem 0 0; font-size: 0.92rem; line-height: 1.45; }
.pdp-desc-text { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--ink); white-space: pre-line; }
.pdp-store { display: flex; align-items: center; gap: 0.75rem; }
.pdp-store img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.pdp-store-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.pdp-store-name span { font-size: 0.82rem; color: var(--muted); }
.pdp-store-btn {
  background: var(--blue); color: #fff; font-weight: 600; padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.9rem;
}
.pdp-recs { margin-top: 0.4rem; }
.pdp-rec-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.6rem; }
.pdp-rec-grid .product-card .thumb { aspect-ratio: 1/1; background: var(--white); }

.pdp-buybar { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.pdp-bar-link {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  width: 52px; font-size: 0.75rem; color: var(--ink); flex: none;
}
.pdp-bar-link svg { width: 24px; height: 24px; }
.pdp-bar-cart {
  flex: none; width: 64px; height: 48px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--pink-soft); color: var(--blue); display: flex; align-items: center; justify-content: center;
}
.pdp-bar-cart svg { width: 26px; height: 26px; }
.pdp-bar-buy {
  flex: 1; height: 52px; border: none; border-radius: 999px; background: var(--blue); color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; font-family: inherit;
}
.pdp-bar-buy strong { font-size: 1.05rem; }
.pdp-bar-buy span { font-size: 0.75rem; opacity: 0.9; }
.pdp-bar-buy:hover { background: var(--blue-dark); }

.pdp-toast {
  position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 100;
  background: rgba(0, 0, 0, 0.75); color: #fff; padding: 0.8rem 1.2rem; border-radius: 10px;
  font-size: 0.9rem; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.pdp-toast.show { opacity: 1; }

@media (min-width: 861px) {
  body.pdp .product-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  body.pdp .gallery { position: sticky; top: 1rem; }
  .pdp-below { max-width: none; }
}
@media (max-width: 860px) {
  body.pdp { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.pdp .container { padding: 0; }
  body.pdp .page-layout { margin-top: 0; }
  body.pdp .crumb-nav { display: none; }
  body.pdp .product-detail { gap: 0; }
  body.pdp .details { gap: 0.5rem; }
  /* foto e faixa de preço com uma margem pequena nas laterais, em vez de
     encostar nas bordas da tela */
  .pdp-carousel-wrap { margin: 0.75rem 0.75rem 0; }
  .pdp-price-band { margin: 0 0.75rem; }
  body.pdp .details h1 { background: var(--white); margin: -0.5rem 0 0; padding: 0.8rem 1rem 0.9rem; }
  .pdp-card { border-radius: 0; }
  .pdp-below { gap: 0.5rem; }
  .pdp-recs { padding: 0 0.5rem; }
  .pdp-recs h2 { padding: 0.5rem 0.5rem 0; }
  .pdp-buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0;
    background: var(--white); border-top: 1px solid var(--gray-line);
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  }
}

/* ===== Checkout estilo app (checkout/index.html) ===== */
body.checkout-app { background: #f2f2f2; font-size: 16px; }
.co-topbar {
  position: sticky; top: 0; z-index: 40; height: 56px; background: var(--white);
  display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--gray-line);
}
.co-back {
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--ink); cursor: pointer; padding: 0;
}
.co-back svg { width: 24px; height: 24px; }
.co-topbar-title { font-size: 1.05rem; font-weight: 600; }
.co-page { max-width: 640px; margin: 0 auto; padding-bottom: calc(170px + env(safe-area-inset-bottom)); }
body.co-pix .co-page { padding-bottom: 2rem; }

.co-addr {
  width: 100%; display: flex; align-items: flex-start; gap: 0.6rem; text-align: left;
  background: var(--white); border: none; padding: 1rem 1rem 1.1rem; font: inherit; color: var(--ink); cursor: pointer;
}
.co-addr-pin { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.co-addr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.co-addr-body strong { font-size: 1.05rem; font-weight: 700; }
.co-addr-body span { font-size: 0.95rem; color: #333; line-height: 1.4; }
.co-chevron { width: 20px; height: 20px; flex: none; color: #999; margin-top: 3px; }
.co-stripe {
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 22px, transparent 22px 28px, #25d0d6 28px 50px, transparent 50px 56px);
  background-color: var(--white);
  margin-bottom: 10px;
}

.co-sec { background: var(--white); padding: 1rem; margin-bottom: 10px; }
.co-sec > h3 { margin: 0 0 1rem; font-size: 1.05rem; font-weight: 700; }
.co-sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; font-size: 1.05rem; }

.co-item { display: flex; gap: 0.75rem; padding: 0.4rem 0; }
.co-item + .co-item { border-top: 1px solid var(--gray-line); padding-top: 0.8rem; margin-top: 0.4rem; }
.co-item img, .co-item .co-item-ph { width: 92px; height: 92px; border-radius: 6px; object-fit: contain; flex: none; background: #fff; border: 1px solid var(--gray-line); }
.co-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.co-item-name { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-item-meta { color: var(--muted); font-size: 0.82rem; }
.co-item-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; margin-top: auto; gap: 0.5rem; }
.co-item-prices { display: flex; flex-direction: column; gap: 0.1rem; }
.co-item-price { color: var(--blue); font-weight: 600; font-size: 1.1rem; }
.co-item-price small, .co-footer-price small { font-size: 0.75em; margin-right: 1px; }
.co-item-old { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; }
.co-item-old s { color: #aaa; }
.co-item-old em { font-style: normal; color: var(--blue); background: var(--pink-soft); padding: 0 0.25rem; border-radius: 3px; }
.co-stepper { display: flex; align-items: stretch; background: #f1f1f2; border-radius: 4px; height: 30px; flex: none; }
.co-stepper button {
  width: 32px; border: none; background: none; color: var(--ink); cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.co-stepper button:disabled { color: #bbb; cursor: default; }
.co-stepper button svg { width: 16px; height: 16px; }
.co-stepper span {
  min-width: 34px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
  border-left: 1px solid #fff; border-right: 1px solid #fff;
}
/* telas estreitas (iPhone SE, 320px): foto e botões menores pra caber
   preço + "− 1 +" na mesma linha */
@media (max-width: 360px) {
  .co-item img, .co-item .co-item-ph { width: 76px; height: 76px; }
  .co-stepper button { width: 28px; }
  .co-stepper span { min-width: 28px; }
}
.co-delivery {
  background: #f0fafb; border-radius: 10px; padding: 0.85rem 1rem; margin-top: 0.9rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; font-size: 0.92rem; line-height: 1.4;
}
.co-delivery-price { white-space: nowrap; }

.co-sum-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: none;
  padding: 0.5rem 0; font: inherit; font-size: 0.98rem; color: var(--ink); cursor: pointer;
}
.co-caret {
  display: inline-block; width: 7px; height: 7px; margin-left: 0.4rem; border-left: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: translateY(2px) rotate(45deg); transition: transform 0.15s;
}
.co-sum-toggle[aria-expanded="false"] .co-caret { transform: translateY(-2px) rotate(225deg); }
.co-sum-sub { padding: 0 0 0.3rem 1rem; }
.co-sum-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: #333; padding: 0.45rem 0; }
.co-sum-row .neg { color: var(--blue); }
.co-sum-total {
  display: flex; justify-content: space-between; border-top: 1px solid var(--gray-line);
  margin-top: 0.5rem; padding-top: 1rem; font-size: 1.15rem; font-weight: 700;
}
.co-sum-note { text-align: right; color: var(--muted); font-size: 0.88rem; margin: 0.3rem 0 0; }

.co-pay-option { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.2rem 0; cursor: pointer; }
.co-pay-logo {
  flex: none; width: 40px; height: 26px; border-radius: 4px; background: #eef0f1;
  display: flex; align-items: center; justify-content: center;
}
.co-pay-logo svg { width: 20px; height: 20px; }
.co-pay-body { flex: 1; display: flex; flex-direction: column; }
.co-pay-body strong { font-weight: 500; font-size: 1.02rem; line-height: 26px; }
.co-pay-desc { display: none; margin-top: 0.3rem; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.co-radio-input { position: absolute; opacity: 0; pointer-events: none; }
.co-radio {
  flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c4c4c4; margin-top: 2px;
  display: flex; align-items: center; justify-content: center; background: var(--white);
}
.co-pay-card {
  width: 100%; margin-top: 0.9rem; background: none; border: none; font: inherit; color: inherit; text-align: left;
}
.co-pay-card .co-pay-logo svg { width: 18px; height: 18px; color: var(--ink); }
.co-pay-error {
  margin: 0.6rem 0 0 calc(40px + 0.75rem); padding: 0.6rem 0.75rem; border-radius: 6px;
  background: #fff1f1; color: #c4161c; font-size: 0.88rem; line-height: 1.4;
}
.co-pay-error.shake { animation: co-shake 0.35s ease; }
@keyframes co-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.co-pay-option:has(.co-radio-input:checked) .co-pay-desc { display: block; }
.co-pay-option:has(.co-radio-input:checked) .co-radio { background: var(--blue); border-color: var(--blue); }
.co-pay-option:has(.co-radio-input:checked) .co-radio::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

.co-terms { background: #ececec; color: #555; font-size: 0.88rem; line-height: 1.5; padding: 1rem; }
.co-terms strong { color: var(--ink); }

.co-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white);
  box-shadow: 0 -1px 0 var(--gray-line);
}
.co-saving {
  display: flex; align-items: center; gap: 0.5rem; background: #fff0f2; color: var(--blue);
  font-size: 0.88rem; padding: 0.6rem 1rem;
}
.co-saving svg { width: 20px; height: 20px; flex: none; }
.co-footer-inner { max-width: 640px; margin: 0 auto; padding: 0.7rem 1rem calc(0.8rem + env(safe-area-inset-bottom)); }
.co-saving > span { max-width: 640px; }
.co-footer-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.15rem; margin-bottom: 0.6rem; }
.co-footer-price { color: var(--blue); font-size: 1.35rem; }
.co-place {
  width: 100%; height: 54px; border: none; border-radius: 999px; background: var(--blue); color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2;
  font-family: inherit; font-size: 1.2rem; font-weight: 500;
}
.co-place small { font-size: 0.75rem; font-weight: 400; opacity: 0.95; }
.co-place:hover { background: var(--blue-dark); }

/* Formulário de endereço em tela cheia */
/* Fechado, o painel fica no lugar (inset: 0) mas recortado por inteiro
   (clip-path), e "desliza" da direita ao abrir. Antes era translateX(100%):
   guardado fora da tela, o Safari do iPhone deixava a página toda arrastar
   pro lado — inclusive na tela do Pix, onde o painel continua no DOM. */
.co-sheet {
  position: fixed; inset: 0; z-index: 60; background: #f2f2f2; display: flex; flex-direction: column;
  -webkit-clip-path: inset(0 0 0 100%); clip-path: inset(0 0 0 100%);
  visibility: hidden; pointer-events: none;
  transition: clip-path 0.22s ease, -webkit-clip-path 0.22s ease, visibility 0s linear 0.22s;
}
.co-sheet.open {
  -webkit-clip-path: inset(0); clip-path: inset(0);
  visibility: visible; pointer-events: auto;
  transition: clip-path 0.22s ease, -webkit-clip-path 0.22s ease, visibility 0s;
}
body.co-sheet-open { overflow: hidden; }
.co-sheet-body { flex: 1; overflow-y: auto; padding: 1rem; }
.co-sheet-body form { max-width: 640px; margin: 0 auto; background: var(--white); border-radius: 10px; padding: 1rem; }
.co-sheet-footer { background: var(--white); padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--gray-line); }
.co-sheet-footer .co-place { max-width: 640px; margin: 0 auto; height: 50px; font-size: 1.05rem; }
.co-sheet .form-group input { background: #f7f7f8; border-color: transparent; border-radius: 6px; }
.co-sheet .form-group input:focus { outline: none; border-color: var(--blue); background: var(--white); }
.co-sheet .form-group input.invalid { border-color: #d33; }
.co-sheet .phone-input-group .phone-country-code { border-color: transparent; background: #ececee; border-radius: 6px 0 0 6px; }

/* "Carregando..." ao fazer o pedido */
.co-loading {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 80;
  background: rgba(60, 60, 60, 0.92); color: #fff; border-radius: 6px; width: 150px; height: 120px;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; font-size: 0.95rem;
}
.co-loading.show { display: flex; }
.co-loading-dots { display: flex; gap: 2px; }
.co-loading-dots i { width: 13px; height: 13px; border-radius: 50%; background: #fe2c55; animation: co-dot 0.7s infinite alternate ease-in-out; }
.co-loading-dots i + i { background: #25f4ee; animation-delay: -0.35s; }
@keyframes co-dot { from { transform: translateX(-4px); } to { transform: translateX(4px); } }

/* Tela "Código do pagamento" */
body.co-pix { background: linear-gradient(160deg, #dffbfb 0%, #fff 32%, #fff 62%, #ffe8ef 100%) fixed; }
body.co-pix .co-topbar { background: transparent; border-bottom: none; }
body.co-pix #pix-section { padding: 0 1rem; }
body.co-pix .pixpay-head { background: none; padding: 0.5rem 0 0; }
body.co-pix .pixpay-head h2 { font-size: 1.4rem; }

/* Tela do código Pix (widget js/voltpix-payment.js) */
.pixpay { text-align: left; }
.pixpay-head {
  padding: 1.1rem 1rem 1.3rem;
  background: linear-gradient(135deg, #e6fbfb 0%, #fff 55%, #ffe9ef 100%);
  display: flex; justify-content: space-between; gap: 1rem; border-radius: 12px;
}
.pixpay-head h2 { margin: 0; font-size: 1.45rem; line-height: 1.25; }
.pixpay-clock { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #ff9500; color: #fff; display: flex; align-items: center; justify-content: center; }
.pixpay-clock svg { width: 30px; height: 30px; }
.pixpay-due { margin: 0.6rem 0 0; color: var(--muted); font-size: 0.92rem; display: flex; align-items: center; gap: 0.4rem; }
.pixpay-due strong {
  background: #ff3b30; color: #fff; padding: 0.15rem 0.45rem; border-radius: 5px; font-variant-numeric: tabular-nums; font-size: 0.98rem;
  display: inline-flex; align-items: center; gap: 0.2rem; font-weight: 500;
}
.pixpay-due strong svg { width: 14px; height: 14px; }
.pixpay-deadline { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.95rem; }
.pixpay-deadline strong { color: var(--ink); font-weight: 500; }
.pixpay-view-order {
  display: flex; align-items: center; justify-content: center; height: 50px; margin: 2.5rem 0 1rem;
  background: #ececee; border-radius: 8px; font-size: 1.05rem; color: var(--ink);
}
.pixpay-box { background: var(--white); border-radius: 12px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); padding: 1.2rem 1.1rem 1.4rem; margin: 1.4rem 0; }
.pixpay-box-title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; font-weight: 500; }
.pixpay-box-title .co-pay-logo { width: 34px; height: 26px; }
.pixpay-box-title .pixpay-logo {
  width: auto; height: 30px; padding: 0 0.4rem; gap: 0.15rem; background: #fff;
  border: 1px solid #e3e5e8; border-radius: 4px;
}
.pixpay-logo svg { width: 14px; height: 14px; }
.pixpay-logo em { font-style: normal; font-size: 0.8rem; font-weight: 300; color: #8a8f98; letter-spacing: 0.02em; }
.pixpay-access { margin: 0; font-size: 0.82rem; color: var(--ink); line-height: 1.45; }
.pixpay-access strong { font-weight: 700; }
@media (max-width: 767px) {
  .pixpay-qr { display: none; }
}
.pixpay-code {
  font-size: 1.35rem; font-weight: 500; margin: 1.6rem 0 1.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.pixpay-copy { border-radius: 6px; height: 44px; font-weight: 500; font-size: 1.1rem; }
.pixpay-copy svg { width: 20px; height: 20px; }
.pixpay-qr { margin-top: 1rem; text-align: center; }
.pixpay-qr summary { cursor: pointer; color: var(--muted); font-size: 0.88rem; }
.pixpay-qr img { max-width: 220px; width: 100%; margin: 0.75rem auto 0; }
.pixpay-howto h3 { margin: 2rem 0 0.6rem; font-size: 1.35rem; }
.pixpay-howto p { margin: 0; font-size: 0.9rem; color: #444; line-height: 1.5; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #8a8f99;
  font-size: 0.85rem;
}
