/**
 * PDP (Product Detail Page) - Layout mobile
 * Conteúdo configurável via backend
 */

html {
  -webkit-tap-highlight-color: transparent;
}

/* Mobile: página branca. Amarelo só no header (e na faixa do relógio via safe-area). */
@media only screen and (max-width: 1023px) {
  html,
  body[data-site='ML'] {
    background-color: #fff !important;
  }
  #root-app,
  #root-app .main-container,
  .pdp-container {
    background-color: #fff !important;
  }
}

:root {
  --pdp-bg: #fff;
  --pdp-text: #333;
  --pdp-text-secondary: #666;
  --pdp-border: #e6e6e6;
  --pdp-blue: #3483fa;
  --pdp-green: #00a650;
  --pdp-yellow: #e0a800;
  --pdp-red: #d32f2f;
}

/* Remove linhas/bordas cinzas do header e status */
.nav-header,
.nav-header.nav-header-plus,
.nav-bounds {
  border-bottom: none !important;
  box-shadow: none !important;
}
.nav-header::before {
  display: none !important;
  box-shadow: none !important;
}
.main-container {
  border-top: none !important;
}

/* Header PDP: faixa amarela de ponta a ponta até o topo da tela. */
.pdp-ml-header.nav-header.nav-header-plus.ui-navigation-v2 {
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  height: auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
  background: #ffe600 !important;
  background-color: #ffe600 !important;
  padding-top: env(safe-area-inset-top, 0px) !important;
}
.pdp-ml-header .pdp-ml-header-bounds.nav-bounds.nav-bounds-with-cart {
  height: auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 10px 12px 12px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
.pdp-ml-header-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  overflow: visible;
}
.pdp-ml-header-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  overflow: visible;
}
/* Ícone do carrinho: sem fundo extra (vence estilos do navigation ML no PDP) */
.pdp-ml-header .pdp-ml-header-cart {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
/* ML (.nav-left-area / .nav-area) faz o wrapper da logo virar flex item que cresce — some o “bloco verde” no DevTools */
.pdp-ml-header .pdp-ml-header-top .pdp-ml-header-logo.nav-header-plus-logo {
  display: contents !important;
  padding: 0 !important;
  margin: 0 !important;
}
.pdp-ml-header .pdp-ml-header-top > .nav-logo.nav-logo-custom {
  flex: 0 0 auto !important;
  margin: 0 !important;
  min-width: 0 !important;
  width: fit-content !important;
  height: auto !important;
  text-indent: 0 !important;
  overflow: visible !important;
}
.pdp-ml-header-address-wrap {
  width: 100%;
  display: none;
  justify-content: flex-start;
  align-items: center;
}
.pdp-ml-header-address-wrap .pdp-ml-address {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.pdp-ml-search-label {
  display: block;
  flex: 1;
  min-width: 0;
  margin: 0;
}
.pdp-ml-search-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pdp-ml-search-input {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 15px;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fff;
  color: #333;
  -webkit-appearance: none;
  appearance: none;
}
.pdp-ml-search-input::placeholder {
  color: #737373;
}
.pdp-ml-search-input:focus {
  outline: 2px solid rgba(52, 131, 250, 0.45);
  outline-offset: 1px;
}
.pdp-ml-address {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.88);
  font-size: 13px;
  line-height: 1.35;
  padding: 0 4px 0 2px;
  -webkit-tap-highlight-color: transparent;
}
.pdp-ml-address:active {
  opacity: 0.85;
}
.pdp-ml-address-pin {
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.65);
}
.pdp-ml-address-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp-ml-address-chev {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 1px;
}

.pdp-container {
  background: var(--pdp-bg);
  padding: 0 0 24px;
  margin: 0;
  width: 100%;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--pdp-text);
}
.pdp-container > .pdp-status-row,
.pdp-container > .pdp-title,
.pdp-container > .pdp-price-wrapper,
.pdp-container > .pdp-delivery-block,
.pdp-container > .pdp-stock,
.pdp-container > .pdp-full-storage,
.pdp-container > .pdp-quantity,
.pdp-container > .pdp-guarantee,
.pdp-container .pdp-section,
.pdp-container .pdp-reviews,
.pdp-container .pdp-footer { padding-left: 16px; padding-right: 16px; }

/* Proxima Nova em todos os blocos da PDP */
.pdp-status-row,
.pdp-mais-vendido,
.pdp-title,
.pdp-price-wrapper,
.pdp-price-old,
.pdp-price-line,
.pdp-price,
.pdp-delivery-block,
.pdp-delivery-badge,
.pdp-delivery,
.pdp-stock,
.pdp-full-storage,
.pdp-full-storage-text,
.pdp-full-storage-brand,
.pdp-full-storage-label,
.pdp-quantity,
.pdp-buy-btn,
.pdp-add-cart-btn,
.pdp-seller-mini,
.pdp-seller-name,
.pdp-seller-badge,
.pdp-seller-stats,
.pdp-guarantee,
.pdp-guarantee-text,
.pdp-seller-card,
.pdp-seller-card-body,
.pdp-seller-card-name,
.pdp-seller-card-desc,
.pdp-seller-reputation,
.pdp-reputation-metrics,
.pdp-reputation-value,
.pdp-reputation-label,
.pdp-section-title,
.pdp-description,
.pdp-description-wrap,
.pdp-reviews-header,
.pdp-reviews-summary,
.pdp-reviews-score,
.pdp-reviews-count,
.pdp-reviews-comments,
.pdp-footer,
.pdp-footer-links,
.pdp-footer-copy,
.pdp-footer-legal {
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---- Status + Avaliação ---- */
.pdp-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 12px;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  border-bottom: none !important;
}
.pdp-status-left {
  flex: 1;
  min-width: 0;
}
.pdp-status-badge { font-weight: 600; font-size: 13px; color: var(--pdp-text-secondary); }
.pdp-status-sep { color: var(--pdp-text-secondary); font-size: 13px; margin: 0 4px; }
.pdp-status-sold { font-size: 13px; color: var(--pdp-text-secondary); }
.pdp-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, sans-serif;
}
.pdp-rating-num { font-size: 13px; line-height: 1.2; font-weight: 600; color: var(--pdp-text-secondary); }
.pdp-rating-stars { color: var(--pdp-blue); font-size: 14px; letter-spacing: 2px; }
.pdp-rating-count { font-size: 13px; color: var(--pdp-text-secondary); }

