/* ===== Página de produto ===== */
.page-produto { background: var(--white); }
.pd-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); max-width: 1500px; margin: 0 auto; }

/* Menu lateral */
.pd-side { background: var(--black); color: #e9e9ec; padding: 18px 14px 24px; }
.pd-side nav { display: grid; gap: 2px; }
.pd-side nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: .92rem; font-weight: 600; }
.pd-side nav a .i { width: 22px; height: 22px; }
.pd-side nav a .chev { margin-left: auto; width: 16px; height: 16px; opacity: .5; }
.pd-side nav a:hover { background: rgba(255, 255, 255, .06); color: var(--yellow); }
.pd-side nav a.active { background: rgba(255, 210, 31, .14); color: var(--yellow); box-shadow: inset 3px 0 0 var(--yellow); }
.pd-side-promo { margin-top: 18px; border: 1px solid rgba(255, 210, 31, .4); border-radius: 12px; padding: 16px; display: grid; gap: 6px; }
.pd-side-promo .i { width: 40px; height: 40px; color: var(--yellow); }
.pd-side-promo strong { color: var(--yellow); text-transform: uppercase; font-weight: 900; line-height: 1.1; }
.pd-side-promo span { font-size: .78rem; color: #cfcfd4; }

.pd-main { padding: 18px 28px 40px; min-width: 0; }
.pd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.pd-crumbs .i { width: 14px; height: 14px; }
.pd-crumbs a:hover { color: var(--ink); }
.pd-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Topo do produto */
.pd-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 360px; grid-template-areas: "head head buy" "gallery options buy"; gap: 18px 26px; align-items: start; }
.pd-head { grid-area: head; }
.pd-head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.01em; }
.pd-tagline { margin-top: 6px; font-size: 1.12rem; color: #3a3a40; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pd-badges span { background: var(--yellow); color: var(--black); font-weight: 800; font-size: .78rem; padding: 5px 10px; border-radius: 6px; }

.pd-gallery { grid-area: gallery; }
.pd-photo { position: relative; border-radius: 18px; overflow: hidden; background: radial-gradient(70% 70% at 50% 45%, #ffffff 0%, #f1f1f3 70%, #e8e8ec 100%); border: 1px solid var(--line); aspect-ratio: 1 / .9; display: grid; place-items: center; padding: 22px; }
.pd-photo::before { content: ""; position: absolute; inset: auto -20% -35% -20%; height: 55%; background: radial-gradient(50% 60% at 50% 50%, rgba(255, 210, 31, .35), transparent 70%); pointer-events: none; }
.pd-photo img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.pd-photo.is-real { padding: 0; aspect-ratio: 1 / 1; background: #111; }
.pd-photo.is-real::before { display: none; }
.pd-photo.is-real img { object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.pd-thumb { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #111; cursor: pointer; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb[aria-pressed="true"] { border-color: #ffd21f; }
.pd-photo-note { margin-top: 8px; font-size: .74rem; color: var(--muted); text-align: center; }

.pd-options { grid-area: options; display: grid; gap: 18px; }
.pd-option-title { font-size: .92rem; font-weight: 700; margin-bottom: 8px; }
.pd-option-title span { font-weight: 500; color: var(--muted); }
.pd-option-note { margin-top: 6px; font-size: .74rem; color: var(--muted); }
.pd-versions { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-version { border: 1.5px solid var(--line); background: var(--white); border-radius: 10px; padding: 9px 12px; font-size: .82rem; font-weight: 700; cursor: pointer; text-align: left; line-height: 1.25; }
.pd-version small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }
.pd-version:hover { border-color: var(--ink); }
.pd-version[aria-checked="true"] { border-color: var(--black); background: var(--yellow); }
.pd-version[aria-checked="true"] small { color: #4a3d00; }
.pd-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-color { display: grid; justify-items: center; gap: 6px; width: 76px; padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; font-size: .7rem; font-weight: 600; text-align: center; line-height: 1.15; }
.pd-color i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .12); }
.pd-color[aria-checked="true"] { border-color: var(--black); box-shadow: 0 0 0 2px var(--yellow); }
.pd-color:disabled { opacity: .35; cursor: not-allowed; }
.pd-highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-highlights li { display: flex; align-items: center; gap: 12px; font-size: .88rem; line-height: 1.3; }
.pd-highlights li span { color: var(--muted); display: block; font-size: .8rem; }
.pd-highlights li strong { font-weight: 700; }
.pd-hl-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; color: var(--black); }
.pd-hl-icon .i { width: 24px; height: 24px; }

/* Caixa de compra */
.pd-buy { grid-area: buy; position: sticky; top: 130px; display: grid; gap: 14px; }
.pd-delivery { display: flex; align-items: center; gap: 14px; background: var(--yellow); color: var(--black); border-radius: 16px; padding: 14px 18px; box-shadow: 0 8px 24px rgba(255, 210, 31, .35); }
.pd-delivery .i { width: 42px; height: 42px; flex: none; stroke-width: 1.9; }
.pd-delivery strong { display: block; font-size: 1.02rem; font-weight: 900; text-transform: uppercase; line-height: 1.15; }
.pd-delivery span { display: block; font-size: .84rem; font-weight: 600; margin-top: 2px; }
.pd-buybox { background: var(--black); color: var(--white); border-radius: 18px; padding: 22px; display: grid; gap: 10px; }
.pd-original { display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: rgba(255, 210, 31, .15); color: var(--yellow); font-size: .75rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.pd-original .i { width: 16px; height: 16px; }
.pd-version-label { font-size: .85rem; color: #c9c9cf; }
.pd-price { font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 900; color: var(--yellow); line-height: 1; letter-spacing: -.02em; }
.pd-pay { font-size: .95rem; color: #e6e6ea; }
.pd-pay b { color: var(--white); }
.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; padding: 15px 18px; font-weight: 800; font-size: 1.02rem; transition: background .15s, transform .15s; text-align: center; }
.pd-btn:hover { transform: translateY(-1px); }
.pd-btn .i { width: 24px; height: 24px; }
.pd-btn-green { background: #22b04b; color: var(--white); }
.pd-btn-green:hover { background: #1c9a41; }
.pd-btn-outline { border: 1.5px solid rgba(255, 255, 255, .7); color: var(--white); font-size: .95rem; }
.pd-btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.pd-sim-hint { font-size: .76rem; color: #a9a9b0; text-align: center; }
.pd-trust { list-style: none; margin: 0; padding: 18px 20px; background: var(--black); color: #cfcfd4; border-radius: 18px; display: grid; gap: 14px; }
.pd-trust li { display: flex; gap: 14px; align-items: center; font-size: .8rem; line-height: 1.3; }
.pd-trust .i { width: 34px; height: 34px; color: var(--yellow); flex: none; }
.pd-trust strong { display: block; color: var(--white); font-size: .9rem; }
.pd-trust em { color: var(--yellow); font-style: normal; }

/* Seções */
.pd-section { margin-top: 44px; }
.pd-section > h2, .pd-intro h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); font-weight: 800; margin-bottom: 14px; }
.pd-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.pd-intro p { font-size: 1.02rem; color: #333338; }
.pd-ideal { background: var(--bg); border-radius: 16px; padding: 20px 22px; border-left: 4px solid var(--yellow); }
.pd-ideal h3 { font-size: 1rem; margin-bottom: 10px; }
.pd-ideal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-ideal li { display: flex; gap: 8px; font-size: .92rem; }
.pd-ideal li .i { width: 20px; height: 20px; color: var(--green); flex: none; stroke-width: 2.4; }
.pd-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pd-benefit { background: var(--black); color: #d6d6db; border-radius: 16px; padding: 20px; position: relative; overflow: hidden; }
.pd-benefit::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 31, .35), transparent 70%); }
.pd-benefit strong { display: block; color: var(--yellow); font-size: 1rem; margin-bottom: 8px; line-height: 1.2; }
.pd-benefit p { font-size: .86rem; }
.pd-specs { width: 100%; border-collapse: collapse; font-size: .92rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pd-specs th, .pd-specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-specs th { width: 200px; background: var(--bg); font-weight: 700; }
.pd-specs tr:last-child th, .pd-specs tr:last-child td { border-bottom: 0; }
.pd-small { margin-top: 10px; font-size: .76rem; color: var(--muted); }
.pd-store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pd-store-grid div { border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 6px; }
.pd-store-grid .i { width: 34px; height: 34px; color: #c48f00; }
.pd-store-grid span { font-size: .85rem; color: var(--muted); }
.pd-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pd-rel { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px; transition: box-shadow .2s, transform .2s; }
.pd-rel:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pd-rel img { width: 110px; height: 90px; object-fit: contain; }
.pd-rel strong { display: block; font-size: .95rem; }
.pd-rel span { font-size: .8rem; color: var(--muted); }
.pd-rel b { display: block; margin-top: 4px; font-size: 1.05rem; }
.pd-cta { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-radius: 18px; padding: 26px 28px; color: var(--white); background: linear-gradient(100deg, #111113 0%, #1b1b1e 55%, #3a2a00 85%, #f5b800 100%); }
.pd-cta h2 { font-size: 1.4rem; font-weight: 900; }
.pd-cta p { color: #d0d0d5; margin-top: 4px; max-width: 60ch; }

/* Barra fixa no celular */
.pd-sticky { display: none; }
@media (max-width: 380px) { .pd-sticky-delivery .pd-sd-extra { display: none !important; } }

@media (max-width: 1280px) {
  .pd-shell { grid-template-columns: minmax(0, 1fr); }
  .pd-side { display: none; }
}
@media (max-width: 1100px) {
  .pd-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "gallery options" "buy buy"; }
  .pd-buy { position: static; grid-template-columns: 1fr 1fr; }
  .pd-benefits, .pd-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .pd-main { padding: 14px 16px 90px; }
  .pd-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "gallery" "options" "buy"; }
  .pd-buy { grid-template-columns: 1fr; }
  .pd-intro { grid-template-columns: 1fr; }
  .pd-benefits, .pd-store-grid, .pd-related { grid-template-columns: 1fr; }
  .pd-specs th { width: 38%; }
  .pd-specs th, .pd-specs td { padding: 10px 12px; }
  .pd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: block; background: var(--black); color: var(--white); box-shadow: 0 -6px 20px rgba(0, 0, 0, .25); }
  .pd-sticky-delivery { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--yellow); color: var(--black); font-size: .78rem; font-weight: 600; padding: 6px 12px; }
  .pd-sticky-delivery .i { width: 18px; height: 18px; stroke-width: 2; }
  .pd-sticky-delivery strong { font-weight: 900; text-transform: uppercase; }
  .pd-sticky-delivery { white-space: nowrap; font-size: .68rem; gap: 5px; padding: 6px 8px; }
  .pd-sticky-delivery .pd-sd-extra { display: inline; font-size: inherit; color: inherit; }
  .pd-sticky-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .pd-sticky-row span { display: block; font-size: .75rem; color: #c9c9cf; }
  .pd-main { padding-bottom: 120px; }
  .pd-sticky-row strong { font-size: 1.25rem; color: var(--yellow); font-weight: 900; }
  .pd-sticky .pd-btn { padding: 11px 18px; font-size: .95rem; }
  .pd-cta { padding: 22px 18px; }
}
