:root {
    --bg: #f4f6fa;
    --bg-sunken: #eceff5;
    --panel: #ffffff;
    --panel-soft: #f8fafc;
    --text: #101828;
    --text-soft: #344054;
    --muted: #667085;
    --muted-light: #98a2b3;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --brand: #155eef;
    --brand-dark: #0f3fb6;
    --brand-soft: #eef4ff;
    --brand-ring: rgba(21, 94, 239, .16);
    --accent: #f59e0b;
    --accent-dark: #b45309;
    --ink: #172033;
    --ink-soft: #253247;
    --danger: #c62828;
    --danger-soft: #fef3f2;
    --ok: #087443;
    --ok-soft: #ecfdf3;
    --warn: #b45309;
    --warn-soft: #fffaeb;

    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, .07), 0 1px 2px rgba(16, 24, 40, .04);
    --shadow: 0 4px 10px -2px rgba(16, 24, 40, .08), 0 2px 6px -2px rgba(16, 24, 40, .05);
    --shadow-md: 0 10px 22px -6px rgba(16, 24, 40, .12), 0 4px 8px -4px rgba(16, 24, 40, .06);
    --shadow-lg: 0 20px 44px -12px rgba(16, 24, 40, .18), 0 8px 16px -8px rgba(16, 24, 40, .08);

    --ease: cubic-bezier(.4, 0, .2, 1);
    --speed: .18s;

    --control-h: 44px;
    --control-h-sm: 38px;
    --shell: 1480px;
    --gutter: 20px;
    --header-h: 116px;
    --sticky-top: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Variable Text", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; }
strong, b { font-weight: 700; }
:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: var(--radius-xs);
}
::selection {
    background: var(--brand-ring);
    color: var(--brand-dark);
}
button, .button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: var(--control-h);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 0 18px;
    background: #fff;
    color: var(--text-soft);
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
button:hover, .button:hover {
    border-color: var(--line-strong);
    background: var(--panel-soft);
    color: var(--text);
}
button:active, .button:active {
    transform: translateY(1px);
}
button.primary, .button.primary, .primary {
    border-color: transparent;
    background: linear-gradient(180deg, #2a6df3, var(--brand));
    color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .18);
}
button.primary:hover, .button.primary:hover, .primary:hover {
    background: linear-gradient(180deg, #1c5fe4, var(--brand-dark));
    color: #fff;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .18);
}
button.danger, .button.danger {
    border-color: #fecdca;
    background: var(--danger-soft);
    color: var(--danger);
}
button.danger:hover, .button.danger:hover {
    border-color: #f9a8a3;
    background: #fee4e2;
    color: #b42318;
}
button:disabled, .button:disabled, button[disabled] {
    cursor: not-allowed;
    border-color: var(--line);
    background: var(--bg-sunken);
    color: var(--muted-light);
    box-shadow: none;
    transform: none;
    opacity: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06), var(--shadow);
}
.site-header-primary {
    display: grid;
    grid-template-columns: minmax(150px, auto) minmax(260px, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(var(--shell), calc(100% - var(--gutter) * 2));
    min-height: 68px;
    margin: 0 auto;
    padding: 10px 0;
}
.site-header-secondary {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 42px;
    padding: 0 max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
    background: var(--ink-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.brand {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.015em;
}
.header-brand {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: opacity var(--speed) var(--ease);
}
.header-brand:hover { opacity: .85; }
.header-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
    transition: box-shadow var(--speed) var(--ease);
}
.header-search:focus-within {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .45);
}
.header-search input {
    height: var(--control-h);
    border: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 0 16px;
    background: #fff;
    color: var(--text);
    font-size: 14px;
}
.header-search input:focus { outline: 0; }
.header-search input::placeholder { color: var(--muted); }
.header-search button {
    min-height: var(--control-h);
    border: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0 20px;
    background: var(--accent);
    color: #452c03;
    font-weight: 750;
    box-shadow: none;
}
.header-search button:hover {
    background: #fbb43c;
    color: #452c03;
}
.top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    align-items: center;
    font-weight: 600;
}
.top-nav a {
    position: relative;
    padding: 9px 12px;
    border-radius: var(--radius-xs);
    color: #dde5f2;
    font-size: 14px;
    transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.top-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.desktop-menu-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.desktop-header-tools {
    display: flex;
    gap: 6px;
    align-items: center;
}
.header-account-link {
    display: inline-flex;
    align-items: center;
    min-height: var(--control-h-sm);
    border-radius: var(--radius-xs);
    padding: 0 12px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 650;
    white-space: nowrap;
    transition: background var(--speed) var(--ease);
}
.header-account-link:hover {
    background: rgba(255,255,255,.12);
}
.header-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--control-h-sm);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-xs);
    padding: 0 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.header-cart-link:hover {
    border-color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.12);
}
.header-cart-link strong,
.mobile-cart-link strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #452c03;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}
.mobile-nav-menu,
.mobile-cart-link {
    display: none;
}
.language-switch select,
input, textarea, select {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 11px 13px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
    transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
input, textarea, select { min-height: var(--control-h); }
textarea {
    min-height: 96px;
    resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--muted-light); }
input:hover, textarea:hover, select:hover { border-color: #b3c0d1; }
input:focus, textarea:focus, select:focus {
    outline: 0;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-ring);
}
input:disabled, textarea:disabled, select:disabled {
    background: var(--bg-sunken);
    color: var(--muted);
    cursor: not-allowed;
}
input[type="checkbox"], input[type="radio"] {
    min-height: 0;
    accent-color: var(--brand);
    cursor: pointer;
}
select {
    appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23475467' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    cursor: pointer;
}

.language-switch {
    margin: 0;
}
.desktop-header-tools .language-switch select {
    width: auto;
    min-width: 78px;
    min-height: var(--control-h-sm);
    border-color: rgba(255,255,255,.18);
    padding: 8px 30px 8px 11px;
    background-color: rgba(255, 255, 255, .08);
    background-position: right 10px center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
    color: #fff;
    font-size: 13px;
    font-weight: 650;
}
.desktop-header-tools .language-switch select:hover {
    border-color: rgba(255,255,255,.34);
    background-color: rgba(255, 255, 255, .14);
}
.desktop-header-tools .language-switch select option {
    color: var(--text);
    background: #fff;
}

