/* Self-hosted fonts keep the Persian UI and printable documents consistent. */
@font-face {
  font-family: 'Vazirmatn';
  src: url("../fonts/Vazirmatn.woff2") format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url("../fonts/IBMPlexMono-Medium.ttf") format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url("../fonts/IBMPlexMono-SemiBold.ttf") format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --page-loader-surface:#fff;
}
[data-store-mode="dark"] {
  --page-loader-surface:#1e2536;
}
:is(.site-loading-screen,.retail-page-loader) {
  position:fixed;
  inset:0;
  place-items:center;
  align-content:center;
  background:var(--page-loader-surface);
}
.site-loading-screen {
  box-sizing:border-box;
  z-index:2147483647;
  width:auto;
  height:auto;
  max-width:none;
  max-height:none;
  margin:0;
  padding:24px;
  border:0;
  display:none;
  color:#202943;
  text-align:center;
  font-family:Vazirmatn,Tahoma,sans-serif;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
html[data-page-loading] #siteLoading,
.site-loading-screen[data-visible] { display:grid; }
html[data-store-mode="dark"] .site-loading-screen { color:#f0f3ff; }
.site-loading-screen .site-loading-content {
  display:grid;
  justify-items:center;
  gap:12px;
}
.site-loading-screen .site-loading-symbol {
  position:relative;
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  isolation:isolate;
}
.retail-loader-mark {
  grid-area:1 / 1;
  display:block;
  width:48px;
  height:48px;
}
.retail-loader-ring {
  grid-area:1 / 1;
  display:block;
  width:64px;
  height:64px;
}
.retail-loader-ring .runner { animation:site-loading-ring 1.1s linear infinite; }
@keyframes site-loading-ring { to { stroke-dashoffset:-100; } }
.site-loading-screen .site-loading-label {
  margin:0;
  font-size:14px;
  font-weight:600;
  line-height:1.8;
}
.site-loading-screen .site-loading-dots {
  display:flex;
  gap:6px;
  direction:ltr;
  padding-top:1px;
}
.site-loading-screen .site-loading-dots span {
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  animation:site-loading-dot 1s ease-in-out infinite;
}
.site-loading-screen .site-loading-dots span:nth-child(2) { animation-delay:.12s; }
.site-loading-screen .site-loading-dots span:nth-child(3) { animation-delay:.24s; }
@keyframes site-loading-dot {
  0%,70%,100% { opacity:.28; transform:translateY(0); }
  35% { opacity:1; transform:translateY(-3px); }
}
@media (prefers-reduced-motion:reduce) {
  .site-loading-screen .site-loading-dots span, .retail-loader-ring .runner { animation:none; }
}

.retail-card-media img[data-image-unavailable],
.product-gallery-open682 img[data-image-unavailable] { visibility:hidden; }
:is(.retail-card-media,.product-gallery-open682,.product-gallery-thumb68):has(img[data-image-unavailable]) { position:relative; }
.product-gallery-thumb68 img[data-image-unavailable], .retail-hero-visual img[data-image-unavailable] { visibility:hidden; }
.site-image-fallback { position:absolute; inset:0; display:grid; place-items:center; font-size:.875rem; }

.site-credits {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
  gap:4px 12px;
  color:var(--ink-soft, #53627a);
  font-size:12px;
}
.site-version { text-align:center; padding:0 12px 22px; }
.site-credit-link { display:inline-flex; align-items:center; gap:6px; color:inherit; white-space:nowrap; }
.site-credit-link svg { color:#000; }
[data-store-mode="dark"] .site-credit-link svg { color:#fff; }
:is(.retail-floating-page, .retail-checkout-page) main > .site-credits,
.retail-route-panel > .site-credits { margin-block-start:14px; }

button.site-action-pending { cursor:wait; }
button.site-action-pending::before {
  content:"";
  display:inline-block;
  box-sizing:border-box;
  width:14px;
  height:14px;
  flex:none;
  vertical-align:middle;
  margin-inline-end:4px;
  border:2px solid currentColor;
  border-inline-end-color:transparent;
  border-radius:50%;
  animation:site-action-spin .7s linear infinite;
}
.site-action-row:has(
  + .site-action-result:not(:empty, [hidden]),
  + :is([hidden], .hidden) + .site-action-result:not(:empty, [hidden])
) {
  margin-block-end:0 !important;
}
.site-action-result {
  text-align:center !important;
  min-height:0 !important;
  padding-block:0 !important;
  margin-block:calc(10px - var(--site-result-existing-gap,0px)) 0 !important;
}
.site-action-result:empty { display:none !important; }
@keyframes site-action-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) {
  button.site-action-pending::before { animation:none; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes kala-panel-in {
    from { opacity:0; translate:0 6px; }
    to { opacity:1; translate:0 0; }
  }
  @keyframes kala-fade-in {
    from { opacity:0; }
    to { opacity:1; }
  }
  :is(.retail-site,.admin-store) :is(button,.btn,.retail-button,summary) {
    transition:background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, scale .15s ease;
  }
  :is(.retail-site,.admin-store) :is(button,.btn,.retail-button,summary):active:not(:disabled) { scale:.98; }
  :is(.retail-site,.admin-store) dialog[open],
  .retail-filter-menu[open] > .retail-filter-panel,
  .retail-select[open] > .retail-select-options,
  .retail-menu[open] > .retail-mega,
  .admin-store .modal-backdrop:not(.hidden) > .modal {
    animation:kala-panel-in .22s cubic-bezier(.2,.75,.3,1) both;
  }
  :is(.retail-site,.admin-store) dialog[open]::backdrop { animation:kala-fade-in .2s ease both; }
  .retail-grid[aria-busy="false"] > .retail-card,
  .retail-favorite-row,
  .admin-store .workspace-page68:not([hidden]),
  .admin-store :is(#secProducts,#secOrders,#secPartners,#secAdmins):not(.hidden) > .card {
    animation:kala-fade-in .24s ease both;
  }
  .retail-grid > .retail-card:nth-child(2),
  .retail-grid > .retail-card:nth-child(3) { animation-delay:.03s; }
  .retail-grid > .retail-card:nth-child(4),
  .retail-grid > .retail-card:nth-child(5) { animation-delay:.06s; }
}

/* Shared scrollbars for pages, dialogs, tables and dropdowns. */
:root {
  --scroll-thumb: #a0aec9;
  --scroll-thumb-hover: #7186b1;
  --scroll-thumb-active: #4d67a7;
  --scroll-end-space: 12px;
}
[data-store-mode="dark"] {
  --scroll-thumb: #5b6c90;
  --scroll-thumb-hover: #8195c0;
  --scroll-thumb-active: #a7b8ff;
}
* { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
@supports selector(::-webkit-scrollbar) {
  * { scrollbar-width: auto; scrollbar-color: auto; }
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
  ::-webkit-scrollbar-track:vertical { margin-block: var(--scroll-end-space); }
  ::-webkit-scrollbar-track:horizontal { margin-inline: var(--scroll-end-space); }
  html::-webkit-scrollbar-track, body::-webkit-scrollbar-track { margin: 0; }
  ::-webkit-scrollbar-thumb { background: var(--scroll-thumb) padding-box; border: 3px solid transparent; border-radius: 999px; min-height: 28px; min-width: 28px; }
  ::-webkit-scrollbar-thumb:hover { background-color: var(--scroll-thumb-hover); }
  ::-webkit-scrollbar-thumb:active { background-color: var(--scroll-thumb-active); }
  ::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
}
@media (pointer: coarse) {
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-thumb { border-width: 1px; }
}
@media (forced-colors: active) {
  * { scrollbar-width:auto; scrollbar-color:auto; }
  ::-webkit-scrollbar-thumb { background: ButtonText; border-color: Canvas; }
  ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: Canvas; }
}


:root {
  --retail-page: #f5f6fa;
  --retail-surface: #fff;
  --retail-text: #1c2438;
  --retail-muted: #5b657d;
  --retail-border: #dfe4ee;
  --retail-blue: #3b5bdb;
  --retail-accent: #304cbd;
  --retail-light: #edf2ff;
  --retail-green: #116849;
  --retail-red: #a22640;
  --retail-radius: 16px;
}
[data-store-mode="dark"] {
  --retail-page: #151927;
  --retail-surface: #1e2536;
  --retail-text: #f0f3ff;
  --retail-muted: #adb8d2;
  --retail-border: #36405a;
  --retail-blue: #a7b8ff;
  --retail-accent: #304bb9;
  --retail-light: #293756;
  --retail-green: #80e3b3;
  --retail-red: #ff9aaa;
}
.retail-site {
  --paper: var(--retail-page);
  --paper-card: var(--retail-surface);
  --ink: var(--retail-text);
  --ink-soft: var(--retail-muted);
  --ink-lighter: var(--retail-muted);
  --line: var(--retail-border);
  --primary: var(--retail-blue);
  --primary-light: var(--retail-light);
  --teal: var(--retail-green);
  --teal-light: #16785920;
  --radius-lg: var(--retail-radius);
  --shadow-sm: 0 2px 8px #18254e06;
  --grad-brand: linear-gradient(135deg, var(--retail-accent), var(--retail-blue));
  --brass: var(--retail-blue);
  --brass-dark: var(--retail-accent);
  --red: #a22640;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--retail-page);
  color: var(--retail-text);
  font: 400 15px/1.8 Vazirmatn, Tahoma, sans-serif;
  scroll-behavior:smooth;
}
.retail-site *, .retail-site *::before, .retail-site *::after { box-sizing: border-box; }
.retail-site [hidden] { display: none !important; }
.retail-site main { flex: 1; }
.retail-site a { color: inherit; text-decoration: none; }
.retail-site button, .retail-site input, .retail-site select, .retail-site textarea { font: inherit; }
.retail-site button { cursor: pointer; }
.retail-site :focus-visible { outline: 2px solid var(--retail-blue); outline-offset: 4px; }
.retail-site [aria-hidden="true"] { direction:ltr; unicode-bidi:isolate; }
.retail-arrow { display:inline-block; direction:ltr; unicode-bidi:isolate; }
.retail-breadcrumb > span:not(:last-child) { direction:ltr; unicode-bidi:isolate; }
.retail-checkout-page, .retail-floating-page { overflow:hidden; }
.retail-checkout-page::before, .retail-floating-page::before { content:""; position:fixed; inset:0; z-index:40; background:#101629a6; backdrop-filter:blur(4px); animation:retail-backdrop-in .22s ease both; }
.retail-checkout-page #main-content, .retail-floating-page #main-content { position:fixed; z-index:50; top:50%; left:50%; transform:translate(-50%,-50%); width:min(1020px,calc(100vw - 36px)); max-height:calc(100dvh - 36px); overflow:auto; overscroll-behavior:contain; padding:30px; border:1px solid var(--retail-border); border-radius:20px; background:var(--retail-page); box-shadow:0 26px 90px #0509128c; animation:retail-checkout-in .28s cubic-bezier(.2,.75,.3,1) both; }
.retail-route-dialog { position:fixed; inset:0; box-sizing:border-box; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; overflow:hidden; border:0; background:transparent; color:var(--retail-text); }
.retail-route-dialog::backdrop { background:#101629a6; backdrop-filter:blur(4px); animation:retail-backdrop-in .2s ease both; }
.retail-route-panel { position:fixed; top:50%; left:50%; box-sizing:border-box; transform:translate(-50%,-50%); width:min(1020px,calc(100vw - 36px)); max-height:calc(100dvh - 36px); overflow:auto; overscroll-behavior:contain; padding:30px; border:1px solid var(--retail-border); border-radius:20px; background:var(--retail-page); box-shadow:0 26px 90px #0509128c; animation:retail-checkout-in .28s cubic-bezier(.2,.75,.3,1) both; }
.retail-route-panel:has(#tracking-form) { width:min(520px,calc(100vw - 24px)); padding:clamp(14px,3vw,20px); border-radius:16px; }
.retail-route-panel[data-route="account"] { width:min(800px,calc(100vw - 24px)); }
.retail-route-panel:has(#tracking-form) .retail-breadcrumb { margin-bottom:4px; }
.retail-route-panel:has(#tracking-form) h1 { margin-bottom:10px; font-size:clamp(20px,3vw,25px); }
.retail-route-panel:has(#tracking-form) #tracking-form { padding:clamp(12px,2.5vw,16px); gap:10px; }
.retail-route-panel .retail-checkout-close { position:sticky; top:0; z-index:3; float:inline-end; margin:-12px -12px 4px -12px; }
.retail-route-panel:has(#tracking-form) .retail-checkout-close { margin:0; }
.retail-route-panel .retail-summary { position:static; top:auto; }
html.retail-route-open, html.retail-route-open body { overflow:hidden; }
.retail-floating-page #main-content { width:min(800px,calc(100vw - 36px)); }
.retail-floating-page #main-content:has(#tracking-form) { width:min(520px,calc(100% - 24px)); padding:clamp(14px,3vw,20px); border-radius:16px; }
#main-content:has(#tracking-form) .retail-breadcrumb { margin-bottom:4px; }
#main-content:has(#tracking-form) h1 { font-size:clamp(20px,3vw,25px); margin-bottom:10px; }
#tracking-form { padding:clamp(12px,2.5vw,16px); gap:10px; }
.retail-site :is(.retail-checkout-close,.retail-dialog-head button,.product-order-dialog688 [data-close]) { box-sizing:border-box; position:relative; display:grid; place-items:center; flex:0 0 40px; width:40px; min-width:40px; height:40px; min-height:40px; padding:0; border:1px solid var(--retail-border); border-radius:11px; background:var(--retail-surface); color:var(--retail-muted); font-size:0; line-height:0; text-decoration:none; }
.retail-site :is(.retail-checkout-close,.retail-dialog-head button,.product-order-dialog688 [data-close]):hover { border-color:var(--retail-blue); background:var(--retail-light); color:var(--retail-blue); }
.retail-site :is(.retail-checkout-close,.retail-dialog-head button,.product-order-dialog688 [data-close])::before,
.retail-site :is(.retail-checkout-close,.retail-dialog-head button,.product-order-dialog688 [data-close])::after { content:""; position:absolute; width:14px; height:1.8px; border-radius:2px; background:currentColor; }
.retail-site :is(.retail-checkout-close,.retail-dialog-head button,.product-order-dialog688 [data-close])::before { transform:rotate(45deg); }
.retail-site :is(.retail-checkout-close,.retail-dialog-head button,.product-order-dialog688 [data-close])::after { transform:rotate(-45deg); }
.retail-floating-page .retail-checkout-close, .retail-checkout-page .retail-checkout-close { position:sticky; top:0; z-index:3; float:inline-end; margin:-12px -12px 4px -12px; }
#main-content:has(#tracking-form) .retail-checkout-close { margin:0; }
.retail-site #productImageViewer682 .image-viewer-close682 { box-sizing:border-box; width:40px; min-width:40px; height:40px; min-height:40px; padding:0; border-radius:11px; background:var(--retail-surface)!important; color:var(--retail-muted); }
.retail-site #productImageViewer682 .image-viewer-close682:hover { background:var(--retail-light)!important; color:var(--retail-blue); border-color:var(--retail-blue); }
.retail-site #productImageViewer682 .image-viewer-close682 svg { width:16px; height:16px; }
.retail-checkout-page .retail-header, .retail-checkout-page .retail-footer, .retail-checkout-page .retail-floating-cart, .retail-floating-page .retail-header, .retail-floating-page .retail-footer, .retail-floating-page .retail-floating-cart { pointer-events:none; }
@keyframes retail-backdrop-in { from { opacity:0; } to { opacity:1; } }
@keyframes retail-checkout-in { from { opacity:0; transform:translate(-50%,-47%) scale(.985); } to { opacity:1; transform:translate(-50%,-50%) scale(1); } }
@media(prefers-reduced-motion:reduce) { .retail-route-panel,.retail-route-dialog::backdrop { animation:none; } }
.retail-site :is(a, button, input, select, textarea) { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.retail-page-loader { z-index:100; display:grid; transition:opacity .28s ease, visibility .28s ease; }
.retail-checkout-page .retail-page-loader,
.retail-site:has(#tracking-form) .retail-page-loader { display:none; }
.retail-ready .retail-page-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.retail-ready .retail-page-loader .retail-loader-ring { background-image:none; }
.retail-ready .retail-header { animation: retail-enter .34s ease both; }
.retail-ready main > :is(.retail-home, .retail-breadcrumb, h1, .retail-panel, .retail-product, .retail-offers, .services-intro68, .services-layout68) { animation: retail-enter .42s cubic-bezier(.2,.75,.3,1) both; }
.retail-ready main > :is(.retail-panel, .retail-product, .retail-offers, .services-layout68) { animation-delay: .05s; }
@keyframes retail-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.retail-width { width: min(1320px, calc(100% - 56px)); margin-inline: auto; }
.retail-route-dialog .retail-route-panel { width:min(760px,calc(100vw - 36px)); }
.retail-sr, .retail-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.retail-skip:focus { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 30; background: var(--retail-surface); padding: 10px 16px; }
.retail-header { position: sticky; top: 0; z-index: 10; background: var(--retail-surface); border-bottom: 1px solid var(--retail-border); }
.retail-header-inner { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 2vw, 26px); min-height: 76px; }
.retail-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 850; font-size: 20px; white-space: nowrap; }
.retail-brand :is(img,.retail-brand-mark) { display: block; width: 41px; height: 40px; object-fit: contain; }
.retail-mobile-controls { display: none; }
.retail-search { display: flex; height: 46px; max-width: 625px; border-radius: 10px; border: 1px solid var(--retail-border); background: var(--retail-page); }
.retail-search input { width: 100%; min-width: 0; padding-inline: 14px; border: 0; background: none; color: inherit; border-radius: 10px; }
.retail-search button { flex: 0 0 48px; display: grid; place-items: center; color: var(--retail-blue); background: none; border: 0; }
.retail-header-links { display: flex; align-items: center; gap: 12px; }
.retail-header-links :is(a,button) { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; white-space: nowrap; padding: 7px 12px; border:0; border-radius: 9px; background:transparent; color:inherit; font-size: 13px; font-weight: 650; }
.retail-header-links :is(a,button):hover { background: var(--retail-page); }
.retail-header-links :is(a,button):active, .retail-button:active { transform:scale(.98); }
.retail-header-links .retail-account-link, .retail-header-links .retail-logout-link { color:var(--retail-blue); }
.retail-header-links .retail-support-link { gap:8px; border:1px solid var(--retail-border); background:var(--retail-light); color:var(--retail-blue); }
.retail-header-links .retail-support-link:hover { border-color:var(--retail-blue); background:var(--retail-surface); }
.retail-site svg { flex:0 0 auto; }
.retail-nav { position: relative; }
.retail-nav > div { display: flex; align-items: center; min-height: 44px; }
.retail-nav a, .retail-menu > summary { font-size: 13px; font-weight: 650; }
.retail-menu { position: relative; }
.retail-menu > summary, .retail-select > summary { list-style: none; }
.retail-menu > summary::-webkit-details-marker, .retail-select > summary::-webkit-details-marker { display: none; }
.retail-menu > summary { display: flex; align-items: center; gap: 8px; padding: 6px 10px; min-height: 44px; border-radius: 8px; cursor: pointer; color: var(--retail-blue); background: var(--retail-light); }
.retail-chevron { width: 7px; height: 7px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: translateY(-2px) rotate(-45deg); flex: 0 0 7px; }
[open] > summary .retail-chevron { transform: translateY(2px) rotate(135deg); }
.retail-mega { position: absolute; top: calc(100% + 7px); inset-inline-start: 0; display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 12px; width: min(640px, calc(100vw - 32px)); padding: 12px; border-radius: 14px; border: 1px solid var(--retail-border); background: var(--retail-surface); box-shadow: 0 16px 44px #19244023; }
.retail-menu-groups { display: grid; align-content: start; gap: 4px; border-inline-end: 1px solid var(--retail-border); padding-inline-end: 10px; }
.retail-menu-groups button { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 40px; text-align: start; padding: 5px 8px; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 13px; }
.retail-menu-groups button[aria-expanded="true"], .retail-menu-groups button:hover { color: var(--retail-blue); background: var(--retail-light); }
.retail-submenus section > a { display: inline-block; margin-bottom: 8px; padding: 5px 8px; color: var(--retail-blue); }
.retail-submenu-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
.retail-submenu-links a { display: block; padding: 7px 8px; border-radius: 8px; overflow-wrap: anywhere; }
.retail-submenu-links a:hover, .retail-submenu-links a[aria-current] { color: var(--retail-blue); background: var(--retail-light); }
.retail-footer { margin-top: 54px; border-top: 1px solid var(--retail-border); background: var(--retail-surface); }
.retail-footer > div { min-height: 92px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.retail-footer-brand { font-size: 17px; font-weight: 850; }
.retail-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--retail-muted); font-size: 13px; }
.retail-footer a:hover, .retail-breadcrumb a:hover, .retail-link-button:hover { color: var(--retail-blue); text-decoration: underline; }
.retail-admin-login-page { min-height:100dvh; background:linear-gradient(145deg,#f5f7ff,#e8edff); }
.retail-admin-login-main { width:min(460px,calc(100% - 32px)); min-height:100dvh; margin:auto; display:flex; flex-direction:column; justify-content:center; gap:22px; }
.retail-admin-login-main > .retail-brand { align-self:center; }
.retail-admin-login-card { padding:30px; border:1px solid var(--retail-border); border-radius:22px; background:var(--retail-surface); box-shadow:0 18px 50px #1b316b18; }
.retail-admin-login-eyebrow { margin:0 0 5px; color:var(--retail-blue); font-size:13px; font-weight:750; }
.retail-admin-login-card h1 { margin:0; font-size:25px; line-height:1.55; }
.retail-admin-login-card > p:not(.retail-admin-login-eyebrow) { margin:7px 0 20px; color:var(--retail-muted); font-size:13px; }
.retail-admin-login-back { align-self:center; color:var(--retail-muted); font-size:13px; }
.retail-cart-dock { position: sticky; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 8; display: flex; align-items: center; gap: 8px; margin-top: 20px; pointer-events: none; }
.retail-cart-dock a { pointer-events: auto; }
.retail-notice { position: absolute; z-index: 1; inset-inline: 0; top: 50%; translate: 0 -50%; margin-inline: auto; width: max-content; max-width: calc(100% - 230px); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 10px; background: #202b49; color: #fff; text-align: center; box-shadow: 0 8px 24px #17243c35; }
.retail-notice a { text-decoration: underline; font-weight: 700; }
@media (max-width: 600px) {
  .retail-notice { max-width: calc(100% - 104px); padding: 8px 10px; font-size: 12px; }
  .retail-cart-dock:has(.retail-notice:not([hidden])) .retail-floating-cart { width: 44px; padding-inline: 0; }
  .retail-cart-dock:has(.retail-notice:not([hidden])) .retail-floating-cart > span { display: none; }
}
.retail-floating-cart { position:relative; flex:none; margin-inline-start:auto; display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; padding:6px 11px; border-radius:999px; background:var(--retail-accent); color:#fff!important; box-shadow:0 8px 22px #17254b45; font-size:13px; font-weight:750; animation:retail-enter .25s ease both; }
.retail-floating-cart:hover { transform:translateY(-2px); box-shadow:0 13px 32px #17254b55; }
.retail-floating-cart svg { width:18px; height:18px; }
.retail-floating-cart b { display:grid; place-items:center; min-width:20px; height:20px; padding-inline:4px; border-radius:50px; background:#fff; color:var(--retail-accent); font-size:11px; }

.retail-home { padding-top: 26px; }
.retail-hero { isolation: isolate; overflow: hidden; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 295px; background: linear-gradient(115deg, #d6e0ff, #eef1ff 66%, #f0f2ff); color: #1b2c60; border: 1px solid #d9e1f7; border-radius: 24px; }
.retail-hero-content { position: relative; z-index: 1; padding: 28px clamp(22px, 4.8vw, 68px); }
.retail-hero h1 { margin: 0; font-size: clamp(30px, 4vw, 55px); line-height: 1.35; font-weight: 860; letter-spacing: -.04em; }
.retail-hero h1 strong { color: #2949ba; }
.retail-hero p { margin: 12px 0 20px; color: #455478; }
.retail-hero-visual { position: relative; min-height: 100%; display: grid; place-items: center; overflow: hidden; }
.retail-hero-visual span { position: absolute; width: 78%; aspect-ratio: 1; border: 1px solid #8097dc60; border-radius: 50%; }
.retail-hero-visual span + span { width: 59%; background: #dbe4ff99; }
.retail-hero-visual img { z-index: 1; width: min(75%, 340px); height: 275px; object-fit: contain; mix-blend-mode: multiply; transform: rotate(-7deg); }
.retail-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.retail-hero.has-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg,#eef2ff 4%,#eef2fff0 28%,#eef2ff50 64%,transparent); }
.retail-hero.has-banner .retail-hero-visual { visibility: hidden; }
.retail-hero h1 strong { white-space: pre-line; }
.retail-featured h1 { font-size: clamp(23px, 3vw, 32px); margin: 0; white-space: pre-line; }
.retail-featured .retail-grid { margin-top: 14px; }
#retail-featured-status:empty { display: none; }
.retail-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 7px 17px; border: 1px solid transparent; border-radius: 9px; background: var(--retail-accent); color: #fff !important; font-weight: 740; text-align: center; }
.retail-button:hover { background: #21388e; }
.retail-site button:disabled { opacity: .55; cursor: default; }
.retail-button-secondary { background: var(--retail-light); border-color: transparent; color: var(--retail-blue) !important; }
.retail-button-secondary:hover { background: var(--retail-page); border-color: var(--retail-border); }
.retail-catalog { scroll-margin-top: 135px; margin-top: 22px; }
.retail-categories { display: flex; flex-wrap: wrap; gap: 9px; padding: 23px 0; }
.retail-categories a { display: inline-flex; align-items: center; min-height: 42px; padding: 5px 16px; border-radius: 100px; background: var(--retail-surface); border: 1px solid var(--retail-border); font-size: 13px; font-weight: 630; white-space: nowrap; }
.retail-categories a[aria-current="page"], .retail-categories a:hover { background: var(--retail-light); border-color: var(--retail-blue); color: var(--retail-blue); }
.retail-catalog-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; align-items: start; }
#retail-filter-sidebar, #retail-filter-open, #retail-filter-dialog { display:none !important; }
.retail-panel { background: var(--retail-surface); border: 1px solid var(--retail-border); border-radius: var(--retail-radius); padding: 22px; }
.retail-filters { position: sticky; top: 136px; padding: 16px; }
.retail-filters summary { font-size: 15px; font-weight: 780; cursor: pointer; }
.retail-filter-fields { display: grid; gap: 13px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--retail-border); }
.retail-filter-row { position:relative; z-index:9; display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:nowrap; width:100%; max-width:100%; margin:12px 0 18px; padding:0; }
.retail-filter-menu { position:static; }
.retail-filter-menu > summary { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:7px 15px; border:1px solid var(--retail-border); border-radius:11px; background:var(--retail-surface); color:var(--retail-text); font-size:13px; font-weight:720; cursor:pointer; list-style:none; }
.retail-filter-menu > summary::-webkit-details-marker { display:none; }
.retail-filter-menu > summary:hover, .retail-filter-menu[open] > summary { border-color:var(--retail-blue); background:var(--retail-light); color:var(--retail-blue); }
.retail-filter-panel { position:absolute; top:calc(100% + 8px); right:0; display:block; width:min(560px,calc(100vw - 32px)); max-height:min(68dvh,560px); overflow:auto; overscroll-behavior:contain; padding:18px; border:1px solid var(--retail-border); border-radius:14px; background:var(--retail-surface); color:var(--retail-text); box-shadow:0 16px 44px #080e1b50; }
.retail-filter-panel .retail-filter-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:end; gap:14px; margin:0; padding:0; border:0; }
.retail-filter-panel .retail-wide { grid-column:1/-1; }
#retail-filters label, .retail-form label, .retail-product-buy label { display: grid; gap: 5px; font-weight: 620; font-size: 13px; min-width: 0; }
#retail-filters :is(input:not([type="checkbox"]),select), .retail-sort select, .retail-form :is(input:not([type="radio"]),textarea), .retail-product-buy input, .retail-line input {
  display: block; width: 100%; min-width: 0; min-height: 43px; padding: 8px 10px; border: 1px solid var(--retail-border); border-radius: 8px; background: var(--retail-page); color: var(--retail-text);
}
.retail-site input:is([type="radio"],[type="checkbox"]) { accent-color: var(--retail-accent); width: 17px; height: 17px; }
#retail-filters fieldset, .retail-choice { min-width: 0; margin: 0; border: 0; padding: 0; }
#retail-filters legend, .retail-choice legend { font-weight: 630; font-size: 13px; margin-bottom: 5px; }
.retail-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#retail-filters .retail-check { display: flex; gap: 6px; align-items: center; min-height: 34px; }
.retail-filter-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.retail-filter-actions button { font-size: 12px; padding-inline: 11px; }
.retail-link-button { border: 0; background: none; color: var(--retail-blue); padding: 4px; font-weight: 650; }
.retail-filter-actions a { font-size: 12px; }
.retail-catalog-controls { display: flex; gap: 7px; align-items: center; }
.retail-filter-toggle { display: none; }
.retail-select { position: relative; min-width: 0; }
.retail-province-field { display:grid; gap:5px; min-width:0; align-content:start; }
.retail-province-field .retail-select { font-size:13px; }
.retail-province-field .retail-select-options { max-height:min(220px,40dvh); overscroll-behavior:contain; }
.retail-select > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 43px; padding: 7px 10px; border: 1px solid var(--retail-border); border-radius: 9px; background: var(--retail-surface); color: var(--retail-text); cursor: pointer; }
.retail-select[open] > summary { border-color: var(--retail-blue); box-shadow: 0 0 0 2px var(--retail-light); }
.retail-select > summary span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.retail-select-options { position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 8; min-width: 100%; max-height: 250px; overflow-y: auto; border-radius: 11px; padding: 4px; border: 1px solid var(--retail-border); background: var(--retail-surface); box-shadow: 0 10px 28px #18254e25; }
.retail-select-options button { display: block; width: 100%; min-height: 39px; text-align: start; padding: 6px 8px; border: 0; border-radius: 7px; background: transparent; color: inherit; font-size: 13px; white-space: normal; }
.retail-select-options button[aria-pressed="true"], .retail-select-options button:hover { color: var(--retail-blue); background: var(--retail-light); }
.retail-sort .retail-select { width: 132px; }
.retail-catalog-head { display: flex; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.retail-catalog-head h2 { font-size: clamp(20px, 2vw, 27px); line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.retail-catalog-head p { margin: 3px 0 0; color: var(--retail-muted); font-size: 13px; }
.retail-catalog-head .retail-offers-link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: var(--retail-blue); font-size: 12px; font-weight: 700; }
.retail-offers-link:hover { text-decoration: underline; }
.retail-sort { display: grid; align-items: start; justify-items: stretch; gap: 4px; white-space: nowrap; font-size: 13px; }
.retail-sort > span { justify-self: start; padding-inline: 2px; line-height: 1.25; }
.retail-sort select { width: auto; background: var(--retail-surface); }
.retail-sort .retail-select { width: 132px; }
.retail-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.retail-card { position:relative; display: flex; flex-direction: column; min-width: 0; background: var(--retail-surface); border: 1px solid var(--retail-border); border-radius: 14px; overflow: hidden; }
.retail-card { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.retail-card:hover { border-color: #879fe0; transform: translateY(-3px); box-shadow: 0 11px 24px #19244012; }
.retail-card-media { display: grid; place-items: center; aspect-ratio: 1; margin: 8px 8px 0; border-radius: 8px; background: #fff; overflow: hidden; color: #5b657d !important; font-size: 12px; }
.retail-card-media img { display: block; width: 100%; height: 100%; min-height: 0; padding: 8px; object-fit: contain; }
.retail-card-body { display: flex; flex: 1; flex-direction: column; padding: 10px 12px 12px; }
.retail-card-brand { color: var(--retail-muted); font-size: 11px; overflow-wrap: anywhere; }
.retail-card-title { font-weight: 760; margin: 4px 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.retail-card-title a:hover { color: var(--retail-blue); }
.retail-card-pricebox { margin-top: auto; padding-top: 13px; }
.retail-card-stock { margin: 0; font-size: 11px; font-weight: 680; color: var(--retail-muted); }
.retail-card-stock.is-in-stock { color: var(--retail-green); }
.retail-card-price { display: flex; gap: 3px 6px; flex-wrap: wrap; align-items: baseline; font-size: 12px; color: var(--retail-muted); min-height: 28px; }
.retail-card-price strong { color: var(--retail-text); font-size: clamp(15px,1.5vw,20px); font-weight: 850; }
.retail-card-price del { font-size: 11px; }
.retail-card .retail-button { margin-top: 9px; width: 100%; font-size: 12px; padding-inline: 5px; }
.retail-pager:not(:empty) { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:20px; flex-wrap:wrap; }
#retail-pager:not(:empty) { flex: none; margin: 0; flex-wrap: nowrap; }
@media (min-width: 760px) {
  .retail-cart-dock:has(#retail-pager:not(:empty)) { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
  #retail-pager:not(:empty) { grid-column:2; grid-row:1; }
  #retail-pager:not(:empty) + .retail-floating-cart { grid-column:3; grid-row:1; }
}
.retail-pager a, .retail-pager span { display: grid; place-items: center; min-height: 44px; min-width: 42px; padding-inline: 9px; border-radius: 8px; border: 1px solid var(--retail-border); background: var(--retail-surface); font-size: 13px; }
.retail-pager [aria-current] { background: var(--retail-accent); color: #fff; }
.retail-pager a:hover { color: var(--retail-blue); border-color: var(--retail-blue); }
.retail-favorites-trigger, .retail-card-favorite { display:inline-flex; justify-content:center; align-items:center; min-height:44px; gap:6px; border:1px solid var(--retail-border); border-radius:10px; background:var(--retail-surface); color:var(--retail-text); }
.retail-favorites-trigger { position:relative; padding-inline:10px; }
.retail-site .retail-favorites-trigger { font-size:13px; }
.retail-favorites-trigger svg, .retail-card-favorite svg { width:19px; height:19px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; }
.retail-card-favorite { position:absolute; inset-block-start:13px; inset-inline-end:13px; width:44px; }
.retail-card-discount { position:absolute; inset-block-start:13px; inset-inline-start:13px; padding:2px 8px; border-radius:8px; background:var(--retail-light); color:var(--retail-blue); font-size:12px; font-weight:780; }
.retail-card-favorite[aria-pressed="true"] { color:var(--retail-red); }
.retail-card-favorite[aria-pressed="true"] svg { fill:currentColor; }
.retail-favorites-trigger:hover, .retail-card-favorite:hover { border-color:var(--retail-blue); }
.retail-favorite-list { display:grid; gap:8px; }
.retail-favorite-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:6px; padding:6px 8px; border:1px solid var(--retail-border); border-radius:10px; background:var(--retail-page); }
.retail-favorite-product { display:grid; grid-template-columns:52px minmax(0,1fr); align-items:center; gap:9px; min-width:0; }
.retail-favorite-thumb { display:grid; place-items:center; width:52px; aspect-ratio:1; overflow:hidden; border-radius:7px; background:#fff; color:#5b657d; font-size:9px; }
.retail-favorite-thumb img { width:100%; height:100%; padding:3px; object-fit:contain; }
.retail-favorite-details { display:grid; gap:2px; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.retail-favorite-product:hover strong { color:var(--retail-blue); }
.retail-favorite-price { color:var(--retail-muted); }
.retail-favorite-row button { min-height:44px; padding-inline:5px; font-size:12px; }

@media (min-width: 1280px) { .retail-grid { grid-template-columns:repeat(5,minmax(0,1fr)); } }

.retail-inner { padding-top: 26px; }
.retail-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; margin-bottom: 15px; font-size: 13px; color: var(--retail-muted); overflow-wrap: anywhere; }
.retail-inner h1 { font-size: clamp(25px,3vw,36px); font-weight: 850; margin: 0 0 18px; }
.retail-panel h2 { margin: 0 0 13px; font-size: 18px; }
.retail-empty { padding-block: 38px; text-align: center; }
.retail-empty p { margin: 0 0 14px; color: var(--retail-muted); }
.retail-checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.48fr); gap: 18px; align-items: start; width:100%; min-width:0; }
.retail-checkout-layout > * { min-width:0; }
#checkout-layout > div { display:grid; gap:16px; }
#checkout-layout > div > :is(.retail-identity,.retail-form) { margin-top:0; }
#account-layout { grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr); max-width:100%; margin-inline:auto; }
.retail-checkout-page .retail-summary { position:static; top:auto; }
.retail-section-head, .retail-line, .retail-summary dl > div, .retail-receipt dl > div { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.retail-section-head h2 { margin: 0; }
.retail-section-head a, .retail-summary a { color: var(--retail-blue); font-size: 13px; }
.retail-line { padding-block: 13px; border-top: 1px solid var(--retail-border); min-width: 0; }
.retail-line:first-child { margin-top: 10px; }
.retail-line-product { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; overflow-wrap: anywhere; }
.retail-line-product img, .retail-line-image { width: 60px; height: 60px; flex: 0 0 60px; object-fit: contain; border-radius: 6px; background: #fff; }
.retail-line-image:empty { background: var(--retail-page); }
.retail-line-product span { display: block; font-size: 12px; color: var(--retail-muted); }
.retail-line-actions { display: flex; align-items: center; gap: 8px; }
.retail-line input { width: 66px; padding-inline: 5px; text-align: center; }
.retail-line .retail-link-button { color: var(--retail-red); font-size: 13px; min-height: 44px; }
.retail-form { display: grid; gap: 14px; }
.retail-form h2 { margin: 0; }
.retail-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.retail-wide { grid-column: 1/-1; }
.retail-choice { display:flex; flex-wrap:wrap; gap:4px; padding:4px; border:1px solid var(--retail-border); border-radius:12px; background:var(--retail-page); }
.retail-choice:has(legend:not(.retail-sr)) { position:relative; isolation:isolate; border:0; background:none; }
.retail-choice:has(legend:not(.retail-sr))::before { content:""; position:absolute; inset:0; z-index:-1; border:1px solid var(--retail-border); border-radius:12px; background:var(--retail-page); }
.retail-choice legend:not(.retail-sr) { padding:0; margin:0 0 5px; }
.retail-choice label { position:relative; display:flex; flex:1 1 125px; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:7px 10px; border-radius:8px; color:var(--retail-muted); text-align:center; cursor:pointer; }
.retail-choice label:hover { background:var(--retail-surface); color:var(--retail-text); }
.retail-choice label:has(:checked) { background:var(--retail-light); color:var(--retail-blue); font-weight:750; box-shadow:0 1px 4px #0002; }
.retail-choice label:has(:checked)::before { content:""; flex:none; width:9px; height:5px; border:solid currentColor; border-width:0 0 2px 2px; transform:rotate(-45deg) translateY(-1px); }
.retail-choice label:has(:focus-visible) { outline:2px solid var(--retail-blue); outline-offset:1px; }
.retail-choice label:has(:disabled) { opacity:.55; cursor:default; }
.retail-choice label input[type="radio"] { position:absolute; width:1px; height:1px; margin:0; clip-path:inset(50%); overflow:hidden; }
.retail-form textarea { resize: vertical; }
.retail-muted, .retail-form-status { margin: 0; color: var(--retail-muted); font-size: 13px; }
.retail-form-status:empty { display: none; }
.retail-form-status[data-error="true"], .retail-line .retail-line-error { color: var(--retail-red); }
#checkout-form label.retail-wide > span { display:block; }
#checkout-form .checkout-field-error { display:block; margin-block-start:4px; font-weight:600; }
#checkout-form .checkout-field-error:empty { display:none; }
#checkout-form :is(input,textarea,summary)[aria-invalid="true"] { border-color:var(--retail-red); }
#checkout-island > .checkout-field-error { flex-basis:100%; padding-inline:8px; }
.retail-summary { position: sticky; top: 136px; display: grid; gap: 12px; }
.retail-summary h2, .retail-summary dl { margin: 0; }
.retail-summary dl > div, .retail-receipt dl > div { padding: 8px 0; border-bottom: 1px solid var(--retail-border); font-size: 13px; }
.retail-summary dd, .retail-receipt dd { margin: 0; font-weight: 720; text-align: end; overflow-wrap: anywhere; }
.retail-summary dl > div:last-child { padding-block: 14px; font-size: 16px; }
.retail-track-form { width:min(100%,560px); max-width:560px; margin-inline:auto; }
.retail-track-form > button { justify-self: start; }
.retail-receipt { width:min(100%,780px); max-width:780px; margin:15px auto 0; }
.retail-receipt h2:focus { outline: none; }
.retail-receipt ul { padding-inline-start: 20px; }
.retail-receipt li { margin-block: 5px; }
.retail-receipt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.retail-payment-icon {
  display:inline-grid;
  place-items:center;
  flex:none;
  width:2.5rem;
  height:2.5rem;
  border-radius:50%;
  background:#fee2e2;
  color:#a61b33;
  font-size:1.65rem;
  font-weight:800;
  line-height:1;
}
.retail-payment-icon[data-outcome="success"] { background:#d7f7e7; color:#11644d; }
.retail-payment-feedback { display:flex; align-items:center; gap:10px; margin:0 0 12px; }
.retail-payment-feedback p { margin:0; }
.retail-payment-feedback[hidden], .retail-payment-icon[hidden] { display:none; }
#payment-confirmation { text-align:center; }
#payment-confirmation .retail-receipt-actions { justify-content:center; }
.retail-code { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 12px; background: var(--retail-light); border-radius: 9px; }
.retail-code code { direction: ltr; font: 600 14px/1.8 'IBM Plex Mono', monospace; overflow-wrap: anywhere; user-select: all; }
.retail-inline-notice { border-radius: 8px; padding: 10px 12px; background: var(--retail-light); margin-block: 10px; }
.retail-product-buy { display: grid; grid-template-columns: 80px 1fr; align-items: end; gap: 10px; margin-top: 15px; }
.retail-product-buy input { text-align: center; }
.retail-identity { margin-top: 16px; }
.retail-identity p { margin-top: 10px; }
.retail-dialog { width: min(465px,calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--retail-border); border-radius: 16px; background: var(--retail-surface); color: var(--retail-text); box-shadow: 0 20px 64px #15204045; }
.retail-dialog::backdrop { background: #161c356e; backdrop-filter: blur(2px); }
.retail-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 17px; border-bottom: 1px solid var(--retail-border); }
.retail-dialog-head h2 { margin: 0; font-size: 17px; }
.retail-dialog-head button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--retail-border); background: var(--retail-surface); color: var(--retail-muted); font-size: 0; line-height: 0; }
.retail-dialog-body { padding: 18px; }
.retail-auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 17px; padding: 4px; border-radius: 10px; background: var(--retail-page); }
.retail-auth-switch button { min-height: 42px; border: 0; border-radius: 8px; background: transparent; color: var(--retail-muted); font-weight: 720; }
.retail-auth-switch button[aria-pressed="true"] { background: var(--retail-surface); color: var(--retail-blue); box-shadow: 0 1px 5px #1a1d2e12; }
.retail-auth-admin { display:grid; grid-template-columns:1fr; gap:10px; margin-top:14px; padding-top:14px; border-top:1px solid var(--retail-border); }
.retail-auth-admin > span { display:none; }
.retail-auth-admin button { min-height:44px; border:1px solid var(--retail-border); border-radius:9px; background:var(--retail-surface); color:var(--retail-muted); font-size:13px; font-weight:650; }
.retail-auth-admin button:hover { border-color:var(--retail-blue); color:var(--retail-blue); background:var(--retail-light); }
.retail-filter-dialog .retail-filter-fields { border: 0; padding: 0; margin: 0; }
.retail-filter-dialog #retail-filter-details > summary { display: none; }

@media (max-width: 1150px) { .retail-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 900px) {
  .retail-width { width: calc(100% - 32px); }
  .retail-header-inner { gap: 14px; }
  .retail-header-links { gap: 4px; }
}
@media (max-width: 760px) {
  .retail-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .retail-catalog-layout, .retail-checkout-layout, #account-layout { grid-template-columns: minmax(0,1fr); }
  .retail-filters { display: none; }
  .retail-summary { position: static; }
  .retail-filter-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--retail-border); border-radius: 9px; background: var(--retail-light); color: var(--retail-blue); font-size: 13px; font-weight: 690; }
  .retail-header-inner { display: flex; gap: 5px; min-height: 60px; padding-block: 7px; }
  .retail-brand { margin-inline-end: 4px; }
  .retail-brand :is(img,.retail-brand-mark) { width: 34px; height: 34px; }
  .retail-mobile-controls { display: flex; gap: 4px; }
  .retail-mobile-controls button, .retail-header-links :is(a,button) { display: grid; position: relative; place-items: center; min-width: 40px; width: 40px; min-height: 42px; height: 42px; padding: 0; border: 1px solid var(--retail-border); border-radius: 9px; background: var(--retail-light); color: var(--retail-blue); }
  .retail-mobile-controls button { background: var(--retail-surface); }
  .retail-mobile-controls button[aria-expanded="true"] { background: var(--retail-light); }
  .retail-header-links { margin-inline-start: auto; }
  .retail-track-link span, .retail-account-link span, .retail-logout-link span, .retail-support-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .retail-search { display: none; position: absolute; top: calc(100% + 7px); inset-inline: 12px; max-width: none; background: var(--retail-surface); box-shadow: 0 8px 24px #19244025; }
  .retail-header.search-open .retail-search { display: flex; }
  .retail-nav { display: none; position: absolute; top: calc(100% + 7px); inset-inline: 12px; border: 1px solid var(--retail-border); border-radius: 11px; background: var(--retail-surface); box-shadow: 0 8px 24px #19244025; }
  .retail-header.menu-open .retail-nav { display: block; }
  .retail-nav > div { display: flex; flex-wrap: wrap; width: auto; gap: 4px; padding: 8px; }
  .retail-nav .retail-menu { width: 100%; }
  .retail-menu > summary { display: none; }
  .retail-mega { position: static; grid-template-columns: minmax(95px,.75fr) minmax(0,1fr); width: auto; max-height: 54dvh; overflow: auto; box-shadow: none; gap: 6px; padding: 7px; }
  .retail-submenu-links { grid-template-columns: 1fr; }
  .retail-search input, .retail-form input, .retail-form textarea { font-size: 16px; }
  .retail-catalog { scroll-margin-top: 74px; }
  .retail-hero { min-height: 240px; }
  .retail-hero-visual img { height: 210px; width: 90%; }
}
@media (max-width: 520px) {
  .retail-width { width: calc(100% - 24px); }
  .retail-header-links :is(a,button) svg, .retail-mobile-controls button svg { width: 19px; height:19px; }
  .retail-brand { font-size: 16px; gap: 5px; }
  .retail-brand :is(img,.retail-brand-mark) { width: 32px; height: 32px; }
  .retail-hero { grid-template-columns: 1.3fr .7fr; min-height: 202px; border-radius: 16px; }
  .retail-hero-content { padding: 16px 13px 16px 0; }
  .retail-hero h1 { font-size: clamp(23px,6vw,33px); }
  .retail-hero p { font-size: 12px; margin: 8px 0 12px; }
  .retail-hero-visual img { height: 155px; width: 106%; }
  .retail-hero-visual span { width: 140%; }
  .retail-hero-visual span + span { width: 110%; }
  .retail-hero .retail-button { font-size: 12px; min-height: 42px; }
  .retail-categories { flex-wrap: nowrap; overflow: auto; scrollbar-width: none; padding: 13px 1px; }
  .retail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .retail-panel { padding: 15px; }
  .retail-card-body { padding: 8px; }
  .retail-card-title { font-size: 13px; }
  .retail-card-media { margin: 5px 5px 0; }
  .retail-filter-row { gap:7px; padding:0; }
  .retail-favorites-trigger { width:44px; flex:0 0 44px; padding:0; }
  .retail-favorites-trigger span { display:none; }
  .retail-pager a, .retail-pager span { min-width:32px; padding-inline:5px; }
  .retail-filter-menu > summary { min-height:42px; gap:6px; padding-inline:10px; font-size:12px; }
  .retail-sort { gap:4px; font-size:12px; }
  .retail-sort select { font-size: 12px; max-width: 120px; }
  .retail-sort .retail-select { width: 104px; }
  .retail-sort .retail-select > summary { font-size: 12px; }
  .retail-line { flex-wrap: wrap; }
  .retail-line-product { flex-basis: 100%; }
  .retail-fields { grid-template-columns: 1fr; }
  .retail-footer > div { align-items: flex-start; flex-direction: column; padding-block: 17px; gap: 8px; }
  .retail-checkout-page #main-content, .retail-floating-page #main-content { width:calc(100vw - 16px); max-height:calc(100dvh - 16px); padding:22px 14px; border-radius:15px; }
  .retail-route-panel { width:calc(100vw - 16px); max-height:calc(100dvh - 16px); padding:22px 14px; border-radius:15px; }
  .retail-route-panel:has(#tracking-form) { width:calc(100vw - 24px); padding:14px; }
  .retail-checkout-page .retail-checkout-close, .retail-floating-page .retail-checkout-close { margin:-7px -6px 4px -1px; }
  .retail-route-panel .retail-checkout-close { margin:-7px -6px 4px -1px; }
}
@media (prefers-reduced-motion: reduce) {
  .retail-site, .retail-site *, .retail-site *::before, .retail-site *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.retail-site {
  --retail-raised: color-mix(in srgb, var(--retail-surface) 94%, var(--retail-blue));
  --retail-shadow: 0 12px 36px #09132914;
  --retail-pager-glass: #c8dcfa99;
  --retail-pager-edge: #6b8ebdb3;
  --retail-pager-highlight: #fff9;
}

[data-store-mode="dark"] .retail-site {
  --retail-raised: #222b41;
  --retail-shadow: 0 12px 36px #080c1950;
  --retail-pager-glass: #222c42d9;
  --retail-pager-edge: #acc5ff45;
  --retail-pager-highlight: #d0ddff29;
}

.retail-header {
  background: color-mix(in srgb, var(--retail-surface) 94%, transparent);
  backdrop-filter: blur(12px);
}

.retail-search input { flex: 1 1 0; width: auto; }
.retail-search:focus-within {
  border-color: var(--retail-blue);
  box-shadow: 0 0 0 3px var(--retail-light);
}
@media (760px < width <= 1120px) {
  .retail-header-links { gap: 4px; }
  .retail-header-links :is(a, button) {
    display: grid;
    position: relative;
    place-items: center;
    width: 44px;
    padding: 0;
  }
  .retail-header-links :is(a, button) > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@media (max-width: 350px) {
  .retail-header-inner { gap: 4px; }
  .retail-header-inner .retail-brand { margin-inline-end: 0; }
  .retail-mobile-controls, .retail-header-links { gap: 3px; }
  .retail-mobile-controls button, .retail-header-links :is(a, button) { width: 36px; min-width: 36px; }
}

.retail-footer > div {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
}
.retail-footer-brand { grid-column:1; grid-row:1; justify-self:start; }
.retail-footer nav { grid-column:2; grid-row:1; justify-self:center; }
.retail-footer .site-credits { grid-column:3; grid-row:1; justify-self:end; }

.retail-footer .retail-footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  color: var(--retail-muted);
  font-size: 12px;
  white-space: nowrap;
}
.retail-footer-credit svg { color: #000; }
[data-store-mode="dark"] .retail-footer-credit svg { color: #fff; }
@media (max-width: 520px) {
  .retail-footer > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 6px 8px;
  }
  .retail-footer-brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .retail-footer nav { grid-column: 2; grid-row: 1; justify-self: center; white-space: nowrap; }
  .retail-footer .site-credits { grid-row: 1; grid-column: 3; justify-self: end; flex-direction: column; }
}

.retail-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  min-height: clamp(270px, 24vw, 334px);
  color: #fff;
  border-color: #334f89;
  background: radial-gradient(ellipse at 24% 55%, #437ce0 0, #23468c 40%, #152758 72%, #111f45 100%);
  box-shadow: 0 14px 28px #111d4830;
}

.retail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(#c8ddff16 1px, transparent 1px), linear-gradient(90deg, #c8ddff16 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, #000, #0009 44%, transparent 70%);
}

.retail-hero h1 { letter-spacing: 0; font-size: clamp(28px, 4vw, 54px); text-wrap: balance; }
.retail-hero h1 strong { color: #a8ddff; }
.retail-hero p { color: #e1ecff; font-size: clamp(13px, 1.25vw, 17px); }

.retail-hero .retail-button {
  border-radius: 12px;
  background: #e3f2ff;
  color: #142c5c !important;
}

.retail-hero .retail-button:hover { background: #fff; }
.retail-hero .retail-button:focus-visible { outline-color: #b4e4ff; }
.retail-hero .retail-arrow { font-size: 1.2em; }

.retail-hero-visual { --hero-orb: clamp(214px, 22vw, 304px); }
.retail-hero-visual span { width: calc(var(--hero-orb) + 54px); border-color: #d8ebff52; }
.retail-hero-visual span + span {
  width: var(--hero-orb);
  border-color: #dcf3ffb0;
  background: radial-gradient(circle at 47% 38%, #f7fcff 6%, #d3eaff 57%, #a3c8fa 100%);
  box-shadow: 0 0 45px #a6d9ff44, 0 14px 36px #101c5266;
}

.retail-hero-visual img {
  width: calc(var(--hero-orb) * .94);
  height: auto;
  aspect-ratio: 1;
  clip-path: circle(50%);
  transform: rotate(-9deg);
}

.retail-hero.has-banner::after {
  background: linear-gradient(270deg, #111f45 4%, #111f45ed 26%, #111f4590 53%, #111f4514 100%);
}

.retail-catalog { margin-top: clamp(20px, 2.25vw, 32px); scroll-margin-top: 94px; }
.retail-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 10px 6px;
  overflow: visible;
  padding: 0;
  margin-bottom: 18px;
}
.retail-categories a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 4px 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--retail-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.retail-categories a svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid var(--retail-border);
  border-radius: 11px;
  background: var(--retail-raised);
  color: var(--retail-blue);
}
.retail-categories a:is(:hover, [aria-current]) { background: transparent; color: var(--retail-blue); }
.retail-categories a:hover svg { border-color: var(--retail-blue); background: var(--retail-light); }
.retail-categories a[aria-current] svg {
  border-color: var(--retail-blue);
  background: var(--retail-blue);
  color: var(--retail-surface);
}

.retail-catalog-head { margin-bottom: 10px; }
.retail-catalog-head > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.retail-catalog-head h2 { font-size: clamp(22px, 2.3vw, 30px); }
.retail-catalog-head p { margin: 0; }
.retail-filter-row {
  --retail-filter-padding: 8px;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: var(--retail-filter-padding);
  border: 1px solid var(--retail-border);
  border-radius: 15px;
  background: var(--retail-raised);
}
.retail-filter-panel { inset-inline: -1px auto; }
.retail-sort { --retail-sort-width: 132px; margin-inline-start: auto; }
.retail-sort > :is(select, .retail-select) { inline-size: var(--retail-sort-width); }
.retail-filter-menu > summary { min-height: 44px; }
.retail-select > summary { min-height: 44px; }
.retail-favorites-trigger { flex-shrink: 0; }

#retail-pager:not(:empty) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#retail-pager > :is(a, span) {
  white-space: nowrap;
  border: 1px solid var(--retail-pager-edge);
  border-radius: 12px;
  background-color: var(--retail-pager-glass);
  background-image: linear-gradient(155deg, var(--retail-pager-highlight), transparent 62%);
  box-shadow: inset 0 1px 0 var(--retail-pager-highlight), 0 2px 5px #09132926;
  backdrop-filter: blur(12px) saturate(145%);
  color: var(--retail-text);
  font-weight: 700;
}
#retail-pager > a:hover {
  border-color: var(--retail-blue);
  background-color: var(--retail-light);
  color: var(--retail-blue);
}
#retail-pager > a:focus-visible { outline-offset: -4px; }
#retail-pager > [aria-current] {
  border-color: #a3b8ffb3;
  background-color: #304cbdf2;
  color: #fff;
}
.retail-floating-cart b { position: absolute; top: -7px; inset-inline-end: 0; }
.retail-cart-icon-only .retail-floating-cart { width: 44px; padding-inline: 0; }
.retail-cart-icon-only .retail-floating-cart > span { display: none; }
@media (max-width: 520px) {
  #retail-pager:not(:empty) { gap: 2px; }
  #retail-pager > :is(a, span) { flex: none; min-width: 32px; padding-inline: 3px; font-size: 12px; }
  #retail-pager:not(:empty):has(> :nth-child(6)) { gap: 1px; }
  #retail-pager:has(> :nth-child(6)) > :is(a, span) { width: 32px; padding-inline: 0; }
}
@media (380px <= width <= 520px) {
  #retail-pager:not(:empty):has(> :nth-child(6)) { gap: 3px; }
  #retail-pager:has(> :nth-child(6)) > :is(a, span) { width: 36px; }
}

.retail-card { border-radius: 18px; box-shadow: 0 2px 5px #111b3310; }
.retail-card:hover, .retail-card:focus-within { border-color: var(--retail-blue); box-shadow: var(--retail-shadow); }
.retail-card-media { border-radius: 12px; }
.retail-card-body { padding: 12px; }
.retail-card-stock { display: flex; align-items: center; gap: 5px; }
.retail-card-stock::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: currentColor; }
.retail-card-price { margin-top: 2px; }
.retail-card .retail-button { border-radius: 10px; }

@media (hover: none) {
  .retail-card:hover { transform: none; }
}

.retail-site .product-panel68 {
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(16px, 3vw, 40px);
  border-radius: 22px;
  box-shadow: var(--retail-shadow);
}
.retail-site .product-gallery-frame68 { border-radius: 16px; }
.retail-site .product-purchase68 {
  padding: clamp(14px, 2.7vw, 26px);
  border: 1px solid var(--retail-border);
  background: var(--retail-raised);
  border-radius: 16px;
}
.retail-site .product-summary68 h1 { text-wrap: balance; }
.retail-site .product-specifications68 { scroll-margin-top: 90px; }

.retail-route-panel,
.retail-checkout-page #main-content,
.retail-floating-page #main-content {
  box-shadow: 0 24px 72px #05091275;
}
.retail-route-panel .retail-checkout-close,
.retail-checkout-page #main-content .retail-checkout-close,
.retail-floating-page #main-content .retail-checkout-close {
  top: 6px;
  margin-block-start: 0;
}
.retail-summary { background: var(--retail-raised); }
.retail-summary dl > div:last-child { color: var(--retail-blue); border-bottom: 0; }
.retail-dialog-head { background: var(--retail-raised); }

.retail-notice {
  border: 1px solid #9cb5ef45;
  border-radius: 13px;
}
.retail-notice.is-success::before {
  content: "";
  width: 11px;
  height: 6px;
  border: solid #89ebc2;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .retail-hero { min-height: 242px; }
  .retail-hero-visual { --hero-orb: clamp(148px, 35vw, 230px); }
  .retail-catalog, .retail-site .product-specifications68 { scroll-margin-top: 75px; }
  .retail-categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .retail-hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); min-height: 196px; }
  .retail-hero-content { padding: 18px 14px 18px 0; }
  .retail-hero h1 { font-size: clamp(23px, 6.4vw, 30px); }
  .retail-hero p { font-size: 12px; }
  .retail-hero-visual { --hero-orb: clamp(114px, 32vw, 166px); }
  .retail-hero-visual span { width: calc(var(--hero-orb) + 25px); }
  .retail-hero.has-banner::after { background: linear-gradient(270deg, #111f45 0%, #111f45ee 36%, #111f4580 100%); }
  .retail-categories { gap: 5px; margin-bottom: 14px; }
  .retail-categories a { font-size: 11px; }
  .retail-categories a svg { width: 36px; height: 36px; padding: 7px; }
  .retail-filter-row { --retail-filter-padding: 5px; gap: 6px; }
  .retail-sort { --retail-sort-width: 104px; }
  .retail-filter-panel { width: min(560px, 100%); }
  .retail-card { border-radius: 13px; }
  .retail-card-media { border-radius: 9px; }
  .retail-card-body { padding: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .retail-site { --retail-ease: cubic-bezier(.2,.8,.25,1); }

  @keyframes retail-rise {
    from { opacity: .35; translate: 0 8px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes retail-hero-image-in {
    from { opacity: .4; transform: translateY(14px) rotate(-4deg) scale(.96); }
    to { opacity: 1; transform: translateY(0) rotate(-9deg) scale(1); }
  }
  @keyframes retail-banner-in {
    from { opacity: .65; scale: 1.025; }
    to { opacity: 1; scale: 1; }
  }

  html:not([data-page-loading]) .retail-hero-content > :is(h1,p,a) {
    animation: retail-rise 460ms var(--retail-ease) backwards;
  }
  html:not([data-page-loading]) .retail-hero-content p { animation-delay: 65ms; }
  html:not([data-page-loading]) .retail-hero-content a { animation-delay: 120ms; }
  html:not([data-page-loading]) .retail-hero-visual img {
    animation: retail-hero-image-in 680ms var(--retail-ease) backwards;
  }
  html:not([data-page-loading]) .retail-banner-image {
    animation: retail-banner-in 600ms var(--retail-ease) backwards;
  }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(-n+5) {
    animation: retail-rise 320ms var(--retail-ease) backwards;
  }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(n+6) { animation: none; }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(2) { animation-delay: 30ms; }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(3) { animation-delay: 60ms; }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(4) { animation-delay: 90ms; }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(5) { animation-delay: 120ms; }
  html:not([data-page-loading]) .retail-site :is(.product-media68, .product-summary68, .services-intro68, .services-layout68) {
    animation: retail-rise 430ms var(--retail-ease) backwards;
  }
  html:not([data-page-loading]) .retail-site :is(.product-summary68,.services-layout68) { animation-delay: 75ms; }
  .product-gallery-choice68:checked + .product-gallery-thumb68 + .product-gallery-frame68,
  .retail-route-panel:not([aria-busy]) > :is(h1, .retail-panel, .retail-checkout-layout),
  :is(#checkout-layout,#account-layout):not([hidden]) { animation: retail-rise 280ms var(--retail-ease) backwards; }

  .retail-filter-row summary, .retail-menu summary, .retail-choice label {
    transition: background-color 180ms, color 180ms, border-color 180ms, box-shadow 180ms;
  }
  .retail-chevron, .retail-hero .retail-arrow, .product-image-open68 { transition: transform 220ms var(--retail-ease); }
  .retail-hero .retail-button:hover .retail-arrow { transform: translateX(-3px); }
  .product-gallery-open682:hover .product-image-open68 { transform: scale(1.08); }

  .retail-site .retail-dialog {
    opacity: 0;
    transform: translateY(8px) scale(.985);
    transition: opacity 180ms, transform 220ms var(--retail-ease), display 220ms allow-discrete, overlay 220ms allow-discrete;
  }
  .retail-site .retail-dialog[open] { animation: none; opacity: 1; transform: none; }
  .retail-site .retail-dialog::backdrop {
    opacity: 0;
    transition: opacity 180ms, display 220ms allow-discrete, overlay 220ms allow-discrete;
  }
  .retail-site .retail-dialog[open]::backdrop { animation: none; opacity: 1; }
  @starting-style {
    .retail-site .retail-dialog[open] { opacity: 0; transform: translateY(8px) scale(.985); }
    .retail-site .retail-dialog[open]::backdrop { opacity: 0; }
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .retail-card-media img { transition: transform 320ms var(--retail-ease); }
  .retail-card:hover .retail-card-media img { transform: scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
  .retail-card:hover, .retail-floating-cart:hover { transform: none; }
}

html:root > body:is(.retail-site, .admin-store, .partner-store) {
  --glass-surface: color-mix(in srgb, var(--paper-card) 62%, transparent);
  --glass-overlay: color-mix(in srgb, var(--paper-card) 88%, transparent);
  --glass-edge: color-mix(in srgb, var(--line) 62%, #a3b9eb);
  --glass-highlight: #ffffffed;
  --glass-sheen: linear-gradient(152deg, #ffffffa6 0%, #ffffff26 46%, #8ba9ec12 100%);
  --glass-shadow: 0 10px 30px #324a8122;
  --glass-glow-blue: #9fb9faa1;
  --glass-glow-cyan: #87d8e973;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 48rem 32rem at 100% 0, var(--glass-glow-blue), transparent),
    radial-gradient(ellipse 42rem 30rem at 0 30rem, var(--glass-glow-cyan), transparent);
  background-attachment: scroll;
}

html[data-store-mode="dark"] > body:is(.retail-site, .admin-store, .partner-store) {
  --glass-surface: color-mix(in srgb, var(--paper-card) 70%, transparent);
  --glass-overlay: color-mix(in srgb, var(--paper-card) 90%, transparent);
  --glass-edge: color-mix(in srgb, var(--line) 65%, #91b1f0);
  --glass-highlight: #c3d8ff45;
  --glass-sheen: linear-gradient(152deg, #a9caff2c 0%, #9dbaff0b 48%, #3e609318 100%);
  --glass-shadow: 0 12px 30px #050b1952;
  --glass-glow-blue: #345fbe70;
  --glass-glow-cyan: #28748950;
}

html:root .retail-site :is(
  .retail-panel, .retail-filter-row, .retail-footer,
  .product-panel68, .product-purchase68, .product-specifications68,
  .service-contact68, .service-navigation68, .service-section68, .service-cooperation68
),
html:root .admin-store :is(.card, .stat-card, .admin-list-pagination),
html:root .partner-store :is(.partner-product, .toolbar, .stat-card, .partner-login, .customer-tool-card68, .public-footer68),
html:root .partner-store :is(#secOrders, #secAccount) .card {
  border-color: var(--glass-edge);
  background-color: var(--glass-surface);
  background-image: var(--glass-sheen);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--glass-shadow);
}

html:root .retail-site .retail-card:not(:hover, :focus-within) {
  border-color: var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--glass-shadow);
}
.retail-site .retail-card {
  background-color: var(--glass-surface);
  background-image: var(--glass-sheen);
}
.retail-site .retail-hero {
  box-shadow: inset 0 1px 0 #c4daff3d, 0 14px 28px #111d4830;
}

html:root .retail-site :is(.retail-header, .retail-filter-panel, .retail-select-options, .retail-mega, .retail-dialog, .retail-route-panel),
html:root .retail-site:is(.retail-checkout-page, .retail-floating-page) #main-content,
html:root .admin-store :is(.admin-header, .admin-navigation, .admin-tools-panel, .modal, .combo-panel),
html:root .partner-store :is(.store-header, .store-category-menu, .store-combo-menu, .store-filters, .partner-cart, .partner-auth-dialog, .partner-orders-dialog, .partner-detail-dialog),
html:root :is(.retail-site, .admin-store, .partner-store) .site-dlg {
  border-color: var(--glass-edge);
  background-color: var(--glass-overlay);
  background-image: var(--glass-sheen);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(135%);
}

html:root :is(.retail-site, .admin-store, .partner-store) dialog:not(#siteLoading)::backdrop,
html:root :is(.retail-site, .admin-store, .partner-store) :is(.modal-backdrop, .store-modal-backdrop, .drawer-backdrop, .store-drawer-backdrop),
html:root :is(.retail-checkout-page, .retail-floating-page)::before {
  background:
    radial-gradient(ellipse at 100% 0%, #b9caff64, transparent 70%),
    radial-gradient(ellipse at 0% 100%, #77bed74f, transparent 72%),
    #273b5fd9;
  -webkit-backdrop-filter: blur(40px) saturate(120%);
  backdrop-filter: blur(40px) saturate(120%);
}

/* Keep navigation text readable over content while retaining a slight glass effect. */
html:root .retail-site .retail-mega,
html:root .admin-store .admin-navigation {
  background-color: color-mix(in srgb, var(--paper-card) 98%, transparent);
  background-image: none;
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  backdrop-filter: blur(8px) saturate(110%);
}

html[data-store-mode="light"] :is(.retail-site, .admin-store, .partner-store) dialog:not(#siteLoading)::backdrop,
html[data-store-mode="light"] :is(.retail-site, .admin-store, .partner-store) :is(.modal-backdrop, .store-modal-backdrop, .drawer-backdrop, .store-drawer-backdrop),
html[data-store-mode="light"] :is(.retail-checkout-page, .retail-floating-page)::before {
  background:
    radial-gradient(ellipse at 100% 0%, #ffffff80, transparent 70%),
    radial-gradient(ellipse at 0% 100%, #dbeafa62, transparent 72%),
    #eaf1fbd9;
}
html[data-store-mode="dark"] :is(.retail-site, .admin-store, .partner-store) dialog:not(#siteLoading)::backdrop,
html[data-store-mode="dark"] :is(.retail-site, .admin-store, .partner-store) :is(.modal-backdrop, .store-modal-backdrop, .drawer-backdrop, .store-drawer-backdrop),
html[data-store-mode="dark"] :is(.retail-checkout-page, .retail-floating-page)::before {
  background:
    radial-gradient(ellipse at 100% 0%, #517ac653, transparent 70%),
    radial-gradient(ellipse at 0% 100%, #316a8159, transparent 72%),
    #0c1730e6;
}

/* Keep the storefront visible behind the floating cart, checkout and tracking panels. */
html:root .retail-site dialog.retail-route-dialog:not(#siteLoading)::backdrop {
  background:rgba(15,23,42,.28);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

.retail-site .retail-dialog-head {
  background-color: var(--glass-surface);
  background-image: var(--glass-sheen);
}
html:root .retail-site .retail-search,
.retail-categories a:not(:hover, [aria-current]) svg,
.retail-site :is(.retail-filter-menu > summary, .retail-favorites-trigger, .retail-select > summary):not(:hover, [open] > summary),
.admin-store .btn-outline:not(:hover),
.partner-store .store-combo-trigger:not(:hover) {
  border-color: var(--glass-edge);
  background-color: var(--glass-surface);
  background-image: var(--glass-sheen);
}
.retail-site :is(.retail-button:not(.retail-button-secondary), .retail-floating-cart):not(:hover),
.admin-store :is(.btn-gold, .btn-primary):not(:hover),
.partner-store .btn-gold:not(:hover) {
  background-image: linear-gradient(160deg, #ffffff29, transparent 70%);
}

html[data-store-mode="light"] > body:is(.retail-site, .admin-store, .partner-store) {
  --glass-control: #c8dcfa85;
  --glass-control-hover: #b5cff4b3;
  --glass-control-edge: #779ac6a8;
  --glass-control-shine: inset 0 1px 0 #fffe, 0 3px 9px #31568722;
}

html[data-store-mode="light"] .retail-site :is(
  .retail-button-secondary, .retail-favorites-trigger, .retail-card-favorite,
  .retail-filter-menu > summary, .retail-select > summary, .retail-menu > summary,
  .retail-mobile-controls button, .retail-support-link, .retail-dialog-head button
),
html[data-store-mode="light"] .retail-site .retail-hero .retail-button,
html[data-store-mode="light"] .admin-store :is(.btn-outline, .admin-header-action, .admin-menu-toggle:where([aria-expanded="false"]), .admin-modal-close),
html[data-store-mode="light"] .partner-store :is(.btn-outline, .store-combo-trigger, .store-search-toggle, .store-menu-toggle, .store-link-b2b) {
  border-color: var(--glass-control-edge);
  background-color: var(--glass-control);
  background-image: linear-gradient(155deg, #ffffffa6, transparent 64%);
  box-shadow: var(--glass-control-shine);
  backdrop-filter: blur(10px) saturate(145%);
}

html[data-store-mode="light"] .retail-site :is(
  .retail-button-secondary, .retail-favorites-trigger, .retail-card-favorite,
  .retail-filter-menu > summary, .retail-select > summary, .retail-menu > summary
):hover,
html[data-store-mode="light"] :is(.admin-store, .partner-store) .btn-outline:hover:not(:disabled) {
  background-color: var(--glass-control-hover);
  border-color: var(--primary);
}

html[data-store-mode="light"] .retail-site :is(.retail-button:not(.retail-hero *, .retail-button-secondary), .retail-floating-cart),
html[data-store-mode="light"] :is(.admin-store, .partner-store) :is(.btn-gold, .btn-primary) {
  border-color: #4b6ac9;
  background-color: #2546a9eb;
  background-image: linear-gradient(156deg, #ffffff35, transparent 62%);
  box-shadow: inset 0 1px 0 #ffffff75, 0 4px 12px #23489335;
  backdrop-filter: blur(10px) saturate(140%);
}

@media (forced-colors: active) {
  html:root > body:is(.retail-site, .admin-store, .partner-store) { background-image: none; }
}
