@font-face{font-family:IRANSans;src:url(fonts/woff2/IRANSansWeb.woff2) format("woff2");font-display:swap;font-weight:400}
@font-face{font-family:IRANSans;src:url(fonts/woff2/IRANSansWeb_Medium.woff2) format("woff2");font-display:swap;font-weight:500}
@font-face{font-family:IRANSans;src:url(fonts/woff2/IRANSansWeb_Bold.woff2) format("woff2");font-display:swap;font-weight:700}

:root{
    --bg:#f6f7f9;
    --surface:#ffffff;
    --surface-2:#f1f3f6;
    --surface-3:#e8ebf0;
    --ink:#0f172a;
    --ink-2:#334155;
    --muted:#64748b;
    --line:#e5e8ee;
    --line-strong:#d4d9e2;
    --accent:#0f766e;
    --accent-ink:#ffffff;
    --accent-soft:#e6f4f2;
    --accent-ring:rgba(15,118,110,.18);
    --price:#0f172a;
    --shadow-sm:0 1px 2px rgba(15,23,42,.05);
    --shadow-md:0 1px 2px rgba(15,23,42,.04),0 8px 24px -8px rgba(15,23,42,.12);
    --shadow-lg:0 2px 6px rgba(15,23,42,.05),0 24px 48px -16px rgba(15,23,42,.22);
    --radius:18px;
    --topbar-h:64px;
    --ease:cubic-bezier(.2,.7,.2,1);
}
/* Theme: JS sets html[data-theme] to "light" or "dark" (auto/system/time logic).
   Without JS the OS preference is used through the media query below. */
:root{color-scheme:light}
@media (prefers-color-scheme:dark){
    :root:not([data-theme]){
        color-scheme:dark;
        --bg:#0e1116;
        --surface:#161a21;
        --surface-2:#1d222b;
        --surface-3:#262c37;
        --ink:#eef1f6;
        --ink-2:#c9d0db;
        --muted:#8b95a5;
        --line:#252b35;
        --line-strong:#323946;
        --accent:#2dd4bf;
        --accent-ink:#04201c;
        --accent-soft:rgba(45,212,191,.12);
        --accent-ring:rgba(45,212,191,.25);
        --price:#ffffff;
        --shadow-sm:none;
        --shadow-md:0 8px 24px -10px rgba(0,0,0,.6);
        --shadow-lg:0 24px 48px -16px rgba(0,0,0,.7);
    }
}
:root[data-theme="dark"]{
    color-scheme:dark;
    --bg:#0e1116;
    --surface:#161a21;
    --surface-2:#1d222b;
    --surface-3:#262c37;
    --ink:#eef1f6;
    --ink-2:#c9d0db;
    --muted:#8b95a5;
    --line:#252b35;
    --line-strong:#323946;
    --accent:#2dd4bf;
    --accent-ink:#04201c;
    --accent-soft:rgba(45,212,191,.12);
    --accent-ring:rgba(45,212,191,.25);
    --price:#ffffff;
    --shadow-sm:none;
    --shadow-md:0 8px 24px -10px rgba(0,0,0,.6);
    --shadow-lg:0 24px 48px -16px rgba(0,0,0,.7);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--topbar-h) + 16px)}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--ink);font-family:IRANSans,Vazirmatn,Tahoma,sans-serif;font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
svg{flex:0 0 auto}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.no-scroll{overflow:hidden}

/* ---------- Top bar ---------- */
.topbar{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 82%,transparent);-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
.topbar.is-scrolled{border-bottom-color:var(--line);box-shadow:0 6px 20px -14px rgba(15,23,42,.25)}
.topbar-inner{max-width:1280px;height:var(--topbar-h);margin:auto;padding:0 24px;display:flex;align-items:center;gap:20px}
.brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;font-weight:700;font-size:15px;min-width:0}
.brand-logo{display:block;height:34px;width:auto;max-width:150px;object-fit:contain}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--ink);color:var(--bg);font-size:16px;font-weight:700}
.brand-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}

.search{position:relative;flex:1;max-width:560px;margin-inline-start:auto;display:flex;align-items:center;height:44px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-sm);transition:border-color .2s,box-shadow .2s}
.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring)}
.search-icon{width:18px;height:18px;margin-inline:14px 0;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round}
.search input[type=search]{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;padding:0 10px;font-size:14px}
.search input::placeholder{color:var(--muted);opacity:1}
.search input::-webkit-search-cancel-button{display:none}
.search-kbd{margin-inline-end:10px;padding:1px 7px;border:1px solid var(--line-strong);border-bottom-width:2px;border-radius:6px;color:var(--muted);font:12px/1.4 ui-monospace,monospace}
.search:focus-within .search-kbd{display:none}
.search-clear{display:grid;place-items:center;width:30px;height:30px;margin-inline-end:7px;border:0;border-radius:8px;background:var(--surface-2)}
.search-clear[hidden]{display:none}
.search-clear svg{width:14px;height:14px;fill:none;stroke:var(--ink-2);stroke-width:2.2;stroke-linecap:round}
.search:has(.search-clear:not([hidden])) .search-kbd{display:none}

