/* GoJD Purchase Flow Scale V1
   Canonical FINAL geometry for Carrinho > Endereço > Entrega > Pagamento > Revisão > Concluir.
   Pure presentation only: never reads/writes feature settings. */

/* =========================
   DESKTOP — compact software scale
   ========================= */
@media (min-width:769px){
  html.gojd-secure-purchase.gojd-secure-desktop-software .premium-cart>.container,
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-layout,
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-container{
    width:min(1180px,calc(100vw - 42px))!important;
    max-width:1180px!important;
  }

  /* Six stages */
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-steps-container{
    height:50px!important;min-height:50px!important;padding:3px 8px 2px!important;margin:0!important
  }
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-steps{height:44px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-steps .step-item{
    flex-basis:72px!important;gap:2px!important;padding:0 5px!important
  }
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-steps .step-indicator{
    width:24px!important;height:24px!important;min-width:24px!important;font-size:10px!important;border-width:1px!important
  }
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-steps .step-label{font-size:9px!important;line-height:11px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-steps::before{top:12px!important;height:1px!important}

  /* Step 1 — cart */
  html.gojd-secure-purchase.gojd-secure-desktop-software .premium-cart>.container{
    grid-template-rows:50px 38px minmax(0,1fr)!important;padding-bottom:8px!important
  }
  html.gojd-secure-purchase.gojd-secure-desktop-software .cart-header-title{height:38px!important;padding:0 3px 5px!important;column-gap:14px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .cart-header-title h1{font-size:21px!important;letter-spacing:-.02em!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .cart-count,
  html.gojd-secure-purchase.gojd-secure-desktop-software .continue-link{font-size:10px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .cart-container-premium{
    grid-template-columns:minmax(0,1fr) 286px!important;gap:16px!important
  }
  html.gojd-secure-purchase.gojd-secure-desktop-software .cart-items-premium{padding:0 12px!important;border-radius:9px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .cart-item-premium{
    grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important;min-height:98px!important;padding:8px 0!important
  }
  html.gojd-secure-purchase.gojd-secure-desktop-software .item-image-premium{
    width:76px!important;height:76px!important;min-width:76px!important;min-height:76px!important;border-radius:7px!important
  }
  html.gojd-secure-purchase.gojd-secure-desktop-software .item-title-row{grid-template-columns:minmax(0,1fr) 116px!important;gap:10px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .item-title-row h3{font-size:12.5px!important;margin:0 0 4px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .item-meta-premium{font-size:9.5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .item-price-premium{font-size:13px!important;margin:5px 0!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .item-price-actions{width:116px!important;gap:4px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .qty-selector-premium{width:108px!important;height:30px!important;border-radius:6px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .qty-selector-premium button{width:30px!important;height:28px!important;font-size:12px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .qty-selector-premium span{font-size:11px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .cart-summary-premium{padding:0!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-card,
  html.gojd-secure-purchase.gojd-secure-desktop-software .shipping-section,
  html.gojd-secure-purchase.gojd-secure-desktop-software .totals-section{padding:10px 11px!important;border-radius:8px!important;margin-bottom:8px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .shipping-section h4{font-size:12px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .cep-input-group input,
  html.gojd-secure-purchase.gojd-secure-desktop-software .cep-input-group button{height:34px!important;font-size:10px!important;border-radius:6px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .total-row{font-size:10px!important;padding:5px 0!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .final-price{font-size:17px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .gojd-mobile-cart-continue,
  html.gojd-secure-purchase.gojd-secure-desktop-software .btn-continue-shopping{height:36px!important;min-height:36px!important;font-size:11px!important;border-radius:7px!important}

  /* Steps 2–5 workspace */
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-layout{
    grid-template-columns:minmax(0,1fr) 286px!important;grid-template-rows:50px minmax(0,1fr)!important;column-gap:16px!important;padding-bottom:8px!important
  }
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-header-logo{display:none!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .step-content-container{padding:2px 8px 8px 1px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-step-content>h2{font-size:20px!important;margin:0 0 2px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-step-desc{font-size:10.5px!important;margin:0 0 9px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-form{gap:7px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .form-row{gap:7px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .form-group label{font-size:9.5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .form-group input,
  html.gojd-secure-purchase.gojd-secure-desktop-software .form-group select,
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-form input:not([type="radio"]){height:34px!important;min-height:34px!important;font-size:10.5px!important;border-radius:6px!important;padding:0 9px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .address-toggle{margin-bottom:7px!important;padding-bottom:6px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .address-toggle label{font-size:10px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-form label:has(input[name="savedAddress"]){min-height:64px!important;padding:8px 10px!important;border-radius:7px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-form label:has(input[name="savedAddress"]) h4{font-size:11px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-form label:has(input[name="savedAddress"]) p{font-size:9.5px!important;line-height:1.28!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-step-actions{margin-top:7px!important;padding-top:6px!important;gap:6px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-step-actions .btn{height:34px!important;min-height:34px!important;font-size:10.5px!important;border-radius:6px!important}

  html.gojd-secure-purchase.gojd-secure-desktop-software .gojd-secure-receiving-group{margin-bottom:7px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .gojd-secure-receiving-heading h3{font-size:11.5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .gojd-secure-receiving-heading p{font-size:9px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .shipping-options-list{gap:5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .shipping-option-label{min-height:54px!important;padding:7px 9px!important;border-radius:7px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .shipping-name{font-size:11px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .shipping-desc{font-size:8.8px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .shipping-price{font-size:10.5px!important}

  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-step-content button[style*="text-align: left"]{min-height:52px!important;padding:8px 10px!important;border-radius:7px!important;font-size:10.5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-step-content div[style*="padding: 14px"],
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-step-content div[style*="padding:14px"],
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-step-content div[style*="padding: 16px"],
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-step-content div[style*="padding:16px"]{padding:9px!important;border-radius:7px!important}

  html.gojd-secure-purchase.gojd-secure-desktop-software .review-cards{gap:6px!important;margin-bottom:6px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .review-card{padding:8px 10px!important;border-radius:7px!important;font-size:9.8px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .review-card h4{font-size:11px!important;margin-bottom:4px!important;padding-bottom:4px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .review-card p{font-size:9.5px!important;margin:1px 0!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .review-products-list{margin-bottom:5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .gojd-secure-consent{font-size:9.3px!important;padding:7px 8px!important;margin:5px 0!important}

  /* Summary sidebar — intentionally narrow and dense */
  html.gojd-secure-purchase.gojd-secure-desktop-software .checkout-sidebar{width:286px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .order-summary-premium{padding:11px!important;border-radius:8px!important;top:0!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .order-summary-premium>h3{font-size:13px!important;margin-bottom:7px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-items-list{gap:5px!important;margin-bottom:7px!important;max-height:210px!important;padding-right:5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-item{padding:4px 0!important;gap:6px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-item-img{width:38px!important;height:38px!important;min-width:38px!important;border-radius:6px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-item-qty{width:15px!important;height:15px!important;font-size:8px!important;top:-5px!important;right:-5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-item-name{font-size:9.5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-item-meta,
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-item-price{font-size:8.5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-totals{padding-top:7px!important;gap:4px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-row{font-size:9.5px!important;padding:4px 0!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .summary-row.total-row{padding-top:7px!important;margin-top:3px!important;font-size:11.5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .total-price{font-size:16px!important}

  /* Success */
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-header{padding:11px 14px!important;grid-template-columns:58px minmax(0,1fr)!important;column-gap:11px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-icon-wrapper{width:52px!important;height:52px!important;margin:0!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-icon{width:28px!important;height:28px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-header h1{font-size:19px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-header p{font-size:9.5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .order-number{font-size:9.5px!important;padding:5px 8px!important;margin-top:4px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-status-box,
  html.gojd-secure-purchase.gojd-secure-desktop-software .detail-card,
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-next-steps{padding:8px 9px!important;border-radius:7px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-status-box h3,
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-next-steps h3{font-size:11px!important;margin-bottom:4px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-status-box p,
  html.gojd-secure-purchase.gojd-secure-desktop-software .detail-card p,
  html.gojd-secure-purchase.gojd-secure-desktop-software .steps-timeline li p{font-size:9px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .detail-card h4,
  html.gojd-secure-purchase.gojd-secure-desktop-software .steps-timeline li strong{font-size:10.5px!important}
  html.gojd-secure-purchase.gojd-secure-desktop-software .success-actions .btn{height:34px!important;min-height:34px!important;font-size:10.5px!important;border-radius:6px!important}
}

/* =========================
   MOBILE BROWSER + APP VIEW
   ========================= */
@media (max-width:768px){
  /* Steps 2–5: compact fixed application shell */
  body:has(#gojd-mobile-purchase-flow) .gojd-purchase-header,
  body.gojd-mobile-checkout-ref .gojd-purchase-header{
    min-height:42px!important;height:42px!important;padding:max(5px,env(safe-area-inset-top,0px)) 11px 3px!important;display:flex!important;align-items:flex-end!important
  }
  body:has(#gojd-mobile-purchase-flow) .gojd-purchase-heading h1,
  body.gojd-mobile-checkout-ref .gojd-purchase-heading h1{font-size:22px!important;line-height:1!important;letter-spacing:-.35px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-purchase-secure,
  body:has(#gojd-mobile-purchase-flow) .gojd-purchase-heading p,
  body.gojd-mobile-checkout-ref .gojd-purchase-secure,
  body.gojd-mobile-checkout-ref .gojd-purchase-heading p{display:none!important}

  body:has(#gojd-mobile-purchase-flow) .gojd-purchase-progress-six,
  body.gojd-mobile-checkout-ref .gojd-purchase-progress-six{
    min-height:52px!important;padding:5px 8px 7px!important
  }
  body:has(#gojd-mobile-purchase-flow) .gojd-purchase-progress-six:before,
  body.gojd-mobile-checkout-ref .gojd-purchase-progress-six:before{left:9%!important;right:9%!important;top:17px!important;border-width:1px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-step-six,
  body.gojd-mobile-checkout-ref .gojd-step-six{gap:3px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-step-six span,
  body.gojd-mobile-checkout-ref .gojd-step-six span{width:24px!important;height:24px!important;font-size:9.5px!important;border-width:1px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-step-six small,
  body.gojd-mobile-checkout-ref .gojd-step-six small{font-size:8px!important;line-height:9px!important;white-space:nowrap!important}

  body:has(#gojd-mobile-purchase-flow) .gojd-purchase-body,
  body.gojd-mobile-checkout-ref .gojd-purchase-body{padding:4px 10px 68px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-section-title,
  body.gojd-mobile-checkout-ref .gojd-section-title{font-size:17px!important;line-height:1.08!important;margin:4px 0 3px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-section-subtitle,
  body.gojd-mobile-checkout-ref .gojd-section-subtitle{font-size:10.5px!important;line-height:1.3!important;margin:0 0 9px!important}

  /* Address */
  body:has(#gojd-mobile-purchase-flow) .gojd-saved-addresses{gap:6px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-reference{min-height:72px!important;border-radius:9px!important;box-shadow:none!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-select{grid-template-columns:18px 40px minmax(0,1fr)!important;gap:7px!important;padding:8px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-select>i{width:16px!important;height:16px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-reference.selected .gojd-address-select>i{border-width:4px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-pin{width:40px!important;height:40px!important;border-radius:8px!important;font-size:18px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-select b{font-size:13px!important;gap:4px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-select b em{font-size:8px!important;padding:2px 4px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-select small{font-size:9.5px!important;line-height:1.28!important;margin-top:2px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-edit{font-size:10px!important;padding:9px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-add-address-reference{height:40px!important;min-height:40px!important;border-radius:8px!important;font-size:12px!important;margin-top:7px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-form{gap:8px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-form label{font-size:9.5px!important;gap:3px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-form input{height:39px!important;min-height:39px!important;border-radius:7px!important;font-size:11px!important;margin-top:2px!important;padding:0 8px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-form .two{gap:6px!important}

  /* Compact product/address summary reused across stages */
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-summary{min-height:76px!important;margin:8px 0 2px!important;padding:7px!important;border-radius:9px!important;grid-template-columns:58px minmax(0,1fr) auto!important;gap:8px!important;box-shadow:none!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-summary>img{width:58px!important;height:60px!important;border-radius:7px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-copy{gap:3px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-official-line{gap:5px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-official-line>b{font-size:10px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-official-line small{font-size:8px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-copy>strong{font-size:12px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-copy>small{font-size:9px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-total{gap:4px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-total>b{font-size:14px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-total button{font-size:9px!important}

  /* Delivery */
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-address-summary{padding:7px!important;grid-template-columns:38px minmax(0,1fr) auto!important;gap:7px!important;margin-bottom:8px!important;border-radius:8px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-summary-icon{width:38px!important;height:38px!important;border-radius:7px!important;font-size:17px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-address-summary b{font-size:12px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-address-summary small{font-size:9px!important;line-height:1.25!important;margin-top:2px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-receive-list{gap:5px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-receive-card{border-radius:8px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-receive-card-main{min-height:56px!important;padding:6px 8px!important;grid-template-columns:36px minmax(0,1fr) 16px!important;gap:7px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-receive-icon{width:36px!important;height:36px!important;border-radius:9px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-receive-icon svg{width:17px!important;height:17px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-receive-copy b{font-size:11.5px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-receive-copy small{font-size:8.8px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-radio{width:16px!important;height:16px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-receive-card.selected .gojd-radio{border-width:4px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-zip-card.compact{padding:7px!important;margin-bottom:6px!important;border-radius:8px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-zip-card.compact label{font-size:9.5px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-zip-input input,
  body:has(#gojd-mobile-purchase-flow) .gojd-location-btn{height:36px!important;min-height:36px!important;font-size:10px!important;border-radius:7px!important}

  /* Payment */
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice-list{gap:5px!important;margin:6px 0!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice{min-height:58px!important;padding:6px 8px!important;border-radius:8px!important;grid-template-columns:74px minmax(0,1fr) 17px!important;gap:6px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice>span:nth-child(2) b{font-size:12.5px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice>span:nth-child(2) small{font-size:9px!important;margin-top:1px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice i{width:16px!important;height:16px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice.selected i{border-width:4px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand{min-height:30px!important;font-size:12px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand.pix{font-size:18px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand.stone{font-size:16px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand.boleto{font-size:18px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-stone-installments{gap:5px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-stone-installments button{height:34px!important;font-size:9.5px!important;border-radius:6px!important}

  /* Review */
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card{min-height:70px!important;padding:7px!important;border-radius:8px!important;grid-template-columns:58px minmax(0,1fr) 18px!important;gap:7px!important;margin-bottom:5px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card img{width:58px!important;height:60px!important;border-radius:7px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card b{font-size:11.5px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card strong{font-size:11.5px!important;margin-top:3px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card small{font-size:9px!important;margin-top:2px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card em{font-size:13px!important;margin-top:3px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card.icon{grid-template-columns:42px minmax(0,1fr) 18px!important;min-height:58px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-icon{width:38px!important;height:38px!important;border-radius:7px!important;font-size:18px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card button{font-size:17px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-total{padding:8px!important;margin:5px 0!important;border-radius:8px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-total h3{font-size:12px!important;margin-bottom:4px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-total>div{font-size:9.5px!important;margin:2px 0!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-total .total{font-size:14px!important;padding-top:5px!important;margin-top:5px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-total .total b{font-size:16px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-terms-reference{font-size:9px!important;line-height:1.3!important;padding:4px 2px 6px!important;gap:6px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-terms-reference input{width:16px!important;height:16px!important;min-width:16px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-support-reference{min-height:54px!important;padding:6px 8px!important;border-radius:8px!important;grid-template-columns:32px minmax(0,1fr) auto!important;gap:6px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-support-reference>span{font-size:18px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-support-reference b{font-size:11px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-support-reference small{font-size:8.8px!important}

  /* Fixed action area */
  body:has(#gojd-mobile-purchase-flow) .gojd-purchase-footer,
  body.gojd-mobile-checkout-ref .gojd-purchase-footer{padding:6px 10px max(7px,env(safe-area-inset-bottom,0px))!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-primary-action,
  body.gojd-mobile-checkout-ref .gojd-primary-action{height:44px!important;min-height:44px!important;border-radius:8px!important;font-size:13px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-secondary-reference,
  body.gojd-mobile-checkout-ref .gojd-secondary-reference{height:39px!important;min-height:39px!important;border-radius:8px!important;font-size:11.5px!important;margin-top:5px!important}

  /* If React checkout is rendered directly on a small viewport, compact it too. */
  body:has(.checkout-page) .checkout-layout{display:block!important;min-height:0!important;width:100%!important}
  body:has(.checkout-page) .checkout-main{padding:8px 10px 76px!important}
  body:has(.checkout-page) .checkout-header-logo{display:none!important}
  body:has(.checkout-page) .checkout-steps-container{margin:0 0 7px!important;padding:4px 0!important}
  body:has(.checkout-page) .step-indicator{width:23px!important;height:23px!important;font-size:9px!important;border-width:1px!important}
  body:has(.checkout-page) .step-label{display:block!important;font-size:7.8px!important}
  body:has(.checkout-page) .checkout-step-content h2{font-size:18px!important;margin:0 0 2px!important}
  body:has(.checkout-page) .checkout-step-desc{font-size:10.5px!important;margin-bottom:9px!important}
  body:has(.checkout-page) .checkout-sidebar{width:100%!important;padding:8px 10px!important;border:0!important}
  body:has(.checkout-page) .order-summary-premium{padding:9px!important;border-radius:8px!important}
  body:has(.checkout-page) .order-summary-premium h3{font-size:12.5px!important;margin-bottom:6px!important}
  body:has(.checkout-page) .summary-item-img{width:38px!important;height:38px!important}
  body:has(.checkout-page) .summary-item-name{font-size:9.5px!important}
  body:has(.checkout-page) .summary-row{font-size:9.5px!important}
  body:has(.checkout-page) .total-price{font-size:16px!important}

  /* Step 6 — compact mobile success */
  body:has(.success-page) .success-page{padding:7px 10px calc(10px + var(--gojd-nav,72px))!important}
  body:has(.success-page) .success-container{padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  body:has(.success-page) .gojd-success-mobile-title{font-size:22px!important;margin:0 0 7px!important}
  body:has(.success-page) .gojd-success-stepper{margin:0 0 8px!important}
  body:has(.success-page) .success-header{min-height:0!important;padding:10px!important;border-radius:9px!important;margin-bottom:6px!important;display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:8px!important;text-align:left!important}
  body:has(.success-page) .success-icon-wrapper{float:none!important;width:48px!important;height:48px!important;margin:0!important;display:grid!important;place-items:center!important}
  body:has(.success-page) .success-icon{width:28px!important;height:28px!important}
  body:has(.success-page) .success-header h1{font-size:17px!important;line-height:1.08!important;margin:0 0 3px!important}
  body:has(.success-page) .success-header p{font-size:9.5px!important;margin:0 0 3px!important}
  body:has(.success-page) .order-number{font-size:9px!important;padding:4px 6px!important;margin-top:3px!important;border-radius:5px!important}
  body:has(.success-page) .success-status-box,
  body:has(.success-page) .detail-card,
  body:has(.success-page) .success-next-steps,
  body:has(.success-page) .success-items-warranty{padding:7px 8px!important;border-radius:8px!important;margin-bottom:5px!important}
  body:has(.success-page) .success-status-box h3,
  body:has(.success-page) .success-next-steps h3{font-size:11px!important;margin-bottom:3px!important}
  body:has(.success-page) .success-status-box p,
  body:has(.success-page) .detail-card p,
  body:has(.success-page) .steps-timeline li p{font-size:8.8px!important;line-height:1.25!important}
  body:has(.success-page) .success-details-grid{grid-template-columns:1fr 1fr!important;gap:5px!important;margin-bottom:5px!important}
  body:has(.success-page) .detail-card h4{font-size:10.5px!important;margin-bottom:2px!important}
  body:has(.success-page) .detail-icon{margin-bottom:2px!important}
  body:has(.success-page) .detail-icon svg{width:16px!important;height:16px!important}
  body:has(.success-page) .success-next-steps{margin-bottom:6px!important}
  body:has(.success-page) .success-next-steps h3{text-align:left!important}
  body:has(.success-page) .steps-timeline li{padding-left:23px!important;margin-bottom:8px!important}
  body:has(.success-page) .steps-timeline .dot{width:13px!important;height:13px!important}
  body:has(.success-page) .steps-timeline::before{left:6px!important;width:1px!important}
  body:has(.success-page) .steps-timeline li strong{font-size:9.5px!important;margin-bottom:2px!important}
  body:has(.success-page) .success-actions{gap:5px!important;margin-top:5px!important}
  body:has(.success-page) .success-actions .btn{height:42px!important;min-height:42px!important;font-size:12px!important;border-radius:8px!important}
}

@media (max-width:380px){
  body:has(#gojd-mobile-purchase-flow) .gojd-purchase-heading h1{font-size:20px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-step-six small{font-size:7.3px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-reference{min-height:66px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-address-pin{width:36px!important;height:36px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice{min-height:54px!important;grid-template-columns:66px minmax(0,1fr) 16px!important}
  body:has(.success-page) .success-details-grid{grid-template-columns:1fr!important}
}

/* V1.1 — neutralize late legacy mobile geometry that still inflated compact cards. */
@media (max-width:768px){
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-summary{
    min-height:68px!important;height:auto!important;
    grid-template-columns:52px minmax(0,1fr) auto!important;
    gap:6px!important;padding:6px!important
  }
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-summary>img{width:52px!important;height:54px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-total{
    grid-column:auto!important;grid-row:auto!important;align-self:center!important;
    align-items:flex-end!important;text-align:right!important;gap:2px!important;min-width:0!important
  }
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-total>b{font-size:13px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-total button{font-size:8px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-copy{gap:2px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-copy>strong{font-size:11px!important;line-height:1.18!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-product-copy>small{font-size:8.5px!important}

  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-address-summary{
    min-height:56px!important;height:auto!important;
    padding:6px!important;grid-template-columns:34px minmax(0,1fr) auto!important;
    gap:6px!important;margin-bottom:6px!important;align-items:center!important
  }
  body:has(#gojd-mobile-purchase-flow) .gojd-summary-icon{width:34px!important;height:34px!important;font-size:15px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-address-summary b{font-size:10.5px!important;line-height:1.15!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-address-summary small{font-size:8.4px!important;line-height:1.18!important;margin-top:1px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-checkout-address-summary button{font-size:8.5px!important;padding:4px!important}

  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice{
    min-height:54px!important;height:auto!important;padding:5px 7px!important;
    grid-template-columns:66px minmax(0,1fr) 15px!important;gap:5px!important
  }
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand{
    height:28px!important;min-height:28px!important;max-height:28px!important;
    font-size:11px!important;overflow:hidden!important
  }
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand .gojd-checkout-brand{max-width:62px!important;max-height:25px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand.pix{font-size:16px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand.stone{font-size:14px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand.boleto{font-size:16px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand.cards{height:28px!important;grid-template-columns:repeat(2,29px)!important;gap:2px 4px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-pay-brand.cards .gojd-checkout-brand{max-width:28px!important;max-height:12px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice>span:nth-child(2) b{font-size:11.5px!important;line-height:1.15!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice>span:nth-child(2) small{font-size:8.2px!important;line-height:1.15!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice i{width:15px!important;height:15px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-payment-choice.selected i{border-width:4px!important}

  body:has(#gojd-mobile-purchase-flow) .gojd-review-total{
    padding:6px!important;margin:4px 0!important;border-radius:7px!important
  }
  body:has(#gojd-mobile-purchase-flow) .gojd-review-total h3{font-size:10.5px!important;line-height:1.15!important;margin:0 0 2px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-total>div{font-size:8.7px!important;line-height:1.15!important;margin:1px 0!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-total .total{font-size:12px!important;padding-top:3px!important;margin-top:3px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-total .total b{font-size:15px!important}

  body:has(#gojd-mobile-purchase-flow) .gojd-review-card{min-height:64px!important;padding:6px!important;grid-template-columns:52px minmax(0,1fr) 16px!important;gap:6px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card img{width:52px!important;height:52px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card.icon{min-height:50px!important;grid-template-columns:34px minmax(0,1fr) 16px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-icon{width:32px!important;height:32px!important;font-size:15px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card b{font-size:10.5px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card small{font-size:8.3px!important}
  body:has(#gojd-mobile-purchase-flow) .gojd-review-card em{font-size:12px!important}
}

/* Checkout availability transition — compact, visible feedback without changing business state. */
.gojd-checkout-availability-state{display:flex;flex-direction:column;gap:3px;margin:9px 0 0;padding:9px 11px;border:1px solid #d9dee5;border-radius:9px;background:#f8fafc;color:#394150;font-size:11px;line-height:1.35;box-sizing:border-box}
.gojd-checkout-availability-state strong{font-size:11.5px;color:#17191c}
.gojd-checkout-availability-state[data-state="success"]{border-color:#b7e4c7;background:#f0fbf4;color:#176b3a}
.gojd-checkout-availability-state[data-state="error"]{border-color:#fecaca;background:#fff5f5;color:#991b1b}
@media(max-width:768px){body:has(.checkout-page) .gojd-checkout-availability-state{margin:7px 0 0;padding:7px 8px;border-radius:8px;font-size:9.5px}body:has(.checkout-page) .gojd-checkout-availability-state strong{font-size:10.5px}}
