/* =====================================================================
   Original Perfumaria — camada visual da loja (carregada depois do app.css)
   Identidade da campanha: verde-garrafa, dourado e creme.
   ===================================================================== */

:root {
  --ink: 17 33 27;
  --muted: 98 110 102;
  --line: 229 223 208;
  --soft: 243 239 229;
  --canvas: 250 248 243;
  --card: 255 255 255;
  --accent: 6 55 42;
  --radius: 18px;

  --bottle: #06372a;
  --bottle-2: #0b4836;
  --bottle-deep: #031f17;
  --gold: #c9a24a;
  --gold-soft: #e7d4a0;
  --gold-ink: #8a6a1f;      /* dourado legível sobre fundo claro */
  --cream: #efe2b8;
  --promo: #b4232a;

  --tk-h: 36px;
  --hd-h: 64px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 1px 2px rgba(17, 33, 27, .05), 0 2px 8px -2px rgba(17, 33, 27, .06);
  --shadow-md: 0 2px 4px rgba(17, 33, 27, .04), 0 18px 40px -22px rgba(6, 55, 42, .35);
}
.dark {
  --ink: 238 233 220;
  --muted: 156 167 159;
  --line: 36 54 46;
  --soft: 21 36 30;
  --canvas: 8 18 14;
  --card: 14 27 22;
  --gold-ink: #d9b866;
  --promo: #f06a6a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-md: 0 18px 40px -22px rgba(0, 0, 0, .7);
}
@media (min-width: 768px) { :root { --hd-h: 72px; } }

