/* ==========================================================================
   Mundo Árabe — CSS v4 (mobile-first, fiel ao site original Lovable)
   Paleta extraída do original:
     --background:  oklch(0.08 0.005 60)   ≈ #0d0c0a (warm near-black)
     --foreground:  oklch(0.96 0.02 85)    ≈ #fdf5e8 (warm cream)
     --accent:      #cfa65f (gold)         (used in badges, buttons)
     --border:      oklch(0.78 0.14 78 / 0.2) ≈ rgba(207,166,95,.2)
     --muted:       oklch(0.205 0 0)       ≈ #1a1a1a
     bg-light:      #FDFBF7 (cream — used in static pages, rastreio)
   ========================================================================== */

:root {
  --background: #0d0c0a;
  --foreground: #fdf5e8;
  --foreground-dim: #c8b894;
  --bg-card: #ffffff;
  --bg-light: #FDFBF7;
  --border: #ECE4D3;
  --border-accent: rgba(207, 166, 95, .2);
  --text-dark: #1a1814;
  --text-dark-dim: #6b6453;
  --accent: #cfa65f;
  --accent-2: #b88940;
  --accent-3: #f0d18a;
  --danger: #c0392b;
  --success: #2e7d32;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, .08);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, .12);

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;

  --max-width: 1280px;
  --header-h: 64px;
  --header-h-md: 80px;
}

/* Reset --------------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  line-height: 1.15;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 640px) { .container { padding: 0 16px; } }

/* ==========================================================================
   HEADER (mobile-first: 3-col grid; desktop: flex)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 12, 10, .96);
  color: var(--foreground);
  border-bottom: 1px solid var(--border-accent);
  backdrop-filter: blur(8px);
}
.header-inner {
  margin: 0 auto;
  max-width: var(--max-width);
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}
@media (min-width: 640px) {
  .header-inner { height: var(--header-h-md); padding: 0 16px; }
}
@media (min-width: 768px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }
}

.logo {
  display: flex; align-items: center; justify-content: center;
}
.logo img { height: 44px; width: auto; }
@media (min-width: 640px) { .logo img { height: 56px; } }
@media (min-width: 768px) { .logo { justify-content: flex-start; } }

/* Desktop nav — hidden on mobile (replaced by hamburger menu) */
.main-nav {
  display: none;
}
@media (min-width: 768px) {
  .main-nav {
    display: flex; align-items: center; gap: 1.4rem;
    font-family: var(--font-sans);
    font-size: .92rem; font-weight: 500;
    text-transform: none; letter-spacing: 0;
  }
  .main-nav a {
    color: var(--foreground); padding: 6px 0;
    transition: .2s color;
  }
  .main-nav a:hover, .main-nav a.active { color: var(--accent); }
}

.header-actions {
  display: flex; align-items: center; gap: 4px;
  justify-self: end;
}
.icon-btn {
  position: relative;
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--foreground); transition: .2s background, .2s color;
}
.icon-btn:hover { background: rgba(207, 166, 95, .15); color: var(--accent); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--accent); color: #1a1814;
  border-radius: 999px; font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.menu-toggle { color: var(--foreground); }
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--background);
}
.hero-img {
  width: 100%;
  height: 55vh; min-height: 380px;
  object-fit: cover;
  display: block;
}
@media (min-width: 640px) { .hero-img { height: 60vh; } }
@media (min-width: 768px) { .hero-img { height: 70vh; } }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,12,10,.95), rgba(13,12,10,.7), transparent);
}
.hero-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 16px;
}
.hero-inner-wrap {
  max-width: var(--max-width); width: 100%;
  margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 640px) { .hero-inner-wrap { padding: 0 16px; } }