.site-main {
    width: min(var(--shell), calc(100% - var(--gutter) * 2));
    margin: 0 auto;
    padding: 26px 0 56px;
}
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 20px;
    align-items: end;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    background: linear-gradient(135deg, #ffffff, var(--brand-soft));
}
.eyebrow {
    display: block;
    color: var(--brand);
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}
h1, h2, h3 {
    margin: 0 0 10px;
    color: var(--text);
    letter-spacing: -.018em;
    line-height: 1.25;
    font-weight: 700;
}
h1 { font-size: clamp(26px, 3.4vw, 34px); }
h2 { font-size: clamp(19px, 2.2vw, 24px); }
h3 { font-size: 17px; }
.hero h1 { font-size: clamp(30px, 6vw, 56px); line-height: 1.03; }
.hero p, .product-info p, .page-head p { color: var(--muted); line-height: 1.6; }
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.brand-hero {
    grid-template-columns: minmax(0, 1.28fr) minmax(300px, 430px);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-lg);
    padding: 0;
    background: var(--ink);
    box-shadow: var(--shadow-lg);
}
.brand-hero .hero-copy {
    position: relative;
    display: grid;
    align-content: center;
    gap: 16px;
    min-height: 400px;
    padding: 48px;
    background:
        radial-gradient(120% 130% at 8% 100%, rgba(21, 94, 239, .34) 0%, rgba(21, 94, 239, 0) 58%),
        linear-gradient(90deg, rgba(23, 32, 51, .97) 0%, rgba(23, 32, 51, .84) 100%),
        linear-gradient(135deg, #172033 0%, #253247 52%, var(--accent) 100%);
}
.brand-hero .hero-copy::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .5;
    pointer-events: none;
}
.brand-hero .hero-copy > * {
    position: relative;
    z-index: 1;
}
.brand-hero .eyebrow {
    color: #fcc65a;
}
.brand-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -.028em;
    text-wrap: balance;
}
.brand-hero p {
    max-width: 660px;
    margin: 0;
    color: #cfd8e6;
    font-size: 16px;
    line-height: 1.7;
}
.brand-hero .hero-actions .button {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.09);
    color: #fff;
    font-size: 15px;
    backdrop-filter: blur(4px);
}
.brand-hero .hero-actions .button:hover {
    border-color: rgba(255,255,255,.4);
    background: rgba(255,255,255,.16);
}
.brand-hero .hero-actions .button.primary {
    border-color: transparent;
    background: linear-gradient(180deg, #fbbf3f, var(--accent));
    color: #452c03;
    box-shadow: 0 6px 18px -6px rgba(245, 158, 11, .7);
}
.brand-hero .hero-actions .button.primary:hover {
    background: linear-gradient(180deg, #fcca5c, #eb9508);
    color: #452c03;
    box-shadow: 0 10px 24px -8px rgba(245, 158, 11, .8);
}
.hero-finder {
    display: grid;
    align-content: center;
    gap: 15px;
    min-width: 0;
    padding: 26px;
    background: #fff;
    color: var(--text);
}
.hero-finder strong {
    color: var(--text);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.015em;
}
.hero-finder p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.hero-search {
    gap: 0;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 1px var(--line-strong);
    transition: box-shadow var(--speed) var(--ease);
}
.hero-search:focus-within {
    box-shadow: 0 0 0 1px var(--brand), 0 0 0 4px var(--brand-ring);
}
.hero-search input {
    border: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.hero-search input:focus { box-shadow: none; }
.hero-search button {
    border: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
}
.hero-search button:hover { background: var(--brand-dark); color: #fff; }
.hero-finder-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.hero-finder-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0 13px;
    background: var(--panel-soft);
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 650;
    transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.hero-finder-links a:hover {
    border-color: #b7c7ff;
    background: var(--brand-soft);
    color: var(--brand);
}
.hero-product-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 2px;
}
.hero-product-strip a {
    display: grid;
    gap: 8px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 9px;
    background: #fff;
    transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.hero-product-strip a:hover {
    border-color: #b7c7ff;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.hero-product-strip img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-xs);
    object-fit: contain;
    object-position: center center;
    background: #fff;
}
.hero-product-strip span {
    min-width: 0;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.search-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.search-box.compact { max-width: 520px; }
.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 130px 130px 170px auto;
    gap: 9px;
    align-items: center;
}
.section { margin-top: 34px; }
.section-head, .page-head { margin-bottom: 16px; }
.page-head h1 { margin-bottom: 6px; }
.section-head h2 { margin-bottom: 4px; }
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.trust-strip > div {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 14px;
}
.trust-strip strong {
    display: block;
    margin-bottom: 5px;
    color: var(--brand-dark);
}
.trust-strip span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}
.product-line-section .section-head p,
.section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}
.product-line-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}
.product-line-grid a {
    display: flex;
    align-items: center;
    min-height: 56px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
    color: #344054;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.product-line-grid a:hover {
    border-color: #b7c7ff;
    background: #f5f8ff;
    color: var(--brand);
}
.category-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}
.category-row a {
    position: relative;
    display: grid;
    gap: 5px;
    align-content: start;
    min-height: 80px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 15px 16px;
    background: #fff;
    transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.category-row a:hover {
    border-color: #b7c7ff;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.category-row strong {
    min-width: 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
    transition: color var(--speed) var(--ease);
}
.category-row a:hover strong { color: var(--brand); }
.category-row span {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
}
.home-category-section {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.home-category-section .section-head {
    margin-bottom: 18px;
}
.home-category-panel {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}
.home-category-feature {
    position: relative;
    display: grid;
    align-content: end;
    gap: 9px;
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--radius);
    padding: 22px;
    background:
        radial-gradient(115% 120% at 100% 0%, rgba(245, 158, 11, .28) 0%, rgba(245, 158, 11, 0) 55%),
        linear-gradient(135deg, var(--ink), var(--ink-soft));
    color: #fff;
    transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.home-category-feature:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.home-category-feature > * {
    position: relative;
    z-index: 1;
}
.home-category-feature .eyebrow {
    color: #fcc65a;
}
.home-category-feature strong {
    max-width: 220px;
    font-size: 27px;
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.home-category-feature em {
    color: #c6d0e0;
    font-style: normal;
    font-size: 13.5px;
    font-weight: 500;
}
.home-category-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.home-category-list a {
    min-height: 0;
    border-color: transparent;
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    background: var(--panel-soft);
    box-shadow: none;
}
.home-category-list a:hover {
    border-color: #cfdcfb;
    background: var(--brand-soft);
    box-shadow: var(--shadow-sm);
}
.category-head {
    display: grid;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 18px;
}
.category-head h1 {
    margin-bottom: 6px;
}
.category-head p {
    margin: 0;
}
.category-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
.category-panel {
    position: sticky;
    top: 82px;
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 8px;
}
.category-panel a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    min-height: 40px;
    border-radius: 8px;
    padding: 9px 10px;
    color: #344054;
    font-weight: 600;
}
.category-panel a:hover,
.category-panel a.is-active {
    background: #eef4ff;
    color: var(--brand);
}
.category-panel span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.category-panel em {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}
.category-results {
    min-width: 0;
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-weight: 700;
}
.page-number:hover {
    border-color: #b7c7ff;
    color: var(--brand);
}
.page-number.is-active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.product-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.product-card-mobile-head {
    display: none;
}
.product-image {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    background: #fff;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #fff;
}
.product-info { display: grid; gap: 8px; min-width: 0; padding: 12px; }
.product-title { font-weight: 900; line-height: 1.3; overflow-wrap: anywhere; }
.product-info p { min-height: 2.6em; margin: 0; font-size: 13px; }
.product-highlight-line {
    min-height: 0 !important;
    margin: 0;
    color: #175cd3;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.product-card .product-highlight-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-option-count {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    background: #eef4ff;
    padding: 3px 8px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}
.detail-highlight {
    border-left: 3px solid var(--brand);
    background: #eef4ff;
    padding: 8px 10px;
    border-radius: 6px;
}
.product-info strong, .price { color: var(--brand-dark); font-size: 18px; font-weight: 900; }
.promo-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 26px;
    border-radius: 999px;
    background: #edfdf5;
    padding: 4px 9px;
    color: var(--ok);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}
.price-stack {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.price-stack del,
.price-detail del {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}
.price-detail {
    display: grid;
    gap: 4px;
}
.price-detail span {
    color: var(--ok);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}
.product-promo {
    margin: 2px 0 4px;
}
.variant-options {
    display: grid;
    gap: 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 14px 0 16px;
    min-width: 0;
}
.variant-options-head {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    align-items: baseline;
    min-width: 0;
}
.variant-options-head span {
    flex: 0 0 auto;
    color: #475467;
    font-size: 14px;
    font-weight: 800;
}
.variant-options-head strong {
    min-width: 0;
    color: #101828;
    font-size: 14px;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.variant-dimension {
    display: grid;
    gap: 7px;
    min-width: 0;
}
.variant-dimension-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}
.variant-dimension-head span {
    color: #475467;
    font-size: 13px;
    font-weight: 800;
}
.variant-dimension-head strong {
    min-width: 0;
    color: #101828;
    font-size: 13px;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.variant-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
.variant-dimension.is-color .variant-choice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.variant-dimension.is-color .variant-choice {
    width: 100%;
}
.variant-select-wrap {
    position: relative;
    width: min(100%, 460px);
}
.variant-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #475467;
    border-bottom: 2px solid #475467;
    pointer-events: none;
    transform: translateY(-65%) rotate(45deg);
}
.variant-select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #101828;
    padding: 9px 42px 9px 12px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    appearance: none;
    cursor: pointer;
}
.variant-select:hover,
.variant-select:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .16);
    outline: 0;
}
.variant-choice {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    max-width: 100%;
    min-height: 38px;
    border: 1px solid #d0d5dd;
    border-radius: 7px;
    background: #fff;
    padding: 6px 9px;
    color: #101828;
}
.variant-choice:hover,
.variant-choice.is-active {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, .18);
}
.variant-choice.is-active {
    background: #fffaf0;
}
.variant-choice.is-out {
    color: #98a2b3;
}
.variant-choice img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    object-position: center center;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff;
}
.variant-choice span {
    min-width: 0;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.variant-choice em {
    grid-column: 2;
    color: var(--brand-dark);
    font-size: 11px;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}
.variant-option-list {
    display: flex;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.variant-option-list::-webkit-scrollbar {
    height: 8px;
}
.variant-option-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #d0d5dd;
}
.variant-option {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 3px 9px;
    align-items: center;
    flex: 0 0 190px;
    width: 190px;
    max-width: 72vw;
    min-height: 82px;
    border: 1px solid #d0d5dd;
    border-radius: 7px;
    background: #fff;
    padding: 9px;
    color: #101828;
    scroll-snap-align: start;
}
.variant-option.no-image {
    grid-template-columns: minmax(0, 1fr);
    flex-basis: 150px;
    width: 150px;
}
.variant-option:hover,
.variant-option.is-active {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, .22);
}
.variant-option.is-active {
    background: #fffaf0;
}
.variant-option:focus-visible {
    outline: 3px solid rgba(245, 158, 11, .35);
    outline-offset: 2px;
}
.variant-option.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 18px 18px;
    border-color: transparent transparent #f59e0b transparent;
}
.variant-option img {
    grid-row: 1 / 4;
    width: 52px;
    height: 52px;
    object-fit: contain;
    object-position: center center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}
