*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#f6f7f9;color:#1f2328}
.site-header{height:72px;background:#111820;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:20}
.brand{font-weight:900;font-size:22px;color:#fff;text-decoration:none;letter-spacing:.4px}
.brand span{font-weight:500;opacity:.8}
.cart-link{color:#fff;text-decoration:none;font-size:14px}
.page{max-width:1180px;margin:0 auto;padding:30px 20px 60px}
.hero{background:linear-gradient(135deg,#111820,#283747);color:#fff;border-radius:22px;padding:22px;margin-bottom:28px}
.hero h1{font-size:clamp(32px,5vw,52px);margin:0 0 10px}.hero p{max-width:650px;color:#d7dde4}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.06);border:1px solid #e7e9ec}
.card img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#eef0f3}
.card-body{padding:18px}
.card h3{margin:0 0 7px}.muted{color:#68707a}
.price{font-size:24px;font-weight:900;margin:10px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:12px;background:#111820;color:white;text-decoration:none;border:0;font-weight:800;cursor:pointer}
.btn.secondary{background:#eef0f3;color:#1f2328}
.product-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:42px;align-items:start}
.product-image{background:#fff;border-radius:22px;border:1px solid #e5e8eb;overflow:hidden;position:sticky;top:100px}
.product-image img{width:100%;display:block;aspect-ratio:1/1;object-fit:contain;background:#fff}
.product-panel{background:#fff;border-radius:22px;border:1px solid #e5e8eb;padding:28px}
.product-panel h1{font-size:34px;line-height:1.08;margin:0 0 8px}
.deadline{display:inline-block;background:#fff2d7;color:#775317;padding:8px 12px;border-radius:10px;font-weight:800;font-size:13px;margin:5px 0 18px}
.label{font-weight:800;display:block;margin:20px 0 8px}
.size-grid{display:flex;flex-wrap:wrap;gap:8px}
.size-option input{position:absolute;opacity:0}
.size-option span{display:inline-flex;min-width:54px;height:46px;align-items:center;justify-content:center;padding:0 13px;border:1px solid #ccd2d8;border-radius:11px;font-weight:800;cursor:pointer}
.size-option input:checked+span{background:#111820;color:white;border-color:#111820}
.qty{display:flex;align-items:center;gap:10px}
.qty input{width:74px}.field{width:100%;min-height:46px;border:1px solid #ccd2d8;border-radius:11px;padding:10px 12px;font:inherit;background:#fff}
.notice{padding:14px;border-radius:12px;background:#eef6ff;border:1px solid #d5e7fa;margin:15px 0}
.size-guide{margin-top:18px;border-top:1px solid #eee;padding-top:14px}.size-guide summary{font-weight:800;cursor:pointer}
.cart-table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden}
.cart-table th,.cart-table td{padding:15px;border-bottom:1px solid #eee;text-align:left}
.checkout-grid{display:grid;grid-template-columns:1fr 420px;gap:24px}
.panel{background:#fff;border:1px solid #e5e8eb;border-radius:18px;padding:22px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.summary-line{display:flex;justify-content:space-between;padding:9px 0}
.summary-line.total{font-size:22px;font-weight:900;border-top:1px solid #ddd;margin-top:7px;padding-top:15px}
.error{background:#ffe9e8;color:#8a2420;padding:12px;border-radius:10px;margin:10px 0}
.success{background:#e8f7ee;color:#21633b;padding:12px;border-radius:10px;margin:10px 0}
.footer{text-align:center;color:#80858c;padding:25px;font-size:13px}@media(max-width:850px){.grid{grid-template-columns:repeat(2,1fr)}
.product-layout,.checkout-grid{grid-template-columns:1fr}
.product-image{position:static}.product-panel{padding:22px}
.product-panel h1{font-size:29px}.row{grid-template-columns:1fr}}@media(max-width:560px){.page{padding:18px 14px 45px}
.site-header{height:62px;padding:0 14px}.hero{padding:28px 22px;border-radius:16px}.grid{grid-template-columns:1fr}
.product-layout{gap:15px}.product-image,.product-panel{border-radius:16px}.card{border-radius:15px}
.cart-table th:nth-child(3),.cart-table td:nth-child(3){display:none}}
.color-grid{display:flex;flex-wrap:wrap;gap:8px}
.color-option input{position:absolute;opacity:0}
.color-option span{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:0 14px;border:1px solid #ccd2d8;border-radius:11px;font-weight:800;cursor:pointer}
.color-option input:checked+span{background:#111820;color:#fff;border-color:#111820}
.payment-choice-list{display:grid;gap:10px}
.payment-choice{display:flex;gap:12px;align-items:flex-start;border:1px solid #d9dde3;border-radius:12px;padding:14px 16px;cursor:pointer;background:#fff}
.payment-choice:hover{border-color:#9aa4b2}
.payment-choice input{margin-top:4px}
.payment-choice span{display:flex;flex-direction:column;gap:3px}
.payment-choice small{color:#667085;font-size:.92rem;line-height:1.35}