.eyebrow {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .3em;
  color: var(--accent);
}
@media (min-width: 640px) { .eyebrow { font-size: .8rem; } }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 7vw, 3.6rem);
  font-weight: 600; line-height: 1.1;
  color: var(--foreground); max-width: 36rem;
  margin-top: 12px; margin-bottom: 16px;
}
.hero p.hero-sub {
  color: var(--foreground-dim); max-width: 36rem;
  font-size: .9rem; line-height: 1.6;
  margin: 0 0 24px;
}
@media (min-width: 640px) { .hero p.hero-sub { font-size: 1rem; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 12px 22px; border-radius: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: .85rem;
  background: var(--accent); color: #1a1814;
  transition: .2s transform, .2s background;
}
.btn:hover { background: var(--accent-3); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--foreground);
  border: 1px solid var(--border-accent);
}
.btn-outline:hover { background: var(--accent); color: #1a1814; border-color: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   SECTIONS (home, catalog)
   ========================================================================== */
.section {
  padding: 32px 0;
  background: var(--bg-light);
}
.section-alt { background: #ffffff; }
@media (min-width: 768px) { .section { padding: 56px 0; } }

.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 400;
  margin: 0;
  color: var(--text-dark);
}
.section-head .link {
  font-size: .85rem; font-weight: 600;
  color: var(--accent-2);
  border-bottom: 1px solid var(--accent-2);
  padding-bottom: 2px;
}

.see-more { display: flex; justify-content: center; margin-top: 28px; }
.btn-see-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 26px;
  background: transparent; color: var(--accent-2);
  border: 1.5px solid var(--accent-2);
  border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  transition: .2s;
}
.btn-see-more:hover { background: var(--accent); color: #1a1814; border-color: var(--accent); }

/* ==========================================================================
   PRODUCTS GRID — 2 cols mobile, 3 tablet, 4 desktop
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .products-grid { gap: 16px; } }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  color: var(--text-dark);
  transition: .25s border-color, .25s box-shadow;
}
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3efe5;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: .3s transform;
}
.product-card:hover .card-img img { transform: scale(1.04); }
.badge-discount {
  position: absolute; top: 8px; left: 8px;
  background: var(--accent); color: #1a1814;
  padding: 3px 7px; border-radius: 4px;
  font-size: .65rem; font-weight: 700;
}
@media (min-width: 640px) { .badge-discount { font-size: .72rem; padding: 4px 8px; } }

.btn-add {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  background: var(--accent); color: #1a1814;
  padding: 6px 0; border-radius: 4px;
  font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  text-align: center;
  transform: translateY(120%); opacity: 0;
  transition: .25s transform, .25s opacity;
}
@media (min-width: 768px) { .btn-add { font-size: .7rem; padding: 8px 0; } }
.product-card:hover .btn-add { transform: translateY(0); opacity: 1; }
.btn-add:hover { background: var(--accent-3); }
/* Touch devices: always show */
@media (hover: none) {
  .btn-add { position: static; transform: none; opacity: 1; margin: 6px; padding: 8px 0; }
}

.card-body {
  padding: 10px 10px 12px;
  flex: 1; display: flex; flex-direction: column;
}
@media (min-width: 640px) { .card-body { padding: 12px 12px 14px; } }

.card-brand {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2);
  min-height: 1em;
}
@media (min-width: 640px) { .card-brand { font-size: .7rem; } }

