/* Dinoart Loja - Design System & Visual Styles (Prisma + Forja Unified) */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #fffaf5;
  --surface: #ffffff;
  --ink: #1f1635;
  --muted: #645a7a;
  --primary: #f97316;
  --primary-d: #ea580c;
  --pink: #ec4899;
  --accent: #7c3aed;
  --mint: #10b981;
  --mint-d: #059669;
  --gold: #facc15;
  --line: #f1e6dc;
  --radius: 20px;
  --radius-s: 12px;
  --shadow: 0 8px 28px rgba(31, 22, 53, 0.07);
  --shadow-l: 0 20px 50px rgba(31, 22, 53, 0.16);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-h: 'Baloo 2', 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; margin: 0 0 0.4em; }

/* Top Promo Bar */
.promo-bar {
  background: linear-gradient(90deg, #1f1635, #4c1d95, #1f1635);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}
.promo-bar strong { color: var(--gold); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.65rem;
  color: var(--primary-d);
}
.logo-badge, .logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--primary));
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.32);
  flex-shrink: 0;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-h);
  font-size: 1.35rem;
  color: var(--primary-d);
  margin-bottom: 8px;
}
.logo-img--footer {
  width: 48px;
  height: 48px;
}
.logo span { color: var(--ink); }
.nav { display: flex; gap: 24px; font-weight: 600; font-size: 0.95rem; }
.nav a { color: var(--muted); transition: color 0.15s; }
.nav a:hover { color: var(--primary-d); }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(31, 22, 53, 0.2);
  transition: transform 0.15s, background 0.2s;
}
.cart-btn:hover { background: var(--accent); transform: translateY(-1px); }
.cart-count {
  min-width: 24px;
  height: 24px;
  border-radius: 99px;
  background: var(--primary);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: #fff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.32);
}
.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.42);
}
.btn--primary:disabled {
  background: var(--mint);
  box-shadow: none;
  cursor: default;
}
.btn--mint {
  background: linear-gradient(135deg, var(--mint), var(--mint-d));
  color: #fff;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}
.btn--ghost {
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-d); }
.btn--block { width: 100%; }

/* Hero */
.hero {
  padding: 48px 20px 36px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 15%, rgba(250, 204, 21, 0.28) 0%, transparent 42%),
    radial-gradient(circle at 88% 20%, rgba(236, 72, 153, 0.18) 0%, transparent 42%),
    linear-gradient(180deg, #fff5eb 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 880px; margin: 0 auto; }
.hero__eyebrow {
  display: inline-block;
  background: #fff;
  border: 1.5px solid #fed7aa;
  color: var(--primary-d);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  color: var(--ink);
  margin-bottom: 12px;
}
.hero h1 mark {
  background: linear-gradient(120deg, #fef08a 0%, #fde047 100%);
  color: var(--primary-d);
  padding: 0 10px;
  border-radius: 12px;
}
.hero__sub {
  max-width: 650px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
}
.hero__badges {
  list-style: none;
  padding: 0;
  margin: 0 auto 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero__badges li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__badges li::before { content: "✅"; }
.hero__note {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 5px 16px;
  border-radius: 99px;
}

/* Catalog Section */
.catalog {
  max-width: 1220px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.catalog-header { text-align: center; margin-bottom: 20px; }
.catalog-header h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); margin-bottom: 6px; }
.combo-banner {
  max-width: 760px;
  margin: 0 auto 24px;
  background: linear-gradient(90deg, #fef3c7, #fce7f3, #ede9fe);
  border: 2px dashed var(--primary);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Search & Filters Toolbar */
.toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}
.search {
  position: relative;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}
.search::before {
  content: "🔍";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  pointer-events: none;
}
.search input {
  width: 100%;
  padding: 15px 20px 15px 48px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}
.filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.chip {
  padding: 8px 16px;
  border-radius: 99px;
  background: #fff;
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--muted);
  transition: all 0.15s;
}
.chip:hover { border-color: var(--primary); color: var(--primary-d); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 4px 12px rgba(31, 22, 53, 0.2);
}
.results-info {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Product Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
}
.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  background: rgba(31, 22, 53, 0.88);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}
.card__discount {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  background: var(--mint);
  color: #fff;
  font-weight: 800;
  font-size: 0.74rem;
  padding: 4px 9px;
  border-radius: 99px;
}

/* Layered 3D Stationery Mockup Preview */
.card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c1, #ff6b9d), var(--c2, #7c5cff));
  display: grid;
  place-items: center;
}
.mockup-stage {
  position: relative;
  width: 82%;
  height: 76%;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: transform 0.25s ease;
}
.card:hover .mockup-stage { transform: scale(1.04) rotate(-1deg); }
.mockup-emojis {
  font-size: 2.7rem;
  line-height: 1;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.16));
  margin-bottom: 6px;
}
.mockup-type {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--ink);
  padding: 3px 10px;
  border-radius: 99px;
}
.mockup-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 4px;
}

