/* Página de cada modelo (/catalogo/<slug>/), no visual escuro do site.
   Usa os tokens, o cabeçalho e o rodapé de catalog.css. */
.pp-breadcrumb, .product-page main { width: var(--wrap); margin-inline: auto; }

/* Trilha */
.pp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px 0 0; color: var(--dim); font-size: 14px; font-weight: 600; }
.pp-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color .2s ease; }
.pp-breadcrumb a:hover { color: var(--accent); }
.pp-breadcrumb span[aria-current] { color: var(--text); }
.pp-breadcrumb svg { width: 16px; height: 16px; }

/* Topo: foto + informações */
.pp-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; padding: 24px 0 72px; }
.pp-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pp-stage { position: relative; isolation: isolate; display: grid; aspect-ratio: 1 / 1; place-items: center; overflow: hidden; border-radius: 32px; background: var(--stage); box-shadow: var(--led), 0 40px 90px rgba(0, 0, 0, .6); }
.pp-stage::before { position: absolute; inset: 0; z-index: -1; background: url("/assets/vll-solar-logo.jpg") center / 150px repeat; opacity: .03; content: ""; }
.pp-stage__image { width: 100%; height: 100%; padding: 26px; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(0, 0, 0, .6)); transition: opacity .22s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
.pp-stage__image.is-swapping { opacity: 0; transform: scale(.97); }
.pp-stage__stock { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 7px 12px; border-radius: 99px; background: rgba(255, 92, 72, .16); color: #ff9b8a; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.pp-info { display: flex; flex-direction: column; align-items: flex-start; padding-top: 6px; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-meta > * { padding: 7px 13px; border: 1px solid var(--line-strong); border-radius: 99px; background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pp-meta a { border-color: rgba(244, 124, 32, .5); color: var(--accent); transition: background .2s ease; }
.pp-meta a:hover { background: rgba(244, 124, 32, .12); }
.pp-info h1 { margin: 18px 0 0; font-family: var(--display); font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.pp-lead { max-width: 560px; margin: 16px 0 0; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.pp-stock { width: 100%; margin: 16px 0 0; padding: 12px 14px; border: 1px solid rgba(255, 92, 72, .35); border-radius: 14px; background: rgba(255, 92, 72, .1); color: #ffb3a6; font-size: 14px; }

.pp-colors { width: 100%; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.pp-colors__label { margin: 0 0 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.pp-colors__label strong { color: var(--text); font-size: 16px; }
.pp-colors__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-swatch { display: grid; width: 44px; height: 44px; place-items: center; padding: 4px; border: 2px solid transparent; border-radius: 50%; transition: border-color .2s ease, transform .2s ease; }
.pp-swatch:hover { transform: scale(1.08); }
.pp-swatch span { width: 100%; height: 100%; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: var(--swatch); }
.pp-swatch.is-selected { border-color: var(--accent); box-shadow: 0 0 16px rgba(244, 124, 32, .45); }

.pp-quick { display: grid; width: 100%; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 24px 0 0; }
.pp-quick div { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--card-2), var(--card)); }
.pp-quick dt { color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pp-quick dd { margin: 6px 0 0; color: var(--accent); font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }

.pp-buy { width: 100%; margin-top: 24px; padding: 22px; border-radius: 26px; background: radial-gradient(70% 120% at 100% 0%, rgba(244, 124, 32, .22), rgba(244, 124, 32, 0) 70%), linear-gradient(160deg, var(--card-2), var(--panel)); box-shadow: var(--led); }
.pp-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pp-price span { color: var(--muted); font-size: 14px; }
.pp-price strong { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.pp-price s { margin-right: 6px; color: var(--muted); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.pp-installments { margin: 6px 0 0; color: var(--muted); font-size: 14px; text-align: right; }
.pp-cta { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; padding: 0 22px; border-radius: 16px; background: linear-gradient(120deg, var(--accent), #ff9a3c); color: var(--night); font-size: 15.5px; font-weight: 800; box-shadow: 0 12px 30px rgba(244, 124, 32, .35); transition: box-shadow .2s ease, transform .2s ease; }
a.pp-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(244, 124, 32, .5); }
.pp-cta svg { width: 19px; height: 19px; }
.pp-cta svg:last-child { margin-left: auto; }
.pp-cta.is-disabled { border: 1px dashed var(--line-strong); background: transparent; color: var(--muted); box-shadow: none; }
.pp-sku { margin: 12px 0 0; color: var(--dim); font-size: 12.5px; line-height: 1.5; }

.pp-store { display: flex; width: 100%; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); transition: border-color .2s ease; }
.pp-store:hover { border-color: rgba(244, 124, 32, .55); }
.pp-store > span:nth-child(2) { display: grid; flex: 1; gap: 3px; }
.pp-store strong { font-size: 15px; }
.pp-store small { color: var(--muted); font-size: 13px; }
.pp-store > svg { width: 16px; height: 16px; color: var(--muted); }
.pp-store__icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; background: rgba(244, 124, 32, .12); color: var(--accent); }
.pp-store__icon svg { width: 20px; height: 20px; }

/* Seções */
.pp-section { padding: 72px 0; border-top: 1px solid var(--line); }
.pp-section__head { max-width: 760px; margin-bottom: 30px; }
.pp-section__head h2 { margin: 12px 0 0; font-family: var(--display); font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; }
.pp-section__head p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.pp-section__head--row { display: flex; max-width: none; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pp-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 14px; font-size: 14.5px; font-weight: 700; transition: border-color .2s ease, color .2s ease; }
.pp-link:hover { border-color: var(--accent); color: var(--accent); }

/* Ficha técnica */
.pp-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 10px; margin: 0; }
.pp-specs div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.pp-specs dt { color: var(--muted); font-size: 14.5px; }
.pp-specs dd { margin: 0; font-weight: 700; text-align: right; }
.pp-note { margin: 16px 0 0; color: var(--dim); font-size: 13px; }

/* Veja de perto (vídeo em pé) */
.pp-video { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: center; gap: 56px; }
.pp-video__frame { width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 32px; background: #000; box-shadow: var(--led), 0 40px 90px rgba(0, 0, 0, .6); }
.pp-video__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-video__items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pp-video__items li { display: grid; gap: 4px; padding: 16px 18px 16px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 18px; background: linear-gradient(180deg, var(--card-2), var(--card)); }
.pp-video__items strong { font-family: var(--display); font-size: 17px; font-weight: 700; }
.pp-video__items span { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Onde comprar */
.pp-local__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pp-local__card { display: grid; align-content: start; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, var(--card-2), var(--card)); }
.pp-local__card strong { font-family: var(--display); font-size: 20px; font-weight: 700; }
.pp-local__card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.pp-local__card > a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 15px; font-weight: 700; }
.pp-local__card dl { display: grid; margin: 0; }
.pp-local__card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pp-local__card dt { color: var(--muted); }
.pp-local__card dd { margin: 0; font-weight: 700; }

/* Veja também */
.pp-related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pp-card { display: grid; gap: 6px; padding: 8px 8px 18px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, var(--card-2), var(--card)); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.pp-card:hover { transform: translateY(-4px); border-color: rgba(244, 124, 32, .55); box-shadow: 0 0 34px rgba(244, 124, 32, .16); }
.pp-card__image { display: grid; aspect-ratio: 1 / 1; place-items: center; margin-bottom: 10px; border-radius: 17px; background: var(--stage); }
.pp-card__image img { width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .55)); }
.pp-card__meta { padding: 0 10px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pp-card strong { padding: 0 10px; font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.pp-card small { padding: 0 10px; color: var(--muted); font-size: 13px; }

@media (max-width: 1020px) {
  .pp-hero { grid-template-columns: 1fr; gap: 28px; }
  .pp-gallery { position: static; }
  .pp-stage { width: 100%; max-width: 620px; margin-inline: auto; }
  .pp-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pp-breadcrumb { padding-top: 16px; font-size: 13px; }
  .pp-hero { padding: 18px 0 48px; }
  .pp-stage { border-radius: 24px; }
  .pp-stage__image { padding: 14px; }
  .pp-info h1 { font-size: clamp(34px, 10vw, 48px); }
  .pp-lead { font-size: 15.5px; }
  .pp-buy { padding: 18px; }
  .pp-section { padding: 52px 0; }
  .pp-section__head--row { flex-direction: column; align-items: flex-start; }
  .pp-specs { grid-template-columns: 1fr; }
  .pp-video { grid-template-columns: 1fr; gap: 26px; }
  /* Ordem no celular: título, vídeo e depois os destaques */
  .pp-video__copy { display: contents; }
  .pp-video__copy .pp-section__head { order: -1; margin-bottom: 0; }
  .pp-video__frame { width: min(100%, 340px); justify-self: center; border-radius: 26px; }
  .pp-related { gap: 10px; }
  .pp-card { padding: 6px 6px 14px; border-radius: 18px; }
  .pp-card__image { border-radius: 13px; }
  .pp-card strong { font-size: 16.5px; }
  .pp-card small { font-size: 12px; }
}
@media (hover: none) {
  .pp-card:hover, a.pp-cta:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-stage__image, .pp-card { transition: none; }
}
