/* Shared, palette-aware storefront interactions, independent of theme. */
html body:is(.store-page,.product-page) .store-quick-view{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 13px;margin:12px 0 4px;min-height:40px;border:1px solid color-mix(in srgb,var(--on-paper,#222) 18%,transparent);background:transparent;color:var(--on-paper,#222);border-radius:99px;font:inherit;font-size:12px;line-height:1.3;cursor:pointer;touch-action:manipulation;transition:background .18s,transform .18s}
html body:is(.store-page,.product-page) .store-quick-view svg{width:17px;height:17px;flex:none}.store-quick-view:hover{background:color-mix(in srgb,var(--on-paper,#222) 6%,transparent);transform:translateY(-1px)}
html body:is(.store-page,.product-page) .store-preview-dialog{width:min(920px,calc(100% - 32px));max-width:920px;max-height:calc(100svh - 40px);margin:auto;padding:0;overflow:auto;border:1px solid color-mix(in srgb,var(--on-paper,#222) 18%,transparent);border-radius:24px;background:var(--paper,#fff);color:var(--on-paper,#222);box-shadow:0 24px 100px #0004}
.store-preview-dialog[open]{display:grid;grid-template-columns:1.05fr 1fr}.store-preview-dialog::backdrop{background:#0009}.store-preview-dialog :is(button,a){touch-action:manipulation}.store-preview-dialog [hidden]{display:none!important}
.store-preview-media{padding:26px;background:color-mix(in srgb,var(--on-paper,#222) 4%,var(--paper,#fff));min-width:0}.store-preview-image{display:block;width:100%;height:390px;max-width:100%;object-fit:contain;border-radius:16px}.store-preview-thumbs{display:flex;justify-content:center;gap:10px;margin-top:15px}.store-preview-thumb{display:flex;flex-direction:column;align-items:center;gap:4px;border:1px solid transparent;border-radius:9px;padding:4px;background:none;color:inherit;font:inherit;font-size:10px;cursor:pointer}.store-preview-thumb[aria-pressed=true]{border-color:currentColor}.store-preview-thumb img{height:50px;width:50px;object-fit:contain;border-radius:5px}
.store-preview-copy{align-self:center;padding:48px 30px 32px;min-width:0}.store-preview-category{display:block;font-size:11px;letter-spacing:.1em;color:color-mix(in srgb,var(--on-paper,#222) 65%,transparent)}.store-preview-copy h2{font:inherit;font-weight:600;font-size:clamp(24px,3vw,35px);line-height:1.35;margin:12px 0 16px;overflow-wrap:anywhere}.store-preview-description{font-size:14px;line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}.store-preview-price{display:block;font-size:24px;margin-top:24px;direction:ltr;text-align:start}.store-preview-availability{font-size:12px;line-height:1.5;margin:10px 0 24px;color:color-mix(in srgb,var(--on-paper,#222) 72%,transparent)}.store-preview-actions{display:grid;gap:10px}.store-preview-actions :is(button,a){display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border:1px solid color-mix(in srgb,var(--on-paper,#222) 25%,transparent);border-radius:12px;font:inherit;font-size:14px;text-decoration:none;cursor:pointer}.store-preview-actions .store-preview-add{background:var(--primary,#222);color:var(--on-primary,#fff);border-color:var(--primary,#222)}.store-preview-details{color:inherit;background:transparent}.store-preview-close{position:absolute;inset:12px 12px auto auto;z-index:2;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid color-mix(in srgb,var(--on-paper,#222) 16%,transparent);background:var(--paper,#fff);color:inherit;cursor:pointer}.store-preview-close svg{width:18px;height:18px}.store-preview-close span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body:is(.store-page,.product-page) .store-information{display:grid;grid-template-columns:1fr 1.4fr;gap:32px;align-items:center;padding:34px clamp(20px,5vw,80px);margin:0;background:var(--paper,#fff);color:var(--on-paper,#222);border-top:1px solid color-mix(in srgb,var(--on-paper,#222) 14%,transparent)}.store-information-heading small{font-size:10px;letter-spacing:.12em;opacity:.65}.store-information-heading h2{font:inherit;font-size:22px;font-weight:600;margin:9px 0;line-height:1.4}.store-information-heading p{font-size:12px;line-height:1.8;margin:0;opacity:.72}.store-information-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.store-information-links a{display:flex;gap:10px;align-items:center;padding:18px 14px;border:1px solid color-mix(in srgb,var(--on-paper,#222) 15%,transparent);border-radius:14px;text-decoration:none;color:inherit;font-size:13px;min-height:64px;transition:transform .18s,background .18s}.store-information-links a:hover{background:color-mix(in srgb,var(--on-paper,#222) 4%,transparent);transform:translateY(-2px)}.store-information-links svg{width:22px;height:22px;flex:none}.store-information-links b{margin-inline-start:auto;font-weight:400}
.store-quick-nav .store-return-top[hidden]{display:none!important}.store-quick-nav .store-return-top{min-width:60px}
:is(.store-quick-view,.store-preview-dialog button,.store-preview-dialog a,.store-information-links a):focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:700px){html body:is(.store-page,.product-page) .store-preview-dialog{width:calc(100% - 16px);max-height:calc(100svh - 24px);border-radius:20px}.store-preview-dialog[open]{grid-template-columns:1fr}.store-preview-media{padding:18px 18px 10px}.store-preview-image{height:240px}.store-preview-copy{padding:20px 24px 26px}.store-preview-copy h2{font-size:24px;margin:8px 0 10px}.store-preview-price{font-size:22px;margin-top:16px}.store-preview-description{font-size:13px}.store-preview-availability{margin-bottom:16px}.store-preview-thumbs{margin-top:8px}.store-preview-thumb img{width:36px;height:36px}html body:is(.store-page,.product-page) .store-information{grid-template-columns:1fr;gap:18px;padding:28px 20px}.store-information-links{gap:7px}.store-information-links a{flex-direction:column;justify-content:center;text-align:center;padding:14px 5px;font-size:11px;gap:8px}.store-information-links b{display:none}.store-quick-nav .store-return-top{min-width:0}.store-quick-nav .store-return-top span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.store-quick-view,.store-information-links a{transition:none!important;transform:none!important}}