/* Format Seals STUDIO / PDF / PNG */
.seals {
  position: absolute;
  bottom: 10px;
  left: 12px;
  z-index: 6;
  display: flex;
  gap: 5px;
}
.seal {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 6px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}
.seal--STUDIO { background: #7c3aed; }
.seal--PDF { background: #e11d48; }
.seal--PNG { background: #0284c7; }
.seal--DXF { background: #d97706; }
.seal--SVG { background: #059669; }

/* Kit Product Cover Image & Up to 3 Photos Switcher */
.card__media--has-photo {
  background: #f8f5f2;
}
.card__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.card:hover .card__cover-img {
  transform: scale(1.04);
}
.card__thumbs {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 8;
  display: flex;
  gap: 5px;
  background: rgba(31, 22, 53, 0.72);
  padding: 4px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}
.card__thumb {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #fff;
  opacity: 0.8;
  transition: opacity 0.15s, border-color 0.15s, transform 0.15s;
}
.card__thumb:hover,
.card__thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
  transform: scale(1.06);
}
.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Modal Gallery (Up to 3 Photos) */
.pm-gallery {
  margin-bottom: 16px;
}
.pm-gallery__stage {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f8f5f2;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  display: grid;
  place-items: center;
}
.pm-gallery__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.pm-gallery__thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.pm-gallery__thumb {
  width: 68px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid var(--line);
  padding: 0;
  background: #fff;
  opacity: 0.75;
  transition: all 0.15s;
}
.pm-gallery__thumb:hover,
.pm-gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
}
.pm-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card__tags {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card__body h3 {
  font-size: 1.12rem;
  margin: 0;
  color: var(--ink);
}
.card__includes-preview {
  margin: 0;
  font-size: 0.81rem;
  color: var(--muted);
}
.card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
}
.price { margin: 0; white-space: nowrap; }
.price s {
  font-size: 0.82rem;
  color: var(--muted);
  margin-right: 4px;
}
.price strong {
  font-family: var(--font-h);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-d);
}
.drive-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mint-d);
  background: #d1fae5;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
.card__actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  margin-top: 6px;
}
.card__actions .btn { padding: 10px 14px; font-size: 0.86rem; }

/* Upsell Dinopack Banner */
.upsell {
  max-width: 1180px;
  margin: 10px auto 56px;
  padding: 40px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #1f1635 0%, #4c1d95 60%, #7c3aed 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-l);
  position: relative;
  overflow: hidden;
}
.upsell .badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.upsell h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; }
.upsell p { max-width: 680px; margin: 0 auto 20px; color: #e9d5ff; font-size: 1.05rem; }
.upsell-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}
.upsell-perks li {
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* How It Works Steps */
.steps {
  max-width: 1180px;
  margin: 0 auto 56px;
  padding: 0 20px;
  text-align: center;
}
.steps h2, .testimonials h2, .faq h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  text-align: center;
  margin-bottom: 28px;
}
.steps__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.step__n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: #fff;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.3rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
}
.step p { color: var(--muted); margin: 0; font-size: 0.93rem; }

