/* MAZDIS shop (preview) */
.shop-cart-btn{position:relative;display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border:1px solid var(--rule);border-radius:4px;background:#fff;color:var(--ink);font:500 14px/1 var(--sans);cursor:pointer}
.shop-cart-btn:hover{border-color:var(--blue);color:var(--blue)}
.shop-cart-btn:not(.has-items){display:none}
.nav-links li:has(> .shop-cart-btn:not(.has-items)){display:none}
.shop-cart-btn svg{width:18px;height:18px}
.shop-count{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--blue);color:#fff;font:600 11px/18px var(--sans);text-align:center}
.shop-count[hidden]{display:none}

.shop-buy{border-top:1px solid var(--rule)}
.shop-buy .wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.shop-buy h2{font-size:clamp(26px,2.6vw,32px)}
.shop-buy-intro{margin-top:14px;color:var(--text);max-width:44ch}
.shop-buy-quote{margin-top:22px;font-size:14px;color:var(--muted)}
.shop-buy-quote a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.shop-buy-body{border:1px solid var(--rule);border-radius:8px;padding:28px}
.shop-price{font:500 28px/1.2 var(--display);color:var(--ink)}
.shop-opt{border:0;margin:22px 0 0;padding:0}
.shop-opt legend{padding:0;margin-bottom:10px;font:500 14px/1.3 var(--sans);color:var(--ink)}
.shop-opt-current{font-weight:400;color:var(--muted)}
.shop-choices{display:flex;flex-wrap:wrap;gap:8px}
.shop-choice{min-height:40px;padding:0 14px;border:1px solid #BFC3CC;border-radius:4px;background:#fff;color:var(--ink);font:400 14px/1 var(--sans);cursor:pointer}
.shop-choice:hover{border-color:var(--ink)}
.shop-choice[aria-checked="true"]{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue);color:var(--blue)}
.shop-choices.is-swatch .shop-choice{width:40px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}
.shop-choices.is-swatch .shop-choice[aria-checked="true"]{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--blue)}
.shop-swatch{display:block;width:30px;height:30px;border-radius:50%;border:1px solid rgba(0,0,0,.12)}
.shop-add-row{margin-top:26px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.shop-qty-label{font-size:14px;color:var(--ink)}
.shop-qty-input{width:72px;height:42px;padding:0 10px;border:1px solid #BFC3CC;border-radius:4px;font:400 15px/1 var(--sans)}
.shop-add{height:42px;padding:0 22px}
.btn:disabled{opacity:.55;cursor:default}
.shop-msg{margin-top:10px;min-height:20px;font-size:14px;color:var(--ink)}
.shop-msg.is-err{color:#C0352B}
.shop-desc{margin-top:14px;font-size:13px;color:var(--muted)}
.shop-custom-note{margin-top:14px;padding:12px 14px;border-left:3px solid var(--blue);background:#F1F5FE;font-size:14px;line-height:1.45;color:var(--ink)}
.shop-custom-note[hidden]{display:none}

html.shop-lock{overflow:hidden}
.shop-drawer{position:fixed;inset:0;z-index:100}
.shop-drawer[hidden]{display:none}
.shop-backdrop{position:absolute;inset:0;background:rgba(20,20,20,.4);opacity:0;transition:opacity .25s}
.shop-panel{position:absolute;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .25s ease}
.shop-drawer.is-open .shop-backdrop{opacity:1}
.shop-drawer.is-open .shop-panel{transform:none}
.shop-panel-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--rule)}
.shop-panel-head h2{font-size:22px}
.shop-close{width:36px;height:36px;border:0;background:none;font-size:28px;line-height:1;color:var(--ink);cursor:pointer}
.shop-lines{flex:1;overflow:auto;padding:8px 24px}
.shop-empty{padding:24px 0;color:var(--muted)}
.shop-line{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:16px 0;border-bottom:1px solid var(--rule)}
.shop-line img,.shop-line-ph{width:72px;height:72px;object-fit:contain;background:#F4F5F7;border-radius:4px}
.shop-line-body{display:flex;flex-direction:column;gap:4px;font-size:14px}
.shop-line-body strong{color:var(--ink);font-weight:500}
.shop-line-opts{color:var(--muted);font-size:13px}
.shop-line-row{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.shop-line-price{color:var(--ink)}
.shop-qty{display:inline-flex;align-items:center;border:1px solid #BFC3CC;border-radius:4px}
.shop-qty button{width:30px;height:30px;border:0;background:none;font-size:16px;cursor:pointer;color:var(--ink)}
.shop-qty span{min-width:24px;text-align:center}
.shop-remove{align-self:flex-start;margin-top:4px;padding:0;border:0;background:none;color:var(--muted);font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.shop-panel-foot{padding:20px 24px 24px;border-top:1px solid var(--rule)}
.shop-total{display:flex;justify-content:space-between;font-size:16px;color:var(--ink)}
.shop-note{margin-top:6px;font-size:13px;color:var(--muted)}
.shop-checkout{width:100%;height:46px;margin-top:16px}

.shop-thanks{padding:120px 0 140px;text-align:center}
.shop-thanks h1{font:500 clamp(36px,4.5vw,52px)/1.15 var(--display);color:var(--ink)}
.shop-thanks p{margin:22px auto 0;max-width:52ch;font-size:18px;line-height:1.55}
.shop-thanks .cta-actions{margin-top:32px;display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

.shop-head{padding:88px 0 40px;text-align:center}
.shop-head h1{font:500 clamp(36px,4.5vw,52px)/1.15 var(--display);color:var(--ink)}
.shop-head p{margin:18px auto 0;max-width:52ch;font-size:18px;line-height:1.55}
.shop-jump{margin-top:28px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.shop-jump a{padding:9px 16px;border:1px solid var(--rule);border-radius:999px;font-size:14px;color:var(--ink);text-decoration:none}
.shop-jump a:hover{border-color:var(--blue);color:var(--blue)}
.shop-item{scroll-margin-top:80px}
.shop-item-img{width:100%;max-width:360px;aspect-ratio:4/3;object-fit:contain;margin-bottom:20px}
.shop-item-sub{margin-top:6px;font-size:15px;color:var(--muted)}
@media (max-width:860px){.shop-buy .wrap{grid-template-columns:1fr;gap:28px}}
@media (max-width:560px){.shop-buy-body{padding:20px}.shop-cart-btn .shop-cart-label{display:none}}