.variant-option-name {
    min-width: 0;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.variant-option-stock {
    color: var(--ok);
    font-size: 12px;
    font-weight: 800;
}
.variant-option-stock.is-out {
    color: var(--danger);
}
.variant-option em {
    color: var(--brand-dark);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}
.product-meta strong {
    min-width: 0;
    overflow-wrap: anywhere;
}
.product-meta span,
.stock-note {
    color: var(--ok);
    font-size: 13px;
    font-weight: 900;
}
.sold-out {
    color: var(--danger) !important;
}
.quick-add {
    display: grid;
}
.product-detail {
    display: grid;
    grid-template-columns: minmax(320px, 43%) minmax(0, 1fr) minmax(260px, 320px);
    gap: 18px;
    align-items: start;
    min-width: 0;
}
.product-detail-shell {
    display: grid;
    gap: 18px;
    min-width: 0;
}
[data-product-detail-root].is-loading {
    opacity: .72;
    pointer-events: none;
}
.gallery, .buy-panel, .buy-box, .product-info-panel, .admin-card, .settings-form, .cart-list, .checkout-panel, .checkout-summary {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}
.gallery {
    display: grid;
    gap: 10px;
    min-width: 0;
}
.gallery-main {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    cursor: zoom-in;
}
.gallery-main img,
.image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center center;
    background: #fff;
    border-radius: 8px;
}
.thumbnail-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}
.thumbnail-button {
    flex: 0 0 74px;
    width: 74px;
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 4px;
    background: #fff;
    scroll-snap-align: start;
}
.thumbnail-button.is-active {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(21, 94, 239, .14);
}
.thumbnail-button img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center center;
    border-radius: 5px;
    background: #fff;
}
body.gallery-open {
    overflow: hidden;
}
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(10, 18, 32, .86);
}
.gallery-lightbox[hidden] {
    display: none;
}
.gallery-lightbox img {
    max-width: min(96vw, 1440px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}
.gallery-lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 42px;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, .95);
    color: #172033;
    font-size: 28px;
    line-height: 1;
}
.product-code { color: var(--muted); font-weight: 700; }
.product-code-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-highlights {
    display: grid;
    gap: 8px;
    margin: 12px 0;
    padding-left: 20px;
    color: #344054;
    line-height: 1.5;
}
.buy-panel {
    min-width: 0;
}
.product-info-panel,
.buy-box {
    display: grid;
    gap: 12px;
    min-width: 0;
}
.product-info-lead,
.product-info-body {
    display: grid;
    gap: 12px;
    min-width: 0;
}
.product-info-panel h1 {
    margin: 0;
    color: #101828;
    font-size: 25px;
    line-height: 1.22;
    letter-spacing: 0;
}
.product-summary {
    margin: 0;
    color: #344054;
    line-height: 1.55;
}
.buy-box {
    position: sticky;
    top: 12px;
}
.buy-panel h1,
.buy-panel p,
.product-info-panel h1,
.product-info-panel p,
.buy-box p,
.product-code {
    overflow-wrap: anywhere;
}
.product-faq {
    max-width: 860px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}
