/* ═══════════════════════════════════════════════
   PAGINA DE PRODUTO (pages/package.html)
   Reaproveita o hero de categoria (styles/category.css) em modo produto
   e o fundo continuo .category-page.
   Ritmo vertical unico:
     --pdp-gap    entre secoes      (48–72px)
     --pdp-sub    dentro da secao   (20–28px)
   ═══════════════════════════════════════════════ */
.pdp {
  --pdp-gap: clamp(48px, 4vw + 24px, 72px);
  --pdp-sub: clamp(20px, 1vw + 14px, 28px);
}

/* ── Hero em modo produto ── */
.cat-hero.is-product .cat-hero__visual {
  display: none;
}

.cat-hero.is-product .cat-hero__inner {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding-top: 32px;
  padding-bottom: 84px; /* texto acima da dissolucao; a area comercial sobe por cima */
}

.cat-hero.is-product .cat-hero__content {
  max-width: 860px;
}

/* sem banner configurado: a propria imagem do produto vira atmosfera (desfocada) */
.cat-hero.bg-blur .cat-hero__bg {
  width: 75%;
  filter: blur(26px) saturate(1.15);
  opacity: 0.4;
  transform: scale(1.15);
  animation: none !important;
}

.pdp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: rgb(203 213 245 / 0.5);
  font-size: 12.5px;
  font-weight: 500;
}

.pdp-crumbs a {
  transition: color 0.18s ease;
}

.pdp-crumbs a:hover {
  color: #fff;
}

.pdp-crumbs svg {
  color: rgb(203 213 245 / 0.3);
}

.pdp-crumbs [aria-current] {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgb(235 240 255 / 0.85);
}

.cat-hero .pdp-title {
  margin-top: 14px;
  font-size: clamp(2rem, 1rem + 4cqi, 3.6rem);
}

.cat-hero .pdp-title--long {
  font-size: clamp(1.7rem, 0.9rem + 3cqi, 2.7rem);
  line-height: 1.05;
}

.pdp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pdp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgb(120 150 255 / 0.14);
  background: rgb(10 14 32 / 0.7);
  color: rgb(235 240 255 / 0.78);
  font-size: 12.5px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pdp-chip svg {
  color: #60a5fa;
}

.pdp-chip.hidden {
  display: none;
}

/* package.js alterna text-green-400 / text-red-400 conforme o estoque real */
.pdp-chip--stock.text-green-400 { color: #4ade80; }
.pdp-chip--stock.text-red-400 { color: #f87171; }

.pdp-chip--stock::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent);
}

/* ── Area comercial: imagem (~60%) + painel de compra (~40%) ── */
.pdp-main {
  position: relative;
  container-type: inline-size;
  margin-top: -52px; /* entra na dissolucao do hero: sem linha entre hero e produto */
}

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

/* Coluna esquerda: imagem -> descricao -> categoria -> avaliacoes, uma abaixo da outra.
   Celular: a coluna "se desfaz" (display: contents) para a ordem ser
   imagem -> painel de compra -> descricao -> detalhes -> avaliacoes. */
.pdp-left { display: contents; }
.pdp-media { order: 1; }
.pdp-side { order: 2; }
.pdp-left > .pdp-section { order: 3; margin-top: 0; }

@container (min-width: 860px) {
  .pdp-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
    gap: 32px;
  }
  .pdp-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
  }
  /* painel de compra acompanha a rolagem ao lado da descricao; o "top" e ajustado pelo
     script da pagina quando o painel e mais alto que a tela (gruda pela parte de baixo) */
  .pdp-side {
    position: sticky;
    top: var(--pdp-side-top, calc(var(--shell-h, 64px) + 20px));
  }
}

/* Descricao: container no mesmo estilo do painel de compra, largura da imagem */
.pdp-about {
  padding: clamp(18px, 2.4cqi, 28px);
  border-radius: 24px;
  border: 1px solid rgb(120 150 255 / 0.1);
  background: linear-gradient(180deg, rgb(13 17 38 / 0.85), rgb(10 13 30 / 0.7));
  box-shadow: 0 30px 60px -40px rgb(0 0 0 / 0.9);
}
.pdp-about .pdp-desc { max-width: none; }

