/* ==========================================================================
   PHEBO PREMIUM — Design System & Layout
   Referência visual: Claus Porto (luxo discreto, editorial, perfumaria)
   Identidade própria: Perfumaria Brasileira Premium
   ========================================================================== */

:root {
  /* Palette */
  --bg: #F9F8F4;             /* off-white / creme muito claro */
  --surface: #FFFFFF;        /* branco puro para cards */
  --text: #2C2825;           /* preto quente / carvão */
  --muted: #7A746E;          /* texto secundário */
  --accent: #722F37;         /* vinho profundo (Phebo/Granado heritage) */
  --accent-dark: #501B22;    /* vinho escuro para hover */
  --accent-light: #F3EBEC;   /* fundo sutil de destaque */
  --gold: #B89658;           /* dourado fosco (detalhes apenas) */
  --green: #2D4A3E;          /* verde escuro (confiança/sucesso) */
  --border: #E5E0DA;         /* bordas suaves */
  --border-strong: #D1CBC3;

  /* Typography */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing & Layout */
  --container: 1200px;
  --radius: 4px;             /* cantos levemente arredondados, não bolha */
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(44,40,37,0.06);
  --shadow-md: 0 4px 12px rgba(44,40,37,0.08);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Typography Scale ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 0.5em; }
p { margin-bottom: 1em; color: var(--text); }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.uppercase { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 600; font-family: var(--font-sans); }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  min-height: 52px;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  border: 1px solid var(--text); color: var(--text); background: transparent;
}
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249,248,244,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.nav-desktop { display: none; gap: 32px; }
.nav-desktop a { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; color: var(--muted); transition: color var(--transition); }
.nav-desktop a:hover { color: var(--accent); }
.header-actions { display: flex; gap: 16px; align-items: center; }
.icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background var(--transition); }
.icon-btn:hover { background: var(--accent-light); }
.menu-toggle { display: flex; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .header-inner { height: 80px; }
}

/* ---------- Hero / PDP Top ---------- */
.pdp-hero { padding: 40px 0 60px; }
.pdp-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .pdp-grid { grid-template-columns: 55% 45%; gap: 60px; align-items: start; }
}

/* Gallery */
.gallery-main {
  position: relative; width: 100%; aspect-ratio: 1/1;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 72px; height: 72px; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden; cursor: pointer;
  opacity: 0.6; transition: all var(--transition);
}
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Purchase Panel */
.purchase-panel { position: relative; }
.breadcrumb { font-size: 0.75rem; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.brand-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 8px; }
.pdp-title { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: 12px; }
.pdp-subtitle { font-size: 1rem; color: var(--muted); margin-bottom: 24px; line-height: 1.5; }

.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.price-current { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--text); }
.price-old { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.price-save { font-size: 0.8rem; font-weight: 600; color: var(--green); background: #E8F0EC; padding: 4px 10px; border-radius: 20px; }

/* Selectors */
.selector-group { margin-bottom: 24px; }
.selector-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 10px; color: var(--muted); }
.kit-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.kit-opt {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; cursor: pointer; transition: all var(--transition);
  text-align: center; background: #fff;
}
.kit-opt:hover { border-color: var(--accent); }
.kit-opt.selected { border-color: var(--accent); background: var(--accent-light); }
.kit-opt-name { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 4px; }
.kit-opt-price { font-size: 0.8rem; color: var(--muted); }

.fragrance-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.fragrance-scroll::-webkit-scrollbar { display: none; }
.frag-card {
  flex: 0 0 100px; text-align: center; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--radius);
  padding: 8px; transition: all var(--transition);
}
.frag-card:hover { border-color: var(--border-strong); }
.frag-card.selected { border-color: var(--accent); background: var(--accent-light); }
.frag-img { width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; margin: 0 auto 8px; background: #fff; }
.frag-img img { width: 100%; height: 100%; object-fit: cover; }
.frag-name { font-size: 0.7rem; font-weight: 600; line-height: 1.3; }

.cta-area { margin-top: 32px; }
.micro-trust { display: flex; gap: 16px; margin-top: 16px; font-size: 0.75rem; color: var(--muted); }
.micro-trust span { display: flex; align-items: center; gap: 4px; }

/* Sticky Mobile Bar */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--border);
  padding: 12px 20px; display: flex; align-items: center; justify-content: space-between;
  transform: translateY(100%); transition: transform var(--transition);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-price { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; }