.card-name {
  font-size: .8rem; font-weight: 500;
  line-height: 1.35;
  color: var(--text-dark);
  margin: 4px 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
@media (min-width: 640px) { .card-name { font-size: .88rem; } }

.card-prices {
  margin-top: auto;
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.price-now { font-size: .9rem; font-weight: 700; color: var(--text-dark); }
.price-old { font-size: .75rem; color: var(--text-dark-dim); text-decoration: line-through; }
@media (min-width: 640px) {
  .price-now { font-size: 1rem; }
  .price-old { font-size: .82rem; }
}

/* ==========================================================================
   CATALOG TOOLBAR + PAGINATION
   ========================================================================== */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 18px;
  padding: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
}
.toolbar-search {
  flex: 1; min-width: 180px;
  display: flex; align-items: center; gap: 8px;
  background: #f7f3ec; border-radius: 8px; padding: 8px 14px;
  color: #999;
}
.toolbar-search input {
  flex: 1; border: 0; background: transparent; outline: none;
  color: var(--text-dark);
}
.toolbar select {
  border: 1px solid var(--border); background: #fff; border-radius: 8px;
  padding: 8px 12px; cursor: pointer;
  font-size: .88rem; color: var(--text-dark);
}

.pagination {
  display: flex; gap: 4px; justify-content: center; align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.pagination button, .pagination .ellipsis {
  min-width: 36px; height: 36px; padding: 0 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  font-weight: 600; transition: .2s;
  font-size: .88rem;
}
.pagination button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pagination button.active { background: var(--accent); color: #1a1814; border-color: var(--accent); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* Catalog hero (top of /produtos) */
.static-hero {
  background: var(--background);
  color: var(--foreground);
  padding: 32px 0 24px;
}
.static-hero h1 {
  color: var(--accent);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 6px;
  font-family: var(--font-serif);
}
.static-hero p {
  color: var(--foreground-dim);
  font-size: .92rem;
  margin: 0;
}
@media (min-width: 768px) { .static-hero { padding: 56px 0 36px; } }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
}
@media (min-width: 880px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    padding: 3rem 0 1rem;
  }
}
.gallery {
  background: #fff; border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.gallery img { width: 100%; border-radius: 8px; }
.trust-strip {
  font-size: .78rem; color: var(--text-dark-dim);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.trust-strip span { color: #f4b400; letter-spacing: 1px; }

.detail-info { display: flex; flex-direction: column; }
.detail-brand {
  font-size: .85rem; font-weight: 600;
  color: var(--accent-2); margin-bottom: 6px;
}
.detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600; margin: 0 0 16px;
  line-height: 1.2; color: var(--text-dark);
}
.detail-prices { display: flex; gap: 12px; align-items: baseline; margin-bottom: 8px; flex-wrap: wrap; }
.detail-prices .price-now { font-size: 1.6rem; font-weight: 700; }
.detail-prices .price-old { font-size: 1rem; }
.detail-discount {
  background: var(--accent); color: #1a1814;
  padding: 4px 10px; border-radius: 6px;
  font-size: .78rem; font-weight: 700;
}
.payment-line {
  font-size: .9rem; color: var(--text-dark-dim);
  margin: 8px 0 14px;
}
.payment-line strong { color: var(--text-dark); }
.detail-volume {
  font-size: .9rem; color: var(--text-dark);
  padding: 12px 16px; background: var(--bg-light);
  border-radius: 8px; margin-bottom: 18px;
}
.btn-buy {
  width: 100%; padding: 14px; font-size: .85rem;
  background: var(--accent); color: #000; margin: 0;
  border-radius: 8px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
}
.btn-buy:hover { background: var(--accent-3); transform: translateY(-1px); }
.detail-description {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border);
}
.detail-description h6 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .15em; color: var(--accent-2);
  margin: 0 0 14px;
}
.detail-description p { line-height: 1.7; color: var(--text-dark); margin: 0 0 12px; }
.detail-description strong { color: var(--text-dark); font-weight: 700; }
.detail-description em { font-style: italic; }
.related-section { padding: 32px 0; }

/* ==========================================================================
   STATIC PAGES (sobre, envios, etc)
   ========================================================================== */
.static-content { padding: 32px 0 56px; }
.static-content section { margin-bottom: 32px; max-width: 800px; }
.static-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 12px;
}
.static-content p { font-size: .95rem; line-height: 1.7; color: var(--text-dark); }
.static-content ul { padding-left: 22px; }
.static-content ul li { margin: 6px 0; font-size: .95rem; }
.static-content a { color: var(--accent-2); text-decoration: underline; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--background);
  color: var(--foreground-dim);
  padding: 40px 0 16px;
}
.footer-grid {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-brand h4 {
  font-family: var(--font-serif); color: var(--accent);
  font-size: 1.3rem; margin: 0 0 8px;
  font-weight: 600;
}
.footer-brand p { font-size: .92rem; max-width: 280px; margin: 0; }
.footer-col h5 {
  font-family: var(--font-sans); font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--foreground); margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 8px 0; }
.footer-col a { font-size: .9rem; transition: .2s color; }
.footer-col a:hover { color: var(--accent); }
.pill {
  display: inline-block; padding: 4px 10px;
  background: rgba(207,166,95,.15);
  color: var(--accent);
  border-radius: 999px;
  font-size: .76rem; font-weight: 600;
  margin-right: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--border-accent);
  padding-top: 16px;
  text-align: center; font-size: .82rem;
}

/* ==========================================================================
   MOBILE MENU DRAWER (slides from LEFT) — 100% fiel original
   ========================================================================== */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: .25s opacity;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }

.menu-drawer {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: 288px;
  background: var(--background);
  color: var(--foreground);
  padding: 24px;
  box-shadow: 8px 0 24px rgba(0,0,0,.2);
  transform: translateX(-100%);
  transition: .3s transform cubic-bezier(.32, .72, 0, 1);
  z-index: 100;
  display: flex; flex-direction: column;
}
.menu-drawer.open { transform: translateX(0); }
.menu-drawer .drawer-close {
  position: absolute; right: 16px; top: 16px;
  width: 32px; height: 32px;
  color: var(--foreground); opacity: .7;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-drawer .drawer-close:hover { opacity: 1; background: rgba(207,166,95,.1); }
.menu-title {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 600;
  color: var(--foreground);
  margin: 0 0 16px;
  text-align: left;
}
.menu-nav {
  display: flex; flex-direction: column;
}
.menu-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-accent);
  font-size: 1rem;
  color: var(--foreground);
  font-weight: 400;
  transition: .2s color;
}
.menu-nav a:hover, .menu-nav a.active { color: var(--accent); }
.menu-nav a:last-child { border-bottom: 0; }