/* vitrine da imagem: altura segue a imagem (sem caixa gigante vazia) */
.pdp-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2cqi, 24px);
  border-radius: 24px;
  background:
    radial-gradient(60% 60% at 50% 45%, rgb(45 108 255 / 0.12), transparent 70%),
    linear-gradient(180deg, rgb(13 17 38 / 0.75), rgb(9 12 28 / 0.5));
  border: 1px solid rgb(120 150 255 / 0.08);
}

.pdp-figure__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(260px, 42vw, 540px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 50px -28px rgb(0 0 0 / 0.8);
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.pdp-thumbs::-webkit-scrollbar {
  display: none;
}

.pdp-thumb {
  width: 84px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgb(120 150 255 / 0.12);
  background: rgb(13 17 38);
  opacity: 0.65;
  transition: opacity 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.pdp-thumb.is-active {
  opacity: 1;
  border-color: #2d6cff;
  box-shadow: 0 0 0 1px #2d6cff;
}

/* painel de compra: uma unica superficie, tudo alinhado */
.pdp-buy {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgb(120 150 255 / 0.1);
  background: linear-gradient(180deg, rgb(13 17 38 / 0.85), rgb(10 13 30 / 0.7));
  box-shadow: 0 30px 60px -40px rgb(0 0 0 / 0.9);
}

.pdp-selected {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.pdp-selected span {
  color: rgb(203 213 245 / 0.42);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pdp-selected strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.pdp-price__compare {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdp-price__old {
  color: rgb(203 213 245 / 0.4);
  font-size: 15px;
  text-decoration: line-through;
}

.pdp-price__off {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgb(244 63 94 / 0.14);
  color: #fda4af;
  font-size: 12px;
  font-weight: 700;
}

.pdp-price__now {
  margin-top: 2px;
  color: #fff;
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pdp-price__pix {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: rgb(203 213 245 / 0.55);
  font-size: 13px;
}

.pdp-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgb(45 108 255 / 0.08);
  color: #93c5fd;
}

.pdp-note svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.pdp-note p {
  color: rgb(235 240 255 / 0.78);
  font-size: 13px;
  line-height: 1.4;
}

.pdp-note strong {
  color: #bfdbfe;
}

.pdp-note span {
  display: block;
  color: rgb(203 213 245 / 0.45);
  font-size: 11.5px;
}

/* promocoes reais (promos da Central Cart), compactas */
.pdp-promos {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.pdp-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgb(139 92 246 / 0.08);
  color: #c4b5fd;
}

.pdp-promo__name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.pdp-promo__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.pdp-promo__badge {
  display: inline-flex;
  gap: 4px;
  color: rgb(235 240 255 / 0.6);
  font-size: 11.5px;
}

.pdp-promo__badge strong {
  color: #c4b5fd;
}

/* ── Opcoes: radio | nome (flexivel) | preco (coluna reservada) ── */
.pdp-options {
  margin-top: 20px;
}

.pdp-options__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: rgb(235 240 255 / 0.55);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pdp-options__label span {
  color: rgb(203 213 245 / 0.4);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* ate ~5 opcoes aparecem inteiras; acima disso rolagem fina e escura */
.pdp-options__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgb(45 108 255 / 0.35) rgb(255 255 255 / 0.03);
}

.pdp-options__list::-webkit-scrollbar {
  width: 5px;
}

.pdp-options__list::-webkit-scrollbar-track {
  background: rgb(255 255 255 / 0.03);
  border-radius: 5px;
}

.pdp-options__list::-webkit-scrollbar-thumb {
  background: rgb(45 108 255 / 0.35);
  border-radius: 5px;
}

.pdp-options__list.has-more {
  -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
}

.pdp-opt {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgb(120 150 255 / 0.12);
  background: rgb(255 255 255 / 0.012);
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.pdp-opt:hover:not(:disabled) {
  border-color: rgb(96 165 250 / 0.45);
  background: rgb(255 255 255 / 0.03);
}

.pdp-opt__radio {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.28);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.pdp-opt__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pdp-opt__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: rgb(235 240 255 / 0.85);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}

.pdp-opt__stock {
  color: rgb(74 222 128 / 0.8);
  font-size: 12px;
}

.pdp-opt__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  min-width: 72px;
  padding-left: 4px;
  text-align: right;
  white-space: nowrap;
}

.pdp-opt__now {
  color: rgb(235 240 255 / 0.9);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.pdp-opt__old {
  color: rgb(203 213 245 / 0.35);
  font-size: 11.5px;
  text-decoration: line-through;
}

.pdp-opt[data-selected="true"] {
  border-color: #2d6cff;
  background: rgb(45 108 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(45 108 255 / 0.25), inset 0 0 24px -12px rgb(45 108 255 / 0.6);
}

.pdp-opt[data-selected="true"] .pdp-opt__radio {
  border-color: #2d6cff;
  background: #2d6cff;
  box-shadow: inset 0 0 0 3px rgb(10 13 30);
}

.pdp-opt[data-selected="true"] .pdp-opt__name,
.pdp-opt[data-selected="true"] .pdp-opt__now {
  color: #fff;
}

.pdp-opt[data-selected="true"] .pdp-opt__stock {
  color: #4ade80;
}

/* esgotada: clara, sem parecer bug, e sem selecao */
.pdp-opt.is-soldout {
  cursor: not-allowed;
  background: transparent;
  border-style: dashed;
  border-color: rgb(120 150 255 / 0.1);
}

.pdp-opt.is-soldout .pdp-opt__radio {
  border-color: rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.03);
}

.pdp-opt.is-soldout .pdp-opt__name {
  color: rgb(203 213 245 / 0.45);
}

.pdp-opt.is-soldout .pdp-opt__stock {
  color: rgb(248 113 113 / 0.75);
}

.pdp-opt.is-soldout .pdp-opt__now {
  color: rgb(203 213 245 / 0.4);
  font-weight: 600;
}

.pdp-opt:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

/* CTAs: logo abaixo das opcoes, mesma largura */
.pdp-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.pdp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.18s ease, filter 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.pdp-cta--primary {
  color: #fff;
  background: linear-gradient(135deg, #2d6cff 0%, #3b5bff 60%, #5b4dff 100%);
  box-shadow:
    0 12px 26px -14px rgb(45 108 255 / 0.95),
    inset 0 1px 0 rgb(255 255 255 / 0.2);
}

.pdp-cta--primary:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.pdp-cta--secondary {
  color: rgb(235 240 255 / 0.88);
  background: rgb(13 17 38);
  border: 1px solid rgb(120 150 255 / 0.18);
}

.pdp-cta--secondary:hover:not(:disabled) {
  border-color: rgb(96 165 250 / 0.55);
  background: rgb(20 26 54);
}

.pdp-cta:disabled {
  cursor: not-allowed;
  filter: grayscale(0.6);
  box-shadow: none;
}

.pdp-cta:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

.pdp-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  color: rgb(203 213 245 / 0.62);
  font-size: 13px;
}

.pdp-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pdp-trust svg {
  flex-shrink: 0;
  color: #60a5fa;
}

.pdp-trust a {
  transition: color 0.18s ease;
}

.pdp-trust a:hover {
  color: #fff;
}

/* ── Secoes abaixo: mesmo container, mesmo ritmo, sem caixas grandes ── */
.pdp-section {
  margin-top: var(--pdp-gap);
  min-width: 0;
}

.pdp-eyebrow {
  color: #60a5fa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pdp-section-title {
  margin: 6px 0 var(--pdp-sub);
  color: #fff;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* descricao rica vinda da Central Cart: conteudo intacto, espacamento normalizado */
.pdp-desc {
  max-width: 820px;
  color: rgb(203 213 245 / 0.72);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  container-type: inline-size;
}

.pdp-desc > * {
  margin-top: 0;
  margin-bottom: 0;
}

.pdp-desc > * + * {
  margin-top: 12px;
}

.pdp-desc p:empty,
.pdp-desc div:empty {
  display: none;
}

.pdp-desc h1,
.pdp-desc h2,
.pdp-desc h3,
.pdp-desc h4 {
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}

.pdp-desc > h1,
.pdp-desc > h2,
.pdp-desc > h3,
.pdp-desc > h4 {
  margin-top: 28px;
}

.pdp-desc > :first-child {
  margin-top: 0;
}

.pdp-desc h1,
.pdp-desc h2 { font-size: 1.2rem; }
.pdp-desc h3 { font-size: 1.05rem; }
.pdp-desc h4 {
  color: #93c5fd;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pdp-desc strong,
.pdp-desc b {
  color: #fff;
}

.pdp-desc a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp-desc ul,
.pdp-desc ol {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

@container (min-width: 560px) {
  .pdp-desc ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
}

.pdp-desc li {
  position: relative;
  padding-left: 26px;
}

.pdp-desc li > p {
  margin: 0;
}

.pdp-desc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat,
    rgb(45 108 255 / 0.18);
}

.pdp-desc ol {
  counter-reset: pdp;
}

.pdp-desc ol li::before {
  counter-increment: pdp;
  content: counter(pdp);
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(45 108 255 / 0.18);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
}

/* condicoes importantes: barra lateral, sem caixa */
.pdp-desc blockquote {
  padding: 2px 0 2px 16px;
  border-left: 2px solid #2d6cff;
  color: rgb(235 240 255 / 0.8);
}

.pdp-desc hr {
  margin: 24px 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgb(120 150 255 / 0.18), transparent);
}

.pdp-desc img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.pdp-desc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pdp-desc th,
.pdp-desc td {
  padding: 8px 10px;
  border-bottom: 1px solid rgb(120 150 255 / 0.08);
  text-align: left;
}

/* politica/termos: uma linha compacta */
.pdp-policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 820px;
  margin-top: var(--pdp-sub);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.02);
  color: rgb(203 213 245 / 0.6);
  font-size: 13px;
  line-height: 1.5;
}

.pdp-policy > svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #60a5fa;
}

.pdp-policy strong {
  color: rgb(235 240 255 / 0.9);
}

.pdp-policy a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
  color: #93c5fd;
  font-weight: 600;
  white-space: nowrap;
}

.pdp-policy a:hover {
  color: #fff;
}

/* categoria + afiliados: faixa unica e baixa */
.pdp-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgb(120 150 255 / 0.1);
  background: rgb(13 17 38 / 0.55);
}

@container (min-width: 700px) {
  .pdp-strip {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  .pdp-strip__aff {
    border-left: 1px solid rgb(120 150 255 / 0.1);
  }
}

.pdp-strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 18px;
  transition: background-color 0.18s ease;
}

.pdp-strip__item + .pdp-strip__item {
  border-top: 1px solid rgb(120 150 255 / 0.1);
}

@container (min-width: 700px) {
  .pdp-strip__item + .pdp-strip__item {
    border-top: 0;
  }
}

.pdp-strip__item:hover {
  background: rgb(45 108 255 / 0.05);
}

.pdp-strip__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgb(45 108 255 / 0.12);
  color: #93c5fd;
}