.sticky-bar .btn { padding: 12px 28px; min-height: 46px; }
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* ---------- Sections ---------- */
.section-editorial { padding: 80px 0; }
.section-editorial.alt { background: #fff; }
.editorial-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .editorial-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.editorial-img { width: 100%; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.editorial-img img { width: 100%; height: 100%; object-fit: cover; }
.editorial-text h2 { margin-bottom: 20px; }
.editorial-text p { font-size: 1.05rem; color: var(--muted); line-height: 1.7; max-width: 480px; }

.full-bleed { position: relative; width: 100%; min-height: 500px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.full-bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.full-bleed-overlay { position: relative; z-index: 2; text-align: center; color: #fff; padding: 40px; max-width: 600px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.full-bleed-overlay h2 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.full-bleed-overlay p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }

/* Benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; text-align: center; }
.benefit-item h4 { font-size: 1rem; margin-bottom: 8px; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.benefit-item p { font-size: 0.9rem; color: var(--muted); }

/* Fragrance Showcase */
.fragrance-showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.frag-showcase-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; text-align: center; border: 1px solid var(--border); transition: all var(--transition); }
.frag-showcase-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.frag-showcase-img { width: 120px; height: 120px; margin: 0 auto 16px; border-radius: var(--radius); overflow: hidden; }
.frag-showcase-img img { width: 100%; height: 100%; object-fit: cover; }
.frag-showcase-name { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 6px; }
.frag-showcase-desc { font-size: 0.8rem; color: var(--muted); }

/* Details Accordion */
.details-section { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 1rem; font-weight: 600; text-align: left;
  font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.05em;
}
.accordion-head svg { transition: transform var(--transition); }
.accordion-item.open .accordion-head svg { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-body-inner { padding: 0 0 24px; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

/* Reviews */
.reviews-summary { text-align: center; margin-bottom: 40px; }
.reviews-score { font-family: var(--font-serif); font-size: 3rem; font-weight: 700; color: var(--text); }
.reviews-stars { color: var(--gold); font-size: 1.2rem; margin: 8px 0; }
.reviews-count { font-size: 0.9rem; color: var(--muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: var(--accent); }
.review-author { font-weight: 600; font-size: 0.9rem; }
.review-meta { font-size: 0.75rem; color: var(--muted); }
.review-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 8px; }
.review-text { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.review-badge { display: inline-block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 10px; padding: 3px 8px; border: 1px solid var(--border); border-radius: 20px; }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 18px 0; font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
.faq-a-inner { padding-bottom: 18px; }
.faq-item.open .faq-a { max-height: 300px; }

/* Trust Area */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.trust-item { padding: 24px 16px; }
.trust-icon { width: 32px; height: 32px; margin: 0 auto 12px; color: var(--accent); }
.trust-title { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.trust-desc { font-size: 0.8rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 60px 0 30px; font-size: 0.85rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h5 { color: #fff; font-family: var(--font-sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.payment-icons { display: flex; gap: 8px; justify-content: center; margin-top: 12px; opacity: 0.6; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease forwards; }

/* ---------- Checkout Modal ---------- */
.checkout-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
.checkout-modal[hidden] { display: none !important; }
.co-backdrop { position: absolute; inset: 0; background: rgba(44,40,37,0.5); backdrop-filter: blur(2px); }
.co-sheet {
  position: relative; z-index: 2; width: 100%; max-width: 500px; max-height: 90vh;
  background: #fff; border-radius: 16px 16px 0 0; overflow-y: auto;
  display: flex; flex-direction: column;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.co-header { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 3; }
.co-header-title { flex: 1; text-align: center; font-size: 1rem; font-weight: 600; }
.co-header-spacer { width: 40px; }
.co-body { padding: 20px; flex: 1; }
.sc-card { margin-bottom: 24px; }
.sc-form-fields { display: flex; flex-direction: column; gap: 12px; }
.sc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sc-input {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; font-family: var(--font-sans); transition: border-color var(--transition);
}
.sc-input:focus { outline: none; border-color: var(--accent); }
.sc-dashes { height: 1px; background-image: linear-gradient(to right, var(--border) 50%, transparent 50%); background-size: 12px 1px; margin: 8px 0 24px; }
.sc-shop-title, .sc-pay-title { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: var(--text); }
.co-sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; color: var(--muted); }
.co-sum-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.co-pay-opt {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  cursor: pointer; transition: all var(--transition); background: #fff;
}
.co-pay-opt.selected { border-color: var(--accent); background: var(--accent-light); }
.co-pay-info { display: flex; flex-direction: column; gap: 4px; }
.co-pay-title { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.pix-logo { width: 20px; height: 20px; }
.co-parcelas { font-size: 0.75rem; color: var(--muted); }
.co-radio { width: 18px; height: 18px; border: 2px solid var(--border-strong); border-radius: 50%; position: relative; }
.co-pay-opt.selected .co-radio { border-color: var(--accent); }
.co-pay-opt.selected .co-radio::after { content: ''; position: absolute; inset: 3px; background: var(--accent); border-radius: 50%; }
.co-footer { padding: 16px 20px; border-top: 1px solid var(--border); background: #fff; position: sticky; bottom: 0; }
.btn.is-busy { opacity: 0.7; cursor: wait; }

/* Pix Page & Success Page (Modal Context) */
.pix-page, .success-page {
  position: fixed; inset: 0; z-index: 210; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
}
.pix-page[hidden], .success-page[hidden] { display: none !important; }
.pix-glow { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(114,47,55,0.1) 0%, transparent 70%); pointer-events: none; }
.pix-header { position: absolute; top: 0; left: 0; right: 0; padding: 20px; text-align: center; }
.pix-header-title { font-weight: 600; font-size: 1rem; }
.pix-body { position: relative; z-index: 2; max-width: 400px; width: 100%; }
.pix-status-text h2 { font-size: 1.5rem; margin-bottom: 8px; }
.pix-amount { font-family: var(--font-serif); font-size: 2.5rem; color: var(--accent); display: block; margin-bottom: 24px; }
.pix-expire { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; font-size: 0.9rem; color: var(--muted); }
.pix-promo-left { margin: 0 0 16px; padding: 16px 14px; border-radius: 16px; background: #fe2c55; color: #fff; text-align: center; }
.pix-promo-kicker { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.pix-promo-time { display: block; margin: 4px 0; font-size: 42px; line-height: 1; font-weight: 800; }
.pix-promo-copy { display: block; font-size: 14px; font-weight: 650; line-height: 1.35; }
.pix-steps { margin: 16px 0 0; padding: 0; list-style: none; text-align: left; display: grid; gap: 8px; }
.pix-steps li { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #f0d5dc; font-size: 14px; line-height: 1.4; color: #161823; }
.pix-timer b { font-weight: 700; color: var(--text); }
.pix-deadline { font-size: 0.8rem; color: var(--muted); margin-bottom: 32px; }
.pix-code-box { background: var(--bg); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 24px; }
.pix-code { width: 100%; background: transparent; border: none; resize: none; text-align: center; font-family: monospace; font-size: 0.9rem; color: var(--text); margin-bottom: 16px; }
.pix-copy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--accent); color: #fff; border-radius: var(--radius); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: background var(--transition); }
.pix-copy-btn:hover { background: var(--accent-dark); }
.suc-head { margin-bottom: 32px; }
.suc-check { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: var(--green); color: #fff; border-radius: 50%; font-size: 2rem; margin-bottom: 16px; }
.suc-card { background: var(--bg); padding: 24px; border-radius: var(--radius-lg); margin-bottom: 24px; width: 100%; max-width: 400px; }
.suc-card-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }

@media (min-width: 900px) {
  .checkout-modal { align-items: center; }
  .co-sheet { border-radius: 16px; max-height: 80vh; }
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');
/* ============ AVISO DE ENDEREÇO AO ENTRAR NO CHECKOUT ============ */
.addr-prompt-overlay {
  position: absolute;
  inset: 0;
  z-index: 130;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 22px;
}
.addr-prompt-overlay[hidden] { display: none !important; }
.addr-prompt {
  width: 100%;
  max-width: 286px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  animation: exit-pop 0.2s ease;
}
.addr-prompt-title {
  margin: 22px 22px 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #161823;
}
.addr-prompt-text {
  margin: 0 20px 20px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #8a8b91;
}
.addr-prompt-actions {
  display: flex;
  border-top: 1px solid #ececee;
}
.addr-prompt-actions button {
  flex: 1;
  height: 46px;
  font-size: 16px;
  color: #161823;
  background: #fff;
}
.addr-prompt-actions button + button {
  border-left: 1px solid #ececee;
  font-weight: 700;
}
.pix-promo-left {
  margin: 14px 0 4px;
  padding: 16px 14px 18px;
  border-radius: 16px;
  background: #fe2c55;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 28px rgba(254, 44, 85, 0.38);
  animation: pixPromoPulse 1.15s ease-in-out infinite;
}
.pix-promo-kicker {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pix-promo-time {
  display: block;
  margin: 4px 0 6px;
  font-size: 46px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.pix-promo-copy {
  display: block;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.35;
}
.pix-promo-left.is-over {
  animation: none;
  background: #161823;
}
.pix-promo-left.is-over .pix-promo-copy {
  font-weight: 700;
}
@keyframes pixPromoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); box-shadow: 0 14px 34px rgba(254, 44, 85, 0.55); }
}
.pix-steps {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pixstep;
  display: grid;
  gap: 8px;
}
.pix-steps li {
  position: relative;
  margin: 0;
  padding: 12px 12px 12px 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f0d5dc;
  font-size: 14px;
  line-height: 1.45;
  color: #161823;
}
.pix-steps li::before {
  counter-increment: pixstep;
  content: counter(pixstep);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fe2c55;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.pix-steps b { font-weight: 700; }

/* ==========================================================================
   PHEBO PREMIUM — Mobile-first refinements + desktop polish
   Objetivo: vitrine legivel no celular (alvos de toque, kit grid 2x2, sticky bar
   compacta) e composicao mais airy no PC (grid 58/42, thumbs maiores, spacing).
   ========================================================================== */

/* ---------- Base mobile tweaks ---------- */
.container { padding: 0 20px; }
.pdp-hero { padding: 24px 20px 48px; }
.pdp-grid > * { min-width: 0; }
.section-editorial { padding: 56px 0; }
.full-bleed { min-height: 340px; }
.micro-trust { flex-wrap: wrap; gap: 8px 16px; }

body { padding-bottom: 0; }

/* hero: titulo e preco legivel no celular */
.pdp-title { font-size: 1.9rem; }
.price-current { font-size: 2.1rem; }
.price-row { align-items: center; flex-wrap: wrap; gap: 10px; }

/* ---------- Kit selector: 2x2 no celular, 4 colunas no PC ---------- */
.kit-options {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.kit-opt {
  padding: 14px 10px;
  text-align: center;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.kit-opt-name { font-size: 0.85rem; }
.kit-opt-price { font-size: 0.82rem; color: var(--text); font-weight: 600; }
.kit-opt.selected .kit-opt-price { color: var(--accent); }

/* ---------- Fragrance cards no celular ---------- */
.frag-card { flex: 0 0 88px; padding: 6px; }
.frag-name { font-size: 0.68rem; }
.frag-img { width: 56px; height: 56px; }

/* ---------- CTA mobile ---------- */
.cta-area { margin-top: 24px; }
.btn-block { min-height: 54px; }
.btn-primary { padding: 16px 32px; font-size: 0.92rem; }

/* ---------- Sticky bar:nao sobrepoe o conteudo e fica compacta ---------- */
.sticky-bar {
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  align-items: center;
  gap: 12px;
}
.sticky-price { font-size: 1.15rem; }
.sticky-bar .btn { padding: 12px 20px; min-height: 46px; font-size: 0.82rem; letter-spacing: 0.06em; }

/* ---------- Footer / sections no celular ---------- */
.site-footer { padding: 44px 0 24px; }
.footer-grid { gap: 28px; }
.reviews-grid { grid-template-columns: 1fr; }
.trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fragrance-showcase { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.frag-showcase-card { padding: 18px; }
.frag-showcase-img { width: 90px; height: 90px; }
.frag-showcase-desc { font-size: 0.75rem; }

/* ---------- PC: composicao mais airy ---------- */
@media (min-width: 900px) {
  .container { padding: 0 32px; }
  .pdp-hero { padding: 56px 32px 80px; }
  .pdp-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; }
  .pdp-title { font-size: 2.7rem; }
  .price-current { font-size: 2.6rem; }
  .kit-options { grid-template-columns: repeat(4, 1fr); }
  .kit-opt { padding: 16px 12px; min-height: 80px; }
  .gallery-main { aspect-ratio: 1/1; }
  .gallery-thumbs { gap: 10px; }
  .thumb { flex: 0 0 88px; height: 88px; }
  .section-editorial { padding: 96px 0; }
  .section-editorial.alt { background: #fff; }
  .editorial-grid { gap: 96px; }
  .editorial-text p { max-width: 520px; }
  .full-bleed { min-height: 620px; }
  .full-bleed-overlay { max-width: 680px; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .fragrance-showcase { grid-template-columns: repeat(4, 1fr); }
  .site-footer { padding: 80px 0 40px; }
  .cta-area { margin-top: 36px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 600px) and (max-width: 899px) {
  .kit-options { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid { grid-template-columns: 1fr; }
}

/* ---------- PC largo (1200+) ---------- */
@media (min-width: 1200px) {
  .pdp-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; }
  .pdp-title { font-size: 3rem; }
  .price-current { font-size: 2.8rem; }
}

/* ---------- Touch targets & a11y ---------- */
.icon-btn { min-width: 44px; min-height: 44px; }
.kit-opt, .frag-card, .thumb { cursor: pointer; }
body { -webkit-tap-highlight-color: transparent; }

@media (max-width: 480px) {
  .kit-options { grid-template-columns: repeat(2, 1fr); }
  .price-row { flex-wrap: wrap; }
  .price-save { font-size: 0.75rem; }
  .site-footer { padding: 40px 0 20px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) { body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } .pdp-title { font-size: clamp(1.65rem, 6vw, 2.1rem); } .full-bleed-overlay { padding: 28px 20px; } }
@media (min-width: 900px) and (max-width: 1199px) { .pdp-grid { gap: 32px; } .kit-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 899px) { .nav-desktop.mobile-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: #fff; padding: 16px 20px; border-bottom: 1px solid var(--border); gap: 0; } .nav-desktop.mobile-open a { padding: 12px 0; } .site-header { overflow: visible; } .gallery-main { touch-action: pan-y; } }

@media (max-width: 899px) {
  .header-inner { height: 64px; padding: 0 12px; gap: 8px; }
  .logo { font-size: 1.25rem; white-space: nowrap; }
  #btn-leave-store { display: none; }
  .header-actions { gap: 0; }
  .pdp-grid { gap: 24px; }
  .gallery-main { height: min(76vw, 300px); aspect-ratio: auto; }
  .gallery-main img { width: 100%; height: 100%; object-fit: contain; }
  .thumb { flex: 0 0 64px; height: 64px; }
  .pdp-subtitle { margin-bottom: 16px; }
  .breadcrumb { margin-bottom: 12px; }
}

.toast:not([hidden]) { position: fixed; left: 16px; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); max-width: 480px; margin: 0 auto; z-index: 400; background: #262320; color: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow-md); font-size: 0.9rem; }

.generate-pix-btn { transition: background 0.2s, color 0.2s; }
