/* Shared glass material for the storefront and its live settings preview. */
:is(body.theme-liquid-glass,.theme-preview[data-theme="liquid-glass"]){
 --glass-fill:rgba(246,249,255,.88);
 --glass-edge:rgba(255,255,255,.85);
 --glass-shadow:0 12px 36px rgba(36,65,105,.09),inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(115,147,189,.12);
 background-color:var(--page);
 background-image:radial-gradient(ellipse at 10% 12%,rgba(169,213,255,.6),transparent 45%),radial-gradient(ellipse at 90% 36%,rgba(211,191,251,.5),transparent 45%),radial-gradient(ellipse at 35% 85%,rgba(176,235,222,.45),transparent 50%);
 background-attachment:scroll;
}
body.theme-liquid-glass.has-site-bg{
 background-image:radial-gradient(ellipse at 10% 12%,rgba(169,213,255,.25),transparent 45%),linear-gradient(rgba(var(--site-tint),max(.84,var(--site-overlay))),rgba(var(--site-tint),max(.84,var(--site-overlay)))),var(--site-bg);
 background-position:center;background-size:cover;background-repeat:no-repeat;
}
:where(body.theme-liquid-glass,.theme-preview[data-theme="liquid-glass"]) :is(.site-header,.hero,.hero-photo-label,.brand-section,.help-strip,.footer,.filter-help,.filter-sidebar form,.all-brands>a,.collection-card,.order-summary,.form-section,.order-receipt,.product-card,.cart-drawer,.cookie-banner,.share-dialog,.pwa-install-dialog,.theme-preview-nav,.theme-preview-card){
 background:var(--glass-fill);
 border:1px solid var(--glass-edge);
 box-shadow:var(--glass-shadow);
 -webkit-backdrop-filter:blur(24px) saturate(145%);
 backdrop-filter:blur(24px) saturate(145%);
 border-radius:24px;
}
body.theme-liquid-glass .site-header{border-radius:0 0 28px 28px}
body.theme-liquid-glass .announcement{background:rgba(246,249,255,.94);color:var(--surface-ink)}
body.theme-liquid-glass .hero{margin:20px;border-radius:32px;overflow:hidden}
body.theme-liquid-glass.has-site-bg .hero{--ink:var(--surface-ink);--muted:var(--surface-muted);--line:var(--surface-line);--gold:var(--surface-accent);background:var(--glass-fill)}
body.theme-liquid-glass .hero-has-bg{background:linear-gradient(rgba(246,249,255,.88),rgba(246,249,255,.88)),var(--hero-bg) center/cover no-repeat}
body.theme-liquid-glass .hero-copy{padding-left:max(30px,calc((100vw - 1400px)/2));padding-right:30px}
body.theme-liquid-glass :is(h1,h2){font-family:var(--sans);font-weight:600;letter-spacing:-1.5px}
body.theme-liquid-glass .brand-section{margin:32px 20px 0}
body.theme-liquid-glass :is(.help-strip,.footer){margin:20px}
body.theme-liquid-glass .product-card{padding:12px;min-width:0}
body.theme-liquid-glass .product-visual,body.theme-liquid-glass .main-photo{border-radius:18px;overflow:hidden}
body.theme-liquid-glass .product-visual{background:rgba(255,255,255,.75)}
body.theme-liquid-glass .product-copy{color:var(--surface-ink);--muted:var(--surface-muted);--line:var(--surface-line)}
body.theme-liquid-glass .cart-drawer{border-radius:28px 0 0 28px}
body.theme-liquid-glass :is(.cart-drawer,.share-dialog,.pwa-install-dialog)::backdrop{background:rgba(23,43,73,.25);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
:where(body.theme-liquid-glass,.theme-preview[data-theme="liquid-glass"]) :is(.btn,.product-copy .card-add,.theme-preview-button){
 border-radius:999px;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 5px 14px rgba(22,52,95,.14);
}
body.theme-liquid-glass :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.quantity-control,.radio-card,.share-option){border-radius:14px}
body.theme-liquid-glass :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:rgba(246,249,255,.96)}
body.theme-liquid-glass .radio-card:has(input:checked){background:#edf3fd;border-color:var(--surface-accent)}
.theme-preview[data-theme="liquid-glass"]{border-radius:24px}
.theme-preview[data-theme="liquid-glass"] .theme-preview-nav{margin:12px;border-radius:18px}
.theme-preview[data-theme="liquid-glass"] h3{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:600;letter-spacing:-.6px}
@media(max-width:540px){
 body.theme-liquid-glass .hero{margin:12px;border-radius:24px}
 body.theme-liquid-glass .hero-copy{padding:36px 22px}
 body.theme-liquid-glass .hero h1{font-size:42px}
 body.theme-liquid-glass :is(.brand-section,.help-strip,.footer){margin-left:12px;margin-right:12px}
 body.theme-liquid-glass .product-card{padding:8px;border-radius:18px}
 body.theme-liquid-glass .cart-drawer{border-radius:0}
}
/* Opaque material is the fallback for browsers without blur or reduced transparency. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 :is(body.theme-liquid-glass,.theme-preview[data-theme="liquid-glass"]){--glass-fill:#f6f9ff}
}
@media(prefers-reduced-transparency:reduce){
 :is(body.theme-liquid-glass,.theme-preview[data-theme="liquid-glass"]){--glass-fill:#f6f9ff}
}
