/* Revisão detalhada da homologação: cesta, kits, checkout e acabamentos */
a,button,input,select{transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
button:not(:disabled),a{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(22,163,74,.22);outline-offset:2px}
@media(hover:hover){.primary-button:hover,.send-order:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(16,24,40,.13)}.secondary-button:hover{border-color:var(--line-strong);background:#f9faf9}}

/* Página interna de cestas e kits */
.basket-detail-hero{display:grid;grid-template-columns:minmax(0,520px) minmax(280px,1fr);align-items:center;gap:30px;margin-bottom:42px}
.basket-detail-media{width:100%;aspect-ratio:1/1;border-radius:30px;background:#f7f7f7;overflow:hidden;display:grid;place-items:center}
.basket-detail-media img{width:100%;height:100%;object-fit:contain;padding:8px;mix-blend-mode:normal;filter:none}
.basket-detail-copy{min-width:0;display:grid;align-content:center;gap:13px}
.basket-detail-kicker{width:max-content;padding:7px 10px;border-radius:999px;background:#eef8f1;color:var(--brand);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.basket-detail-copy h1{font-size:clamp(27px,4vw,44px);line-height:1.03;font-weight:700;letter-spacing:-.045em}
.basket-detail-copy p{max-width:590px;color:var(--muted);font-size:14px;line-height:1.62}
.basket-detail-price{display:grid;gap:3px;padding-top:3px}
.basket-detail-price small{color:var(--muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.basket-detail-price strong{font-size:clamp(30px,4vw,42px);line-height:1;font-weight:700;letter-spacing:-.045em;color:var(--brand)}
.kit-review-price{display:grid;justify-items:start;gap:4px}
.kit-review-price s{color:var(--muted-2);font-size:14px}
.kit-review-price strong{color:var(--brand);font-size:clamp(30px,4vw,42px);line-height:1;font-weight:700;letter-spacing:-.045em}
.kit-review-price span{padding:6px 9px;border-radius:999px;background:#ecfdf3;color:var(--brand);font-size:11px;font-weight:700}
.basket-standard-button{width:max-content;min-width:210px;margin-top:4px}
.basket-products-section,.kit-products-section{margin-top:0}

/* Produtos da cesta e dos kits no mesmo padrão vertical dos cards do site */
.bundle-products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}
.bundle-product-card{min-width:0}
.bundle-product-media{position:relative}
.bundle-product-media img{mix-blend-mode:multiply!important}
.bundle-product-badge{position:absolute;z-index:2;left:8px;bottom:8px;max-width:calc(100% - 16px);min-height:28px;padding:0 9px;border:1px solid rgba(255,255,255,.9);border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 6px 16px rgba(16,24,40,.08);color:var(--brand);font-size:9.5px;line-height:1.15;font-weight:700;display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bundle-product-context{min-height:16px;color:var(--muted);font-size:10.5px;line-height:1.3}
.bundle-product-card .product-price{display:grid;gap:1px}
.bundle-product-card .product-price small{color:var(--muted);font-size:10px}
.bundle-product-qty{width:94px;height:40px;grid-template-columns:31px 1fr 31px}
.bundle-product-add{width:40px;height:40px}
.basket-total-card{margin-top:22px;padding:20px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;border:1px solid var(--line);border-radius:23px;background:#f8faf8}
.basket-total-copy{display:grid;gap:5px}
.basket-total-status{width:max-content;padding:5px 8px;border-radius:999px;background:#eaf7ed;color:var(--brand);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.basket-total-copy h2{font-size:20px;line-height:1.15;font-weight:700;letter-spacing:-.02em}
.basket-total-copy p{max-width:600px;color:var(--muted);font-size:12px;line-height:1.5}
.basket-total-action{display:grid;justify-items:end;gap:10px}
.basket-total-action>strong{font-size:30px;line-height:1;font-weight:700;letter-spacing:-.04em;color:var(--brand)}
.basket-total-action .primary-button{min-width:210px}

/* Checkout no mesmo fluxo do index atual */
.checkout-drawer{width:min(100%,570px)!important;background:#fff!important}
.checkout-reviewed{display:grid;gap:0;padding-bottom:30px}
.checkout-reviewed>.checkout-section{margin:0!important;padding:20px 18px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.checkout-reviewed>.checkout-section:last-child{border-bottom:0!important}
.checkout-reviewed h2,.checkout-reviewed .checkout-title{margin:0 0 12px;font-size:17px;line-height:1.2;font-weight:700;letter-spacing:-.015em}
.checkout-reviewed>.checkout-section>p{margin:-4px 0 14px;color:var(--muted);font-size:12.5px;line-height:1.5}
.checkout-items{display:grid;gap:9px}
.checkout-item{min-height:72px;padding:8px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--line);border-radius:16px;background:#fff}
.checkout-item img{width:58px;height:58px;padding:4px;border-radius:13px;background:#f7f7f7;object-fit:contain;mix-blend-mode:multiply}
.checkout-item>div:nth-child(2){min-width:0;display:grid;gap:4px}
.checkout-item strong{font-size:13px;line-height:1.3;font-weight:600;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.checkout-item small{color:var(--muted);font-size:11px}
.checkout-item .qty-control{width:88px;height:38px}
.checkout-reviewed .text-button.danger,.checkout-reviewed .clear-cart-btn{min-height:40px;margin-top:11px;padding:0 13px;border:1px solid #fecdd3;border-radius:12px;background:#fff7f7;color:#b42318;font-size:12px;font-weight:600}
.checkout-offers-review{overflow:hidden}
.checkout-offers-loading{min-height:70px;display:grid;place-items:center;color:var(--muted);font-size:12px}
.checkout-offers-rail{display:flex;gap:10px;overflow-x:auto;padding:1px 1px 8px;scroll-snap-type:x proximity;scrollbar-width:none}
.checkout-offers-rail::-webkit-scrollbar{display:none}
.checkout-offer-card{flex:0 0 148px;width:148px;min-width:148px;display:flex;flex-direction:column;scroll-snap-align:start}
.checkout-offer-media{width:100%;aspect-ratio:1/1;border-radius:17px;background:#f7f7f7;overflow:hidden;display:grid;place-items:center}
.checkout-offer-media img{width:100%;height:100%;padding:6px;object-fit:contain;mix-blend-mode:multiply}
.checkout-offer-copy{padding-top:8px;display:flex;flex:1;flex-direction:column;gap:7px}
.checkout-offer-copy>a{min-height:34px;font-size:11.5px;line-height:1.32;font-weight:500;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.checkout-offer-bottom{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:7px}
.checkout-offer-bottom>span{min-width:0;display:grid;gap:1px}
.checkout-offer-bottom s{color:var(--muted-2);font-size:9.5px}
.checkout-offer-bottom strong{font-size:15px;line-height:1;font-weight:700;letter-spacing:-.025em}
.checkout-offer-bottom button{width:38px;height:38px;border-radius:13px;background:#121212;color:#fff;font-size:22px;display:grid;place-items:center}
.checkout-offers-hint{margin-top:2px;color:var(--muted);font-size:10.5px;text-align:center}
.checkout-cpf-review{background:#fbfcfb!important}
.checkout-cpf-review .lookup-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.checkout-cpf-review .secondary-button{min-width:105px;background:#121212;color:#fff;border-color:#121212}
.checkout-reviewed .field{width:100%;min-height:48px;padding:0 13px;border:1px solid var(--line-strong);border-radius:14px;background:#fff;outline:0;box-shadow:none}
.checkout-reviewed .field:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(22,163,74,.09)}
.checkout-delivery-review .delivery-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.checkout-delivery-review .delivery-options label{min-width:0}
.checkout-delivery-review .delivery-options span{min-height:58px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;text-align:center;font-size:11.5px;font-weight:600;line-height:1.3}
.checkout-delivery-review .delivery-options input{position:absolute;opacity:0;pointer-events:none}
.checkout-delivery-review .delivery-options input:checked+span{border-color:var(--brand);background:#eef8f1;color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.checkout-details-review .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 9px}
.checkout-details-review .form-grid label{min-width:0;display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:600}
.checkout-details-review .form-grid label.wide{grid-column:1/-1}
.checkout-details-review fieldset{margin-top:17px;padding:0;border:0}
.checkout-details-review legend{margin-bottom:9px;font-size:13px;font-weight:700}
.checkout-reviewed .payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.checkout-reviewed .payment-option{position:relative;min-width:0}
.checkout-reviewed .payment-option input{position:absolute;opacity:0;pointer-events:none}
.checkout-reviewed .payment-option span{min-height:46px;padding:9px;border:1px solid var(--line);border-radius:13px;background:#fff;display:flex;align-items:center;justify-content:center;text-align:center;font-size:11.5px;font-weight:600;line-height:1.25}
.checkout-reviewed .payment-option input:checked+span{border-color:var(--brand);background:#eef8f1;color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.checkout-coupon-review{margin-bottom:14px;padding:13px;border:1px solid var(--line);border-radius:16px;background:#fbfcfb}
.checkout-coupon-review .lookup-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.checkout-coupon-review .secondary-button{min-width:90px}
.checkout-totals{display:grid;gap:9px;padding:14px;border-radius:16px;background:#f7f8f7}
.checkout-totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}
.checkout-totals>div strong{color:var(--ink);font-weight:600}
.checkout-totals>.discount strong{color:var(--brand)}
.checkout-totals>.total{margin-top:3px;padding-top:12px;border-top:1px solid var(--line);color:var(--ink);font-size:15px;font-weight:700}
.checkout-totals>.total strong{font-size:22px;letter-spacing:-.035em;color:var(--brand)}
.checkout-total-review .minimum-order{margin-top:11px;padding:11px;border-radius:13px;background:#fff7e6;color:#81510d;font-size:12px;line-height:1.4}
.checkout-total-review .send-order{width:100%;min-height:54px;margin-top:13px;border-radius:16px;background:var(--whatsapp);color:#fff;font-size:15px;font-weight:700}
.checkout-total-review .send-order:disabled{background:#d0d5dd;color:#fff}

@media(max-width:767px){
  .basket-detail-hero{grid-template-columns:1fr;gap:17px;margin-bottom:32px}
  .basket-detail-media{border-radius:24px}
  .basket-detail-copy{gap:10px;padding:0 2px}
  .basket-detail-copy h1{font-size:28px}
  .basket-standard-button{width:100%}
  .bundle-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 10px}
  .bundle-product-card .product-card-media{border-radius:18px}
  .bundle-product-card .product-card-body{padding-top:9px;gap:6px}
  .bundle-product-card .product-name{min-height:34px;font-size:12.5px}
  .bundle-product-badge{left:6px;right:6px;bottom:6px;max-width:none;padding:0 7px;font-size:8.5px;justify-content:center}
  .bundle-product-context{font-size:9.5px}
  .bundle-product-qty{width:86px;height:38px;grid-template-columns:29px 1fr 29px}
  .bundle-product-add{width:38px;height:38px}
  .basket-total-card{padding:17px;grid-template-columns:1fr;gap:15px}
  .basket-total-action{justify-items:stretch}
  .basket-total-action>strong{text-align:left}
  .basket-total-action .primary-button{width:100%;min-width:0}
  .checkout-reviewed>.checkout-section{padding:18px 14px!important}
  .checkout-details-review .form-grid{grid-template-columns:1fr}
  .checkout-details-review .form-grid label.wide{grid-column:auto}
  .checkout-reviewed .payment-options{grid-template-columns:1fr 1fr}
}

@media(min-width:768px){
  .bundle-products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 14px}
}

@media(min-width:1100px){
  .bundle-products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 16px}
}