.product-faq details {
    border-top: 1px solid var(--line);
    padding: 12px 0;
}
.product-faq details:first-of-type {
    border-top: 0;
}
.product-faq summary {
    cursor: pointer;
    font-weight: 900;
}
.product-faq p {
    color: var(--muted);
    line-height: 1.7;
}
.product-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}
.product-description,
.product-support,
.content-page,
.company-summary {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}
.product-description div,
.product-description p,
.product-support p,
.content-page p,
.company-summary p {
    color: #344054;
    line-height: 1.7;
}
.product-extra-description {
    margin-top: 16px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}
.product-extra-description p {
    margin: 0;
}
.rich-content {
    color: #344054;
    line-height: 1.75;
}
.rich-content > *:first-child {
    margin-top: 0;
}
.rich-content > *:last-child {
    margin-bottom: 0;
}
.rich-content h2,
.rich-content h3 {
    color: #101828;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 18px 0 8px;
}
.rich-content h2 {
    font-size: 22px;
}
.rich-content h3 {
    font-size: 18px;
}
.rich-content p {
    margin: 0 0 12px;
}
.rich-content ul,
.rich-content ol {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding-left: 22px;
}
.rich-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 14px 0;
}
.rich-content a {
    color: var(--brand);
    font-weight: 800;
}
.product-support dl,
.company-summary dl {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
}
.product-support dt,
.company-summary dt,
.contact-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.product-support dd,
.company-summary dd {
    margin: 4px 0 0;
    color: #344054;
    line-height: 1.5;
}
.product-support a,
.company-summary a,
.content-page a {
    color: var(--brand);
    font-weight: 800;
}
.content-section {
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.content-section ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
    color: #344054;
    line-height: 1.6;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}
.contact-grid > div {
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 12px;
}
.contact-grid strong {
    color: #344054;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.contact-grid + .notice {
    margin-top: 16px;
}
.company-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 16px;
    align-items: start;
}
.add-cart { display: grid; grid-template-columns: 86px 1fr; gap: 10px; margin-top: 16px; }
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.cart-line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 88px 128px auto;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.cart-line > div {
    min-width: 0;
    overflow-wrap: anywhere;
}
.cart-line span { display: block; color: var(--muted); margin-top: 4px; }
.cart-thumb {
    display: grid;
    place-items: center;
    width: 96px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #fff;
}
.cart-remove {
    background: #fff2f2;
    color: var(--danger);
}
.cart-summary {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 82px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 16px;
    font-weight: 900;
}
.cart-total span {
    min-width: 0;
}
.cart-total strong {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}
.cart-total.grand-total {
    color: var(--brand-dark);
}
.cart-total.grand-total strong {
    font-size: 22px;
}
.cart-total.coupon-total {
    color: var(--ok);
    font-size: 16px;
}
.shipping-methods,
.payment-methods {
    display: grid;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}