::selection { background: var(--bottle); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html:has(body.page-home) { scroll-padding-top: calc(var(--tk-h) + 72px); }
body { text-rendering: optimizeLegibility; }

/* ---------- Tipografia de apoio ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: .55rem;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.kicker--promo { color: var(--promo); }
.kicker--light { color: var(--gold); }
.section-title { font-weight: 500; letter-spacing: -.015em; }
.section-sub { max-width: 60ch; }

/* ---------- Botões ---------- */
.btn { transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bottle); color: var(--cream); box-shadow: 0 10px 24px -12px rgba(6, 55, 42, .6); }
.btn-primary:hover { background: var(--bottle-2); }
.dark .btn-primary { background: var(--gold); color: #1d1606; box-shadow: none; }
.dark .btn-primary:hover { background: var(--gold-soft); }
.btn-gold { background: var(--gold); color: #1d1606; box-shadow: 0 10px 28px -12px rgba(201, 162, 74, .8); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-gold svg { transition: transform .25s var(--ease-out); }
.btn-gold:hover svg.lucide-arrow-right { transform: translateX(3px); }
.btn-outline { border-color: rgb(var(--line)); }
.btn-outline:hover { border-color: var(--bottle); color: var(--bottle); }
.dark .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-light:hover { background: var(--cream); }

/* =====================================================================
   LETREIRO (acompanha a rolagem: fica preso no topo, acima do cabeçalho)
   ===================================================================== */
.ticker {
  position: sticky; top: 0; z-index: 55;
  display: flex; align-items: center;
  height: var(--tk-h);
  background: var(--bottle-deep);
  color: var(--cream);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(201, 162, 74, .22);
}
.ticker__viewport {
  flex: 1; min-width: 0; height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.ticker__track { height: 100%; align-items: center; will-change: transform; }
.ticker:focus-within .ticker__track { animation-play-state: running; }
.ticker:hover .ticker__track,
.ticker:has(a:focus-visible) .ticker__track,
.ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__group { height: 100%; }
.tk-item { padding: 0 .9rem; height: 100%; border-radius: 0; gap: .5rem; color: rgba(239, 226, 184, .92); }
a.tk-item { transition: color .15s, background-color .15s; }
a.tk-item:hover { background: rgba(239, 226, 184, .07); color: #fff; }
.tk-item img { width: 22px; height: 22px; border: 1px solid rgba(201, 162, 74, .55); background: #fff; }
.tk-item svg { width: 14px; height: 14px; color: var(--gold); }
.tk-name { font-weight: 600; }
.tk-extra { opacity: .7; }
.tk-tag { letter-spacing: .02em; }
.tk-new { background: var(--gold); color: #1d1606; }
.tk-promo { background: #c8323a; color: #fff; }
.tk-feat { border: 1px solid rgba(201, 162, 74, .7); color: var(--gold); }
.tk-sep { color: var(--gold); opacity: .55; padding: 0 .15rem; font-size: 10px; }
.ticker__toggle {
  flex-shrink: 0; display: grid; place-items: center;
  width: var(--tk-h); height: var(--tk-h);
  color: var(--gold); border-left: 1px solid rgba(201, 162, 74, .2);
  transition: background-color .15s;
}
.ticker__toggle:hover { background: rgba(239, 226, 184, .08); }
.ticker__toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ticker__toggle .ticker__ico-play { fill: currentColor; stroke-width: 1.5; }
.ticker__ico-play, .ticker.is-paused .ticker__ico-pause { display: none; }
.ticker.is-paused .ticker__ico-play { display: block; }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation-play-state: paused; }
}
@media (max-width: 639px) {
  :root { --tk-h: 34px; }
  .ticker { font-size: 12px; }
  .tk-item { padding: 0 .7rem; }
}

/* =====================================================================
   CABEÇALHO
   ===================================================================== */
.site-header { background: rgb(var(--canvas) / .86); }
/* No início, só o letreiro acompanha a rolagem; o menu fica parado no topo da página. */
.page-home .site-header { position: relative; top: auto; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(6, 55, 42, .45); }
.site-header > .wrap { height: var(--hd-h); }

.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.brand-logo__img { display: block; height: 34px; width: auto; }
@media (min-width: 768px) { .site-header .brand-logo__img { height: 40px; } }
.brand-logo__img--dark { display: none; }
.dark .brand-logo__img--light { display: none; }
.dark .brand-logo__img--dark { display: block; }
.drawer .brand-logo__img { height: 36px; }
/* Celulares pequenos (até 359px): logo e ícones menores; "Entrar" continua disponível no menu lateral */
@media (max-width: 359px) {
  .site-header > .wrap { gap: .35rem; }
  .site-header .brand-logo__img { height: 28px; }
  .site-header .icon-btn { width: 2.25rem; height: 2.25rem; }
  .site-header [data-account-link] { display: none; }
}

.nav-link { position: relative; color: rgb(var(--ink) / .78); padding: .5rem .8rem; border-radius: 999px; }
.nav-link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav-link:hover { background: transparent; color: rgb(var(--ink)); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link--accent, .nav-link--accent:hover { color: var(--promo); }
.nav-link--accent::after { background: var(--promo); }
.cart-badge { background: var(--gold); color: #1d1606; }
.dark .cart-badge { background: var(--gold); color: #1d1606; }
.menu-link svg, .dark .menu-link svg { color: var(--gold-ink); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { background: var(--bottle-deep); min-height: min(calc(100svh - var(--tk-h) - var(--hd-h)), 780px); }
.hero__title { margin-top: 0; }
.hero__shade {
  background:
    linear-gradient(100deg, rgba(3, 31, 23, .95) 0%, rgba(3, 31, 23, .78) 42%, rgba(3, 31, 23, .25) 100%),
    radial-gradient(55% 70% at 88% 18%, rgba(201, 162, 74, .2), transparent 70%);
}
.hero::after { /* fio dourado na base */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 74, .6), transparent);
}
.hero__grid { padding-top: 3.5rem; padding-bottom: 5.5rem; }
@media (max-width: 639px) {
  .hero { min-height: 0; }
  .hero__grid { min-height: 0; padding-top: 2.75rem; padding-bottom: 4.75rem; }
  .hero__shade { background: linear-gradient(180deg, rgba(3, 31, 23, .72) 0%, rgba(3, 31, 23, .9) 55%, rgba(3, 31, 23, .96) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 640px) { .hero__grid { padding-top: 5rem; padding-bottom: 7rem; } }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; padding-top: 5.5rem; padding-bottom: 8rem; } }
.hero__live { background: rgba(201, 162, 74, .1); border-color: rgba(201, 162, 74, .35); color: var(--gold-soft); }
.hero__title { font-size: clamp(2.5rem, 6.2vw, 5.25rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; color: #fbf7ec; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero__lead { color: rgba(251, 247, 236, .78); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__actions .btn { height: 3.25rem; padding-inline: 1.6rem; }
.btn-ghost-light { border-color: rgba(239, 226, 184, .35); color: #fbf7ec; }
.btn-ghost-light:hover { background: rgba(239, 226, 184, .1); border-color: rgba(239, 226, 184, .6); }

.spec-card {
  max-width: 340px; border-radius: 24px; background: rgba(251, 247, 236, .06);
  border: 1px solid rgba(239, 226, 184, .18); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75);
}
.spec-card:hover { transform: translateY(-6px); }
.spec-card__img { position: relative; aspect-ratio: 1 / 1; background: #fff; }
.spec-card__img img { transition: transform .8s var(--ease-out); }
.spec-card:hover .spec-card__img img { transform: scale(1.04); }
.spec-card__kicker {
  position: absolute; left: .85rem; top: .85rem; z-index: 1;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; background: var(--bottle); color: var(--gold);
}
.spec-card__body { padding: 1.15rem 1.25rem 1.25rem; }
.spec-card__brand { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.spec-card__name { font-size: 1.3rem; line-height: 1.2; color: #fbf7ec; }
.spec-card__notes span { background: rgba(239, 226, 184, .1); color: rgba(251, 247, 236, .85); }
.spec-card__foot { border-color: rgba(239, 226, 184, .15); }
.spec-card__foot s { display: block; font-size: 12px; color: rgba(251, 247, 236, .5); }
.spec-card__foot strong { font-size: 1.25rem; color: #fbf7ec; }
.spec-card__rating { display: inline-flex; align-items: center; gap: .3rem; font-size: 12px; color: rgba(251, 247, 236, .7); }

/* ---------- Faixa de confiança (sobrepõe a base do hero) ---------- */
.trust { position: relative; z-index: 2; margin-top: -3rem; }
.trust__grid { display: grid; gap: .75rem; }
@media (max-width: 1023px) {
  .trust { margin-top: -2.25rem; }
  .trust__grid {
    grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-bottom: .75rem; scroll-padding-inline: 1rem;
  }
  .trust__grid::-webkit-scrollbar { display: none; }
  .trust-item { scroll-snap-align: start; padding: 1rem; }
}
@media (min-width: 640px) and (max-width: 1023px) { .trust__grid { grid-auto-columns: 46%; } }
@media (min-width: 1024px) { .trust__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.trust-item {
  padding: 1.1rem 1.25rem; gap: 1rem; border-radius: var(--radius);
  background: rgb(var(--card)); border: 1px solid rgb(var(--line)); box-shadow: var(--shadow-md);
}
@media (min-width: 640px) { .trust-item, .trust-item:first-child { padding: 1.25rem 1.4rem; } }
/* Seletor reforçado: o app.css tem ".trust-item span { display: block }", que deslocava o ícone. */
.trust-item .trust-item__ico {
  flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 14px;
  background: rgba(201, 162, 74, .14); color: var(--gold-ink); font-size: 0; line-height: 0;
}
.trust-item .trust-item__ico svg { display: block; width: 22px; height: 22px; stroke-width: 1.6; }
.trust-item strong { font-size: .9rem; }
.trust-item span:not(.trust-item__ico) { margin-top: 2px; }

/* ---------- Categorias ---------- */
.cats { padding-top: 3.5rem; }
.cats__row {
  display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: -1rem; padding: .25rem 1rem .75rem; scroll-padding-inline: 1rem;
}
.cats__row::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .cats__row { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; } }
.cat-tile {
  flex-shrink: 0; scroll-snap-align: start; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: .8rem; align-items: center; min-width: 190px; padding: .85rem 1.1rem .85rem .85rem;
  border-radius: 16px; background: rgb(var(--card)); border: 1px solid rgb(var(--line));
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ease-out);
}
.cat-tile:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-tile__ico {
  grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--bottle); color: var(--gold);
}
.cat-tile__ico svg { width: 20px; height: 20px; stroke-width: 1.6; }
.cat-tile__name { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.cat-tile__count { font-size: 12px; color: rgb(var(--muted)); }

/* ---------- Prateleiras ---------- */
.shelf--promo { background: linear-gradient(180deg, rgb(var(--soft)) 0%, rgb(var(--canvas)) 100%); margin-top: 3.5rem; }
.shelf__head { margin-bottom: 1.75rem; }
.shelf__nav .icon-btn { width: 2.75rem; height: 2.75rem; border-color: rgb(var(--line)); background: rgb(var(--card)); }
.shelf__nav .icon-btn:hover { border-color: var(--bottle); background: var(--bottle); color: var(--cream); }
.dark .shelf__nav .icon-btn:hover { border-color: var(--gold); background: var(--gold); color: #1d1606; }

/* =====================================================================
   CARD DE PRODUTO (loja inteira)
   ===================================================================== */
.pc { border-color: rgb(var(--line) / .8); border-radius: var(--radius); transition: border-color .25s, box-shadow .35s, transform .35s var(--ease-out); }
.pc:hover { border-color: rgba(201, 162, 74, .55); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pc-media { background: #fff; }
.dark .pc-media { background: #f3efe4; }
.pc-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -1px 0 rgb(var(--line) / .7); pointer-events: none; }
.pc-badge { left: .7rem; top: .7rem; font-size: 10.5px; letter-spacing: .03em; padding: .32rem .62rem; }
.pc-badge--promo { background: var(--promo); color: #fff; }
.dark .pc-badge--promo { background: #c8323a; }
.pc-badge--new { background: var(--bottle); color: var(--gold); box-shadow: none; }
.pc-badge--feat { background: var(--gold); color: #1d1606; }
.pc-add { right: .7rem; top: auto; bottom: .7rem; width: 2.5rem; height: 2.5rem; background: var(--bottle); color: var(--cream); box-shadow: 0 8px 18px -8px rgba(6, 55, 42, .7); }
.pc-add:hover { background: var(--gold); color: #1d1606; }
.pc-add.is-added { background: var(--gold); color: #1d1606; }
.pc-add { z-index: 3; }
.pc-media { z-index: 1; }
.pc-body { gap: 0; }
.pc-brand { color: var(--gold-ink); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dark .pc-brand { color: var(--gold-ink); }
.pc-name { font-weight: 500; }
.pc-name a { transition: color .15s; }
.pc:hover .pc-name a { color: var(--bottle); }
.dark .pc:hover .pc-name a { color: var(--gold); }
.pc-price--promo { color: var(--promo); }
.pc-old { text-decoration: line-through; }

/* =====================================================================
   CATÁLOGO
   ===================================================================== */
.catalog { border-top: 0; padding-top: 2.5rem; }
@media (min-width: 640px) { .catalog { padding-top: 3rem; } }
.shelf + .catalog, .shelf--promo + .catalog { padding-top: 1rem; }
.chips {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  padding-right: 24px;
}
.catalog__head { align-items: flex-end; }
.filters {
  top: var(--hd-h); border-radius: 0; transition: box-shadow .2s;
  background: rgb(var(--canvas) / .9);
}
.page-home .filters { top: var(--tk-h); }
@media (min-width: 640px) { .filters { border-radius: 0 0 18px 18px; } }
.field-search input, .select-wrap select { height: 2.85rem; border-color: rgb(var(--line)); }
.field-search input:focus, .select-wrap select:focus { border-color: var(--gold); --tw-ring-color: rgba(201, 162, 74, .2); }
.chip { height: 2.35rem; border-color: rgb(var(--line)); font-weight: 600; color: rgb(var(--ink) / .75); }
.chip:hover { border-color: var(--gold); color: rgb(var(--ink)); }
.chip.is-active { background: var(--bottle); border-color: var(--bottle); color: var(--cream); }
.dark .chip.is-active { background: var(--gold); border-color: var(--gold); color: #1d1606; }
.product-grid { row-gap: 1.25rem; }
@media (min-width: 640px) { .product-grid { gap: 1.5rem 1.25rem; } }
.empty-state > svg { color: var(--gold); }

/* ---------- Vídeos e chamada final ---------- */
.video-review { border-radius: var(--radius); }
.video-review a { color: var(--gold-ink); }
.cta-band {
  position: relative; overflow: hidden; padding-block: 4.5rem;
  background: radial-gradient(60% 120% at 100% 0, rgba(201, 162, 74, .18), transparent 60%), var(--bottle);
}
.cta-band__mark { position: absolute; right: -40px; bottom: -70px; width: 260px; height: auto; opacity: .1; pointer-events: none; }
@media (min-width: 768px) { .cta-band__mark { right: 6%; bottom: -90px; width: 320px; } }
.cta-band__inner { position: relative; }
.cta-band__title { font-family: Fraunces, Georgia, serif; font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.1; font-weight: 400; color: #fbf7ec; }
.cta-band__text { margin-top: .75rem; max-width: 36rem; color: rgba(251, 247, 236, .75); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--bottle-deep); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 162, 74, .55), transparent); }
.site-footer .brand-logo__img { height: 46px; }
.site-footer h3 { color: var(--gold); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.site-footer .text-mint { color: var(--gold-soft); }
.footer-link:hover { color: var(--cream); }

/* =====================================================================
   PÁGINA DE PRODUTO
   ===================================================================== */
.breadcrumb { margin-bottom: 1.75rem; }
.breadcrumb a { transition: color .15s; }
.pdp { gap: 1.75rem; }
/* Tablet em diante: duas colunas. A foto tem largura máxima e nunca passa da altura da tela. */
@media (min-width: 768px) {
  .pdp { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.5rem; align-items: start; }
  .pdp__gallery { position: sticky; top: calc(var(--hd-h) + 1.25rem); }
}
/* PC: a coluna da foto tem exatamente a largura da foto (cabe na altura da janela) e o conjunto fica centralizado */
@media (min-width: 1024px) {
  .pdp { --pdp-photo: max(300px, min(520px, calc((100svh - var(--hd-h) - 9rem) * .8)));
         grid-template-columns: var(--pdp-photo) minmax(0, 600px); gap: 4rem; justify-content: center; }
  .pdp .pdp__image { width: 100%; min-width: 0; }
}
@media (min-width: 1280px) { .pdp { gap: 5rem; } }
.pdp__gallery { top: calc(var(--hd-h) + 1.25rem); }
.pdp__image {
  border-radius: 24px; background: #fff; border-color: rgb(var(--line)); box-shadow: var(--shadow-sm);
  width: 100%; max-width: 520px; margin-inline: auto;
}
@media (min-width: 768px) {
  /* altura = largura × 1,25 (foto 4:5); limita a largura para a foto caber na altura da janela */
  .pdp__image { width: min(100%, calc((100svh - var(--hd-h) - 9rem) * .8)); min-width: 260px; }
}
@media (max-width: 639px) { .pdp__image { border-radius: 20px; } }
.dark .pdp__image { background: #f3efe4; }
.pdp__badges .pc-badge { box-shadow: var(--shadow-sm); }
.pdp__thumbs { display: none; }
.pdp__assure {
  display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .9rem;
  font-size: 12.5px; color: rgb(var(--muted));
}
.pdp__assure svg { width: 16px; height: 16px; color: var(--gold-ink); }

.pdp__info { padding-top: .25rem; }
.pdp__brand { color: var(--gold-ink); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.dark .pdp__brand { color: var(--gold-ink); }
.pdp__title { font-weight: 400; letter-spacing: -.02em; line-height: 1.06; margin-top: .5rem; }
@media (min-width: 768px) { .pdp__title { font-size: clamp(2.2rem, 3.4vw, 3rem); } }
.pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: .9rem; font-size: .875rem; color: rgb(var(--muted)); }
.pdp__meta a { display: inline-flex; align-items: center; gap: .4rem; transition: color .15s; }
.pdp__meta a:hover { color: rgb(var(--ink)); }
.pdp__cat { display: inline-flex; align-items: center; height: 1.75rem; padding: 0 .75rem; border-radius: 999px; background: rgb(var(--soft)); font-size: 12px; font-weight: 600; color: rgb(var(--ink) / .8); }

.pdp__pricebox {
  margin-top: 1.5rem; padding: 1.25rem 1.35rem; border-radius: 20px;
  background: rgb(var(--card)); border: 1px solid rgb(var(--line)); box-shadow: var(--shadow-sm);
}
.pdp__price { margin-top: 0; align-items: baseline; }
.pdp__price strong { font-size: 2.1rem; line-height: 1.1; letter-spacing: -.03em; }
@media (min-width: 768px) { .pdp__price strong { font-size: 2.5rem; } }
.pdp__price s { font-size: .95rem; }
.text-promo, .pdp__price .text-promo { color: var(--promo); }
.pdp__save {
  display: inline-flex; align-items: center; height: 1.6rem; padding: 0 .6rem; border-radius: 999px;
  background: rgba(180, 35, 42, .1); color: var(--promo); font-size: 12px; font-weight: 700;
}
.pdp__pay { margin-top: .35rem; font-size: .8rem; display: flex; align-items: center; gap: .4rem; }
.pdp__pay svg { width: 15px; height: 15px; color: var(--gold-ink); flex-shrink: 0; }
.pdp__stock { margin-top: 1rem; }
.pdp__stock:not(.is-low):not(.is-out) { color: #0f7a55; }
.dark .pdp__stock:not(.is-low):not(.is-out) { color: #6fd8ad; }
.pdp__stock.is-out { color: var(--promo); }

.pdp__buy { margin-top: 1.25rem; }
.pdp__buy .btn { height: 3.25rem; }
.pdp__buy .qty { height: 3.25rem; }
.pdp__buy .btn-outline { gap: .3rem; }
.pdp__buy .btn-outline svg { margin-right: .25rem; }
@media (max-width: 419px) {
  .pdp__add-long { display: none; }
  .pdp__buy .qty button { width: 2.4rem; }
  .pdp__buy .btn-outline { padding-inline: 1rem; }
}
.qty { border-color: rgb(var(--line)); }
.qty input { -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp__perks { display: grid; gap: 0; margin-top: 1.75rem; border-radius: 20px; overflow: hidden; }
.pdp__perks li { padding: .9rem 1.1rem; gap: .9rem; }
.pdp__perks svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(201, 162, 74, .14); color: var(--gold-ink); }
.dark .pdp__perks svg { color: var(--gold-ink); }

.pdp__section { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid rgb(var(--line)); }
.pdp__section h2 { font-size: 1.35rem; font-weight: 500; margin-bottom: .85rem; }
.note-chips span { background: rgba(201, 162, 74, .12); border-color: rgba(201, 162, 74, .35); color: rgb(var(--ink)); }
.dark .note-chips span { background: rgba(201, 162, 74, .12); border-color: rgba(201, 162, 74, .3); color: rgb(var(--ink)); }
.note-chips svg { color: var(--gold-ink); }
.pdp__ask {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 2rem; padding: .7rem 1rem;
  border-radius: 999px; border: 1px solid rgb(var(--line)); font-size: .875rem; font-weight: 600;
  transition: border-color .15s, background-color .15s;
}
.pdp__ask:hover { border-color: #25d366; background: rgba(37, 211, 102, .08); }
.pdp__ask svg { width: 18px; height: 18px; color: #1aa851; }

/* ---------- Avaliações ---------- */
.reviews { margin-top: 4.5rem; padding-top: 3.5rem; border-color: rgb(var(--line)); }
@media (min-width: 1024px) { .reviews { grid-template-columns: 340px 1fr; gap: 3.5rem; } }
.reviews__summary { align-self: start; }
@media (min-width: 1024px) { .reviews__summary { position: sticky; top: calc(var(--hd-h) + 1.5rem); } }
.reviews__score { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.reviews__avg { margin-top: 0; font-size: 3.5rem; font-weight: 400; }
.reviews__bars { margin-top: 1.25rem; display: grid; gap: .4rem; }
.reviews__bar { display: grid; grid-template-columns: 2.2rem 1fr 1.75rem; align-items: center; gap: .6rem; font-size: 12px; color: rgb(var(--muted)); }
.reviews__bar i { display: block; height: 6px; border-radius: 999px; background: rgb(var(--soft)); overflow: hidden; font-style: normal; }
.reviews__bar i b { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.reviews__bar span:last-child { text-align: right; }
.review { border-color: rgb(var(--line)); border-radius: var(--radius); }
.review header .stars { color: var(--gold); }
.avatar { background: rgba(201, 162, 74, .16); color: var(--gold-ink); }
.dark .avatar { background: rgba(201, 162, 74, .16); color: var(--gold-ink); }
.reviews__empty { padding: 1.5rem; border-radius: var(--radius); border: 1px dashed rgb(var(--line)); color: rgb(var(--muted)); font-size: .9rem; text-align: center; }

/* ---------- Barra de compra (celular) ---------- */
.buy-bar { gap: .75rem; box-shadow: 0 -12px 30px -20px rgba(6, 55, 42, .5); }
.buy-bar__img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #fff; border: 1px solid rgb(var(--line)); flex-shrink: 0; }
.buy-bar__info { flex: 1; min-width: 0; }
.buy-bar .btn { height: 2.85rem; padding-inline: 1.4rem; }
.buy-bar:not([hidden]) { animation: buybar-in .35s var(--ease-out); }
@keyframes buybar-in { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Visualização rápida ---------- */
.qv__media { background: #fff; }
.qv__quote { border-color: var(--gold); }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .pc, .pc:hover, .cat-tile:hover, .spec-card:hover { transform: none; }
  .buy-bar:not([hidden]) { animation: none; }
}

/* =====================================================================
   LOGIN — botão oficial do Google e atalho para contas antigas
   ===================================================================== */
.gsi-block { margin-bottom: 1.25rem; }
.gsi-slot { position: relative; display: flex; justify-content: center; min-height: 44px; transition: opacity .2s; }
.gsi-slot.is-busy { opacity: .5; pointer-events: none; }
.gsi-loading {
  display: flex; align-items: center; justify-content: center; width: 100%; max-width: 400px; height: 44px;
  border: 1px solid rgb(var(--line)); border-radius: 999px; font-size: 13px; color: rgb(var(--muted));
}
.gsi-legal { margin-top: .7rem; text-align: center; font-size: 11.5px; line-height: 1.5; color: rgb(var(--muted)); }
.gsi-block .divider { margin-top: 1.1rem; }
.auth__legacy {
  display: flex; align-items: center; justify-content: center; gap: .55rem; margin-top: 1.5rem;
  padding: .75rem 1rem; border-radius: 14px; background: rgb(var(--soft)); font-size: 13px; color: rgb(var(--muted)); text-align: center;
}
.auth__legacy svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold-ink); }

/* Botão do Google: o quadro do Google é "claro". Sem isto, no tema escuro o navegador pinta
   um fundo branco atrás do quadro inteiro (bordas brancas em volta do botão). */
.gsi-slot, .gsi-slot iframe { color-scheme: light; background: transparent !important; }

/* Preenchimento automático do navegador (Firefox/Chrome) com as cores do tema, sem o amarelo/oliva */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-text-fill-color: rgb(var(--ink));
  -webkit-box-shadow: 0 0 0 1000px rgb(var(--card)) inset;
  caret-color: rgb(var(--ink));
  transition: background-color 9999s ease-out 0s;
}
input:autofill { filter: none; box-shadow: 0 0 0 1000px rgb(var(--card)) inset; color: rgb(var(--ink)); }
