.product-preorder{margin:auto;width:min(480px,calc(100% - 28px));max-height:calc(100dvh - 32px);border:1px solid #d9d5cf;border-radius:22px;padding:28px;background:#f7f5f2;color:#292d3c;box-shadow:0 18px 70px #0003;overflow:auto;overscroll-behavior:contain}
.product-preorder::backdrop{background:#20232e80;backdrop-filter:blur(3px)}
.product-preorder h2{font-family:'PT Serif',serif;font-size:26px;padding-right:34px;margin:0 0 12px}
.preorder-close{position:absolute;right:12px;top:10px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:inherit;font-size:28px}
.preorder-product-name{font-weight:600;margin:0 0 8px;overflow-wrap:anywhere}.preorder-description{font-size:14px;line-height:1.5;color:#66686e;margin-bottom:20px}
.preorder-fields{display:grid;gap:8px}.preorder-fields>label{font-size:14px;margin-top:4px}.preorder-fields>label span{color:#74767b}
.preorder-fields>input,.preorder-fields>textarea{width:100%;min-height:44px;border:1px solid #d4d0ca;border-radius:10px;background:#fff;padding:10px 12px;color:inherit;font:inherit;font-size:16px}.preorder-fields>textarea{resize:vertical}
.preorder-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.45;padding:6px 0}.preorder-consent input{width:20px;height:20px;flex-shrink:0;margin-top:2px;accent-color:#2e3242}.preorder-consent a{color:inherit;text-decoration:underline}.preorder-consent span{font-size:12px}
.preorder-submit{min-height:48px;border:0;border-radius:12px;background:#2e3242;color:white;padding:12px 18px;font:inherit;font-weight:600}.preorder-submit:disabled{opacity:.65;cursor:wait}
.product-preorder :focus-visible{outline:2px solid #575f77;outline-offset:3px}.preorder-status{margin:12px 0 0;font-size:14px;line-height:1.5}.preorder-status:empty{display:none}.preorder-status.is-error{color:#8b342e}.product-preorder.is-success .preorder-fields{display:none}
@media(max-width:480px){.product-preorder{padding:24px 18px;border-radius:18px}.product-preorder h2{font-size:24px}}

@media(max-width:767.98px){
    #productsGrid[data-view="grid"] .product-card-footer:has([data-preorder-product]){flex-direction:column;align-items:stretch}
    #productsGrid[data-view="grid"] .product-card-btn[data-preorder-product]{font-size:12px;width:100%;height:auto;min-height:44px;padding:9px 10px;border-radius:10px}
    #productsGrid[data-view="grid"] .product-card-btn[data-preorder-product]::before{display:none}
}