/* Testimonials */
.testimonials {
  max-width: 1180px;
  margin: 0 auto 56px;
  padding: 0 20px;
}
.testimonials__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.testimonial {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.stars { color: #f59e0b; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 8px; }
.testimonial blockquote { margin: 0 0 12px; font-size: 0.94rem; color: var(--ink); }
.testimonial figcaption { font-size: 0.85rem; font-weight: 700; color: var(--muted); }

/* FAQ */
.faq {
  max-width: 780px;
  margin: 0 auto 64px;
  padding: 0 20px;
}
#faq-list { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 0.94rem; }

/* Footer & Floating WhatsApp */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  text-align: center;
  padding: 36px 20px;
  font-size: 0.9rem;
}
.site-footer a { color: var(--gold); font-weight: 700; }
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wa-float::before { content: "💬"; }

/* Modal & Cart Drawer System */
.modal, .drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer { justify-content: flex-end; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 28, 0.6);
  backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 24px;
  width: min(560px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--shadow-l);
}
.drawer__panel {
  position: relative;
  z-index: 2;
  background: #fff;
  width: min(440px, 100vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow-y: auto;
  box-shadow: var(--shadow-l);
}
.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.drawer__head h2 { margin: 0; font-size: 1.4rem; }
.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  font-size: 1.4rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
}
.modal__close:hover { background: var(--line); }

/* Cart Contents */
.cart-combo-box {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.cart-combo-box.is-unlocked {
  background: #ecfdf5;
  border-color: #6ee7b7;
}
.cart-hint {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
}
.combo-progress {
  height: 8px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
}
.combo-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--mint));
  transition: width 0.3s ease;
}
.cart-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.link-btn {
  color: #e11d48;
  font-size: 0.8rem;
  font-weight: 700;
}
.bump {
  background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
  border: 2px dashed var(--accent);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.bump label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.88rem;
}
.bump input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.totals {
  margin: 0 0 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.totals div {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}
.totals dd { margin: 0; font-weight: 700; }
.totals__final {
  font-size: 1.2rem !important;
  font-weight: 800;
  color: var(--primary-d);
}

/* Checkout Form & PIX Step */
#step-checkout { display: grid; gap: 12px; }
#step-checkout label {
  display: grid;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 700;
}
#step-checkout input, #step-pix textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
}
.form-error {
  color: #e11d48;
  background: #ffe4e6;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
#step-pix, #step-done {
  text-align: center;
  display: grid;
  gap: 12px;
}
#pix-qr {
  margin: 0 auto;
  border: 2px dashed var(--mint);
  border-radius: 16px;
  padding: 8px;
  background: #fff;
}
.pix-status {
  font-weight: 700;
  color: var(--primary-d);
  background: #ffedd5;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 0.88rem;
}
.downloads {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: grid;
  gap: 10px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 30px);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-l);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 150;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 640px) {
  .nav { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 12px; }
  .card__body h3 { font-size: 0.96rem; }
  .card__actions { grid-template-columns: 1fr; }
}