.pdp-strip__icon--aff {
  background: rgb(34 197 94 / 0.12);
  color: #4ade80;
}

.pdp-strip__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.pdp-strip__label {
  color: rgb(203 213 245 / 0.42);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pdp-strip__value {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdp-strip__value strong {
  color: #4ade80;
}

.pdp-strip__arrow {
  flex-shrink: 0;
  color: #60a5fa;
  transition: transform 0.18s ease;
}

.pdp-strip__item:hover .pdp-strip__arrow {
  transform: translateX(3px);
}

.pdp-strip__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
}

@container (max-width: 420px) {
  .pdp-strip__cta {
    display: none;
  }
}

/* ── Avaliacoes ── */
.pdp-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: -4px 0 16px;
}

.pdp-rating__avg {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.pdp-rating__stars {
  display: inline-flex;
  gap: 2px;
}

.pdp-rating__total {
  color: rgb(203 213 245 / 0.5);
  font-size: 13px;
}

/* cards de avaliacao por "pagina" (carrossel .pc de core.css) */
.pdp-reviews .pc { --pc-n: 1.15; }
@container (min-width: 640px) { .pdp-reviews .pc { --pc-n: 2.2; } }
@container (min-width: 960px) { .pdp-reviews .pc { --pc-n: 3; } }

.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgb(120 150 255 / 0.1);
  background: rgb(13 17 38 / 0.6);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(45 108 255 / 0.16);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.review-card__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-card__name {
  overflow: hidden;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4ade80;
  font-size: 11px;
  font-weight: 600;
}

.review-card__date {
  margin-left: auto;
  flex-shrink: 0;
  color: rgb(203 213 245 / 0.35);
  font-size: 11px;
}

.review-card__stars {
  display: flex;
  gap: 2px;
}

.review-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgb(203 213 245 / 0.72);
  font-size: 13.5px;
  line-height: 1.55;
}