.theme-toggle{position:relative;flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink-2);box-shadow:var(--shadow-sm);transition:border-color .2s,background .2s,color .2s}
.theme-toggle:hover{border-color:var(--line-strong);color:var(--ink)}
.theme-toggle svg{grid-area:1/1;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:none}
.theme-toggle[data-mode="auto"] .i-auto,.theme-toggle[data-mode="light"] .i-sun,.theme-toggle[data-mode="dark"] .i-moon{display:block}
.theme-toggle:not([data-mode]) .i-auto{display:block}

/* ---------- Toolbar & categories ---------- */
.catalog{flex:1;width:100%;max-width:1280px;margin:0 auto;padding:22px 24px 72px}
.toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.toolbar-title{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.toolbar h1{margin:0;font-size:24px;line-height:1.3;font-weight:700;letter-spacing:-.01em}
.result-count{color:var(--muted);font-size:13px}
.result-count b{color:var(--ink);font-weight:700}
.toolbar-actions{display:flex;align-items:center;gap:8px}
.sort{position:relative;display:flex;align-items:center;height:38px;padding-inline:10px 4px;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.sort svg{width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sort select{appearance:none;-webkit-appearance:none;border:0;background:transparent;outline:0;padding:0 6px 0 8px;font-size:13px;cursor:pointer}
.sort:focus-within{border-color:var(--accent)}
.view-toggle{display:flex;padding:3px;height:38px;background:var(--surface-2);border-radius:10px}
.view-toggle button{display:grid;place-items:center;width:34px;border:0;border-radius:7px;background:transparent;color:var(--muted);transition:background .15s,color .15s}
.view-toggle button.is-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}
.view-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}

.categories{position:sticky;top:var(--topbar-h);z-index:20;display:flex;gap:8px;overflow-x:auto;padding:10px 24px;margin:0 -24px 18px;background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);scrollbar-width:none;-webkit-mask-image:linear-gradient(to left,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(to left,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%)}
.categories::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink-2);font-size:13px;font-weight:500;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.chip span{min-width:22px;padding:0 6px;border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:11px;line-height:20px;text-align:center}
.chip:hover{border-color:var(--line-strong);color:var(--ink)}
.chip.is-active{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.chip.is-active span{background:color-mix(in srgb,var(--bg) 18%,transparent);color:var(--bg)}

/* ---------- Product grid ---------- */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:18px}
.product-card{position:relative;min-width:0;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s;animation:card-in .45s var(--ease) backwards}
.product-card[hidden]{display:none}
@media (hover:hover){.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:transparent}}
@keyframes card-in{from{opacity:0;transform:translateY(8px)}}

.product-media{position:relative;aspect-ratio:1/1;background:var(--surface-2);overflow:hidden}
.image-open{position:absolute;inset:0;display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;overflow:hidden}
.image-open img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .6s var(--ease),opacity .3s;will-change:transform}
@media (hover:hover){.image-open:hover img{transform:scale(var(--hover-zoom,1.6))}}
.image-open:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.zoom-badge{position:absolute;inset-inline-start:10px;bottom:10px;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(15,23,42,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;opacity:.92;transition:transform .2s,opacity .2s}
.zoom-badge svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media (hover:hover){.zoom-badge{opacity:0;transform:scale(.85)}.image-open:hover .zoom-badge,.image-open:focus-visible .zoom-badge{opacity:1;transform:none}}
.image-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(120% 90% at 30% 20%,var(--surface) 0,var(--surface-2) 60%,var(--surface-3) 100%)}
.image-placeholder span{font-size:46px;font-weight:700;color:var(--line-strong)}
.product-tag{position:absolute;inset-inline-end:10px;top:10px;max-width:calc(100% - 20px);padding:3px 10px;border-radius:999px;background:color-mix(in srgb,var(--surface) 88%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--ink-2);font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;box-shadow:var(--shadow-sm)}