.shipping-method-option,
.payment-method-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #f8fafc;
}
.payment-method-option {
    grid-template-columns: 18px minmax(0, 1fr);
}
.shipping-method-option input,
.payment-method-option input {
    width: auto;
    margin-top: 3px;
}
.shipping-method-option span,
.payment-method-option span {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.shipping-method-option strong,
.payment-method-option strong {
    color: var(--brand-dark);
    font-size: 14px;
    overflow-wrap: anywhere;
}
.shipping-method-option em,
.payment-method-option em,
.cart-total em {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.shipping-method-option b {
    white-space: nowrap;
}
.coupon-form {
    display: grid;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}
.coupon-form label {
    display: grid;
    gap: 6px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}
.coupon-form a {
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}
.coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.coupon-card {
    display: grid;
    gap: 14px;
    align-content: space-between;
    min-height: 230px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}
.coupon-code {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px dashed var(--brand);
    border-radius: 6px;
    padding: 0 10px;
    color: var(--brand-dark);
    font-weight: 800;
    letter-spacing: 0;
}
.coupon-card h2 {
    margin-top: 12px;
    font-size: 22px;
}
.coupon-card p {
    color: #344054;
    line-height: 1.55;
}
.coupon-card .muted,
.coupon-card small {
    color: var(--muted);
}
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.cart-clear-form {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
}
.cart-clear-form button {
    background: #fff2f2;
    color: var(--danger);
}
.js-hidden {
    display: none !important;
}
.cart-list.is-updating {
    opacity: .72;
}
.checkout-form {
    display: grid;
    gap: 12px;
    max-width: 680px;
}
.checkout-page-form {
    max-width: none;
}
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 20px;
    align-items: start;
}
.checkout-panel,
.checkout-summary,
.settings-form {
    display: grid;
    gap: 12px;
}
.checkout-panel h2,
.checkout-summary h2 {
    margin: 0;
}
.checkout-summary {
    position: sticky;
    top: 82px;
}
.checkout-form label, .settings-form label { display: grid; gap: 6px; font-weight: 600; color: #344054; }
.settings-form { max-width: 680px; }
.settings-form h2 { margin-top: 10px; }
.checkout-items {
    display: grid;
    gap: 10px;
    max-height: 320px;
    overflow: auto;
    padding-right: 2px;
}
.checkout-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}
.checkout-item-thumb {
    display: grid;
    place-items: center;
    width: 58px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.checkout-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #fff;
}
.checkout-item div {
    min-width: 0;
}
.checkout-item strong {
    display: -webkit-box;
    color: var(--brand-dark);
    font-size: 13px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.checkout-item span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}
.checkout-item b {
    white-space: nowrap;
    font-size: 13px;
}
.address-form {
    display: grid;
    gap: 12px;
}
.invoice-fields {
    display: grid;
    gap: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.invoice-fields h2 {
    margin: 0;
}
.invoice-fields p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.check { grid-template-columns: auto 1fr; align-items: center; }
.check input { width: auto; }
.alert { border-left: 4px solid var(--danger); background: #fff2f2; padding: 10px 12px; border-radius: 8px; }
.success { border-left: 4px solid var(--ok); background: #edfdf5; padding: 10px 12px; border-radius: 8px; color: #055f3d; }
.notice {
    border-left: 4px solid var(--brand);
    background: #eef4ff;
    padding: 10px 12px;
    border-radius: 8px;
    color: #1d3b8b;
}
.notice.success { border-left-color: var(--ok); background: #edfdf5; color: #055f3d; }
.notice.warning { border-left-color: #b7791f; background: #fff8e6; color: #8a5200; }
.notice.error { border-left-color: var(--danger); background: #fff2f2; color: var(--danger); }
.delivery-estimate {
    display: grid;
    gap: 5px;
    border: 1px solid #cfe3c7;
    border-radius: 8px;
    background: #f2fbef;
    padding: 11px 12px;
    color: #1f4d2b;
}
.delivery-estimate strong {
    color: #0f7a32;
    font-size: 16px;
    line-height: 1.35;
}
.delivery-estimate p {
    margin: 0;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}
.delivery-estimate em {
    color: var(--brand);
    font-style: normal;
}
.delivery-estimate small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}
.empty { padding: 22px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); text-align: center; }
.product-grid .empty { grid-column: 1 / -1; }
.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 22px;
    align-items: center;
    min-height: calc(100vh - 150px);
}
.auth-copy {
    display: grid;
    gap: 10px;
    padding: 18px 0;
}
.auth-copy h1 {
    max-width: 620px;
    font-size: 44px;
    line-height: 1.08;
}
.auth-copy p {
    max-width: 560px;
    color: var(--muted);
    line-height: 1.7;
}
.auth-card {
    display: grid;
    gap: 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 16px 42px rgba(23, 32, 51, .08);
}
.register-shell {
    grid-template-columns: minmax(0, .85fr) minmax(420px, 580px);
    align-items: start;
    width: min(100%, 1080px);
    margin: 0 auto;
}
.register-shell .auth-copy {
    padding-top: 28px;
}
.register-card {
    width: 100%;
    justify-self: end;
}
.auth-card label,
.account-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    color: #344054;
}
.auth-card label.check,
.account-form label.check,
.checkout-form label.check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    font-weight: 500;
    line-height: 1.5;
}
.auth-card label.check input,
.account-form label.check input,
.checkout-form label.check input {
    margin-top: 3px;
}
.policy-agreement {
    display: grid;
    gap: 10px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #f8fbff;
}
.policy-agreement .policy-agreement-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
    color: #344054;
    font-weight: 600;
    line-height: 1.5;
}
.policy-agreement .policy-agreement-check input {
    width: auto;
    margin-top: 3px;
}
.policy-agreement-check span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.policy-agreement-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
    padding-left: 28px;
}
.policy-agreement-links a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 30px;
    border: 1px solid #cbd8ea;
    border-radius: 999px;
    padding: 5px 10px;
    background: #fff;
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.policy-agreement-links a:hover {
    border-color: #9db7ff;
    background: #eef4ff;
}
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.form-note {
    margin: 2px 0 0;
    color: var(--muted);
    text-align: center;
}
.form-note a {
    color: var(--brand);
    font-weight: 900;
}
.account-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.account-nav {
    position: sticky;
    top: 82px;
    display: grid;
    gap: 8px;
}
.account-nav a {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 12px 14px;
    color: #344054;
    font-weight: 900;
}
.account-nav a:hover {
    border-color: #b7c7ff;
    color: var(--brand);
    background: #f5f8ff;
}
.account-nav a.is-active {
    border-color: var(--brand);
    background: #eef4ff;
    color: var(--brand);
}
.account-content {
    min-width: 0;
}
.account-content,
.account-hero,
.order-card,
.address-card {
    overflow-wrap: anywhere;
}
.account-hero {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 18px;
}
.account-hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}
.section-head.split,
.page-head.split {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.section-head.split a {
    color: var(--brand);
    font-weight: 900;
}
.order-list {
    display: grid;
    gap: 10px;
}
.order-card {
    display: grid;
    grid-template-columns: minmax(150px, 1.2fr) repeat(3, minmax(110px, .8fr)) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 14px;
}
.order-card span,
.summary-grid span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.order-card strong {
    word-break: break-word;
}
.order-card-actions,
.order-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.order-card-actions form,
.order-detail-actions {
    margin: 0;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    background: #edf2f7;
    padding: 4px 10px;
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.summary-grid > div,
.address-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 14px;
    min-width: 0;
}
.summary-grid strong {
    overflow-wrap: anywhere;
}
.payment-pending-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
}
.payment-instructions {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 16px;
    margin: 0 0 18px;
    text-align: left;
}
.payment-instructions h2 {
    margin: 0;
    font-size: 18px;
}
.payment-instructions div {
    color: #344054;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.payment-redirect-page {
    display: grid;
    gap: 14px;
}
.payment-redirect-page form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.address-card p {
    margin: 0;
    color: #344054;
    line-height: 1.7;
}
.account-form {
    margin-bottom: 18px;
}
.admin-body {
    background: #f3f6fa;
}
.admin-header {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0 24px;
}
.admin-header .brand {
    min-width: 180px;
}
.admin-header .top-nav {
    justify-content: flex-start;
    overflow-x: auto;
}
.admin-header .top-nav a {
    white-space: nowrap;
}
.admin-main {
    width: min(1600px, calc(100% - 32px));
    padding: 18px 0 44px;
}
.admin-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.admin-layout > div,
.admin-layout > form {
    min-width: 0;
}
.admin-layout h1 {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1.2;
}
.admin-layout h2 {
    margin-top: 22px;
    font-size: 18px;
}
.admin-menu {
    position: sticky;
    top: 84px;
    display: grid;
    align-content: start;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 8px;
}
.admin-menu a {
    display: flex;
    align-items: center;
    min-height: 38px;
    border-radius: 7px;
    padding: 8px 10px;
    color: #344054;
    font-weight: 800;
}
.admin-menu a:hover {
    background: #f3f7ff;
    color: var(--brand);
}
.admin-menu a.is-active {
    background: #eef4ff;
    color: var(--brand);
}
.admin-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-summary span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.admin-summary strong {
    display: block;
    margin-top: 6px;
    color: var(--brand-dark);
    font-size: 26px;
}
.admin-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.endpoint-card {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 14px;
}
.endpoint-card strong {
    color: var(--brand-dark);
}
.endpoint-card code {
    display: block;
    overflow-x: auto;
    border-radius: 7px;
    background: #f3f6fa;
    padding: 8px;
    color: #344054;
    white-space: nowrap;
}
.endpoint-card span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}
.admin-filter {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 190px)) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 12px;
}
.admin-wide-form {
    width: 100%;
    max-width: none;
}
.admin-wide-form,
.admin-layout > .settings-form {
    border-radius: 10px;
}
.admin-layout > .settings-form {
    max-width: 980px;
}
.admin-layout > .admin-wide-form {
    max-width: 1180px;
}
.admin-thumb {
    width: 74px;
}
.admin-thumb img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: contain;
    object-position: center center;
    background: #fff;
}
.admin-fieldset {
    display: grid;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
}
.admin-fieldset legend {
    padding: 0 6px;
    color: var(--brand-dark);
    font-weight: 900;
}
.admin-upload-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) auto;
    gap: 10px;
    align-items: center;
    border: 1px dashed #b7c7ff;
    border-radius: 10px;
    background: #f7faff;
    padding: 12px;
}
.admin-upload-box p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}
.upload-status {
    grid-column: 1 / -1;
    min-height: 20px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.upload-status.success { color: var(--ok); }
.upload-status.warning { color: #8a5200; }
.upload-status.error { color: var(--danger); }
.large-textarea {
    min-height: 160px;
}
.admin-json {
    max-width: 520px;
    max-height: 140px;
    overflow: auto;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 12px;
}
.section-head.split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.admin-layout .table-wrap {
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(23, 32, 51, .04);
}
.admin-layout table {
    min-width: 880px;
    font-size: 14px;
}
.admin-layout th {
    color: #475467;
    font-size: 12px;
    font-weight: 900;
    text-transform: none;
    white-space: nowrap;
}
.admin-layout td {
    vertical-align: middle;
}
.admin-layout td,
.admin-layout th {
    padding: 11px 12px;
}
.admin-layout tr:hover td {
    background: #fbfdff;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: #f8fafc; }
.site-footer {
    margin-top: 18px;
    background: #172033;
    color: #d7deea;
}
.footer-back-top {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: #253247;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.footer-back-top:hover {
    background: #314058;
}
.footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
    gap: 28px;
    width: min(1480px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 30px;
}
.footer-column {
    display: grid;
    align-content: start;
    gap: 9px;
    min-width: 0;
}
.footer-column h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
}
.footer-column a {
    color: #d7deea;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-brand-name {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1.25;
}
.footer-tagline {
    max-width: 420px;
    margin: 0;
    color: #b9c3d3;
    line-height: 1.65;
}
.footer-contact-list {
    display: grid;
    gap: 8px;
    margin-top: 4px;
    font-style: normal;
}
.footer-contact-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    color: #b9c3d3;
    font-size: 14px;
    line-height: 1.5;
}
.footer-contact-row > span:first-child {
    color: #8793a6;
}
.footer-contact-row a,
.footer-contact-row > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    background: #101827;
}
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    width: min(1480px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0;
}
.footer-bottom p {
    margin: 0;
    color: #b9c3d3;
    font-size: 13px;
    line-height: 1.5;
}
.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}
.footer-bottom-links a {
    color: #d7deea;
    font-size: 13px;
}
.footer-bottom-links a:hover {
    color: #fff;
    text-decoration: underline;
}
.policy-page {
    max-width: 860px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 18px;
}
.policy-page p {
    margin: 0 0 12px;
    color: #344054;
    line-height: 1.8;
}