.review-card__muted {
  color: rgb(203 213 245 / 0.35);
  font-style: italic;
}

/* sem avaliacoes: estado vazio compacto */
.pdp-reviews__empty {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed rgb(120 150 255 / 0.18);
  color: rgb(203 213 245 / 0.55);
  font-size: 13.5px;
  line-height: 1.45;
}

.pdp-reviews__empty strong {
  display: block;
  color: rgb(235 240 255 / 0.9);
  font-weight: 600;
}

.pdp-reviews__empty-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(250 204 21 / 0.1);
  color: #facc15;
}

/* ── Por que escolher a loja ── */
.why__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 3cqi, 44px) clamp(18px, 3cqi, 40px);
  border-radius: 28px;
  border: 1px solid rgb(120 150 255 / 0.1);
  background:
    radial-gradient(60% 80% at 50% 0%, rgb(45 108 255 / 0.16), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgb(34 211 238 / 0.06), transparent 70%),
    linear-gradient(180deg, rgb(12 16 38) 0%, rgb(9 12 28) 100%);
}

/* grade tecnologica quase invisivel */
.why__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(70% 80% at 50% 30%, #000, transparent 80%);
}

/* inicial da loja gigante e apagada, como elemento abstrato */
.why__mark {
  position: absolute;
  right: -2%;
  bottom: -28%;
  z-index: -1;
  color: transparent;
  font-size: clamp(12rem, 30cqi, 22rem);
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 1px rgb(96 165 250 / 0.12);
  pointer-events: none;
  user-select: none;
}