/* ---- MAIS VENDIDO: só a imagem (sem <a>, evita estilos de link do ML) ---- */
.pdp-mais-vendido {
  margin: 0 0 6px;
  padding: 0;
  line-height: 0;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pdp-zone-top .pdp-mais-vendido {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.pdp-mais-vendido-img {
  display: block;
  max-height: 20px;
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-style: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  vertical-align: top;
}
article.pdp-container .pdp-mais-vendido .pdp-mais-vendido-img {
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

article.pdp-container .pdp-mais-vendido.is-loja-oficial-apple .pdp-mais-vendido-img {
  width: 115px;
  height: 19px;
  max-width: 115px;
  max-height: 19px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.pdp-zone-top .pdp-mais-vendido.is-loja-oficial-apple .pdp-mais-vendido-img {
  width: 115px;
  height: 19px;
  max-width: 115px;
  max-height: 19px;
}

/* ---- Título do produto ---- */
.pdp-title {
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 16px;
}

/* ---- Galeria de imagens ---- */
.pdp-gallery {
  position: relative;
  width: 100%;
  margin: 0 0 16px;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
}
.pdp-gallery-inner {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-height: 100vw;
  overflow: hidden;
}
/* Track horizontal com até 8 slides */
.pdp-gallery-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}
.pdp-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}
/* Oculta slides sem imagem (backend preenche 1-8) */
.pdp-gallery-slide:has(img:not([src])) {
  display: none;
}
.pdp-gallery-slide:has(img[src=""]) {
  display: none;
}
.pdp-gallery .pdp-gallery-slide .pdp-gallery-img {
  display: block;
  flex: 0 0 auto !important;
  align-self: center !important;
  max-width: 72vw !important;
  max-height: 72vw !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center;
  cursor: pointer;
}
.pdp-gallery-counter {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--pdp-border);
  color: var(--pdp-text);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, sans-serif;
}
.pdp-gallery-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}
.pdp-gallery-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}
.pdp-gallery-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
}
.pdp-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pdp-border);
  transition: background 0.2s;
}
.pdp-gallery-dot.active { background: var(--pdp-blue); }