/* ===== Selos de confianca & gatilhos de conversao ===== */
.trust-badges{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.trust-badges li{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:10px 6px;font-size:.7rem;font-weight:700;line-height:1.25;color:var(--ink);background:linear-gradient(180deg,#f0fdf8,#e3fbf1);border:1px solid rgba(16,185,129,.28);border-radius:12px}
.trust-badges li span{font-size:1.25rem}
.privacy-note{margin:2px 0;padding:10px 12px;font-size:.78rem;color:var(--muted);background:#f6f3ff;border-left:4px solid var(--mint);border-radius:8px}
.social-proof{display:flex;align-items:center;gap:10px;padding:12px 14px;font-size:.82rem;background:linear-gradient(135deg,#fff7e0,#ffeaf1);border:1px solid #ffe1a8;border-radius:14px;box-shadow:0 4px 14px rgba(255,184,48,.18)}
.social-proof .stars{color:#f5a300;letter-spacing:1px;font-size:.95rem;white-space:nowrap}
.pix-timer-box{display:inline-flex;align-items:center;gap:8px;align-self:center;padding:8px 16px;border-radius:99px;font-size:.85rem;font-weight:600;color:#7a4b00;background:#fff3d6;border:1px solid #ffd27a}
.pix-timer-box strong{font-family:ui-monospace,Consolas,monospace;font-size:1.1rem;color:#c2410c;min-width:3.2ch}
.pix-timer-box.urgent{background:#ffe8e8;border-color:#ff9b9b;color:#9b1c1c;animation:pixPulse 1s ease-in-out infinite}
.pix-timer-box.urgent strong{color:#dc2626}
.pix-timer-box.expired{animation:none;opacity:.7}
@keyframes pixPulse{50%{transform:scale(1.05);box-shadow:0 0 0 6px rgba(220,38,38,.12)}}
.pix-steps-guide{list-style:none;margin:6px 0 0;padding:12px;display:grid;gap:8px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px}
.pix-steps-guide li{display:flex;align-items:center;gap:12px;font-size:.84rem}
.pix-steps-guide .n{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--mint),var(--mint-d));box-shadow:0 3px 8px rgba(16,185,129,.35)}
.pix-support-box{display:flex;align-items:center;gap:10px;padding:12px;text-align:left;background:#e3fbf1;border:1px solid rgba(16,185,129,.35);border-radius:14px}
.pix-support-box .shield{font-size:1.6rem}
.pix-support-box div{flex:1;display:grid;font-size:.82rem;line-height:1.3}
.pix-support-box small{color:var(--muted)}
.pix-support-box a{flex:none;padding:8px 14px;border-radius:99px;font-size:.8rem;font-weight:700;color:#fff;background:#25d366;box-shadow:0 4px 12px rgba(37,211,102,.4);transition:transform .15s}
.pix-support-box a:hover{transform:translateY(-2px)}
@media (max-width:380px){.trust-badges{grid-template-columns:1fr}.trust-badges li{flex-direction:row;justify-content:center}.pix-support-box{flex-wrap:wrap}}

/* ===== Mostrar todos / Voltar ao topo / Busca sticky ===== */
.show-all-wrap{display:flex;justify-content:center;margin:28px 0 8px}
.show-all-wrap[hidden]{display:none}
.btn--show-all{display:inline-flex;align-items:center;gap:10px;padding:15px 34px;border:0;border-radius:999px;cursor:pointer;font:inherit;font-weight:800;font-size:1rem;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-d,#ea580c));box-shadow:0 10px 26px rgba(249,115,22,.42);transition:transform .18s,box-shadow .2s}
.btn--show-all::after{content:"↓";font-size:1.1rem;transition:transform .2s}
.btn--show-all:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(249,115,22,.5)}
.btn--show-all:hover::after{transform:translateY(3px)}
.btn--show-all:active{transform:scale(.97)}
.btn--show-all:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

.back-to-top{position:fixed;right:20px;bottom:84px;z-index:44;display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border:0;border-radius:999px;cursor:pointer;font:inherit;font-weight:800;font-size:.85rem;color:#fff;background:var(--ink);box-shadow:0 8px 22px rgba(31,22,53,.35);transition:transform .18s,background .2s;animation:fadeInUp .3s}
.back-to-top[hidden]{display:none}
.back-to-top:hover{transform:translateY(-3px);background:var(--primary-d,#ea580c)}
@keyframes fadeInUp{from{opacity:0;transform:translateY(10px)}}

/* busca fixa: apenas a pilula de pesquisa flutua nitida abaixo do header (sem faixa desfocada) */
.toolbar{display:contents}
.search{position:sticky;top:76px;z-index:40;max-width:640px;margin:0 auto 16px;padding:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
.search input{display:block;width:100%;background:#ffffff;box-shadow:0 8px 24px rgba(31,22,53,.12)}
.filters{margin-bottom:22px}
@media (max-width:640px){
  .search{top:106px;margin:0 auto 12px}
  /* font-size 16px (1rem) evita auto-zoom forçado no iOS Safari */
  .search input{padding:12px 16px 12px 44px;font-size:1rem}
  .back-to-top{right:14px;bottom:78px;padding:10px 14px;min-height:44px}
}

/* ===== Acessibilidade (WCAG AA), Mobile UX & Pagina Individual de Produto ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 9999;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 800;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--gold);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Contraste aprimorado WCAG AA */
.card__discount {
  background: #047857;
}
.drive-pill {
  color: #065f46;
  background: #d1fae5;
}
.catalog-subtitle {
  color: var(--muted);
  margin: 0;
}
.card__title-link:hover {
  color: var(--primary-d);
  text-decoration: underline;
}

/* Alvos de toque (Touch Targets >= 44px) */
.modal__close {
  width: 44px;
  height: 44px;
}
.link-btn {
  min-width: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
}
.link-btn:hover {
  background: #ffe4e6;
}

/* Barra de Navegacao Rapida Mobile */
.mobile-nav {
  display: none;
}

/* Barra Inferior Fixa do Carrinho no Mobile */
.mobile-cart-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  background: rgba(31, 22, 53, 0.96);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(15, 10, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-cart-bar__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mobile-cart-bar__info strong {
  font-size: 0.92rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-cart-bar__info small {
  font-size: 0.76rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-cart-bar .btn {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 0.88rem;
  min-height: 44px;
}
@media (min-width: 769px) {
  .mobile-cart-bar { display: none !important; }
}
body.has-mobile-bar .wa-float {
  bottom: 84px;
}
body.has-mobile-bar .back-to-top {
  bottom: 140px;
}

/* Otimizacoes especificas para telas Mobile */
@media (max-width: 640px) {
  .promo-bar {
    font-size: 0.76rem;
    padding: 6px 10px;
  }
  .header-inner {
    height: 60px;
    padding: 0 12px;
    gap: 8px;
  }
  .logo {
    font-size: 1.3rem;
    gap: 8px;
  }
  .logo-img {
    width: 38px;
    height: 38px;
  }
  .cart-btn {
    padding: 9px 14px;
    min-height: 44px;
    font-size: 0.86rem;
    gap: 6px;
  }
  .mobile-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 12px;
    background: #fff;
    border-top: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav a {
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 99px;
    white-space: nowrap;
  }
  .hero {
    padding: 28px 14px 24px;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero__sub {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }
  .hero__cta .btn {
    width: 100%;
    min-height: 46px;
  }
  .catalog {
    padding: 24px 12px 88px;
  }
  /* Chips deslizantes horizontalmente no mobile para nao ocupar meia tela */
  .filters {
    align-items: stretch;
    margin-bottom: 14px;
  }
  .chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 2px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .card__thumb {
    width: 34px;
    height: 34px;
  }
  .card__actions .btn {
    min-height: 42px;
    font-size: 0.82rem;
    padding: 8px 10px;
  }
  .price strong {
    font-size: 1.3rem;
  }
  .drive-pill {
    font-size: 0.66rem;
    padding: 2px 6px;
  }
  /* Evita zoom automatico no iOS ao focar inputs no checkout */
  #step-checkout input,
  #step-pix textarea {
    font-size: 1rem;
    min-height: 46px;
  }
  .modal__panel {
    width: 100vw;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    margin-top: auto;
    padding: 20px 16px 28px;
  }
  .drawer__panel {
    padding: 16px;
  }
}

@media (max-width: 375px) {
  .cart-btn__label { display: none; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card__actions { grid-template-columns: auto 1fr; }
}

/* ===== Pagina Individual de Produto (PDP - SEO Google) ===== */
.pdp-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumb a {
  color: var(--primary-d);
  font-weight: 700;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.pdp-gallery__main {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f8f5f2;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 12px;
  display: grid;
  place-items: center;
}
.pdp-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}
.pdp-gallery__thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.pdp-thumb {
  width: 84px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 2.5px solid var(--line);
  padding: 0;
  background: #fff;
  opacity: 0.78;
  transition: all 0.15s;
}
.pdp-thumb:hover,
.pdp-thumb.is-active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pdp-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  background: #f3e8ff;
  padding: 4px 12px;
  border-radius: 99px;
}
.pdp-rating {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b45309;
}
.pdp-seals {
  display: inline-flex;
  gap: 5px;
}
.pdp-info-col h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 6px;
}
.pdp-subtitle {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.96rem;
}
.pdp-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.pdp-box-pill {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
}
.pdp-price-card {
  background: linear-gradient(135deg, #fffaf5, #fef3c7);
  border: 2px solid #fed7aa;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 20px;
  display: grid;
  gap: 14px;
}
.pdp-old-price {
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: line-through;
}
.pdp-price-val {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 2px 0 6px;
}
.pdp-price-val strong {
  font-family: var(--font-h);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--primary-d);
}
.pdp-combo-tip {
  display: block;
  font-size: 0.84rem;
  color: var(--ink);
}
.pdp-cta-stack {
  display: grid;
  gap: 10px;
}
.pdp-buy-btn {
  font-size: 1.05rem;
  padding: 14px 22px;
}
.pdp-includes h2,
.pdp-description h2 {
  font-size: 1.15rem;
  margin: 16px 0 8px;
}
.pdp-includes ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}
.pdp-description p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}
.pdp-related {
  margin-top: 48px;
}
.pdp-related h2 {
  text-align: center;
  margin-bottom: 24px;
}
@media (max-width: 860px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
