/* Scoped checkout only; current header, sidebar and catalogue styles are unchanged. */
#checkout4j{min-width:0;color:#173f31;--line:#dde7e1;--ink:#173f31}
#checkout4j *,#checkout4j *:before,#checkout4j *:after{box-sizing:border-box}
#checkout4j [hidden]{display:none!important}
#checkout4j .layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:22px;align-items:start}
#checkout4j .grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#checkout4j .panel{border:1px solid var(--line);border-radius:16px;padding:24px;background:#fff;margin-bottom:18px;min-width:0}
#checkout4j .hero{padding:26px;border-radius:18px;background:#f3f7f4;border:1px solid var(--line);margin-bottom:20px}
#checkout4j .hero h1{font-size:clamp(28px,3vw,40px);line-height:1.15;margin:8px 0 14px;color:#075b49}
#checkout4j .hero em{font:inherit}
#checkout4j .hero p{line-height:1.55;margin:8px 0}
#checkout4j h2{font-size:23px;line-height:1.25;margin:0 0 18px}
#checkout4j h3{font-size:17px}
#checkout4j label{display:block;font-size:14px;line-height:1.5}
#checkout4j input:not([type=checkbox]):not([type=radio]){display:block;width:100%;padding:12px;border:1px solid #becfc5;border-radius:9px;background:#fff;color:#173f31;min-height:46px;font:inherit}
#checkout4j input[type=checkbox],#checkout4j input[type=radio]{accent-color:#075b49;width:18px;height:18px;flex-shrink:0}
#checkout4j .check{display:flex;align-items:flex-start;gap:9px;margin:16px 0;flex-wrap:wrap}
#checkout4j .choice{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);padding:15px;border-radius:12px;cursor:pointer}
#checkout4j .choice>span{flex:1;min-width:0}#checkout4j .choice strong{white-space:nowrap}
#checkout4j .choice:has(input:checked){background:#f0f7f2;border-color:#81a690}
#checkout4j .row{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #edf1ee;overflow-wrap:anywhere}
#checkout4j .row>span{min-width:0}#checkout4j .row>strong{white-space:nowrap}
#checkout4j .total{font-size:21px;font-weight:800;color:#075b49;border-bottom:0;border-top:2px solid #075b49;margin-top:12px}
#checkout4j .muted,#checkout4j .basket-sku{font-size:13px;color:#60756a;line-height:1.55}
#checkout4j button,#checkout4j .button{border:1px solid #b9cdc1;border-radius:10px;padding:13px 18px;min-height:46px;cursor:pointer;font:inherit;font-size:14px;font-weight:600;line-height:1.3;max-width:100%}
#checkout4j .primary,#checkout4j .packeta-pick{background:#075b49;color:#fff;border-color:#075b49}
#checkout4j button:disabled{opacity:.5;cursor:not-allowed}
#checkout4j .summary .primary{width:100%;margin-top:18px}
#checkout4j .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
#checkout4j .notice:not(:empty){padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#f2f7f4;line-height:1.55}
#checkout4j [data-kind=error]{color:#8e291d;background:#fff3ef!important;border-color:#e8b9af!important}
#checkout4j .packeta-selected{display:flex;gap:12px;padding:16px;border:1px solid #a9c5b5;background:#f3f8f5;border-radius:12px;align-items:flex-start}
#checkout4j .packeta-selected>div{flex:1;min-width:0}#checkout4j .packeta-selected p{overflow-wrap:anywhere;margin:6px 0}
#checkout4j .receipt-brands{display:flex;gap:20px;align-items:center;padding:20px;background:#f4f7f5;border-radius:12px;margin-bottom:22px}
#checkout4j .receipt-brands img{max-width:140px;max-height:65px;object-fit:contain}
#checkout4j .payment-qr{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border-radius:12px;background:#f3f7f4;margin-top:20px;flex-wrap:wrap}
#checkout4j .payment-qr img{width:220px;height:220px;max-width:100%;object-fit:contain}
#checkout4j a{color:#075b49}#checkout4j :focus-visible{outline:3px solid #a4de28;outline-offset:3px}
@media(max-width:1150px){#checkout4j .layout{grid-template-columns:1fr}#checkout4j .summary{position:static}}
@media(max-width:700px){#checkout4j .grid{grid-template-columns:1fr}#checkout4j .panel{padding:18px}#checkout4j .choice{flex-wrap:wrap}#checkout4j .row{font-size:14px}#checkout4j .hero{padding:20px}#checkout4j .packeta-selected{flex-wrap:wrap}}
@media print{#checkout4j>form,#checkout4j>.hero,#checkout4j>.checkout-steps,#checkout4j>#service,#checkout4j>.breadcrumb,#checkout4j>#review,#checkout4j>#status{display:none!important}.shop-header,.shop-sidebar,body>footer{display:none!important}#checkout4j .checkout-receipt{border:0;padding:0}.shop-frame{display:block!important}}
/* ESHOP4J checkout tuning v1 — UX reference derived from approved ARTOX checkout pattern. */
#checkout4j .checkout-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 22px}
#checkout4j .checkout-step{display:flex;align-items:center;gap:11px;min-width:0;padding:13px 14px;border:1px solid #dfe8e3;border-radius:8px;background:#fff;color:#2f4b3e;text-decoration:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
#checkout4j .checkout-step:hover{border-color:#9dbbad;transform:translateY(-1px)}
#checkout4j .checkout-step-num{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#eef4f0;color:#005442;font-weight:800;font-size:13px}
#checkout4j .checkout-step>span:last-child{display:flex;min-width:0;flex-direction:column;gap:2px}
#checkout4j .checkout-step strong{font-size:13px;line-height:1.25;color:#173f31}
#checkout4j .checkout-step small{font-size:11px;line-height:1.25;color:#6e7e76;white-space:normal}
#checkout4j .checkout-step.is-active{border-color:#6d9b84;background:#f1f7f3;box-shadow:0 0 0 1px rgba(0,84,66,.05)}
#checkout4j .checkout-step.is-active .checkout-step-num{background:#005442;color:#fff}
#checkout4j .checkout-step.is-done .checkout-step-num{background:#e2f0e8;color:#005442}
#checkout4j .checkout-panel{scroll-margin-top:18px}
#checkout4j .checkout-panel h3{margin:0 0 12px;font-size:16px;line-height:1.25;color:#24483a}
#checkout4j .checkout-subsection+.checkout-subsection{margin-top:20px;padding-top:20px;border-top:1px solid #e5ece8}
#checkout4j .checkout-safe{display:flex;flex-direction:column;gap:3px;margin:14px 0 16px;padding:12px 14px;border:1px solid #dbe8e0;border-radius:7px;background:#f5f8f6;color:#365448;font-size:13px;line-height:1.45}
#checkout4j .checkout-safe strong{color:#005442;font-size:14px}
#checkout4j .summary{position:sticky;top:18px;align-self:start}
#checkout4j .summary>h2{margin-bottom:12px}
#checkout4j .checkout-help{margin-top:18px;padding-top:17px;border-top:1px solid #e1e9e4;color:#496157}
#checkout4j .checkout-help-kicker{display:block;margin-bottom:5px;color:#72837b;font-size:10px;font-weight:800;letter-spacing:.08em}
#checkout4j .checkout-help strong{display:block;color:#173f31;font-size:15px}
#checkout4j .checkout-help p{margin:5px 0 8px;font-size:12px;line-height:1.45;color:#64766e}
#checkout4j .checkout-help a{font-weight:800;color:#005442;text-decoration:none}
#checkout4j .checkout-review,#checkout4j .checkout-receipt{max-width:980px;margin:22px auto 0}
#checkout4j #uiDelivery #shipping,#checkout4j #uiDelivery #payments{display:grid;gap:10px}
#checkout4j #uiDelivery .choice{margin:0}
#checkout4j #uiFinish label{display:block;margin-top:10px}
#checkout4j #uiFinish input[name=note]{width:100%}
@media(max-width:1150px){#checkout4j .summary{position:static}#checkout4j .checkout-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 #checkout4j .checkout-steps{grid-template-columns:1fr 1fr;gap:7px;margin:13px 0 16px}
 #checkout4j .checkout-step{padding:9px 10px;gap:8px;border-radius:7px}
 #checkout4j .checkout-step-num{width:25px;height:25px;flex-basis:25px;font-size:11px}
 #checkout4j .checkout-step strong{font-size:11.5px}#checkout4j .checkout-step small{font-size:9.5px}
 #checkout4j .checkout-subsection+.checkout-subsection{margin-top:16px;padding-top:16px}
 #checkout4j .checkout-review,#checkout4j .checkout-receipt{margin-top:16px}
}
@media(max-width:430px){#checkout4j .checkout-step small{display:none}#checkout4j .checkout-step{min-height:46px}}