/* Categoria variação: pickers estilo ML (reforço em produto.html #root-app) */
.pdp-smartwatch-row {
  margin-top: 16px;
}
.pdp-smartwatch-row .ui-pdp-outside_variations.pl-16,
.pdp-smartwatch-row .ui-pdp-outside_variations.pr-16,
.pdp-smartwatch-row [data-pdp-smartwatch-root].ui-pdp-outside_variations {
  padding-left: 0;
  padding-right: 0;
}
.pdp-smartwatch-row .ui-pdp-outside_variations__picker {
  margin-bottom: 20px;
}
.pdp-smartwatch-row .ui-pdp-outside_variations__picker:last-child {
  margin-bottom: 0;
}
.pdp-smartwatch-row .ui-pdp-outside_variations__title {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.35;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}
.pdp-smartwatch-row .ui-pdp-outside_variations__title__label {
  color: #000;
  font-weight: 400;
}
.pdp-smartwatch-row .ui-pdp-outside_variations__title__value {
  color: #000;
  font-weight: 600;
}
.pdp-smartwatch-row .ui-pdp-outside_variations__title--somente-titulo {
  margin: 0 0 4px;
  padding: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
}
.pdp-smartwatch-row ul.ui-pdp-outside_variations__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.pdp-smartwatch-row ul.ui-pdp-outside_variations__items > li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pdp-smartwatch-row button.ui-pdp-outside_variations__thumbnails__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 14px;
  border-width: 1px;
  border-style: dashed;
  border-color: #bdbdbd;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  transition: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.pdp-smartwatch-row button.ui-pdp-outside_variations__thumbnails__item:focus {
  outline: none;
}
.pdp-smartwatch-row button.ui-pdp-outside_variations__thumbnails__item:focus-visible {
  box-shadow: 0 0 0 2px rgba(52, 131, 250, 0.45);
}
.pdp-smartwatch-row button.ui-pdp-outside_variations__thumbnails__item .ui-pdp-outside_variations__thumbnails__item__label {
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.pdp-smartwatch-row button.ui-pdp-outside_variations__thumbnails__item .ui-pdp-outside_variations__thumbnails__item__label span {
  font-size: inherit;
}
.pdp-smartwatch-row button.ui-pdp-outside_variations__thumbnails__item:has(.ui-pdp-sw-variacao-thumb) {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.pdp-smartwatch-row button.ui-pdp-outside_variations__thumbnails__item--SELECTED:has(.ui-pdp-sw-variacao-thumb) {
  padding: 0;
}
.pdp-smartwatch-row button.ui-pdp-outside_variations__thumbnails__item .ui-pdp-sw-variacao-thumb {
  display: block;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: center;
  vertical-align: middle;
}
.pdp-smartwatch-row button.ui-pdp-outside_variations__thumbnails__item--SELECTED {
  border-width: 2px;
  border-style: solid;
  border-color: #3483fa;
  padding: 7px 13px;
  color: rgba(0, 0, 0, 0.9);
}

/* ---- Preço ---- */
/* Preço: um pouco mais à esquerda que o bloco padrão (16px) */
#root-app article.pdp-container > .pdp-price-wrapper {
  padding-left: 4px;
  padding-right: 16px;
  box-sizing: border-box;
}
.pdp-price-wrapper { margin-bottom: 20px; font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
/* Pill “OFERTA IMPERDÍVEL” — PNG do anexo embutido no SVG (352×49). Zoom leve: só o badge, não o preço. */
.ui-pdp-promotions-pill {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 10px;
  line-height: 0;
}
.ui-pdp-promotions-pill.mt-12 {
  margin-top: 12px;
}
#root-app article.pdp-container .pdp-price-wrapper .ui-pdp-promotions-pill .ui-pdp-promotions-pill-svg,
.pdp-container .pdp-price-wrapper .ui-pdp-promotions-pill .ui-pdp-promotions-pill-svg {
  display: block;
  height: 20px;
  width: auto;
  max-width: 100%;
  aspect-ratio: 352 / 49;
}
.pdp-price-old {
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: var(--pdp-text-secondary);
  text-decoration: line-through;
  margin-bottom: 0;
  padding-top: 8px;
}
.pdp-price-old-currency {
  margin-right: 0.25em;
}
.pdp-price-old-cents { vertical-align: 0.25em; font-size: 12px; }
/* Especificidade + !important: o ML/body em table-row deixa div em bloco 100% e o selo cai para baixo */
.pdp-container .pdp-price-wrapper .pdp-price-line {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px 6px;
  margin-bottom: 4px;
  width: 100%;
  box-sizing: border-box;
}
.pdp-container .pdp-price-wrapper .pdp-price-line > .pdp-price {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}
.pdp-price {
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.15;
}
.pdp-price-currency {
  margin-right: 0.25em;
}
.pdp-container .pdp-price-wrapper .pdp-price-line > .pdp-price-pix-off {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
}
.pdp-price-pix-off {
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #00a650;
  -webkit-text-fill-color: #00a650;
  line-height: 1.25;
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-left: -1px;
}
.pdp-price-pix-off__row {
  display: block;
  width: 100%;
}
.pdp-price-pix-off__row--second {
  margin-top: 1px;
}
/* Sem margin negativo: ele colava o valor em “R$” (ex.: R$899). Centavos podem aproximar levemente do inteiro. */
[data-pdp-price-int] {
  margin-left: 0;
  font-size: 36px;
}
.pdp-price-cents { font-size: 18px; vertical-align: super; margin-left: 0.02em; }
.pdp-price-installment {
  margin: 6px 0 0;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100%;
  box-sizing: border-box;
}
.pdp-price-installment__lead {
  color: rgba(0, 0, 0, 0.9);
}
.pdp-price-installment__green {
  color: #00a650;
  -webkit-text-fill-color: #00a650;
  font-weight: 600;
}
.pdp-price-installment [data-pdp-installment-parc-int] {
  font-weight: 600;
}
.pdp-price-installment__sup {
  font-size: 0.65em;
  font-weight: 600;
  vertical-align: super;
  line-height: 0;
  position: relative;
  margin-left: 0.02em;
}
.pdp-price-installment__de,
.pdp-price-installment__cent-sep {
  display: none;
}

/* Mobile: mesma tipografia do preço desktop (teste-versao-desktop / segundo print) */
@media only screen and (max-width: 1023px) {
  .pdp-price-old {
    font-size: 16px;
    line-height: 1.2;
    color: rgba(0, 0, 0, 0.45);
    margin: 0;
    padding-top: 8px;
  }
  .pdp-price-old-currency {
    margin-right: 0.25em;
  }
  .pdp-price-old--round .pdp-price-old-frac {
    display: none;
  }
  .pdp-container .pdp-price-wrapper .pdp-price-line {
    align-items: flex-start !important;
    gap: 8px 6px;
    margin: 2px 0 4px;
  }
  .pdp-price,
  .pdp-price-old,
  .pdp-price-pix-off,
  .pdp-price-installment {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }
  .pdp-price {
    display: inline-flex !important;
    align-items: flex-start;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
    color: rgba(0, 0, 0, 0.9);
    white-space: nowrap;
  }
  .pdp-price-currency {
    margin-right: 0.25em;
    font-size: 36px;
    font-weight: 700;
  }
  #root-app article.pdp-container .pdp-price [data-pdp-price-int],
  [data-pdp-price-int] {
    font-size: 36px;
    font-weight: 700;
  }
  .pdp-price-cents {
    font-size: 22px;
    font-weight: 400;
    vertical-align: super;
    line-height: 1;
    margin-left: 0.02em;
  }
  .pdp-container .pdp-price-wrapper .pdp-price-line > .pdp-price-pix-off,
  .pdp-price-pix-off {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25;
    color: #00a650 !important;
    -webkit-text-fill-color: #00a650 !important;
    margin-left: -1px !important;
    white-space: normal !important;
  }
  .pdp-price-pix-off__pix,
  .pdp-price-pix-off__row--second {
    display: inline !important;
  }
  .pdp-price-pix-off__row--second {
    display: block !important;
    margin-top: 1px;
  }
  .pdp-price-installment {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
  }
  .pdp-price-installment__lead {
    display: inline;
  }
  .pdp-price-installment__sj {
    display: inline;
  }
  .pdp-price-installment__de,
  .pdp-price-installment__cent-sep {
    display: none;
  }
  .pdp-price-installment__green {
    color: #00a650;
    -webkit-text-fill-color: #00a650;
    font-weight: 600;
  }
  .pdp-price-installment [data-pdp-installment-parc-int] {
    font-weight: 600;
  }
  .pdp-price-installment__sup {
    font-size: 0.65em;
    font-weight: 600;
    vertical-align: super;
    line-height: 0;
    position: relative;
    margin-left: 0.02em;
  }
}
.pdp-price-mp-badge,
.pdp-price-wrapper [data-pdp-price-mp-badge] {
  margin: 14px 0 0;
  padding-left: 0;
  padding-right: 0;
  line-height: 0;
  width: 100%;
  box-sizing: border-box;
}
/* mobile.css: img { height: auto !important; max-width: 100% !important; } vence o tamanho sem !important */
#root-app article.pdp-container .pdp-price-wrapper .pdp-price-mp-badge img,
.pdp-container .pdp-price-wrapper .pdp-price-mp-badge img {
  display: block;
  width: auto !important;
  max-width: min(100%, 250px) !important;
  height: 30px !important;
  object-fit: contain;
  image-rendering: auto;
}
.pdp-delivery-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, sans-serif;
  margin-bottom: 16px;
  padding-bottom: 12px;
}
#root-app article.pdp-container .pdp-delivery-badge[data-pdp-delivery-badge] {
  display: inline-flex !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 0 12px 0 !important;
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
#root-app article.pdp-container .pdp-delivery-badge[data-pdp-delivery-badge] img {
  display: block !important;
  width: 182px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  image-rendering: auto !important;
  backface-visibility: hidden !important;
  transform: translateZ(0) !important;
}
.pdp-delivery {
  font-size: 18px;
  font-weight: 600;
  color: var(--pdp-green);
  -webkit-text-fill-color: #00a650;
  margin-bottom: 2px;
}
.pdp-delivery-countdown {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: #666;
}
.pdp-delivery-countdown-highlight {
  color: #FF7733;
}

