/* Layout and palette reconstructed from this store's Simple templates. */
.m4b-checkout{padding-top:20px;padding-bottom:40px;color:#333}
.m4b-checkout h1{margin:0 0 24px;font-size:28px}
.m4b-grid{display:grid;grid-template-columns:minmax(0,52fr) minmax(0,46fr);gap:2%;align-items:start}
.m4b-card{background:#fff;border:1px solid #ddd;border-radius:3px;margin-bottom:20px;min-width:0}
.m4b-card h2{background:#f1d847;color:#333;font-size:16px;font-weight:600;line-height:1.4;margin:0;padding:10px 15px;border-bottom:1px solid #ddd;border-radius:3px 3px 0 0}
.m4b-block-body{padding:15px}
.m4b-card label{display:block;font-weight:400;margin:0 0 12px;font-size:14px}
.m4b-card input:not([type=radio]):not([type=checkbox]),.m4b-card select,.m4b-card textarea{display:block;width:100%;min-height:36px;border:1px solid #ccc;border-radius:4px;padding:7px 10px;margin-top:6px;background:#fff;color:#333;box-sizing:border-box;font:inherit}
.m4b-card textarea{min-height:90px;resize:vertical}
.m4b-card input:focus,.m4b-card select:focus,.m4b-card textarea:focus{outline:2px solid #f1d847;outline-offset:1px;border-color:#aaa}
.m4b-method{position:relative;cursor:pointer;padding:6px 0 6px 25px;line-height:1.5;margin-bottom:2px!important}
.m4b-method input[type=radio]{position:absolute;left:0;top:8px;margin:0;accent-color:#f04e2b}
.m4b-method small{display:block;color:#777;font-size:12px}
.m4b-method:has(input:checked){font-weight:600}
.m4b-method:has(input:disabled){opacity:.55;cursor:default}
#m4b-address{margin-top:15px}
#m4b-address:not(:has(label:not([hidden]))){margin-top:0}
.m4b-cart{width:100%;border-collapse:collapse;table-layout:fixed}
.m4b-cart th{background:#fafafa;border-bottom:1px solid #ddd;padding:10px;font-size:12px;font-weight:600;text-align:center}
.m4b-cart th:first-child{width:64%;text-align:left}
.m4b-cart th:nth-child(2){width:18%}
.m4b-cart th:last-child{width:18%;text-align:right}
.m4b-cart td{padding:14px 10px;border-bottom:1px solid #ddd;vertical-align:middle;font-size:13px}
.m4b-product-info{display:flex;gap:10px;align-items:flex-start;min-width:0}
.m4b-product-info img{flex:none;object-fit:contain;width:70px;height:70px}
.m4b-product-info a{color:#333;line-height:1.5;overflow-wrap:anywhere}
.m4b-product-info a:hover{color:#f04e2b}
.m4b-product-info small{display:block;color:#888;font-size:11px;margin-top:5px;overflow-wrap:anywhere}
.m4b-remove{background:none;border:0;padding:0;color:#b54831;font-size:12px;margin-top:8px;text-decoration:underline;cursor:pointer}
.m4b-cart input[type=number]{width:54px!important;margin:0 auto!important;padding:6px!important;text-align:center}
.m4b-product-total{font-weight:600;text-align:right;white-space:nowrap}
.m4b-summary dl{display:grid;grid-template-columns:1fr auto;gap:10px;margin:0;padding:15px;border-bottom:1px solid #ddd;font-size:14px}
.m4b-summary dt,.m4b-summary dd{margin:0;text-align:right;font-weight:400}
.m4b-summary dt:last-of-type,.m4b-summary dd:last-of-type{font-size:17px;font-weight:600}
.m4b-discounts{display:flex;gap:10px;align-items:flex-end;padding:15px;background:#fafafa}
.m4b-discounts label{flex:1;margin:0;min-width:0}
.m4b-discounts button{background:#fff;color:#333;border:1px solid #ccc;border-radius:4px;padding:8px 12px;min-height:36px;cursor:pointer}
.m4b-primary{display:block;width:100%;background:#f04e2b;color:#fff;border:1px solid #f04e2b;border-radius:4px;padding:13px 20px;font-size:17px;cursor:pointer}
.m4b-primary:hover{background:#83c450;border-color:#83c450}
.m4b-primary:disabled{opacity:.6;cursor:wait}
.m4b-note{color:#777;font-size:12px;line-height:1.6;margin:10px 0 20px}
#m4b-errors{padding:14px;border:1px solid #e5c0ba;background:#fff1ef;color:#983b2b;margin-bottom:20px;border-radius:4px}
.m4b-directory{border:1px solid #ccc;border-radius:4px;max-height:240px;overflow-y:auto;background:#fff;padding:6px;color:#777;font-size:13px}
.m4b-directory button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #eee;background:#fff;color:#333;padding:10px;cursor:pointer;white-space:normal}
.m4b-directory button:hover,.m4b-directory button:focus{background:#fff9d9;outline:2px solid #f1d847;outline-offset:-2px}
.m4b-checkout [hidden]{display:none!important}
#m4b-confirm{padding:20px}
@media(min-width:1200px){.m4b-block-body>label:not(:has([type=checkbox])){display:grid;grid-template-columns:32% minmax(0,1fr);gap:10px;align-items:center}.m4b-block-body>label>input,.m4b-block-body>label>textarea{margin-top:0!important}.m4b-block-body>label:has([type=checkbox]){margin-left:34%}}
@media(max-width:1024px){.m4b-grid{grid-template-columns:minmax(0,1fr);gap:0}.m4b-cart th:first-child{width:66%}.m4b-cart th:nth-child(2),.m4b-cart th:last-child{width:17%}}
@media(max-width:480px){.m4b-checkout h1{font-size:24px}.m4b-block-body{padding:12px}.m4b-cart th,.m4b-cart td{padding:10px 6px}.m4b-cart th:first-child{width:60%}.m4b-cart th:nth-child(2){width:18%}.m4b-cart th:last-child{width:22%}.m4b-product-info{display:block}.m4b-product-info img{width:60px;height:60px;margin-bottom:6px}.m4b-cart th{font-size:11px}.m4b-cart input[type=number]{width:44px!important}.m4b-product-total{font-size:12px!important}.m4b-discounts{padding:12px}}
#m4b-confirm #privatbank_paymentparts_pp_checkout .form-group,#m4b-confirm #privatbank_paymentparts_ii_checkout .form-group{display:block!important;margin:15px 0}#m4b-confirm h2{margin:0 0 12px;font-size:20px}.m4b-confirm-note{padding:12px;background:#fff9d9;border:1px solid #f1d847;margin-bottom:15px}
