body.modal-open { overflow: hidden; }
.shop-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.shop-card { appearance:none; -webkit-appearance:none; display:block; width:100%; min-height:300px; padding:24px; border:1px solid rgba(255,255,255,.09); border-radius:24px; text-align:left; color:#f8fafc; background:linear-gradient(155deg,rgba(255,255,255,.045),transparent 42%),#131921; box-shadow:0 15px 55px rgba(0,0,0,.17); cursor:pointer; transition:.18s ease; }
.shop-card:hover { transform:translateY(-5px); border-color:rgba(255,190,55,.35); box-shadow:0 24px 70px rgba(0,0,0,.28); }
.shop-card:focus-visible { outline:2px solid #ffd86b; outline-offset:3px; }
.shop-card-top { display:flex; align-items:center; justify-content:space-between; }
.shop-icon { width:62px;height:62px;display:grid;place-items:center;border-radius:18px;background:#1a222b;border:1px solid rgba(255,255,255,.07);font-size:28px;color:#fff; }
.shop-card .badge { color:#ffd86b; background:rgba(255,178,41,.10); border:1px solid rgba(255,178,41,.14); padding:7px 10px; border-radius:999px; font-size:11px; font-weight:900; }
.shop-card h3 { margin:20px 0 9px; color:#f8fafc; font-size:21px; font-weight:950; }
.shop-card p { min-height:58px; margin:0; color:#aeb8c3; font-size:14px; line-height:1.65; }
.shop-meta { margin-top:14px; color:#d5dce4; font-size:12px; font-weight:800; }
.shop-price { margin-top:23px; color:#ffd86b; font-size:31px; font-weight:950; letter-spacing:-.04em; }
.shop-price span { margin-left:4px; color:#ffb229; font-size:14px; }
.shop-buy-hint { margin-top:15px; color:#8e9aa7; font-size:11px; font-weight:800; }
.modal { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:20px; }
.modal.hidden { display:none; }
.modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.72); backdrop-filter:blur(12px); }
.modal-dialog { position:relative; z-index:1; width:min(560px,100%); max-height:calc(100vh - 40px); overflow:auto; padding:30px; border:1px solid rgba(255,190,55,.20); border-radius:27px; background:radial-gradient(circle at 50% -20%,rgba(255,188,56,.12),transparent 38%),#12171e; box-shadow:0 30px 110px rgba(0,0,0,.50); color:#f8fafc; }
.modal-close { position:absolute; top:13px;right:15px;width:35px;height:35px;border:0;border-radius:11px;color:#a9b4bf;background:rgba(255,255,255,.04);cursor:pointer;font-size:23px; }
.modal-icon { width:70px;height:70px;margin-bottom:20px;display:grid;place-items:center;border-radius:20px;background:#1a222b;border:1px solid rgba(255,255,255,.08);font-size:31px; }
.modal-dialog h2 { margin:10px 0 18px;color:#f8fafc;font-size:31px; }
.modal-product-card { padding:19px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025); }
.modal-product-top { display:flex;justify-content:space-between;gap:12px; }
.modal-product-badge { color:#ffd86b;font-size:11px;font-weight:900; }
.modal-product-price { color:#ffd86b;font-size:20px;font-weight:950; }
.modal-product-card strong { display:block;margin-top:13px;color:#f8fafc;font-size:20px; }
.modal-product-card p { margin:9px 0 0;color:#aeb8c3;line-height:1.65;font-size:13px; }
.modal-product-meta { display:block;margin-top:13px;color:#d6dde5;font-size:12px; }
.modal-question { margin:22px 0 16px;color:#fff;font-size:17px;font-weight:900; }
.modal-form { display:grid;gap:14px; }
.modal-form label { display:grid;gap:8px;color:#dfe4ea;font-size:13px;font-weight:900; }
.modal-form input { width:100%; border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:14px 15px; outline:none; background:#0b0f14; color:#fff; }
.modal-form input:focus { border-color:rgba(255,190,55,.55); box-shadow:0 0 0 4px rgba(255,178,41,.05); }
.modal-status { margin-top:14px;padding:13px 14px;border-radius:13px;line-height:1.55;font-size:12px; }
.modal-status.error { border:1px solid rgba(255,99,99,.30);background:rgba(255,99,99,.07);color:#ffb5b5; }
.modal-status.hidden { display:none; }
.modal-actions { display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px; }
.modal-button { border:0;border-radius:14px;padding:14px;cursor:pointer;font-weight:950; }
.modal-button.secondary { color:#dce2e8;background:rgba(255,255,255,.06); }
.modal-button.primary { color:#1a1207;background:linear-gradient(135deg,#ffdc70,#ffae20); }
.modal-button:disabled { opacity:.45;cursor:not-allowed; }
.modal-note { margin:14px 0 0;color:#8e9aa6;font-size:11px;line-height:1.65; }
.success-box { text-align:center;padding:16px 4px 5px; }
.success-icon { font-size:42px;margin-bottom:10px; }
.success-box strong { color:#f8fafc;font-size:20px; }
.success-box p { color:#aeb8c3;line-height:1.6;font-size:13px; }
.order-id { margin-top:12px;padding:10px 12px;border-radius:12px;background:rgba(255,178,41,.06);border:1px solid rgba(255,178,41,.12);color:#ffd86b;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px; }
@media (max-width:900px){.shop-grid{grid-template-columns:1fr;}}
@media (max-width:650px){.modal-dialog{padding:24px}.modal-actions{grid-template-columns:1fr}}