@media (max-width: 920px) {
    .product-detail {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    }
    .product-gallery-panel {
        grid-column: 1 / -1;
    }
    .product-info-panel h1 {
        font-size: 22px;
    }
    .register-shell {
        grid-template-columns: 1fr;
        max-width: 680px;
    }
    .register-shell .auth-copy {
        padding-top: 0;
    }
    .register-card {
        justify-self: stretch;
    }
}

@media (max-width: 760px) {
    .site-header {
        border-bottom: 0;
    }
    .site-header-primary {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
        width: min(100% - 20px, 1320px);
        min-height: auto;
        padding: 8px 0 10px;
    }
    .site-header-secondary {
        display: none;
    }
    .site-header .header-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 18px;
    }
    .desktop-header-tools {
        display: none;
    }
    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }
    .header-search input {
        height: 40px;
        border-radius: 8px 0 0 8px;
    }
    .header-search button {
        min-height: 40px;
        padding: 0 14px;
    }
    .mobile-nav-menu {
        position: relative;
        display: block;
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }
    .mobile-nav-menu summary {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 40px;
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 8px;
        padding: 0 10px;
        background: transparent;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        list-style: none;
        cursor: pointer;
    }
    .mobile-nav-menu summary::-webkit-details-marker {
        display: none;
    }
    .mobile-menu-icon {
        display: grid;
        gap: 4px;
        width: 18px;
    }
    .mobile-menu-icon span {
        display: block;
        height: 2px;
        border-radius: 999px;
        background: #fff;
    }
    .mobile-nav-panel {
        position: absolute;
        top: calc(100% + 9px);
        left: 0;
        z-index: 30;
        display: grid;
        gap: 12px;
        width: min(340px, calc(100vw - 24px));
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        padding: 12px;
        box-shadow: 0 18px 46px rgba(23, 32, 51, .18);
    }
    .mobile-nav-links {
        display: grid;
        gap: 4px;
    }
    .mobile-nav-links a {
        display: flex;
        align-items: center;
        min-height: 42px;
        border-radius: 8px;
        padding: 0 12px;
        color: #263449;
        font-weight: 700;
    }
    .mobile-nav-links a:hover {
        background: #eef4ff;
        color: var(--brand);
    }
    .mobile-nav-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        border-top: 1px solid var(--line);
        padding-top: 12px;
    }
    .mobile-select-field {
        display: grid;
        gap: 5px;
        min-width: 0;
    }
    .mobile-select-field > span {
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
    }
    .mobile-nav-controls .language-switch select {
        min-width: 0;
        width: 100%;
        border-color: var(--line);
    }
    .mobile-select-field select {
        min-height: 38px;
        padding: 8px 10px;
    }
    .mobile-cart-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        grid-column: 3;
        grid-row: 1;
        min-height: 40px;
        border-radius: 8px;
        padding: 0 10px;
        background: #253247;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
    }
    .site-main { width: min(100% - 18px, 1180px); padding-top: 12px; }
    .hero, .product-detail, .product-detail-content, .company-summary, .admin-layout, .auth-shell, .account-layout { grid-template-columns: 1fr; padding: 16px; }
    .product-gallery-panel,
    .product-info-panel,
    .buy-box {
        grid-column: auto;
    }
    .product-detail {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }
    .product-info-panel {
        display: contents;
    }
    .product-info-lead {
        order: 1;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        padding: 14px;
    }
    .product-gallery-panel {
        order: 2;
    }
    .product-info-body {
        order: 3;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        padding: 14px;
    }
    .buy-box {
        order: 4;
    }
    .product-info-panel h1 {
        font-size: 20px;
    }
    .buy-box {
        position: static;
    }
    .brand-hero {
        grid-template-columns: 1fr;
        padding: 0;
    }
    .brand-hero .hero-copy {
        min-height: 0;
        padding: 26px 18px;
    }
    .brand-hero h1 {
        font-size: 34px;
    }
    .brand-hero .hero-actions {
        margin-top: 6px;
    }
    .brand-hero .hero-actions .button {
        flex: 1 1 150px;
    }
    .hero-finder {
        padding: 16px;
    }
    .hero-finder-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .hero-finder-links a {
        justify-content: center;
        min-height: 38px;
        padding: 0 8px;
        text-align: center;
        font-size: 13px;
        line-height: 1.25;
    }
    .admin-main {
        width: min(100% - 12px, 1600px);
        padding-top: 10px;
    }
    .admin-header {
        grid-template-columns: 1fr;
        padding: 8px 12px;
    }
    .admin-header .brand {
        min-width: 0;
    }
    .admin-header .top-nav {
        grid-column: auto;
        padding-bottom: 2px;
    }
    .admin-layout {
        padding: 0;
        gap: 12px;
    }
    .admin-menu {
        position: static;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 8px;
    }
    .admin-menu a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .admin-filter {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .admin-upload-box {
        grid-template-columns: 1fr;
    }
    .admin-layout h1 {
        font-size: 22px;
    }
    .admin-layout .table-wrap {
        border-radius: 8px;
    }
    .admin-layout table {
        min-width: 760px;
    }
    .auth-shell { min-height: auto; padding: 8px 0 22px; }
    .register-shell { width: 100%; gap: 14px; }
    .register-shell .auth-copy { padding-top: 0; }
    .auth-copy h1 { font-size: 34px; }
    .auth-card { padding: 16px; }
    .policy-agreement { padding: 11px; }
    .policy-agreement-links {
        padding-left: 0;
        display: grid;
        grid-template-columns: 1fr;
    }
    .policy-agreement-links a {
        border-radius: 8px;
        justify-content: flex-start;
    }
    .account-nav {
        position: static;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
    }
    .account-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .account-hero,
    .section-head.split,
    .page-head.split {
        align-items: flex-start;
        flex-direction: column;
    }
    .order-card,
    .summary-grid,
    .admin-summary,
    .admin-info-grid,
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .search-box,
    .filter-bar,
    .category-layout,
    .cart-layout,
    .checkout-layout { grid-template-columns: 1fr; }
    .category-head {
        padding: 14px;
    }
    .category-panel {
        position: static;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 8px;
    }
    .category-panel a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .pagination {
        justify-content: flex-start;
    }
    .trust-strip,
    .category-row,
    .product-line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-category-section {
        padding: 14px;
    }
    .home-category-panel {
        grid-template-columns: 1fr;
    }
    .home-category-feature {
        min-height: 120px;
        align-content: center;
    }
    .home-category-feature strong {
        max-width: none;
        font-size: 22px;
    }
    .home-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
        padding: 28px 0 24px;
    }
    .footer-brand-column {
        grid-column: 1 / -1;
    }
    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .product-card-mobile-head {
        display: grid;
        gap: 3px;
        min-width: 0;
        padding: 9px 9px 6px;
        border-bottom: 1px solid #eef2f6;
        background: #fff;
    }
    .product-mobile-title,
    .product-mobile-highlight {
        display: -webkit-box;
        min-width: 0;
        margin: 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        line-height: 1.28;
        overflow-wrap: anywhere;
    }
    .product-mobile-title {
        -webkit-line-clamp: 1;
        color: #101828;
        font-size: 13px;
        font-weight: 850;
    }
    .product-mobile-highlight {
        min-height: 1.28em;
        -webkit-line-clamp: 1;
        color: #175cd3;
        font-size: 12px;
        font-weight: 750;
    }
    .product-card .product-info > .product-title,
    .product-card .product-info > .product-highlight-line {
        display: none;
    }
    .product-info { gap: 7px; padding: 10px; }
    .product-title { font-size: 14px; line-height: 1.28; }
    .product-info p {
        min-height: 0;
        font-size: 12px;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-info strong,
    .price { font-size: 15px; }
    .product-meta {
        display: grid;
        gap: 4px;
        align-items: start;
    }
    .variant-options {
        border: 0;
        padding: 0;
    }
    .variant-select-wrap {
        width: 100%;
    }
    .variant-choice-list {
        gap: 7px;
    }
    .variant-options.has-one-dimension .variant-choice-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .variant-options.has-one-dimension .variant-choice {
        width: 100%;
    }
    .variant-choice {
        min-height: 36px;
        padding: 5px 8px;
    }
    .variant-choice img {
        width: 30px;
        height: 30px;
    }
    .variant-options-head {
        display: grid;
        gap: 2px;
    }
    .variant-option-list {
        gap: 7px;
    }
    .variant-option {
        grid-template-columns: 42px minmax(0, 1fr);
        flex-basis: 178px;
        width: 178px;
        min-height: 72px;
        padding: 7px;
    }
    .variant-option img {
        width: 42px;
        height: 42px;
    }
    .variant-option-name {
        font-size: 12px;
    }
    .variant-option-stock,
    .variant-option em {
        font-size: 11px;
    }
    .product-meta span,
    .stock-note { font-size: 12px; }
    .promo-badge {
        min-height: 22px;
        border-radius: 6px;
        padding: 3px 6px;
        font-size: 11px;
    }
    .quick-add button,
    .product-info > button {
        min-height: 36px;
        padding: 0 8px;
        font-size: 12px;
    }
    .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
    .cart-line input,
    .cart-line b,
    .cart-remove { grid-column: 2; }
    .cart-thumb { width: 72px; }
    .cart-summary,
    .checkout-summary { position: static; }
    .checkout-items {
        max-height: none;
    }
    .form-actions { display: grid; }
}