/* ---- Estoque + Quantidade ---- */
.pdp-stock { font-size: 16px; font-weight: 600; color: #000; margin: 0; padding: 0; font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.pdp-full-storage {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px;
  color: var(--pdp-text-secondary);
  margin-top: 0;
  margin-bottom: 12px;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-full-storage-text { font-size: 14px; }
.pdp-full-storage-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.pdp-full-storage-icon { display: block; width: 48px; height: 20px !important; }
.pdp-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  background: transparent;
  border-radius: 0;
  margin-bottom: 16px;
  font-size: 16px;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: rgba(0, 0, 0, 0.65);
  cursor: pointer;
  gap: 10px;
}
.pdp-quantity-text {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2em;
  min-width: 0;
}
.pdp-quantity-prefix {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.65);
}
.pdp-quantity-value {
  font-weight: 700;
  color: rgba(0, 0, 0, 0.9);
}
.pdp-quantity-num,
.pdp-quantity-unit { font-weight: 700; color: rgba(0, 0, 0, 0.9); }
.pdp-quantity-stock {
  font-size: 13px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.45);
}
.pdp-quantity-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #3483fa;
  line-height: 0;
}
.pdp-quantity-chevron { display: block; }

/* ---- Botão Comprar ---- */
.pdp-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 48px;
  min-height: 48px;
  margin-left: 0;
  margin-right: 0;
  padding: 0 20px;
  font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--pdp-blue);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
}

.pdp-add-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  height: 48px;
  min-height: 48px;
  margin-left: 0;
  margin-right: 0;
  padding: 0 20px;
  margin-bottom: 10px;
  font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #3483fa;
  background: #e3edfb;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.pdp-add-cart-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pdp-add-cart-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.pdp-add-cart-label {
  line-height: 1.2;
}

.pdp-add-cart-btn--success {
  overflow: hidden;
  pointer-events: none;
}

.pdp-add-cart-btn--success .pdp-add-cart-inner {
  overflow: hidden;
}