/* ==========================================================================
   CART DRAWER (slides from RIGHT)
   ========================================================================== */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: .25s opacity;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: 100%; max-width: 448px;
  background: #fff;
  box-shadow: -8px 0 24px rgba(0,0,0,.2);
  transform: translateX(100%);
  transition: .3s transform cubic-bezier(.32, .72, 0, 1);
  z-index: 100;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}
.drawer-close {
  position: absolute; right: 12px; top: 12px;
  width: 32px; height: 32px;
  color: var(--text-dark);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
}
.drawer-close:hover { background: var(--bg-light); }
.drawer-body { padding: 14px 18px; overflow-y: auto; flex: 1; }

.empty-cart { text-align: center; padding: 40px 16px; color: var(--text-dark-dim); }
.empty-cart .btn { margin-top: 12px; }

.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-line {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0eadb;
  align-items: start;
}
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.cart-line-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-line-name {
  font-size: .85rem; line-height: 1.3; color: var(--text-dark);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.cart-line-price { font-weight: 700; font-size: .92rem; }
.cart-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); border-radius: 6px;
  width: fit-content; margin-top: 4px;
  background: #fff;
}
.cart-qty button {
  width: 26px; height: 26px;
  background: #f7f3ec; color: var(--text-dark);
  font-weight: 700;
}
.cart-qty button:hover { background: #ece4d3; }
.cart-qty span {
  min-width: 28px; padding: 0 8px;
  text-align: center; font-size: .85rem; font-weight: 600;
}
.cart-remove {
  width: 28px; height: 28px;
  color: #999;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
}
.cart-remove:hover { color: var(--danger); background: #fff5f5; }

/* Brinde dentro do carrinho */
.brinde-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.brinde-banner {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #fff7e8, #fdedd0);
  border: 1px solid #f0d18a;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.brinde-banner-icon {
  font-size: 1.4rem;
  width: 40px; height: 40px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brinde-title { margin: 0; font-size: .88rem; font-weight: 700; color: var(--text-dark); }
.brinde-sub { margin: 2px 0 0; font-size: .78rem; color: var(--text-dark-dim); }
.brinde-label {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--accent-2); margin: 0 0 10px;
}
.brinde-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 14px;
}
.brinde-card {
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px; background: #fff;
}
.brinde-card-img { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #f7f3ec; }
.brinde-card-img img { width: 100%; height: 100%; object-fit: cover; }
.brinde-discount {
  position: absolute; top: 4px; left: 4px;
  background: var(--accent); color: #1a1814;
  padding: 2px 5px; border-radius: 3px;
  font-size: .62rem; font-weight: 700;
}
.brinde-free-tag {
  position: absolute; top: 4px; right: 4px;
  background: #2e7d32; color: #fff;
  padding: 2px 5px; border-radius: 3px;
  font-size: .58rem; font-weight: 700; letter-spacing: .05em;
}
.brinde-card-name {
  font-size: .68rem; line-height: 1.3; color: var(--text-dark);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  min-height: 1.85em;
}
.brinde-card-old {
  font-size: .65rem; color: #999;
  text-decoration: line-through;
}
.brinde-pick-btn {
  background: var(--accent); color: #1a1814;
  padding: 5px 8px; border-radius: 4px;
  font-size: .62rem; font-weight: 700;
}
.brinde-pick-btn:hover { background: var(--accent-3); }

.brinde-pager {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .76rem; color: var(--text-dark-dim);
}
.brinde-pager button {
  padding: 5px 10px; border: 1px solid var(--border); border-radius: 6px;
  font-size: .74rem; font-weight: 600; color: var(--text-dark);
  background: #fff;
}
.brinde-pager button:hover:not(:disabled) { background: #f7f3ec; }
.brinde-pager button:disabled { opacity: .4; cursor: not-allowed; }

.brinde-chosen-card {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 10px;
  padding: 10px;
  background: linear-gradient(135deg, #f3faf3, #e8f5e9);
  border: 1px solid #c4e3c4; border-radius: 8px;
}
.brinde-chosen-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.brinde-chosen-name { font-size: .82rem; line-height: 1.3; }
.brinde-tag {
  display: inline-block; width: fit-content;
  background: #2e7d32; color: #fff;
  padding: 2px 8px; border-radius: 4px;
  font-size: .65rem; font-weight: 700;
}
.brinde-header {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 8px;
}
.brinde-header strong {
  font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: #2e7d32;
}
.brinde-icon { font-size: 1.1rem; }

.drawer-foot {
  border-top: 1px solid var(--border);
  padding: 14px 18px;
  background: #fff;
}
.cart-summary {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.cart-summary span:first-child { font-size: .88rem; color: var(--text-dark-dim); }
.cart-total { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); }
.btn-link {
  display: block; width: 100%; text-align: center;
  margin-top: 8px; padding: 8px;
  font-size: .82rem; color: var(--accent-2); font-weight: 600;
  background: transparent;
}
.btn-link:hover { color: var(--accent); text-decoration: underline; }

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(13,12,10,.55);
  z-index: 110;
  opacity: 0; pointer-events: none;
  transition: .25s opacity;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 70px 12px 16px;
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-card {
  width: 100%; max-width: 600px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
  overflow: hidden;
}
.search-input-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0eadb;
  color: #999;
}
.search-input-wrap input {
  flex: 1; border: 0; outline: none; padding: 4px 0;
  font-size: 1rem; color: var(--text-dark);
}
.search-input-wrap .icon-btn { color: #999; width: 32px; height: 32px; }
#quick-search-results { max-height: 60vh; overflow-y: auto; }
.search-result {
  display: grid; grid-template-columns: 50px 1fr; gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #f7f3ec;
  align-items: center;
  color: var(--text-dark);
}
.search-result:hover { background: #fdfbf7; }
.search-result img { width: 50px; height: 50px; border-radius: 6px; object-fit: cover; }
.search-brand {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-2);
}
.search-name { font-size: .88rem; line-height: 1.3; }
.search-price { font-size: .82rem; font-weight: 700; margin-top: 2px; }
.search-empty { padding: 28px 16px; text-align: center; color: var(--text-dark-dim); margin: 0; }

/* ==========================================================================
   RASTREIO PAGE
   ========================================================================== */
.rastreio-page {
  background: var(--bg-light);
  min-height: 70vh;
  padding: 32px 12px 56px;
}
.rastreio-wrap { max-width: 560px; margin: 0 auto; }
.rastreio-head { text-align: center; margin-bottom: 24px; }
.rastreio-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 600; color: #1A1A1A; margin: 0 0 8px;
}
.rastreio-head p { color: #6b6453; font-size: .95rem; margin: 0; }
.rastreio-card {
  background: #fff; border: 1px solid #ECE4D3; border-radius: 14px;
  padding: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.rastreio-label {
  display: block; text-align: center; font-weight: 600;
  font-size: .9rem; color: #1A1A1A; margin-bottom: 16px;
}
.rastreio-input {
  display: flex; align-items: center; gap: 8px;
  background: #F7F3EC; border: 1px solid transparent; border-radius: 12px;
  padding: 12px 16px; color: #6b6453;
  transition: .2s;
}
.rastreio-input:focus-within { border-color: var(--accent); background: #fff; }
.rastreio-input input { flex: 1; border: 0; background: transparent; outline: none; font-size: .95rem; color: #1A1A1A; }
.rastreio-input input::placeholder { color: #9c917b; }
.btn-track {
  width: 100%; margin-top: 14px;
  background: var(--accent); color: #000; font-weight: 700;
  padding: 14px 24px; border-radius: 12px;
  font-size: .95rem;
}
.btn-track:hover { background: var(--accent-3); transform: translateY(-1px); }
.btn-track:disabled { opacity: .65; cursor: wait; }
.btn-remember {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 10px; padding: 11px 16px;
  background: transparent; color: var(--accent);
  border: 1px solid rgba(207, 166, 95, .25);
  border-radius: 12px;
  font-size: .88rem; font-weight: 600;
}
.btn-remember:hover { background: rgba(207,166,95,.08); border-color: rgba(207,166,95,.45); }

.rastreio-features { margin-top: 18px; }
.feature-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid #f0eadb; border-radius: 12px;
  padding: 14px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.03);
}
.feature-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: #ecf7ec; color: #2e7d32;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature-card h3 {
  font-family: var(--font-sans);
  font-size: .98rem; font-weight: 700;
  color: #1A1A1A; margin: 0;
}
.feature-card p { margin: 2px 0 0; color: #6b6453; font-size: .85rem; }

.rastreio-disclaimer {
  margin-top: 16px; padding: 12px 14px;
  background: rgba(207,166,95,.06);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  font-size: .82rem; color: #6b6453; line-height: 1.6;
}
.rastreio-disclaimer a { color: var(--accent-2); font-weight: 600; }

/* ==========================================================================
   TOASTER
   ========================================================================== */
#toaster {
  position: fixed; top: 70px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
  width: min(420px, calc(100vw - 24px));
}
.toaster-item {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  animation: toastIn .25s ease-out;
  pointer-events: auto;
  font-size: .88rem;
  color: #1A1A1A;
}
.toaster-item.error { border-color: #f5c6c6; background: #fff5f5; color: #8b1a1a; }
.toaster-item.error .toast-icon { color: #c0392b; }
.toaster-item.success { border-color: #c4e3c4; background: #f3faf3; color: #1f5f24; }
.toaster-item.success .toast-icon { color: #2e7d32; }
.toaster-item.loading .toast-icon { color: var(--accent-2); }
.toast-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.toaster-item.fade-out { animation: toastOut .25s ease-in forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-12px); } }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   CHECKOUT v3 (mobile-first)
   ========================================================================== */
.checkout-page-v3 {
  background: var(--bg-light);
  min-height: 80vh;
  padding-bottom: 40px;
}
.checkout-top-summary { background: #fff; border-bottom: 1px solid #ECE4D3; }
.toggle-summary-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  font-size: .92rem; color: var(--text-dark); font-weight: 600;
}
.toggle-summary-btn .ts-left {
  display: flex; align-items: center; gap: 8px;
  color: var(--accent-2);
}
.toggle-summary-btn .ts-total { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); }
.checkout-summary-collapse { padding: 14px 0 22px; border-top: 1px solid #f0eadb; }
.cv3-item {
  display: grid; grid-template-columns: 50px 1fr auto; gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f7f3ec;
}
.cv3-item:last-child { border-bottom: 0; }
.cv3-item img { width: 50px; height: 50px; border-radius: 6px; object-fit: cover; }
.cv3-item-info { min-width: 0; }
.cv3-item-name {
  font-size: .85rem; line-height: 1.3; color: var(--text-dark);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.cv3-item-qty { font-size: .76rem; color: var(--text-dark-dim); margin-top: 2px; }
.cv3-item-price { font-weight: 700; font-size: .88rem; }
.cv3-item.is-brinde {
  background: linear-gradient(135deg, #f3faf3, #e8f5e9);
  border-radius: 8px; padding: 10px;
  border: 1px dashed #c4e3c4;
  margin: 4px 0;
}
.cv3-free { color: #2e7d32 !important; font-size: .8rem !important; }
.cv3-sum-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: .9rem; }
.cv3-sum-row.total {
  font-size: 1.1rem; font-weight: 700;
  border-top: 1px solid #ECE4D3;
  padding-top: 10px; margin-top: 6px;
  color: var(--text-dark);
}

.checkout-page-form { padding: 20px 12px 0; }
.checkout-stack {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.cv3-card {
  background: #fff;
  border: 1px solid #ECE4D3;
  border-radius: 12px;
  padding: 18px 16px 14px;
}
@media (min-width: 640px) { .cv3-card { padding: 22px 22px 18px; } }
.cv3-h {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 600;
  margin: 0 0 14px;
  color: var(--text-dark);
}
.lbl-sub { font-weight: 400; color: var(--text-dark-dim); font-size: .76rem; }

.field-row { display: grid; gap: 12px; margin-bottom: 12px; }
.field-row.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .field-row.cols-2 { grid-template-columns: 1fr; } }

.field {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 12px;
}
.field label {
  font-size: .82rem; font-weight: 600; color: var(--text-dark);
}
.field label .req { color: var(--danger); }
.field input, .field select {
  padding: 11px 14px;
  border: 1px solid #ECE4D3; border-radius: 8px;
  font-size: .95rem; outline: none;
  background: #fff; color: var(--text-dark);
  transition: .2s border-color, .2s box-shadow;
  width: 100%;
}
.field input:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(207,166,95,.15);
}
.field-help { font-size: .74rem; color: var(--text-dark-dim); margin-top: 2px; }

.field-phone-flag {
  display: flex; align-items: stretch;
  border: 1px solid #ECE4D3; border-radius: 8px;
  background: #fff; overflow: hidden;
}
.field-phone-flag:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(207,166,95,.15);
}
.phone-flag {
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  background: #f7f3ec;
  border-right: 1px solid #ECE4D3;
  font-weight: 600; font-size: .92rem; color: var(--text-dark);
  flex-shrink: 0;
}
.phone-flag img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; display: block; }
.field-phone-flag input { border: 0; flex: 1; padding: 11px 14px; outline: none; min-width: 0; }

.cv3-options { display: flex; flex-direction: column; gap: 10px; }
.cv3-option-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid #ECE4D3; border-radius: 10px;
  cursor: pointer;
  background: #fff;
  transition: .2s border-color, .2s background;
}
.cv3-option-card:hover { border-color: var(--accent-2); }
.cv3-option-card input { display: none; }
.cv3-option-card:has(input:checked) {
  border-color: var(--text-dark);
  background: #fff8eb;
}
.cv3-radio {
  width: 18px; height: 18px;
  border: 2px solid #ECE4D3; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cv3-option-card:has(input:checked) .cv3-radio { border-color: var(--text-dark); }
.cv3-option-card:has(input:checked) .cv3-radio::after {
  content: ''; width: 10px; height: 10px;
  background: var(--text-dark); border-radius: 50%;
}
.cv3-opt-info { flex: 1; min-width: 0; }
.cv3-opt-title { font-weight: 700; font-size: .92rem; color: var(--text-dark); }
.cv3-opt-sub { font-size: .8rem; color: var(--text-dark-dim); margin-top: 2px; }
.cv3-opt-price { font-weight: 700; font-size: 1rem; color: var(--text-dark); }
.cv3-pay { gap: 12px; }
.cv3-pay-logo {
  width: 50px; height: auto;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}
.cv3-secure {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--text-dark-dim);
  margin: 0 0 14px;
}
.cv3-mbway-phone { margin-top: 16px; }
.cv3-totals-card {
  background: #fff;
  border: 1px solid #ECE4D3;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.cv3-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.cv3-total-row span:first-child { font-weight: 600; }
.cv3-total-amount { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); }
.btn-checkout-final {
  width: 100%; padding: 16px;
  background: var(--accent); color: #1a1814;
  border-radius: 10px;
  font-size: .95rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  margin-top: 4px;
}
.btn-checkout-final:hover { background: var(--accent-3); transform: translateY(-1px); }
.cv3-encrypted { font-size: .8rem; color: var(--text-dark-dim); margin: 10px 0 0; }
.cv3-badges { display: flex; justify-content: center; margin-top: 6px; }
.cv3-badges img { max-width: 320px; width: 100%; opacity: .75; }

/* Helpers */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Postal code status indicator */
.cp-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 500;
  margin-left: 6px;
  vertical-align: middle;
}
.cp-status.searching { color: var(--accent-2); }
.cp-status.success { color: #2e7d32; }
.cp-status.error { color: var(--danger); }
.cp-status .cp-spin {
  width: 12px; height: 12px;
  border: 2px solid #e0d4b6; border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Cart items wrapper (now appears AFTER brinde section) */
.cart-items-wrap {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.cart-items-label {
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--accent-2);
  margin: 0 0 12px;
}
/* Quando brinde já foi escolhido, não precisa de border-top extra */
.brinde-section.brinde-chosen + .cart-items-wrap {
  margin-top: 18px;
}

/* =========================================================================
   Pedido Pendente — réplica fiel do /encomenda do Lovable
   ========================================================================= */
.pp-body { background: #f5f5f5; }
.pp-main { background: #f5f5f5; padding: 24px 12px 48px; min-height: 70vh; }
.pp-wrap { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.pp-card {
  background: #fff;
  border: 1px solid rgba(207,166,95,.2);
  border-radius: 12px;
  padding: 20px;
}
.pp-status-card { padding: 16px; }
.pp-status-row { display: flex; align-items: center; gap: 14px; }
.pp-status-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(207,166,95,.15);
  color: var(--accent-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.pp-status-icon.error {
  background: #fff5f5; color: var(--danger);
}
.pp-pulse {
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: rgba(207,166,95,.3);
  animation: ppPulse 1.8s ease-out infinite;
}
@keyframes ppPulse {
  0% { transform: scale(.8); opacity: .8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.pp-status-icon.error .pp-pulse { background: rgba(192,57,43,.3); }
.pp-status-title {
  font-family: var(--font-sans);
  font-size: 1.15rem; font-weight: 700;
  color: #1a1a1a; margin: 0;
  line-height: 1.2;
}
.pp-status-sub {
  font-size: .82rem; color: #6b6b6b; margin: 4px 0 0;
}

.pp-h2 {
  font-family: var(--font-sans);
  font-size: 1rem; font-weight: 700;
  color: #1a1a1a; margin: 0 0 16px;
}

/* Linhas de dados (Entidade / Referência / Montante) */
.pp-data-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0eadb;
}
.pp-data-row:last-of-type { border-bottom: 0; }
.pp-data-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pp-data-label {
  font-family: "Open Sans", var(--font-sans);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: #b0b0b0;
}
.pp-data-value {
  font-family: "Open Sans", var(--font-sans);
  font-size: 1.5rem; font-weight: 700;
  color: #1a1a1a;
  letter-spacing: .025em;
}
.pp-data-value.pp-ref { letter-spacing: .15em; }
.pp-copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 6px;
  color: #6b6b6b;
  font-size: .82rem;
  font-weight: 500;
  transition: .2s background, .2s border-color, .2s color;
  flex-shrink: 0;
}
.pp-copy-btn:hover { background: var(--bg-light); border-color: var(--accent); color: var(--accent-2); }

.pp-data-foot {
  margin: 14px 0 0; font-size: .85rem; color: #6b6b6b;
  line-height: 1.5;
}
.pp-data-foot.pp-data-foot-bold {
  margin-top: 8px; color: #1a1a1a; font-weight: 600;
}

/* MB Way hero */
.pp-mbway-hero {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff7e8, #fdedd0);
  border: 1px solid #f0d18a;
  border-radius: 10px;
  margin-bottom: 12px;
}
.pp-mbway-hero img {
  width: 56px; height: auto; border-radius: 6px;
  background: #fff;
}

/* Como pagar — passos numerados */
.pp-how-card { padding: 20px 16px; }
.pp-steps {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.pp-steps li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9rem; color: #4a4a4a;
  line-height: 1.4;
}
.pp-step-num {
  width: 22px; height: 22px; flex-shrink: 0;
  background: #f0eadb;
  color: #6b6b6b;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Open Sans", var(--font-sans);
  font-size: .78rem; font-weight: 700;
  margin-top: 1px;
}

/* Confirmação inferior */
.pp-confirm {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 8px; padding: 12px;
  font-size: .88rem; color: #6b6b6b;
}
.pp-pulse-small {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  position: relative;
}
.pp-pulse-small::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%;
  background: rgba(207,166,95,.4);
  animation: ppPulse 1.8s ease-out infinite;
}
.pp-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 0; font-size: .78rem; color: #999;
}

/* Toast "Copiado!" */
.pp-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: #1a1a1a; color: #fff;
  padding: 10px 22px; border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  z-index: 200;
  transition: .25s opacity, .25s transform;
}
.pp-toast.show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .pp-data-value { font-size: 1.3rem; }
  .pp-data-row { flex-wrap: wrap; }
  .pp-copy-btn { margin-left: auto; }
}

/* =========================================================================
   Página Pagamento Falhou
   ========================================================================= */
.pp-action-card { padding: 18px 16px; text-align: center; }
.pf-prompt {
  margin: 0 0 14px;
  font-size: .9rem;
  color: var(--text-dark-dim);
  line-height: 1.5;
}
.pf-retry-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 14px;
  font-size: .92rem;
  letter-spacing: .04em;
}
.pf-summary { display: flex; flex-direction: column; gap: 8px; }
.pf-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  font-size: .9rem; color: var(--text-dark-dim);
  border-bottom: 1px dashed #f0eadb;
  gap: 12px;
}
.pf-line:last-child { border-bottom: 0; }
.pf-line span:last-child {
  color: var(--text-dark);
  text-align: right;
  word-break: break-word;
}
.pf-line .pf-mono {
  font-family: monospace;
  font-size: .82rem;
  background: var(--bg-light);
  padding: 3px 8px;
  border-radius: 4px;
}
.pf-line .pf-bold {
  font-size: 1.1rem; font-weight: 700;
}
.pf-refund {
  margin: 4px 16px 0;
  font-size: .76rem;
  color: #999;
  text-align: center;
  line-height: 1.5;
}

/* Brinde grid quando o brinde já foi escolhido (mostra preço normal) */
.brinde-card-price {
  font-size: .82rem; font-weight: 700;
  color: var(--text-dark);
}
.brinde-label-add {
  margin-top: 16px !important;
}
.brinde-card-img { display: block; cursor: pointer; }