@media (max-width: 560px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
        width: min(100% - 24px, 1180px);
    }
    .footer-brand-column {
        grid-column: 1 / -1;
    }
    .footer-column h2 {
        font-size: 14px;
    }
    .footer-column a {
        font-size: 13px;
    }
    .footer-column:last-child {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
    }
    .footer-column:last-child h2 {
        grid-column: 1 / -1;
    }
    .footer-contact-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .footer-bottom-inner {
        width: min(100% - 24px, 1180px);
    }
    .cart-summary,
    .checkout-panel,
    .checkout-summary {
        padding: 12px;
    }
    .shipping-method-option {
        grid-template-columns: 18px minmax(0, 1fr);
    }
    .payment-method-option {
        gap: 8px;
        padding: 10px 9px;
    }
    .payment-method-option strong {
        font-size: 13px;
    }
    .payment-method-option em {
        font-size: 12px;
    }
    .shipping-method-option b {
        grid-column: 2;
        justify-self: start;
    }
    .checkout-item {
        grid-template-columns: 54px minmax(0, 1fr);
    }
    .checkout-item b {
        grid-column: 2;
        justify-self: start;
    }
    .cart-total {
        font-size: 15px;
    }
    .cart-total.grand-total strong {
        font-size: 19px;
    }
}