.why__head {
  text-align: center;
}

.why__title {
  margin-top: 6px;
  color: #fff;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.why__title span {
  background: linear-gradient(90deg, #4f86ff, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: var(--pdp-sub);
}

@container (min-width: 600px) {
  .why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (min-width: 1000px) {
  .why__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.why-card {
  --wc: 45 108 255;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgb(120 150 255 / 0.1);
  background: rgb(10 14 32 / 0.65);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.why-card--cyan { --wc: 34 211 238; }
.why-card--violet { --wc: 139 92 246; }

.why-card:hover {
  transform: translateY(-3px);
  border-color: rgb(var(--wc) / 0.4);
}

.why-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  border-radius: 50%;
  background: rgb(var(--wc) / 0.14);
  color: rgb(var(--wc));
  box-shadow: inset 0 0 0 1px rgb(var(--wc) / 0.25);
  transition: box-shadow 0.22s ease;
}

.why-card__icon svg {
  width: 20px;
  height: 20px;
}

.why-card:hover .why-card__icon {
  box-shadow: inset 0 0 0 1px rgb(var(--wc) / 0.4), 0 0 18px -4px rgb(var(--wc) / 0.7);
}

.why-card__title {
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
}

.why-card__text {
  color: rgb(203 213 245 / 0.6);
  font-size: 13.5px;
  line-height: 1.5;
}

@media (hover: none) {
  .why-card:hover {
    transform: none;
  }
}

/* ── Relacionados: logo depois dos beneficios ── */
.pdp-related {
  margin-top: var(--pdp-gap);
}

/* ── Barra de compra mobile ── */
.pdp-mbar {
  display: none;
}

@media (max-width: 768px) {
  .pdp {
    padding-bottom: 76px;
  }

  .pdp-buy {
    padding: 18px 14px;
  }

  .pdp-opt {
    padding: 12px;
  }

  .pdp-mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(11 13 28 / 0.94);
    border-top: 1px solid rgb(120 150 255 / 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }

  .pdp-mbar.is-visible {
    transform: translateY(0);
  }

  .pdp-mbar__price {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .pdp-mbar__label {
    color: rgb(203 213 245 / 0.45);
    font-size: 11px;
  }

  .pdp-mbar__price strong {
    color: #fff;
    font-size: 17px;
  }

  .pdp-mbar .pdp-cta {
    width: auto;
    height: 44px;
    padding: 0 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-mbar {
    transition: none;
  }
}