/* GoJD product trust + mobile app details — 2026-08-29 */
.gojd-product-trust-benefits{width:100%;margin:14px 0 4px;padding:3px 0;border-top:1px solid #ededed;border-bottom:1px solid #ededed;background:#fff}
.gojd-product-trust-row{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;padding:10px 2px;color:#1b1b1d}
.gojd-product-trust-row+.gojd-product-trust-row{border-top:1px solid #f0f0f0}
.gojd-product-trust-icon{display:grid;place-items:center;width:30px;height:30px;color:#242426}
.gojd-product-trust-icon svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.gojd-product-trust-row strong,.gojd-product-return-link{font-size:13px;line-height:1.35;font-weight:800;color:#242426}
.gojd-product-return-link{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.gojd-product-trust-row p{margin:3px 0 0;font-size:11.5px;line-height:1.35;color:#6d6f76}
.gojd-product-warranty-link{appearance:none;border:0;background:transparent;padding:0;margin-left:4px;font:inherit;font-size:12px;font-weight:800;color:#cf0011;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.gojd-product-warranty-link:hover{color:#9f0010}
.gojd-product-quick-details{display:none}

/* Bottom sheets reuse the exact payment-sheet shell/drag behavior. */
.gojd-product-info-sheet-root .gojd-pay-sheet{width:min(760px,100%)}
.gojd-product-info-sheet-root .gojd-pay-sheet-scroll{padding-bottom:30px}
.gojd-detail-sheet-section{border:1px solid #e9e9eb;border-radius:16px;padding:15px;margin-bottom:12px;background:#fff}
.gojd-detail-sheet-section:last-child{margin-bottom:0}
.gojd-detail-sheet-section h3{margin:0 0 10px;font-size:14px;line-height:1.25;font-weight:850;color:#19191b}
.gojd-detail-description{margin:0;white-space:pre-line;font-size:12px;line-height:1.58;color:#56585f}
.gojd-detail-specs-wrap{overflow:auto;border-radius:10px;border:1px solid #efeff1}
.gojd-detail-specs{width:100%;border-collapse:collapse;background:#fff}
.gojd-detail-specs th,.gojd-detail-specs td{padding:9px 10px;border-bottom:1px solid #efeff1;vertical-align:top;text-align:left;font-size:11px;line-height:1.4}
.gojd-detail-specs tr:last-child th,.gojd-detail-specs tr:last-child td{border-bottom:0}
.gojd-detail-specs th{width:34%;font-weight:800;color:#26272b;background:#fafafa}
.gojd-detail-specs td{color:#606169}
.gojd-detail-warranty-copy section{margin:0 0 14px;padding:0}
.gojd-detail-warranty-copy section:last-child{margin-bottom:0}
.gojd-detail-warranty-copy strong{display:block;margin-bottom:4px;font-size:12px;line-height:1.35;color:#202126}
.gojd-detail-warranty-copy p{margin:0 0 8px;white-space:pre-line;font-size:11.5px;line-height:1.55;color:#595b61}
.gojd-detail-warranty-copy p:last-child{margin-bottom:0}

@media(min-width:769px){
  .gojd-product-trust-benefits{max-width:100%;margin-top:18px}
  .gojd-product-trust-row{grid-template-columns:38px minmax(0,1fr);min-height:62px;padding:11px 4px}
  .gojd-product-trust-icon{width:34px;height:34px}
  .gojd-product-trust-icon svg{width:25px;height:25px}
  .gojd-product-trust-row strong,.gojd-product-return-link{font-size:13.5px}
  .gojd-product-trust-row p{font-size:12px}
}

@media(max-width:768px){
  .gojd-product-trust-benefits{margin:12px 0 3px;padding:0;border-radius:0}
  .gojd-product-trust-row{grid-template-columns:31px minmax(0,1fr);gap:9px;min-height:54px;padding:9px 0}
  .gojd-product-trust-icon{width:28px;height:28px}
  .gojd-product-trust-icon svg{width:22px;height:22px}
  .gojd-product-trust-row strong,.gojd-product-return-link{font-size:12.5px}
  .gojd-product-trust-row p{font-size:10.5px;margin-top:2px}
  .gojd-product-warranty-link{font-size:11.5px}

  /* Mobile: the old inline accordion stays in the DOM/data flow but is replaced visually
     by one compact app-like entry point. Desktop is untouched. */
  .product-details-accordion{display:none!important}
  .gojd-product-quick-details{display:block;width:100%;margin:2px 0 30px;padding:0 0 22px;border-bottom:1px solid #ececef;background:#fff}
  .gojd-product-quick-details h2{margin:0 0 17px;font-size:21px;line-height:1.2;font-weight:850;letter-spacing:-.025em;color:#18181a}
  .gojd-product-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
  .gojd-product-quick-detail{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;min-height:66px;padding:9px 0;border-bottom:1px solid #f0f0f2}
  .gojd-product-quick-detail:nth-last-child(-n+2){border-bottom:0}
  .gojd-product-quick-icon{display:grid;place-items:center;width:32px;height:32px;border:1px solid #e7e7ea;border-radius:10px;background:#fafafa;color:#222329}
  .gojd-product-quick-icon svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .gojd-product-quick-detail>div{display:flex;flex-direction:column;min-width:0}
  .gojd-product-quick-detail span{font-size:9.5px;line-height:1.25;color:#777981}
  .gojd-product-quick-detail strong{margin-top:2px;font-size:11.5px;line-height:1.28;font-weight:800;color:#25262a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .gojd-product-quick-empty{grid-column:1/-1;margin:0 0 12px;font-size:11px;color:#74767c}
  .gojd-product-more-details{width:100%;height:46px;margin-top:14px;border:1px solid #dcdde1;border-radius:13px;background:#fff;color:#1e1f22;display:flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:12.5px;font-weight:850;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.02)}
  .gojd-product-more-details svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

  .gojd-product-info-sheet-root .gojd-pay-sheet{width:100%;max-height:90vh;border-radius:22px 22px 0 0}
  .gojd-product-info-sheet-root .gojd-pay-sheet-scroll{max-height:calc(90vh - 82px);padding:13px 14px calc(24px + env(safe-area-inset-bottom,0px))}
  .gojd-detail-sheet-section{border-radius:14px;padding:13px;margin-bottom:10px}
  .gojd-detail-sheet-section h3{font-size:13px}
  .gojd-detail-description{font-size:11px;line-height:1.55}
  .gojd-detail-specs th,.gojd-detail-specs td{padding:8px;font-size:10px}
  .gojd-detail-specs th{width:40%}
  .gojd-detail-warranty-copy strong{font-size:11.5px}
  .gojd-detail-warranty-copy p{font-size:10.5px}
}

@media(max-width:370px){
  .gojd-product-quick-grid{gap:0 9px}
  .gojd-product-quick-detail{grid-template-columns:30px minmax(0,1fr);gap:6px}
  .gojd-product-quick-icon{width:29px;height:29px}
  .gojd-product-quick-detail strong{font-size:10.8px}
}
/* GoJD: CTA de detalhes centralizado — 2026-08-29 */
.gojd-product-more-details{margin-left:auto!important;margin-right:auto!important}
@media(min-width:769px){.gojd-product-more-details{width:min(326px,100%)!important}}

/* Mobile: aviso de condição fica após a linha de garantia; evita flash na posição antiga. */
@media(max-width:768px){
  .smartphone-hero-left>.smartphone-condition-card-under-gallery{display:none!important}
  .smartphone-hero-right>.smartphone-condition-card-under-gallery{display:block!important;margin:10px 0 4px!important}
}

/* GoJD — mobile: aproxima Garantia e Detalhes do produto. */
@media(max-width:768px){
  body .product-page .smartphone-product-hero{
    margin-bottom:8px!important;
  }
  body .product-page .product-bottom-section{
    margin-top:0!important;
  }
  body .product-page .gojd-product-quick-details{
    margin-top:0!important;
  }
}

/* GoJD — mobile: o acordeão horizontal legado nunca substitui o bloco Detalhes do produto. */
@media(max-width:768px){
  body .product-page .product-details-accordion{
    display:none!important;
  }
}

/* GoJD — Mais detalhes: o resumo com ícones é a apresentação oficial em
   qualquer viewport; os painéis antigos permanecem apenas como fonte de
   conteúdo para o bottom sheet. */
body .product-page .product-details-accordion{display:none!important}
body .product-page .gojd-product-quick-details{
  display:block;
  width:100%;
  margin:18px 0 30px;
  padding:0 0 22px;
  border-bottom:1px solid #ececef;
  background:#fff;
}
body .product-page .gojd-product-quick-details h2{
  margin:0 0 17px;
  font-size:21px;
  line-height:1.2;
  font-weight:850;
  letter-spacing:-.025em;
  color:#18181a;
}
body .product-page .gojd-product-quick-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 18px;
}
body .product-page .gojd-product-quick-detail{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:10px;
  min-height:70px;
  padding:10px 0;
  border-bottom:1px solid #f0f0f2;
}
body .product-page .gojd-product-quick-icon{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:1px solid #e7e7ea;
  border-radius:10px;
  background:#fafafa;
  color:#222329;
}
body .product-page .gojd-product-quick-icon svg{
  display:block;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body .product-page .gojd-product-quick-detail>div{
  display:flex;
  flex-direction:column;
  min-width:0;
}
body .product-page .gojd-product-quick-detail span{
  font-size:10px;
  line-height:1.25;
  color:#777981;
}
body .product-page .gojd-product-quick-detail strong{
  margin-top:2px;
  font-size:12px;
  line-height:1.3;
  font-weight:800;
  color:#25262a;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body .product-page .gojd-product-more-details{
  width:min(326px,100%);
  height:46px;
  margin:14px auto 0;
  border:1px solid #dcdde1;
  border-radius:13px;
  background:#fff;
  color:#1e1f22;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font:inherit;
  font-size:12.5px;
  font-weight:850;
  cursor:pointer;
  box-shadow:0 1px 2px rgba(0,0,0,.02);
}
body .product-page .gojd-product-more-details svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media(max-width:768px){
  body .product-page .gojd-product-quick-details{margin:0 0 30px}
  body .product-page .gojd-product-quick-grid{gap:0 14px}
  body .product-page .gojd-product-quick-detail{grid-template-columns:34px minmax(0,1fr);gap:8px;min-height:66px;padding:9px 0}
  body .product-page .gojd-product-quick-icon{width:32px;height:32px}
  body .product-page .gojd-product-quick-icon svg{width:19px;height:19px}
  body .product-page .gojd-product-quick-detail span{font-size:9.5px}
  body .product-page .gojd-product-quick-detail strong{font-size:11.5px}
}

@media(max-width:370px){
  body .product-page .gojd-product-quick-grid{gap:0 9px}
  body .product-page .gojd-product-quick-detail{grid-template-columns:30px minmax(0,1fr);gap:6px}
  body .product-page .gojd-product-quick-icon{width:29px;height:29px}
  body .product-page .gojd-product-quick-detail strong{font-size:10.8px}
}