.pdp-add-cart-btn--success .pdp-add-cart-content {
  animation: pdp-add-cart-rise 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pdp-add-cart-btn:active:not(:disabled) {
  opacity: 0.94;
}

/* Spinner do botão “Adicionar ao carrinho”: estilos em produto.html (<head>) para garantir animação e tamanho fixo. */
@keyframes pdp-add-cart-rise {
  from {
    transform: translateY(110%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Overlay “Preparando tudo…” (Comprar agora) */
.pdp-checkout-loading {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #fff;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.pdp-checkout-loading.is-visible {
  display: flex;
}
.pdp-checkout-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  padding: 32px 24px;
  max-width: 320px;
}
.pdp-checkout-loading-text {
  margin: 0;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.9);
  line-height: 1.35;
}
.pdp-checkout-loading-text strong {
  font-weight: 800;
}
.pdp-checkout-loading-line2 {
  display: block;
  margin-top: -0.22em;
}
.pdp-checkout-loading-spinner {
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  line-height: 0;
}
.pdp-checkout-loading-spinner-svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: pdp-checkout-spin 0.85s linear infinite;
  transform-origin: center;
}
@keyframes pdp-checkout-spin {
  to { transform: rotate(360deg); }
}

/* ---- Vendedor resumido ---- */
.pdp-seller-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: none;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-seller-logo-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
}
.pdp-seller-logo-wrap .pdp-seller-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.pdp-seller-info { flex: 1; min-width: 0; }
.pdp-seller-name { font-weight: 600; font-size: 14px; }
.pdp-seller-badge { font-size: 14px; color: var(--pdp-text-secondary); }
.pdp-seller-badge .pdp-seller-badge-official { color: #000; }
.pdp-seller-badge .pdp-seller-badge-name { color: var(--pdp-blue); font-weight: 600; }
.pdp-seller-badge .pdp-cockade {
  vertical-align: middle;
  display: inline-block;
  margin-left: 2px;
  padding: 0 2px;
  box-sizing: content-box;
}
.pdp-seller-stats { font-size: 14px; font-weight: 600; color: #000; }

/* ---- Banner Garantia ---- */
.pdp-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: none;
  font-size: 14px;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-guarantee-icon { flex-shrink: 0; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }
.pdp-guarantee-icon svg,
.pdp-guarantee-icon img { width: 100%; height: 100%; display: block; object-fit: contain; }
.pdp-guarantee-text { flex: 1; margin: 0; padding: 0; color: var(--pdp-text-secondary); font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.pdp-guarantee-text strong { color: var(--pdp-text); }
.pdp-guarantee-text strong[data-pdp-guarantee-title] { color: var(--pdp-blue); }
.pdp-guarantee-return .pdp-guarantee-icon { color: #000; }

/* ---- Card Vendedor completo ---- */
.pdp-seller-card {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 12px;
  overflow: visible;
  margin: 0 0 16px 0;
}
.pdp-seller-banner {
  height: 80px !important;
  min-height: 80px !important;
  box-sizing: border-box;
  background-color: #fff;
  position: relative;
  border-radius: 6px;
  margin-top: 0;
}
.pdp-seller-banner.pdp-seller-banner--has-image {
  background-color: transparent;
}
/* Sem banner do dashboard: não exibir nem reservar espaço */
.pdp-seller-banner:not(.pdp-seller-banner--has-image) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
}
.pdp-seller-card-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
}
.pdp-seller-card:not(.teste-pdp-seller-card-aside):has(.pdp-seller-banner.pdp-seller-banner--has-image) .pdp-seller-card-logo-wrap {
  position: absolute;
  top: 36px;
  left: 16px;
}
/* Intro: topo (logo + dados). Sem banner = linha ML; com banner = recuo sob faixa — só PDP checkout mobile */
.pdp-seller-card-intro {
  position: relative;
  box-sizing: border-box;
}
.pdp-seller-card-intro-main {
  flex: 1;
  min-width: 0;
}
.pdp-seller-card-intro-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.pdp-seller-card-intro-row .pdp-seller-card-name {
  flex: 1;
  margin: 0;
  padding: 2px 0 0;
  min-width: 0;
  line-height: 1.2;
}
.pdp-seller-card-intro-row .teste-pdp-seller-follow {
  flex-shrink: 0;
  margin-bottom: 0;
  align-self: flex-start;
}

/* igual teste-versao-desktop.html: Seguir / loading / Seguindo (PDP mobile checkout) */
.teste-pdp-seller-follow {
  position: relative;
  box-sizing: border-box;
  width: auto;
  min-width: 54.64px;
  flex-shrink: 0;
  height: 24px;
  border: none;
  background: #e3edfb;
  color: #3483fa;
  font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 0 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.teste-pdp-seller-follow:hover {
  background: #d4e4f9;
}

.teste-pdp-seller-follow.is-loading {
  color: transparent;
  pointer-events: none;
}

.teste-pdp-seller-follow.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid rgba(52, 131, 250, 0.25);
  border-top-color: #3483fa;
  animation: teste-follow-spin-pdp-mobile 0.7s linear infinite;
}

.teste-pdp-seller-follow.is-following {
  animation: teste-follow-rise-pdp-mobile 0.26s cubic-bezier(0.25, 0.9, 0.3, 1);
}

@keyframes teste-follow-spin-pdp-mobile {
  to {
    transform: rotate(360deg);
  }
}

@keyframes teste-follow-rise-pdp-mobile {
  from {
    transform: translateY(7px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.pdp-seller-card:not(.teste-pdp-seller-card-aside):not(:has(.pdp-seller-banner.pdp-seller-banner--has-image)) .pdp-seller-card-intro {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px 0;
  box-sizing: border-box;
}
.pdp-seller-card:not(.teste-pdp-seller-card-aside):not(:has(.pdp-seller-banner.pdp-seller-banner--has-image)) .pdp-seller-card-logo-wrap {
  margin: 0;
  align-self: flex-start;
}
.pdp-seller-card:not(.teste-pdp-seller-card-aside):has(.pdp-seller-banner.pdp-seller-banner--has-image) .pdp-seller-card-intro {
  position: static;
  padding: 0;
  box-sizing: border-box;
}
.pdp-seller-card:not(.teste-pdp-seller-card-aside):has(.pdp-seller-banner.pdp-seller-banner--has-image) .pdp-seller-card-intro-main {
  margin-left: 0;
  margin-right: 0;
  padding-top: 28px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 8px;
  box-sizing: border-box;
}


.pdp-seller-card-intro-main > .pdp-seller-card-desc {
  margin-top: 4px;
}
.pdp-seller-card-intro .pdp-seller-detail-info {
  margin-top: 0;
}

.pdp-seller-card-logo-wrap .pdp-seller-card-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.pdp-seller-card-body {
  padding: 32px 0 16px;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  border-bottom: 1px solid #d0d0d0;
}
.pdp-seller-card:not(.teste-pdp-seller-card-aside) .pdp-seller-card-body {
  padding: 14px 0 16px;
}
.pdp-seller-card:not(.teste-pdp-seller-card-aside):has(.pdp-seller-banner.pdp-seller-banner--has-image) .pdp-seller-card-body {
  padding-top: 10px;
}
/* Sem linha entre o bloco do vendedor e a galeria vertical (evita “traço” acima de Ver mais imagens) */
.pdp-seller-card:has(.ui-pdp-vertical-gallery) .pdp-seller-card-body {
  border-bottom: none;
}

/* ---- Galeria vertical (Fotos do produto) ---- */
.ui-pdp-vertical-gallery {
  margin: 0;
  padding: 0;
  background: #fff;
  border: none;
  border-radius: 0;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: visible;
}
.ui-pdp-vertical-gallery-title {
  font-size: 24px;
  font-weight: 400;
  color: #000;
  margin: 0;
  padding: 20px 24px 12px;
}
.ui-pdp-vertical-gallery-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 4px 0 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  border: none;
  box-shadow: none;
}
.ui-pdp-vertical-gallery.vertical-gallery-collapsed .ui-pdp-vertical-gallery-images {
  max-height: calc(2 * min(460px, 88vw) + 28px);
}
.ui-pdp-vertical-gallery:not(.vertical-gallery-collapsed) .ui-pdp-vertical-gallery-images {
  max-height: 9999px;
}
.ui-pdp-vertical-gallery-img {
  display: block;
  width: 100% !important;
  max-width: min(96%, 480px) !important;
  min-width: 0;
  max-height: min(460px, 88vw) !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.pdp-seller-card .ui-pdp-vertical-gallery-images {
  align-items: flex-start;
  padding-left: 12px;
  padding-right: 12px;
}
.pdp-seller-card .ui-pdp-vertical-gallery-img {
  margin-left: 0;
  margin-right: auto;
}
.ui-pdp-vertical-gallery-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 398px;
  max-width: 398px;
  height: 50px;
  flex-shrink: 0;
  margin: 16px calc((100% - 398px) / 2) 0;
  padding: 0 20px;
  background: #fff;
  border: none !important;
  border-width: 0 !important;
  border-bottom: 1px solid #e6e6e6 !important;
  border-radius: 8px;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  font-size: 14px;
  color: var(--pdp-blue, #3483fa);
  cursor: pointer;
  font-family: inherit;
}
.ui-pdp-vertical-gallery-more:hover {
  background: #f9f9f9;
  border: none !important;
  border-bottom: 1px solid #e6e6e6 !important;
  box-shadow: none !important;
}
.ui-pdp-vertical-gallery-chevron {
  width: 9px;
  height: 14px;
  flex-shrink: 0;
  color: var(--pdp-blue, #3483fa);
}
.pdp-seller-card-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; margin-top: 0; font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.pdp-seller-card-desc {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 12px;
  color: var(--pdp-text-secondary);
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-seller-detail-info {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
  padding-bottom: 0;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-seller-detail-info p { margin: 0; font-size: 12px; color: var(--pdp-text-secondary); }
.pdp-seller-detail-num { font-weight: 600; color: #000; }
.pdp-seller-lider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-seller-lider-icon { flex-shrink: 0; display: flex; align-items: center; }
.pdp-seller-lider-icon img { display: block; }
.pdp-seller-lider-text { margin: 0; }
.pdp-seller-lider-title { font-size: 14px; font-weight: 600; color: var(--pdp-green); margin: 0 0 2px; }
.pdp-seller-lider-subtitle { font-size: 12px; font-weight: 400; color: var(--pdp-text-secondary); margin: 0; }
.pdp-seller-card-stats { font-size: 13px; color: var(--pdp-text-secondary); margin-bottom: 12px; }
.pdp-seller-card-stats strong { color: #000; }
.pdp-cockade { vertical-align: middle; margin-left: 0; padding-left: 0; display: inline-block; }
.pdp-seller-follow {
  padding: 8px 16px;
  background: var(--pdp-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  margin-bottom: 12px;
}
.pdp-seller-reputation { margin-top: 12px; font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.pdp-reputation-bar {
  display: flex;
  gap: 3px;
  height: 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.pdp-reputation-stage {
  flex: 1;
  height: 100%;
  opacity: 0.35;
  transition: opacity 0.2s;
}
.pdp-reputation-stage--active { opacity: 1; }
.pdp-reputation-stage--1 { background: #F23D4F; }
.pdp-reputation-stage--2 { background: #FF7733; }
.pdp-reputation-stage--3 { background: #e6cf00; flex: 1.15; }
.pdp-reputation-stage--4 { background: #AADB1E; }
.pdp-reputation-stage--5 { background: #00A650; }
.pdp-reputation-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  font-size: 12px;
  text-align: center;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-reputation-value { font-weight: 700; color: #000; display: block; font-size: 14px; }
.pdp-reputation-value[data-pdp-metric-1] { font-weight: 700; color: #000; }
.pdp-reputation-value .pdp-reputation-icon { display: inline-block; vertical-align: middle; }
.pdp-reputation-label { color: var(--pdp-text-secondary); font-size: 12px; }

/* ---- Características ---- */
.pdp-section { margin: 24px 0; }
.pdp-section-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.pdp-section-subtitle { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--pdp-text-secondary); }
.pdp-chars-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pdp-chars-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--pdp-border);
  vertical-align: top;
}
.pdp-chars-table td:first-child { color: var(--pdp-text-secondary); width: 40%; }
.pdp-chars-table td:last-child { font-weight: 500; background: #fafafa; }

/* ---- Descrição (corpo #666, separador tracejado) ---- */
.pdp-description-wrap {
  margin-top: 4px;
}
[data-pdp-description] {
  background: #fff;
}
[data-pdp-description] .pdp-section-title {
  text-transform: none;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin: 0 0 10px;
  padding: 0;
  letter-spacing: 0.02em;
}
.pdp-description {
  font-size: 15px;
  line-height: 1.55;
  color: #666;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fff;
}
.pdp-description__title {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #666;
  font-family: inherit;
}
.pdp-description__title--muted {
  color: #c4c4c4;
  font-weight: 500;
  margin-top: 4px;
}
.pdp-description__hr {
  display: block;
  border: 0;
  height: 0;
  margin: 18px 0 20px;
  padding: 0;
  border-top: 1px dashed #ccc;
  background: none;
}
.pdp-description p {
  margin: 0 0 14px;
  color: #666;
  font-size: 15px;
  line-height: 1.55;
}
.pdp-description p:last-child {
  margin-bottom: 0;
}
.pdp-description.pdp-description-collapsed {
  position: relative;
  max-height: 11.5em;
  overflow: hidden;
}
.pdp-description.pdp-description-collapsed::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 3.6em;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 35%,
    #fff 88%,
    #fff 100%
  );
}
.pdp-description-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  color: var(--pdp-blue);
  font-size: 14px;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  margin-top: 12px;
  cursor: pointer;
}
.pdp-description-toggle:hover {
  color: #2968c8;
  text-decoration: none !important;
}
a.pdp-description-toggle:focus,
a.pdp-description-toggle:focus-visible,
a.pdp-description-toggle:active {
  text-decoration: none !important;
  text-decoration-line: none !important;
  -webkit-text-decoration: none !important;
  box-shadow: none;
  outline: none;
  color: var(--pdp-blue);
}
.pdp-description-chevron {
  display: inline-flex;
  align-items: center;
  color: var(--pdp-blue);
}
.pdp-description-chevron svg {
  display: block;
}
.pdp-description ul {
  margin: 12px 0;
  padding-left: 24px;
  color: #666;
}
.pdp-description li { margin-bottom: 6px; }

/* ---- Meios de pagamento ---- */
.pdp-payment {
  margin: 24px 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  padding: 12px 0;
}
.pdp-payment .pdp-section-title {
  font-weight: 400;
  color: #000;
  margin: 40px 0 8px;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
}
.pdp-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pdp-green);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.pdp-payment-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pdp-green);
  text-align: left;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-payment-promo__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--pdp-green);
  line-height: 0;
}
.pdp-payment-promo__icon img {
  display: block;
  width: 21px;
  height: auto;
  max-height: 20px;
  object-fit: contain;
}
.pdp-payment-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px 4px;
  width: 100%;
  min-width: 0;
  padding-bottom: 2px;
  margin-bottom: 40px;
  align-items: stretch;
  justify-items: stretch;
}
.pdp-payment-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.pdp-payment-item {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 40px;
  min-height: 40px;
  border: 1px solid #eee;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-align: center;
  padding: 2px 4px;
  background: #fff;
}
/* Uma grelha 1×6: seis células iguais, mesma linha. */
.pdp-payment-item.pdp-payment-item--card,
.pdp-payment-item.pdp-payment-item--pix,
.pdp-payment-item.pdp-payment-item--boleto {
  width: 100%;
  max-width: none;
  height: 40px;
  min-height: 40px;
  padding: 2px 4px;
  overflow: hidden;
}
.pdp-payment-item.pdp-payment-item--card img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: none;
}
.pdp-payment-item.pdp-payment-item--pix img {
  max-height: 30px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.pdp-payment-item.pdp-payment-item--boleto img {
  max-height: 32px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: none;
}

/* ---- Avaliações ---- */
.pdp-reviews { margin: 24px 0; font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
[data-pdp-reviews] > .pdp-section-title {
  font-size: 24px;
  font-weight: 400;
  color: #000;
  font-style: normal;
  font-synthesis: none;
}
.pdp-reviews-header {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  align-items: flex-start;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-reviews-summary {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.pdp-reviews-breakdown {
  flex: 1;
  min-width: 0;
  margin-bottom: 0 !important;
}
.pdp-reviews-score { font-size: 48px; font-weight: 600; color: var(--pdp-blue); }
.pdp-reviews-stars { color: var(--pdp-blue); font-size: 20px; letter-spacing: 2px; }
.pdp-reviews-stars-dummy { color: var(--pdp-yellow); font-size: 20px; letter-spacing: 2px; }
.pdp-reviews-count { font-size: 14px; color: var(--pdp-text-secondary); }
.pdp-reviews-bars { list-style: none; margin: 0; padding: 0; margin-bottom: 20px; }
.pdp-reviews-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #c4c4c4;
}
.pdp-reviews-bar-row--filled { color: #333; }
.pdp-reviews-bar-track {
  flex: 1;
  height: 6px;
  background: #e6e6e6;
  border-radius: 3px;
  overflow: hidden;
  min-width: 60px;
}
.pdp-reviews-bar-fill {
  display: block;
  height: 100%;
  min-width: 0;
  background: #e6e6e6;
  border-radius: 3px;
  transition: width 0.2s;
}
.pdp-reviews-bar-row--filled .pdp-reviews-bar-fill { background: #333; }
.pdp-reviews-bar-num { flex-shrink: 0; width: 14px; text-align: right; }
.pdp-reviews-bar-star { flex-shrink: 0; font-size: 14px; color: inherit; }
.pdp-reviews-empty {
  text-align: center;
  padding: 24px 16px;
  color: var(--pdp-text-secondary);
  font-size: 14px;
}
.pdp-reviews-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.pdp-reviews-empty p { margin: 4px 0; }

/* ---- Review items (comentários individuais) ---- */
.pdp-reviews-list { display: flex; flex-direction: column; gap: 20px; }
.pdp-review-item {
  padding: 16px 0;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pdp-review-stars { color: var(--pdp-blue, #3483fa); font-size: 18px; letter-spacing: 2px; }
.pdp-review-date { font-size: 13px; color: var(--pdp-text-secondary, #999); }
.pdp-review-dateline {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0;
  flex-shrink: 0;
}
.pdp-review-locale {
  font-size: 13px;
  font-weight: 400;
  color: var(--pdp-text-secondary, #999);
}
.pdp-review-photos {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pdp-review-photos::-webkit-scrollbar { display: none; }
.pdp-review-photos img {
  width: 130px;
  min-width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f0f0;
  cursor: pointer;
  flex-shrink: 0;
}
.pdp-review-text { font-size: 15px; color: #333; line-height: 1.5; margin: 0 0 12px; }
.pdp-review-footer { display: flex; align-items: center; gap: 8px; }
@keyframes pdp-review-util-liked {
  0% { transform: scale(1); }
  45% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.pdp-review-util {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.pdp-review-util:hover:not(.pdp-review-util--liked) {
  border-color: #3483fa;
  color: #2968c8;
}
.pdp-review-util:hover:not(.pdp-review-util--liked) .pdp-review-util-icon {
  color: #3483fa;
}
.pdp-review-util-label { white-space: nowrap; }
.pdp-review-util-icon {
  display: inline-flex;
  align-items: center;
  color: rgba(0, 0, 0, 0.55);
  transition: color 0.25s ease;
}
.pdp-review-util-icon svg,
.pdp-review-util-hand {
  display: block;
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
}
.pdp-review-util-icon svg path {
  fill: currentColor;
  transition: fill 0.25s ease;
}
.pdp-review-util-count {
  font-variant-numeric: tabular-nums;
  min-width: 1ch;
}
/* Ativo: pill azul sólido + texto e joinha brancos (!important vence estilos globais de button do ML) */
.pdp-reviews .pdp-review-util.pdp-review-util--liked,
button.pdp-review-util.pdp-review-util--liked {
  background: #3483fa !important;
  border: 2px solid #3483fa !important;
  color: #fff !important;
  cursor: default;
  box-shadow: 0 2px 10px rgba(52, 131, 250, 0.45) !important;
}
.pdp-reviews .pdp-review-util.pdp-review-util--liked .pdp-review-util-label,
button.pdp-review-util.pdp-review-util--liked .pdp-review-util-label {
  display: none !important;
}
.pdp-reviews .pdp-review-util.pdp-review-util--liked .pdp-review-util-icon,
button.pdp-review-util.pdp-review-util--liked .pdp-review-util-icon {
  color: #fff !important;
  margin: 0;
  order: -1;
}
.pdp-reviews .pdp-review-util.pdp-review-util--liked .pdp-review-util-icon svg,
button.pdp-review-util.pdp-review-util--liked .pdp-review-util-icon svg {
  color: #fff !important;
  fill: #fff !important;
}
.pdp-reviews .pdp-review-util.pdp-review-util--liked .pdp-review-util-icon svg path,
button.pdp-review-util.pdp-review-util--liked .pdp-review-util-icon svg path {
  fill: #fff !important;
  fill-opacity: 1 !important;
}
.pdp-reviews .pdp-review-util.pdp-review-util--liked .pdp-review-util-count,
button.pdp-review-util.pdp-review-util--liked .pdp-review-util-count {
  font-weight: 600;
  margin: 0;
  color: #fff !important;
}
@media (prefers-reduced-motion: no-preference) {
  .pdp-reviews .pdp-review-util.pdp-review-util--liked,
  button.pdp-review-util.pdp-review-util--liked {
    animation: pdp-review-util-liked 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
  }
}

/* ---- Footer PDP ---- */
.pdp-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--pdp-border);
  font-size: 12px;
  color: var(--pdp-text-secondary);
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.pdp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.pdp-footer-links a { color: var(--pdp-text-secondary); text-decoration: none; }
.pdp-footer-copy { margin-bottom: 4px; }
.pdp-footer-legal { font-size: 11px; line-height: 1.4; }

/* ---- Modal de foto (estilo Mercado Livre no desktop) ---- */
.pdp-photo-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pdp-photo-modal-close {
  position: absolute;
  top: max(26px, calc(env(safe-area-inset-top) + 14px));
  right: max(52px, calc(env(safe-area-inset-right) + 40px));
  z-index: 12;
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 44px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.pdp-photo-modal-close:hover {
  opacity: 1;
}
.pdp-photo-modal-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
  border-radius: 4px;
}

.pdp-photo-modal-count {
  position: absolute;
  top: max(28px, calc(env(safe-area-inset-top) + 14px));
  left: max(72px, calc(env(safe-area-inset-left) + 48px));
  z-index: 12;
  margin: 0;
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.03em;
  pointer-events: none;
  user-select: none;
}

.pdp-photo-modal-slides {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.pdp-photo-modal-track {
  display: flex;
  height: 100%;
  min-height: 50vh;
  flex-shrink: 0;
}
.pdp-photo-modal-track .pdp-photo-modal-img {
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  -webkit-user-drag: none;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}
.pdp-photo-modal-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.pdp-photo-modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s;
}
.pdp-photo-modal-dot:hover { background: rgba(255,255,255,0.5); }
.pdp-photo-modal-dot.active { background: #fff; }

.pdp-photo-modal > .pdp-photo-modal-dots {
  z-index: 8;
}

.pdp-photo-modal-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.pdp-photo-modal-nav-btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.pdp-photo-modal-nav-btn svg {
  display: block;
  flex-shrink: 0;
}
.pdp-photo-modal-nav-btn:hover:not(:disabled):not(.is-hidden) {
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
}
.pdp-photo-modal-nav-btn:active:not(:disabled):not(.is-hidden) {
  transform: translateY(-50%) scale(0.97);
}
.pdp-photo-modal-nav-prev {
  left: max(20px, env(safe-area-inset-left));
}
.pdp-photo-modal-nav-next {
  right: max(20px, env(safe-area-inset-right));
}
.pdp-photo-modal-nav-btn.is-hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}
.pdp-photo-modal-nav-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pdp-photo-modal-nav-btn {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