.product-body{flex:1;display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px}
.product-name{margin:0;font-size:15px;line-height:1.65;font-weight:700;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-code{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:2px 8px 2px 4px;border:1px dashed var(--line-strong);border-radius:7px;background:transparent;color:var(--muted);font-size:12px;line-height:1.6;transition:border-color .15s,color .15s,background .15s}
.product-code span{padding:0 6px;border-radius:5px;background:var(--surface-2);font-size:10.5px}
.product-code bdi{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;direction:ltr;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-code:hover{border-color:var(--accent);color:var(--accent)}
.product-code.copied{border-style:solid;border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.product-description{margin:2px 0 0;color:var(--muted);font-size:12.5px;line-height:1.85;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-footer{margin-top:auto;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.price{display:flex;flex-direction:column;min-width:0}
.price strong{color:var(--price);font-size:15.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.price small{color:var(--muted);font-size:11px;line-height:1.4}
.price.is-inquiry strong{color:var(--muted);font-size:13px;font-weight:500}

.copy-button,.viewer-copy{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:0;border-radius:10px;background:var(--accent-soft);color:var(--accent);font-size:12.5px;font-weight:700;white-space:nowrap;transition:background .15s,color .15s,transform .1s}
.copy-button:hover,.viewer-copy:hover{background:var(--accent);color:var(--accent-ink)}
.copy-button:active,.viewer-copy:active{transform:scale(.96)}
.copy-button svg,.viewer-copy svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.i-check{display:none}
.copied .i-copy{display:none}
.copied .i-check{display:block;animation:pop .3s var(--ease)}
.copy-button.copied,.viewer-copy.copied{background:var(--accent);color:var(--accent-ink)}
@keyframes pop{from{transform:scale(.4)}}

/* List view */
.product-grid.is-list{grid-template-columns:1fr;gap:12px}
.is-list .product-card{flex-direction:row;align-items:stretch}
.is-list .product-media{width:168px;flex:0 0 168px;aspect-ratio:auto;min-height:150px}
.is-list .product-body{padding:16px 18px}
.is-list .product-name{-webkit-line-clamp:1;font-size:16px}
.is-list .product-footer{padding-top:8px}
@media (min-width:900px){.is-list .product-description{-webkit-line-clamp:3}}

/* Empty state */
.empty-state{text-align:center;padding:64px 20px;border:1px dashed var(--line-strong);border-radius:var(--radius);background:var(--surface)}
.empty-state.is-hidden{display:none}
.empty-icon{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--surface-2);color:var(--muted)}
.empty-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.empty-state h2{margin:14px 0 4px;font-size:17px}
.empty-state p{margin:0 0 18px;color:var(--muted);font-size:13px}
.empty-state a{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:10px;background:var(--ink);color:var(--bg);font-size:13px;font-weight:500}

/* Footer, toast, back-to-top */
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1280px;width:100%;margin:0 auto;padding:22px 24px calc(22px + env(safe-area-inset-bottom));border-top:1px solid var(--line);color:var(--muted);font-size:12.5px}
.site-footer span{color:var(--ink-2);font-weight:500}
.toast{position:fixed;z-index:200;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;max-width:calc(100% - 32px);padding:11px 18px;border-radius:12px;background:var(--ink);color:var(--bg);box-shadow:var(--shadow-lg);font-size:13px;font-weight:500;opacity:0;pointer-events:none;transform:translate(-50%,16px);transition:opacity .25s,transform .3s var(--ease)}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast b{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.to-top{position:fixed;z-index:25;left:20px;bottom:calc(20px + env(safe-area-inset-bottom));display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow-md);opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .2s,transform .2s}
.to-top.show{opacity:1;pointer-events:auto;transform:none}
.to-top svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Image viewer ---------- */
.viewer{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;background:rgba(6,8,12,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;animation:fade .2s ease}
.viewer[hidden]{display:none}
@keyframes fade{from{opacity:0}}
.viewer-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;padding-top:max(14px,env(safe-area-inset-top))}
.viewer-info{min-width:0;display:flex;flex-direction:column}
.viewer-counter{color:rgba(255,255,255,.55);font-size:11.5px}
.viewer-info h2{margin:0;font-size:16px;font-weight:700;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.viewer-meta{display:flex;flex-wrap:wrap;gap:4px 14px;color:rgba(255,255,255,.7);font-size:12.5px}
.viewer-meta:empty{display:none}
.viewer-tools{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.viewer-copy{background:rgba(255,255,255,.12);color:#fff}
.viewer-copy:hover,.viewer-copy.copied{background:#fff;color:#0f172a}
.viewer-icon{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;transition:background .15s}
.viewer-icon:hover{background:rgba(255,255,255,.22)}
.viewer-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.viewer-stage{position:relative;flex:1;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none;cursor:zoom-in;user-select:none;-webkit-user-select:none}
.viewer-stage.is-zoomed{cursor:grab}
.viewer-stage.is-dragging{cursor:grabbing}
.viewer-stage img{max-width:calc(100% - 32px);max-height:calc(100% - 16px);object-fit:contain;border-radius:6px;transform-origin:0 0;will-change:transform;transition:transform .25s var(--ease),opacity .25s;-webkit-user-drag:none}
.viewer-stage.no-anim img{transition:opacity .25s}
.viewer-stage.is-loading img{opacity:0}
.viewer-spinner{position:absolute;width:34px;height:34px;border:3px solid rgba(255,255,255,.2);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;opacity:0;pointer-events:none;transition:opacity .2s}
.viewer-stage.is-loading .viewer-spinner{opacity:1}
@keyframes spin{to{transform:rotate(360deg)}}
.viewer-nav{position:absolute;z-index:2;top:50%;display:grid;place-items:center;width:46px;height:46px;margin-top:-23px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;transition:background .15s,opacity .2s}
.viewer-nav:hover{background:rgba(255,255,255,.24)}
.viewer-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.viewer-prev{right:18px}
.viewer-next{left:18px}
.viewer-nav[hidden]{display:none}
.viewer-bar{direction:ltr;position:relative;z-index:2;align-self:center;display:flex;align-items:center;gap:4px;margin:10px auto 6px;padding:5px;border-radius:14px;background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.viewer-bar button,.viewer-bar a{display:grid;place-items:center;width:40px;height:38px;border:0;border-radius:10px;background:transparent;color:#fff;transition:background .15s}
.viewer-bar button:hover,.viewer-bar a:hover{background:rgba(255,255,255,.16)}
.viewer-bar button:disabled{opacity:.35;cursor:default;background:transparent}
.viewer-bar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.viewer-bar output{min-width:58px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}
.viewer-sep{width:1px;height:20px;margin:0 4px;background:rgba(255,255,255,.2)}
.viewer-hint{margin:0 0 max(12px,env(safe-area-inset-bottom));text-align:center;color:rgba(255,255,255,.5);font-size:11.5px;transition:opacity .3s}
.viewer-hint.is-hidden{opacity:0}

/* ---------- Responsive ---------- */
@media (max-width:900px){
    .topbar-inner,.catalog{padding-inline:16px}
    .categories{padding-inline:16px;margin-inline:-16px}
    .product-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
}
@media (max-width:640px){
    :root{--topbar-h:58px;--radius:16px}
    .topbar-inner{gap:12px}
    .brand-name{display:none}
    .brand-logo{height:30px;max-width:96px}
    .search{height:40px;max-width:none}
    .theme-toggle{width:40px;height:40px}
    .search-kbd{display:none}
    .catalog{padding-top:16px}
    .toolbar{align-items:center;margin-bottom:6px}
    .toolbar h1{font-size:20px}
    .result-count{font-size:12px}
    .sort{height:36px;padding-inline:8px 2px}
    .sort select{font-size:12px;padding-inline:4px}
    .view-toggle{height:36px}
    .view-toggle button{width:30px}
    .categories{padding-block:8px;margin-bottom:12px}
    .chip{height:34px;padding:0 12px;font-size:12.5px}
    .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .product-body{padding:10px 11px 12px;gap:5px}
    .product-name{font-size:13.5px;line-height:1.7}
    .product-description{display:none}
    .product-code{font-size:11px}
    .product-tag{font-size:10px;top:8px;inset-inline-end:8px;padding:2px 8px}
    .zoom-badge{width:30px;height:30px;inset-inline-start:8px;bottom:8px}
    .product-footer{flex-direction:column;align-items:stretch;gap:8px;padding-top:8px}
    .price strong{font-size:14px}
    .copy-button{justify-content:center;height:36px}
    .is-list .product-media{width:116px;flex-basis:116px;min-height:0}
    .is-list .product-body{padding:11px 12px}
    .is-list .product-name{-webkit-line-clamp:2;font-size:14px}
    .is-list .product-footer{flex-direction:row;align-items:center}
    .is-list .copy-button span{display:none}
    .is-list .copy-button{width:38px;padding:0}
    .site-footer{flex-direction:column;text-align:center;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
    .to-top{left:14px;bottom:calc(14px + env(safe-area-inset-bottom))}
    .viewer-top{padding:10px 12px;padding-top:max(10px,env(safe-area-inset-top))}
    .viewer-info h2{font-size:14.5px}
    .viewer-copy span{display:none}
    .viewer-copy{width:40px;height:40px;padding:0;justify-content:center}
    .viewer-nav{width:40px;height:40px;margin-top:-20px;top:auto;bottom:calc(60px + env(safe-area-inset-bottom))}
    .viewer-prev{right:12px}.viewer-next{left:12px}
    .viewer-stage img{max-width:100%;border-radius:0}
}
@media (max-width:360px){
    .product-grid:not(.is-list){grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
    *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
