/* PiM V54 — isolated checkout polish, does not affect product pages. */
body:has(.checkout-grid) .section:has(.checkout-grid){max-width:1180px;padding-top:34px;padding-bottom:46px;}
body:has(.checkout-grid) .checkout-grid{grid-template-columns:minmax(0,1.48fr) minmax(290px,.92fr);gap:24px;align-items:start;}
body:has(.checkout-grid) .checkout-grid .panel{background:rgba(17,13,27,.96);border:1px solid rgba(224,190,128,.20);border-radius:16px;padding:24px;margin-bottom:16px;box-shadow:0 12px 40px rgba(0,0,0,.17);}
body:has(.checkout-grid) .checkout-grid .panel h2{font-size:clamp(1.25rem,2vw,1.58rem);letter-spacing:-.02em;margin-bottom:17px;}
body:has(.checkout-grid) .checkout-grid label{color:#e4dfe6;font-size:.86rem;}
body:has(.checkout-grid) .checkout-grid input:not([type=checkbox]):not([type=radio]),
body:has(.checkout-grid) .checkout-grid select,
body:has(.checkout-grid) .checkout-grid textarea{background:#0e1320!important;color:#f5f0e9!important;border:1px solid #555166;border-radius:9px;box-shadow:none;min-height:45px;transition:border-color .15s,box-shadow .15s;}
body:has(.checkout-grid) .checkout-grid input:not([type=checkbox]):not([type=radio]):focus,
body:has(.checkout-grid) .checkout-grid select:focus,
body:has(.checkout-grid) .checkout-grid textarea:focus{border-color:#e1be79;outline:2px solid rgba(225,190,121,.2);outline-offset:1px;}
/* Chromium and Firefox autofill yellow backgrounds */
body:has(.checkout-grid) .checkout-grid input:-webkit-autofill,
body:has(.checkout-grid) .checkout-grid input:-webkit-autofill:hover,
body:has(.checkout-grid) .checkout-grid input:-webkit-autofill:focus{ -webkit-text-fill-color:#f5f0e9!important; -webkit-box-shadow:0 0 0 1000px #0e1320 inset!important; box-shadow:0 0 0 1000px #0e1320 inset!important;caret-color:#f5f0e9;}
body:has(.checkout-grid) .checkout-grid input:autofill,
body:has(.checkout-grid) .checkout-grid input:-moz-autofill{color:#f5f0e9!important;box-shadow:0 0 0 1000px #0e1320 inset!important;}
body:has(.checkout-grid) .shipping-option{border:1px solid #494054;border-radius:10px;padding:13px 15px;min-height:52px;margin-bottom:8px;cursor:pointer;}
body:has(.checkout-grid) .shipping-option:has(input:checked){border-color:#d9b46c;background:rgba(217,180,108,.08);}
body:has(.checkout-grid) .shipping-option strong{color:#f1d39d;}
body:has(.checkout-grid) .point-option{background:#171827;border:1px solid #474354;color:#f3edf0;border-radius:8px;padding:10px 12px;width:100%;text-align:left;margin:4px 0;}
body:has(.checkout-grid) .point-option:hover{border-color:#e1be79;background:#272032;}
body:has(.checkout-grid) .summary{position:sticky;top:14px;}
body:has(.checkout-grid) .summary .spread{font-size:.9rem;margin-bottom:12px;}
body:has(.checkout-grid) .summary .total{border-top:1px solid #55475c;margin-top:17px;padding-top:18px;font-size:1.13rem;}
body:has(.checkout-grid) .summary .total strong{color:#f2cf87;font-size:1.35rem;}
body:has(.checkout-grid) .summary .button.full{min-height:50px;border-radius:10px;}
body:has(.checkout-grid) .checkout-payment-note{font-size:.87rem;line-height:1.6;color:#ded6df;margin-bottom:8px;}
body:has(.checkout-grid) .checkout-payment-note strong{color:#f1d39d;}
body:has(.checkout-grid) .checkout-payment-note small{display:block;color:#b7afbf;margin-top:8px;}
body:has(.checkout-grid) .checkout-delivery-line{color:#d5c9d6;}
body:has(.checkout-grid) .checkout-delivery-line strong{color:#f0d39d;}
body:has(.checkout-grid) footer{padding-top:38px;}
@media(max-width:760px){body:has(.checkout-grid) .section:has(.checkout-grid){padding:24px 17px 36px}body:has(.checkout-grid) .checkout-grid{grid-template-columns:1fr;gap:12px}body:has(.checkout-grid) .checkout-grid .panel{padding:18px 16px;margin-bottom:12px}body:has(.checkout-grid) .summary{position:static}body:has(.checkout-grid) .shipping-option{padding:12px}}
