.shop-cart-link { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
[data-cart-count] { min-width:20px; height:20px; display:inline-grid; place-items:center; border-radius:50%; background:#e3ebe0; color:#324c3b; font-size:11px; line-height:1; }
.commerce-page { min-height:65vh; padding:60px 0 88px; }
.commerce-wrap { max-width:1080px; margin:auto; padding:0 24px; }
.commerce-back { display:inline-block; margin-bottom:24px; font-size:14px; color:var(--text-secondary); }
.commerce-page h1 { font-size:clamp(34px,5vw,54px); letter-spacing:-.045em; line-height:1.1; margin-bottom:12px; }
.commerce-intro { color:var(--text-secondary); font-size:16px; line-height:1.6; margin-bottom:32px; }
.commerce-empty { text-align:center; padding:64px 24px; background:var(--surface-1); border:1px solid var(--border-subtle); border-radius:20px; }
.commerce-empty h2 { margin-bottom:12px; font-size:24px; }
.commerce-empty p { color:var(--text-secondary); margin-bottom:24px; }
.commerce-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:36px; align-items:start; }
.cart-line { display:grid; grid-template-columns:96px minmax(0,1fr) auto; gap:20px; padding:24px 0; border-bottom:1px solid var(--border-subtle); align-items:start; }
.cart-line:first-child { padding-top:0; }
.cart-line img { width:96px; height:112px; padding:10px; object-fit:contain; background:#fff; border-radius:12px; }
.cart-line h2 { font-size:18px; line-height:1.35; margin-bottom:8px; }
.cart-line .cart-unit { color:var(--text-secondary); font-size:14px; margin-bottom:14px; }
.cart-line-total { font-weight:600; padding-top:4px; white-space:nowrap; }
.cart-quantity { display:flex; align-items:center; gap:12px; flex-wrap:wrap; font-size:13px; }
.cart-quantity select { font:inherit; min-width:62px; padding:8px; border:1px solid var(--border-medium); border-radius:8px; background:var(--surface-1); }
.cart-remove { border:0; background:none; font:inherit; color:var(--text-secondary); text-decoration:underline; padding:8px 0; cursor:pointer; }
.cart-summary { padding:26px; background:var(--surface-1); border:1px solid var(--border-subtle); border-radius:16px; }
.cart-summary h2 { font-size:20px; margin-bottom:24px; }
.cart-subtotal { display:flex; justify-content:space-between; gap:14px; font-size:18px; margin-bottom:16px; }
.cart-summary p { font-size:13px; color:var(--text-secondary); line-height:1.6; margin-bottom:22px; }
.cart-summary .btn { width:100%; }
.commerce-status { font-size:14px; line-height:1.55; color:var(--text-secondary); margin:16px 0; }
.commerce-status:empty { display:none; }
.commerce-error { color:#863d2b; padding:16px; border:1px solid #dfc1b6; border-radius:10px; background:#fff7f2; }
.checkout-shell { margin-top:30px; min-height:180px; }
.checkout-result { padding:36px; border:1px solid var(--border-medium); border-radius:18px; background:var(--surface-1); }
.checkout-result h2 { margin-bottom:12px; }
.checkout-result p { line-height:1.6; margin-bottom:20px; }
.commerce-footer { padding:28px 24px; border-top:1px solid var(--border-subtle); text-align:center; color:var(--text-secondary); font-size:13px; }
.commerce-footer a { margin:0 10px; text-decoration:underline; text-underline-offset:3px; }
.product-purchase-price { font-size:20px; font-weight:600; margin:12px 0; }
.shop-cart-notice { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); z-index:200; background:#263d2f; color:#fff; padding:15px 22px; border-radius:12px; box-shadow:0 8px 30px #0002; max-width:calc(100% - 32px); display:flex; gap:18px; align-items:center; font-size:14px; }
.shop-cart-notice a { color:#fff; text-decoration:underline; white-space:nowrap; }
@media(max-width:760px) { .commerce-page { padding:34px 0 60px; } .commerce-layout { grid-template-columns:1fr; gap:28px; } .cart-line { grid-template-columns:72px minmax(0,1fr); gap:16px; } .cart-line img { width:72px; height:90px; } .cart-line-total { grid-column:2; padding:0; } .commerce-wrap { padding:0 20px; } .shop-cart-notice { bottom:16px; width:max-content; } }