@media (max-width: 420px) {
    .product-grid,
    .category-row,
    .trust-strip,
    .product-line-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .category-row a,
    .product-line-grid a,
    .trust-strip > div {
        min-height: 64px;
        border-radius: 8px;
        padding: 10px;
    }
    .home-category-section {
        padding: 12px;
    }
    .home-category-feature {
        min-height: 96px;
        padding: 12px;
    }
    .home-category-feature strong {
        font-size: 18px;
    }
    .home-category-feature em {
        font-size: 12px;
    }
    .home-category-list a {
        padding: 9px;
        min-height: 58px;
    }
    .category-row strong,
    .product-line-grid a {
        font-size: 13px;
        line-height: 1.35;
    }
    .brand-hero .hero-copy {
        padding: 22px 14px;
    }
    .brand-hero h1 {
        font-size: 30px;
    }
    .hero-finder {
        padding: 14px;
    }
    .hero-search {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .hero-search input,
    .hero-search button {
        border-radius: 8px;
    }
    .hero-finder-links,
    .hero-product-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .category-row span,
    .trust-strip span {
        font-size: 12px;
    }
    .product-info { padding: 8px; }
    .product-title { font-size: 13px; }
    .product-info strong,
    .price { font-size: 14px; }
    .variant-option-list {
        gap: 6px;
    }
    .variant-choice-list {
        gap: 6px;
    }
    .variant-choice {
        grid-template-columns: auto minmax(0, 1fr);
        max-width: 100%;
        min-height: 34px;
        padding: 5px 7px;
    }
    .variant-choice span {
        font-size: 12px;
    }
    .variant-choice em {
        font-size: 10px;
    }
    .variant-choice img {
        width: 28px;
        height: 28px;
    }
    .variant-option {
        grid-template-columns: 34px minmax(0, 1fr);
        flex-basis: 156px;
        width: 156px;
        min-height: 66px;
        gap: 2px 6px;
        padding: 6px;
    }
    .variant-option.no-image {
        grid-template-columns: minmax(0, 1fr);
        flex-basis: 126px;
        width: 126px;
    }
    .variant-option img {
        width: 34px;
        height: 34px;
    }
    .variant-option-name {
        font-size: 11px;
        line-height: 1.2;
    }
    .variant-option-stock,
    .variant-option em {
        font-size: 10px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }
    .variant-option.is-active::after {
        border-width: 0 0 14px 14px;
    }
    .hero h1 { font-size: 32px; }
    .site-header-primary {
        grid-template-columns: 44px minmax(0, 1fr) auto;
    }
    .mobile-nav-menu summary {
        width: 40px;
        justify-content: center;
        padding: 0;
    }
    .mobile-nav-menu summary > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .mobile-cart-link {
        padding: 0 9px;
    }
    .mobile-cart-link span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .header-search button {
        padding: 0 12px;
    }
}

/* 后台统一排版：固定左侧菜单、简化顶部栏、列表和表单使用一致的间距。 */
.admin-body {
    background: #eef2f6;
}
.admin-body .site-footer {
    display: none;
}
.admin-header {
    grid-template-columns: 240px minmax(0, 1fr) auto;
    min-height: 60px;
    padding: 0 20px;
    border-bottom: 1px solid #d6dee8;
    background: #fff;
    box-shadow: 0 1px 2px rgba(23, 32, 51, .04);
}
.admin-header .brand {
    min-width: 0;
    color: #102033;
    font-size: 18px;
}
.admin-current-title {
    min-width: 0;
    overflow: hidden;
    color: #344054;
    font-size: 15px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-actions {
    justify-content: flex-end;
    gap: 8px;
}
.admin-actions a {
    border: 1px solid var(--line);
    background: #fff;
    white-space: nowrap;
}
.admin-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.admin-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 0;
    width: min(1600px, 100%);
    min-height: calc(100vh - 60px);
    margin: 0 auto;
    align-items: start;
}
.admin-layout > div {
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
    padding: 24px;
}
.admin-layout > form {
    min-width: 0;
    margin: 24px;
}
.admin-menu {
    position: sticky;
    top: 60px;
    display: grid;
    align-content: start;
    gap: 4px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    border: 0;
    border-right: 1px solid #d6dee8;
    border-radius: 0;
    background: #fff;
    padding: 14px 12px;
}
.admin-menu-title {
    padding: 6px 10px 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}
.admin-menu a {
    min-height: 40px;
    border-radius: 8px;
    padding: 8px 10px;
    color: #344054;
    font-size: 14px;
    font-weight: 500;
}
.admin-menu a.is-active {
    background: #e8f0ff;
    color: var(--brand);
}
.admin-layout h1 {
    margin: 0;
    color: #102033;
    font-size: 24px;
    font-weight: 650;
    line-height: 1.25;
}
.admin-layout h2 {
    margin: 0;
    color: #102033;
    font-size: 18px;
    font-weight: 650;
}
.admin-layout .section-head,
.admin-layout .page-head {
    margin: 0;
}
.admin-layout .section-head.split {
    min-height: 40px;
}
.admin-layout .notice,
.admin-layout .alert,
.admin-layout .success {
    margin: 0;
}
.admin-layout input,
.admin-layout textarea,
.admin-layout select {
    min-height: 38px;
    padding: 9px 10px;
}
.admin-layout textarea {
    line-height: 1.5;
}
.admin-layout button,
.admin-layout .button {
    min-height: 38px;
    border-radius: 7px;
    padding: 0 12px;
    font-size: 14px;
}
.admin-layout table .button,
.admin-layout table button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
}
.settings-form {
    gap: 14px;
    border-radius: 10px;
    padding: 20px;
}
.admin-layout > .settings-form,
.admin-layout > .admin-wide-form {
    width: auto;
    max-width: 1120px;
}
.admin-layout > .admin-wide-form {
    max-width: 1240px;
}
.admin-form-section {
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.admin-form-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}
.admin-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0;
    border-radius: 10px;
    padding: 12px;
}
.admin-filter input[type="search"] {
    flex: 1 1 280px;
}
.admin-filter select {
    flex: 0 1 180px;
}
.admin-filter button {
    flex: 0 0 auto;
}
.admin-layout .table-wrap {
    overflow: auto;
    border-radius: 10px;
    background: #fff;
}
.admin-layout table {
    min-width: 920px;
    font-size: 13px;
}
.admin-layout td,
.admin-layout th {
    padding: 10px 12px;
    line-height: 1.45;
}
.admin-layout th {
    color: #475467;
    font-size: 12px;
    font-weight: 600;
    background: #f8fafc;
}
.admin-layout td {
    color: #243044;
    word-break: break-word;
}
.admin-json {
    max-width: 460px;
    max-height: 120px;
    border-radius: 6px;
    background: #f8fafc;
    padding: 8px;
}
.summary-grid {
    gap: 12px;
    margin: 0;
}
.admin-summary {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.summary-grid > div,
.address-card,
.endpoint-card {
    border-color: #dce5ef;
    box-shadow: 0 1px 2px rgba(23, 32, 51, .04);
}
.sticky-actions {
    position: sticky;
    bottom: 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    padding-top: 12px;
}
.admin-body .admin-card {
    width: min(460px, calc(100% - 32px));
    margin: 42px auto;
}

@media (max-width: 1100px) {
    .admin-summary,
    .admin-info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-header {
        grid-template-columns: 1fr auto;
        gap: 8px;
        padding: 8px 12px;
    }
    .admin-current-title {
        grid-column: 1 / -1;
        order: 3;
    }
    .admin-actions {
        grid-column: auto;
        order: 2;
    }
    .admin-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 0;
    }
    .admin-layout > div {
        padding: 12px;
    }
    .admin-layout > form {
        margin: 12px;
    }
    .admin-menu {
        position: static;
        display: flex;
        height: auto;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid #d6dee8;
        padding: 8px 10px;
    }
    .admin-menu-title {
        display: none;
    }
    .admin-menu a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .admin-filter {
        display: grid;
        grid-template-columns: 1fr;
    }
    .admin-filter input[type="search"],
    .admin-filter select,
    .admin-filter button {
        width: 100%;
    }
    .admin-summary,
    .admin-info-grid,
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .admin-layout table {
        min-width: 760px;
    }
}
