/* Cabinet — refined bridal B2B portal */
/* ABCDiatype — the brand typeface carried over from the legacy cabinet (regular + bold). */
@font-face {
    font-family: 'ABCDiatype';
    src: url('../fonts/ABCDiatype-regular.woff') format('woff'),
         url('../fonts/ABCDiatype-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ABCDiatype';
    src: url('../fonts/ABCDiatype-bold.woff') format('woff'),
         url('../fonts/ABCDiatype-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #1a1a1a;
    --ink-2: #4a4a4a;
    --muted: #8a8a8a;
    --muted-2: #b8b8b8;
    --border: #e6e3dd;
    --bg: #fbfaf7;
    --accent: #1a1a1a;
    --accent-soft: #f1ece0;
    --danger: #c84545;
    --success: #2e7d32;
    --radius: 0; /* sharp corners everywhere — matches the legacy cabinet */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --transition: 0.2s ease;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'ABCDiatype', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.small { font-size: 11px; }

/* auth shell */
.auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #fff; }
.auth-card { max-width: 380px; width: 100%; padding: 48px 32px; }
.auth-card h1 { font-size: 16px; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 36px; font-weight: 700; text-align: center; }
/* brand logos on the login card — crossfade on radio switch */
.login-logos { position: relative; height: 64px; margin-bottom: 28px; }
.login-logos img { position: absolute; inset: 0; margin: auto; max-width: 240px; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 0; transform: translateY(4px); transition: opacity 0.3s ease, transform 0.3s ease; }
.login-logos[data-brand="WonaConcept"] .logo-wona,
.login-logos[data-brand="EvaLendel"] .logo-eva { opacity: 1; transform: translateY(0); }
.login-logos .logo-eva { max-width: 260px; }
.auth-card .field { margin-bottom: 22px; }
.auth-card label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.auth-card input[type="email"], .auth-card input[type="password"], .auth-card .pw-field input[type="text"] {
    width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid var(--border);
    background: transparent; font-size: 14px; font-family: inherit; outline: none;
    transition: border-color var(--transition);
}
.auth-card input:focus { border-bottom-color: var(--ink); }
.auth-card .brand-row { display: flex; gap: 28px; margin-bottom: 32px; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.auth-card .brand-row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ink-2); margin: 0; font-size: 11px; }
.auth-card .brand-row input[type="radio"] { accent-color: var(--ink); width: 16px; height: 16px; }
.btn, .btn-primary {
    background: var(--ink); color: #fff; padding: 14px 28px;
    font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
    border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; display: inline-block;
}
.btn:hover, .btn-primary:hover { background: #333; transform: translateY(-1px); box-shadow: var(--shadow-sm); color: #fff; text-decoration: none; }
.btn-text { background: none; border: none; padding: 4px 0; color: var(--ink-2); font-family: inherit; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; cursor: pointer; transition: color var(--transition); }
.btn-text:hover { color: var(--ink); text-decoration: underline; }
.pw-rules { list-style: disc; margin: 8px 0 0 16px; padding: 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
.alert-error { color: var(--danger); font-size: 12px; margin: 8px 0; font-weight: 500; }
.alert-success { color: var(--success); font-size: 13px; margin: 0 0 16px; padding: 12px 16px; background: #f1f7f1; border: 1px solid #cfe3d0; border-radius: var(--radius); }
.demo-hint { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); line-height: 1.8; }
.demo-hint code { background: var(--accent-soft); padding: 2px 6px; font-size: 11px; }

/* app shell */
.app { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.sidebar { padding: 32px 28px; border-right: 1px solid var(--border); background: #fff; }
.brand-mark { margin-bottom: 28px; }
.brand-mark img { display: block; width: auto; max-width: 100%; }
.brand-mark img.logo-wona { height: 52px; }
.brand-mark img.logo-eva { width: 100%; max-width: 210px; height: auto; margin: 10px 0 6px; }
.user-email { font-size: 12px; color: var(--ink-2); word-break: break-all; line-height: 1.5; }
.logout-link { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin: 6px 0 28px; transition: color var(--transition); }
.logout-link:hover { color: var(--ink); text-decoration: none; }
.nav-group { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--border); }
.nav-group.muted .nav-link { color: var(--muted-2); }
/* Uppercase labels site-wide use normal tracking (0.02em) — wide letter-spacing made words balloon
   (menu first, then every eyebrow/table header/button/tab, 2026-09-08). */
.nav-link { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; padding: 7px 0; color: var(--ink-2); transition: color var(--transition); }
.nav-link:hover { color: var(--ink); text-decoration: none; }
.nav-link.active { color: var(--ink); font-weight: 600; }
.nav-link.disabled { cursor: not-allowed; }
.nav-sub { padding-left: 16px; font-size: 11px; letter-spacing: 0.02em; color: var(--muted-2); }

/* menu-driven catalog nav (nested dropdowns) */
.nav-details { margin: 0; }
.nav-details > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.nav-details > summary::-webkit-details-marker { display: none; }
.nav-details > summary::after { content: "+"; font-size: 12px; color: var(--muted-2); margin-left: 8px; transition: transform var(--transition); }
.nav-details[open] > summary::after { content: "–"; }
.nav-details-body { padding-left: 14px; margin: 2px 0 6px 2px; }
/* menu sub-items render exactly like top-level links — same font size on every level */

.main { display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; justify-content: flex-end; padding: 24px 32px; border-bottom: 1px solid var(--border); }
.topbar-right { display: flex; align-items: center; gap: 28px; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.topbar-right a { color: var(--ink-2); transition: color var(--transition); }
.topbar-right a:hover { color: var(--ink); text-decoration: none; }
/* Language switcher (zi7hEa3r): in the top bar and in the corner of the login pages. */
/* A dropdown, not a row of codes, so adding languages does not widen the top bar. */
.lang-switch { position: relative; display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
.lang-switch > summary { list-style: none; cursor: pointer; color: var(--ink-2); white-space: nowrap; transition: color var(--transition); }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover, .lang-switch[open] > summary { color: var(--ink); }
.lang-caret {
    display: inline-block; width: 5px; height: 5px; margin: 0 1px 3px 6px; vertical-align: middle;
    border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor; transform: rotate(45deg);
    transition: transform var(--transition), margin var(--transition);
}
.lang-switch[open] .lang-caret { transform: rotate(-135deg); margin-bottom: 0; }
.lang-menu {
    position: absolute; top: calc(100% + 10px); left: -16px; z-index: 40; margin: 0; padding: 6px 0; list-style: none;
    min-width: 150px; max-height: 320px; overflow-y: auto;
    background: var(--bg, #fbfaf7); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    font-size: 13px; letter-spacing: 0; text-transform: none;
}
.lang-menu a, .lang-menu .active { display: block; padding: 7px 16px; white-space: nowrap; }
.lang-menu a { color: var(--ink-2); }
.lang-menu a:hover { color: var(--ink); background: var(--border); text-decoration: none; }
.lang-menu .active { color: var(--ink); font-weight: 600; }
.lang-menu .active::after { content: "✓"; margin-left: 10px; font-weight: 400; color: var(--muted); }
.auth-shell { position: relative; }
.auth-lang { position: absolute; top: 20px; right: 24px; }
/* In the top bar the switcher is the first item, so its menu opens to the right; in the login corner, to the left. */
.auth-lang .lang-menu { left: auto; right: -12px; }

/* topbar search — the input slides open on click, submit lands on /Search */
.topbar-search { display: inline-flex; align-items: center; gap: 0; margin: -4px 0; }
.topbar-search input {
    width: 0; padding: 4px 0; border: none; border-bottom: 1px solid transparent;
    background: transparent; font-size: 12px; font-family: inherit; outline: none;
    letter-spacing: 0.02em; text-transform: none; opacity: 0;
    transition: width 0.35s ease, opacity 0.25s ease, border-color 0.35s ease, margin 0.35s ease;
}
.topbar-search input::placeholder { color: var(--muted-2); }
.topbar-search.open input { width: 210px; opacity: 1; border-bottom-color: var(--border); margin-right: 14px; }
.topbar-search.open input:focus { border-bottom-color: var(--ink); }
.topbar-search button {
    background: none; border: none; padding: 0; cursor: pointer; font-family: inherit;
    font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase;
    color: var(--ink-2); transition: color var(--transition);
}
.topbar-search button:hover { color: var(--ink); }

.page { padding: 40px clamp(32px, 3.5vw, 72px); max-width: 1760px; width: 100%; margin: 0 auto; }
.page-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.page-title { font-size: 22px; letter-spacing: 0.03em; margin: 0 0 36px; font-weight: 700; font-variant-numeric: lining-nums; }

/* tables */
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 13px; vertical-align: top; }
table.list th { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
table.list tbody tr { transition: background var(--transition); }
table.list tbody tr:hover { background: rgba(241,236,224,0.3); }
.empty-state { border: 1px dashed var(--border); border-radius: var(--radius); padding: 60px 24px; text-align: center; color: var(--muted); font-size: 13px; }
.note { font-size: 12px; color: var(--ink-2); background: var(--accent-soft); padding: 12px 16px; margin-top: 12px; border-radius: var(--radius); }

/* forms — shared */
.input, .textarea, select.input {
    width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid var(--border);
    background: transparent; font-size: 14px; font-family: inherit; outline: none;
    transition: border-color var(--transition);
}
.input:focus, .textarea:focus, select.input:focus { border-bottom-color: var(--ink); }
/* textarea follows the same underline style as every other field (legacy-cabinet look) */
.textarea { resize: vertical; min-height: 48px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.colspan-2 { grid-column: 1 / -1; }
.form-grid { display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.addr-grid { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1200px; }
.addr-grid .form-section { margin: 0; }
.addr-grid > button { justify-self: start; grid-column: 1 / -1; }
@media (min-width: 960px) { .addr-grid { grid-template-columns: 1fr 1fr; } }
.form-section { border-top: 1px solid var(--border); padding-top: 22px; }
.section-title { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; margin: 0 0 18px; }
.checkbox { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.checkbox input { accent-color: var(--ink); width: 16px; height: 16px; cursor: pointer; }

.measurements-sheet { max-width: 920px; margin: 16px 0 48px; }
.measurements-sheet img { width: 100%; height: auto; display: block; }

/* YouTube embeds — same recipe as evalendel.com: the container crops the player (overflow
   hidden + scale) so the vertical video fills the box and YouTube's title banner / logo are
   pushed out of frame; a neutral page-background cover with a spinner sits on top until
   playback is actually running (js/yt.js), and the iframe takes no pointer events at all. */
.product-image { position: relative; }
.pd-main-img { position: relative; }
.product-image iframe.product-video-yt,
.pd-main-img iframe.pd-yt-embed,
.lb-yt-wrap iframe.lb-yt {
    position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
    transform: translate(-50%, -50%) scale(1.35);
    border: 0; display: block; pointer-events: none;
}
.yt-cover {
    position: absolute; inset: 0; z-index: 2; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    opacity: 1; transition: opacity 0.6s ease; pointer-events: none;
}
.yt-cover::after {
    content: ""; width: 26px; height: 26px; border-radius: 50%;
    border: 2px solid var(--border); border-top-color: var(--ink);
    animation: yt-spin 0.9s linear infinite;
}
@keyframes yt-spin { to { transform: rotate(360deg); } }
.yt-live > .yt-cover { opacity: 0; }
.lightbox .lb-yt-wrap { position: relative; height: 85vh; aspect-ratio: 3 / 4; max-width: 90vw; overflow: hidden; }
/* Locally cached YouTube videos play in our own <video>: natural 9:16, centered, page-bg
   gutters (no crop, no player chrome, instant start). */
.product-image video.yt-video, .pd-main-img video.yt-video {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    height: 100%; aspect-ratio: 9 / 16; width: auto; object-fit: cover;
}
/* the generic card/gallery hover-zoom must not cancel the centering transform */
.product-card:hover .product-image video.yt-video, .pd-main-img:hover video.yt-video { transform: translateX(-50%); }
.product-image:has(video.yt-video), .pd-main-img:has(video.yt-video) { background: var(--bg); }
.yt-toggle {
    position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 3;
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.55);
    background: rgba(20,20,20,0.45); color: #fff; cursor: pointer; padding: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0.85; transition: opacity var(--transition);
}
.yt-toggle:hover { opacity: 1; }
.lightbox > .yt-toggle { bottom: 58px; z-index: 5; }
/* Carousel thumb for a YouTube item: the poster jpg is 4:3 with baked-in black side bars — show
   only the central 9:16 video strip, with the page background either side. */
.pd-thumb:has(img.yt-poster) { background: var(--bg); }
.pd-thumb img.yt-poster {
    height: 100%; aspect-ratio: 9 / 16; width: auto;
    margin: 0 auto; display: block; object-fit: cover;
}

/* Admin products: bulk-selection bar + column-filter popovers */
.bulk-bar[hidden] { display: none; }
.bulk-bar {
    position: sticky; top: 8px; z-index: 20;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 10px 16px; margin-bottom: 12px;
}
.bulk-dd, .th-filter { position: relative; display: inline-block; }
.bulk-dd > summary, .th-filter > summary { list-style: none; cursor: pointer; }
.bulk-dd > summary::-webkit-details-marker, .th-filter > summary::-webkit-details-marker { display: none; }
.dd-panel {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
    background: var(--bg, #fbfaf7); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 12px; min-width: 220px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.dd-scroll { max-height: 280px; overflow-y: auto; }
.dd-panel .checkbox { margin-bottom: 6px; }
/* table headers are uppercase/tiny — the popover content must not inherit that */
.th-filter { margin-left: 4px; vertical-align: middle; color: var(--muted); }
.th-filter.on { color: var(--ink); }
.th-filter.on > summary svg { filter: drop-shadow(0 0 1px currentColor); }
.th-panel { font-size: 13px; font-weight: 400; letter-spacing: normal; text-transform: none; }
.th-panel a { display: block; padding: 4px 8px; border-radius: 4px; color: var(--ink); white-space: nowrap; }
.th-panel a:hover { background: var(--accent-soft); }
.th-panel a.sel { font-weight: 700; }

/* Static read-only values in form-styled sections (Partnership Details). */
.kv-static { font-size: 13px; line-height: 1.7; padding: 6px 0; }

/* PDF presentation previews (Franchise & Store in Store) */
.pdf-preview { display: block; position: relative; max-width: 900px; border: 1px solid var(--border); }
.pdf-preview img { width: 100%; height: auto; display: block; }
.pdf-preview-hint {
    position: absolute; inset: auto 0 0 0; padding: 10px 14px;
    background: rgba(20, 20, 20, 0.82); color: #fff;
    font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
    opacity: 0; transition: opacity 0.2s ease;
}
.pdf-preview:hover .pdf-preview-hint { opacity: 1; }
.pdf-preview-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* Important News */
.news-list { list-style: none; margin: 24px 0; padding: 0; max-width: 760px; }
.news-list-item { display: flex; gap: 28px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--border); }
.news-date { flex: 0 0 92px; font-size: 12px; }
.news-link { font-weight: 600; letter-spacing: 0.02em; }
.news-layout { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 1.5fr); gap: 56px; margin-top: 28px; max-width: 1100px; }
.news-article-title { text-transform: uppercase; letter-spacing: 0.04em; }
.news-body { font-size: 13px; line-height: 1.9; }
.news-body p { margin: 0 0 18px; }
.news-body ol, .news-body ul { margin: 0 0 18px; padding-left: 22px; }
.news-body li { margin-bottom: 6px; }
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; gap: 20px; } }

/* custom styled select */
select, .filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    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 d='M1 1.5L6 6.5L11 1.5' stroke='%238a8a8a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px !important;
    cursor: pointer;
}

/* marketing info */
.marketing-grid { display: grid; grid-template-columns: 1fr; gap: 56px; max-width: 1100px; }
@media (min-width: 960px) { .marketing-grid { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); } }
.marketing-block { margin-bottom: 40px; }
.marketing-list { list-style: none; margin: 0; padding: 0; }
.marketing-list li { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); transition: background var(--transition); }
.marketing-list li:hover { background: rgba(241,236,224,0.2); margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.marketing-list .m-title { font-size: 14px; font-weight: 500; }
.marketing-list .m-link { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.marketing-cta p { font-size: 13px; line-height: 1.7; margin: 12px 0; max-width: 360px; }
.marketing-cta .small { font-size: 11px; }
.marketing-cta .btn-primary { display: inline-block; margin-top: 10px; }
.social-row { display: flex; gap: 22px; margin-top: 12px; flex-wrap: wrap; }
.social-row a { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* tabs */
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.tabs .tab { padding: 12px 2px; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--transition), border-color var(--transition); }
.tabs .tab:hover { color: var(--ink); text-decoration: none; }
.tabs .tab.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.tabs .tabs-aside { margin-left: auto; align-self: center; font-size: 12px; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-head .section-head-aside { margin-left: auto; font-size: 12px; }
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.page-head .page-title { margin: 0; }
.page-head > .btn-text { margin-left: auto; font-size: 12px; }
.dd-panel.dd-panel-right { left: auto; right: 0; }
.dd-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.section-head .company-filter { margin-left: 28px; font-size: 12px; }
.company-filter .dd-panel { min-width: 260px; }
/* the company menu above Orders and the cart (rZOKTkkZ) */
.company-filter-top { display: block; margin: 4px 0 20px; font-size: 12px; }
.company-filter-top > summary { display: inline-block; }
.company-filter .checkbox { white-space: nowrap; }
.export-popup .field { margin: 18px 0 0; }
.export-popup .field > label { display: block; margin-bottom: 8px; }
.export-popup .alert-error { margin: 0 0 6px; }
.export-companies { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow-y: auto; }
.export-popup .export-companies .checkbox { display: flex; margin: 0; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.export-period { display: flex; gap: 16px; flex-wrap: wrap; }
.balance-table { margin-bottom: 28px; }
.balance-table td, .balance-table th { white-space: nowrap; }
/* The long figure names (LgHM8RPn) wrap onto two lines instead of widening the table. */
.balance-table thead th { white-space: normal; max-width: 130px; vertical-align: bottom; }
.balance-table tfoot .balance-total td { border-top: 1px solid var(--ink); }
/* A long company name is cut with "…"; the full name shows on hover (title). */
.cell-trunc { display: inline-block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* filter row */
.row-form { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.filter-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-search {
    max-width: 260px; padding: 9px 0; border: none; border-bottom: 1px solid var(--border);
    background: transparent; font-size: 13px; font-family: inherit; outline: none; transition: border-color var(--transition);
}
.filter-search:focus { border-bottom-color: var(--ink); }
.filter-search::placeholder { color: var(--muted-2); }
.filter-select {
    max-width: 180px; padding: 9px 32px 9px 0; border: none; border-bottom: 1px solid var(--border);
    background-color: transparent; font-size: 13px; font-family: inherit; color: var(--ink); transition: border-color var(--transition);
}
.filter-select:focus { border-bottom-color: var(--ink); outline: none; }

.alert-info { background: #f6f5ee; border: 1px solid var(--border); padding: 12px 16px; font-size: 13px; margin: 14px 0; border-radius: var(--radius); }

/* marketing share form */
.share-form { max-width: 760px; margin-top: 16px; }
.share-form-actions { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 16px; margin-top: 36px; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--ink); background: #fff; color: var(--ink); text-transform: uppercase; letter-spacing: 0.02em; font-family: inherit; font-size: 11px; font-weight: 600; transition: all var(--transition); cursor: pointer; }
.btn-secondary:hover { background: var(--accent-soft); text-decoration: none; transform: translateY(-1px); }

/* contact us */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; max-width: 900px; margin-top: 24px; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-cta p { font-size: 14px; line-height: 1.65; color: var(--ink); margin: 16px 0 24px; max-width: 380px; }
.contact-cta .btn-text { font-size: 11px; letter-spacing: 0.02em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 2px; display: inline-block; }
.contact-footer { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--border); max-width: 900px; }
.contact-rows { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 16px; }
@media (min-width: 720px) { .contact-rows { grid-template-columns: 1fr 1fr 1fr; } }
.contact-rows .muted { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }

/* product grid */
.catalog-section { margin-bottom: 48px; }
.catalog-section-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 0 16px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.catalog-section-title { font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 700; margin: 0; font-variant-numeric: lining-nums; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
@media (min-width: 1600px) { .product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; } }
.product-card { display: block; position: relative; transition: transform var(--transition); }
.product-card:hover { text-decoration: none; transform: translateY(-2px); }
.product-tag { position: absolute; top: 8px; left: 8px; background: var(--ink); color: #fff; font-size: 9px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; padding: 4px 10px; z-index: 1; }
.product-image { aspect-ratio: 3/4; background: var(--accent-soft); margin-bottom: 14px; overflow: hidden; }
.product-image img, .product-image video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.product-card:hover .product-image img, .product-card:hover .product-image video { transform: scale(1.04); }
.product-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.product-meta { font-size: 10px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.product-price { font-size: 14px; font-weight: 500; }

/* search page — matched collections render as prominent photo cards, unlike product tiles */
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.collection-card { position: relative; display: block; aspect-ratio: 5/3; background: var(--accent-soft); overflow: hidden; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; transition: transform 0.4s ease; }
.collection-card:hover { text-decoration: none; }
.collection-card:hover img { transform: scale(1.03); }
.collection-card-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; padding: 20px 22px; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 100%); }
.collection-card-body .eyebrow { color: rgba(255,255,255,0.75); }
.collection-card-name { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.collection-card-cta { color: rgba(255,255,255,0.85); font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; margin-top: 6px; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 2px; transition: color var(--transition), border-color var(--transition); }
.collection-card:hover .collection-card-cta { color: #fff; border-color: #fff; }

/* product detail */
.back-link { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 24px; font-size: 13px; color: var(--muted); transition: color var(--transition); }
.back-link:hover { color: var(--ink); text-decoration: none; }
.pd-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pd-topbar .back-link { margin-bottom: 24px; }
.pd-edit-link { font-size: 13px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr); gap: 48px; max-width: 1440px; }
@media (min-width: 1600px) { .pd-grid { gap: 64px; } }
.pd-gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 24px; align-self: start; }
.pd-main-img { aspect-ratio: 3/4; background: var(--accent-soft); overflow: hidden; cursor: zoom-in; }
.pd-main-img img, .pd-main-img video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.pd-main-img:hover img, .pd-main-img:hover video { transform: scale(1.02); }
.pd-thumb-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pd-thumb { aspect-ratio: 3/4; background: var(--accent-soft); overflow: hidden; cursor: pointer; opacity: 0.5; border: 2px solid transparent; transition: all var(--transition); }
.pd-thumb:hover { opacity: 0.85; }
.pd-thumb.active { opacity: 1; border-color: var(--ink); }
.pd-thumb img, .pd-thumb video { width: 100%; height: 100%; object-fit: cover; }
.pd-meta { display: flex; flex-direction: column; }
.pd-collection-link { text-decoration: none; transition: color var(--transition); }
.pd-collection-link:hover { color: var(--ink); text-decoration: underline; }
.style-name { font-size: 24px; letter-spacing: 0.03em; margin: 8px 0 10px; font-weight: 700; font-variant-numeric: lining-nums; }
.style-name-sm { font-size: 15px; letter-spacing: 0.02em; margin-bottom: 8px; font-weight: 700; }
.style-meta { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.style-price { font-size: 20px; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 16px; }
.wishlist-toggle { margin-bottom: 20px; }
.btn-wishlist { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--border); padding: 10px 20px; font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; cursor: pointer; color: var(--ink-2); transition: all var(--transition); }
.btn-wishlist:hover { border-color: var(--ink); color: var(--ink); }
.btn-wishlist.active { border-color: var(--ink); color: var(--ink); }
.pd-section { border-top: 1px solid var(--border); padding: 20px 0; }
.pd-section .eyebrow { margin-bottom: 12px; display: block; }
.pd-section .value { color: var(--ink); font-weight: 500; }
.pd-set { display: flex; flex-direction: column; gap: 0; }
.pd-set .eyebrow { margin-bottom: 6px; }
/* Hover = the row background of the balance tables, plus one underline on the name only (qo5OP0J3). */
.pd-set-item { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; padding: 6px 8px; margin: 0 -8px; transition: background .15s; }
.pd-set-item:hover { text-decoration: none; background: rgba(241,236,224,0.3); }
.pd-set-item:hover .pd-set-name { text-decoration: underline; text-underline-offset: 3px; }
.pd-set-thumb { flex: 0 0 56px; width: 56px; aspect-ratio: 3/4; background: var(--accent-soft); overflow: hidden; }
.pd-set-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-set-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pd-set-type { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.pd-set-name { font-size: 14px; }
.pd-set-price { font-size: 14px; white-space: nowrap; }
/* Matching accessories: the Complete the Set look, the products side by side (scrolls sideways when they do not fit) */
.pd-acc .eyebrow { margin-bottom: 8px; }
.pd-acc-list { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.pd-acc-list::-webkit-scrollbar { height: 4px; }
.pd-acc-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.pd-acc-item { flex: 0 0 96px; display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; padding: 6px; margin: 0 -6px; transition: background .15s; }
.pd-acc-item:hover { text-decoration: none; background: rgba(241,236,224,0.3); }
.pd-acc-item:hover .pd-set-name { text-decoration: underline; text-underline-offset: 3px; }
.pd-acc-item .pd-set-thumb { width: 100%; flex: none; margin-bottom: 4px; }
.pd-acc-item .pd-set-name { font-size: 13px; }
.pd-acc-item .pd-set-price { font-size: 13px; }
.pd-desc-strong { font-weight: 600; }
.pd-desc-collapsible { cursor: pointer; }
.pd-desc-collapsible.collapsed .pd-desc-rest { display: none; }
.pd-desc-collapsible .pd-desc-more { display: none; color: var(--muted); font-weight: 600; letter-spacing: 0.1em; margin-left: 2px; }
.pd-desc-collapsible.collapsed .pd-desc-more { display: inline; }

.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--border); cursor: pointer; font-size: 12px; font-weight: 500; background: #fff; transition: all var(--transition); border-radius: var(--radius); }
.swatch input { display: none; }
.swatch:hover { border-color: var(--muted); }
.swatch.active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.swatch .dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.18); display: inline-block; }
.swatch .hint { font-size: 9px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
/* Sample orders already placed in this colour (product page): a count, "Details" under it on hover. */
.swatch-row:has(.swatch-orders) { gap: 12px; padding-top: 8px; }
.swatch:has(.swatch-orders) { position: relative; }
.swatch-orders { position: absolute; top: -9px; right: -9px; display: inline-flex; z-index: 2; }
/* Black count badge, always a circle; the number is centred and its font shrinks as digits grow (up to "999+"). */
.swatch-count { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 0 0 2px var(--bg, #fff); font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; cursor: pointer; }
.swatch-count[data-digits="3"] { font-size: 9px; }
.swatch-count[data-digits="4"] { font-size: 7.5px; letter-spacing: -0.05em; }
.swatch-orders-more { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 6px; z-index: 5; }
.swatch-orders-more .btn-text { background: #fff; border: 1px solid var(--border); padding: 4px 10px; white-space: nowrap; box-shadow: var(--shadow-lg); }
.swatch-orders:hover .swatch-orders-more, .swatch-orders:focus-within .swatch-orders-more { display: block; }
.ordered-title { font-weight: 400; }
.ordered-title .muted { font-weight: inherit; }
.ordered-scroll { max-height: min(50vh, 420px); overflow-y: auto; margin-top: 16px; }
.ordered-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ordered-table th { position: sticky; top: 0; background: var(--surface, #fff); text-align: left; font-size: 10px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding: 0 16px 8px 0; border-bottom: 1px solid var(--border); }
.ordered-table td { padding: 10px 16px 10px 0; border-bottom: 1px solid var(--border); white-space: nowrap; }
.ordered-table a { text-decoration: underline; text-underline-offset: 3px; }

/* Fixed-size cells; the wide "Measurements" chip takes exactly two of them. */
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, 52px); gap: 6px; }
.size-chip { padding: 10px 0; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; cursor: pointer; font-size: 12px; font-weight: 500; background: #fff; transition: all var(--transition); }
.size-chip input { display: none; }
.size-chip:hover { border-color: var(--muted); }
.size-chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.size-chip.measure { grid-column: span 2; padding: 10px 4px; font-size: 11px; }

.toggle-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.toggle-chip { padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; background: #fff; text-align: left; transition: all var(--transition); }
.toggle-chip input { display: none; }
.toggle-chip:hover { border-color: var(--muted); }
.toggle-chip .t-title { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.toggle-chip .t-sub { font-size: 10px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.toggle-chip.active { border-color: var(--ink); background: rgba(26,26,26,0.02); box-shadow: 0 0 0 1px var(--ink); }

/* file upload */
.file-upload { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.file-upload input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.file-upload-btn { display: inline-block; padding: 10px 18px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; cursor: pointer; background: #fff; transition: all var(--transition); }
.file-upload-btn:hover { border-color: var(--ink); background: var(--accent-soft); }
.file-upload-label { font-size: 12px; color: var(--muted); }

/* lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1000; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 36px; cursor: pointer; line-height: 1; padding: 8px; opacity: 0.7; transition: opacity var(--transition); }
.lightbox-close:hover { opacity: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 48px; cursor: pointer; padding: 16px; opacity: 0.6; transition: opacity var(--transition); line-height: 1; }
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 13px; letter-spacing: 0.02em; }

/* product order form — full-width black bar like the legacy cabinet */
.pd-meta .btn-primary { width: 100%; margin-top: 8px; }
.cart-summary .btn-primary { width: 100%; }

/* cart */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr); gap: 32px; align-items: start; max-width: 1440px; }
.cart-line { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.cart-line-thumb { aspect-ratio: 3/4; background: var(--accent-soft); overflow: hidden; }
.cart-line-thumb img, .cart-line-thumb video { width: 100%; height: 100%; object-fit: cover; }
.cart-line-body { display: flex; flex-direction: column; }
.cart-line-link { color: inherit; text-decoration: none; }
.cart-line-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.kv-grid { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 10px 0 12px; font-size: 12px; }
.kv-grid dt { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.free-offer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; margin: 0 0 24px; background: var(--accent-soft); font-size: 14px; line-height: 1.5; }
.free-offer .btn { flex: 0 0 auto; }
@media (max-width: 640px) { .free-offer { flex-direction: column; align-items: stretch; } }
/* Admin → Free items: product types / collections as multi-select dropdowns styled like the other inputs. */
.multi-dd { display: block; max-width: 420px; }
.multi-dd > summary { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 20px; position: relative; }
.multi-dd > summary::after { content: "▾"; position: absolute; right: 4px; }
.multi-dd .dd-panel { width: 100%; }
.multi-dd .checkbox { white-space: nowrap; }
.row-editing td { background: var(--accent-soft); }
/* Admin → Product: the translations under the description and the additional info */
.tr-fields { margin-top: 8px; }
.tr-fields > summary { cursor: pointer; }
.tr-fields .tr-label { display: block; margin-top: 10px; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.kv-grid dd { margin: 0; }
.cart-line-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cart-line-foot .price { font-size: 17px; font-weight: 500; }
/* Admin lists: drag-and-drop reordering (js/sortable.js) */
.sortable-item { cursor: grab; }
.sortable-item.dragging { opacity: 0.4; cursor: grabbing; }
.sortable-item.drop-before { box-shadow: inset 0 2px 0 var(--ink); }
.sortable-item.drop-after { box-shadow: inset 0 -2px 0 var(--ink); }
.sortable-busy { opacity: 0.6; pointer-events: none; }
.drag-handle { color: var(--muted); font-size: 14px; letter-spacing: -2px; margin-right: 6px; user-select: none; cursor: grab; }
.price-old { color: var(--muted); font-weight: 400; font-size: 0.85em; margin-right: 6px; }
.discount-badge { display: inline-block; margin-left: 8px; padding: 2px 7px; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; color: #fff; background: var(--accent); border-radius: var(--radius); vertical-align: middle; }
/* cart price with a badge: the badge sits on the line of the price text, "Free" first (bDOFDq0I) */
.price-badged { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }
.price-badged .discount-badge, .price-badged .price-old, .price-badged .price-mult { margin: 0; line-height: 1.4; }
.price-badged > .discount-badge:first-child { margin-right: 4px; }
.kv-row.discount-row { color: var(--accent); font-weight: 500; }
.cart-line-actions { display: inline-flex; align-items: center; gap: 18px; }
/* the free bundle of a line, taken or offered (urj7IoiT) */
.cart-bundle { margin-top: 14px; padding: 12px 14px; background: var(--accent-soft); border: 1px solid transparent; border-radius: var(--radius); }
.cart-bundle.is-offered { background: #fff; border: 1px dashed var(--border); }
.cart-bundle.is-offered .cart-bundle-item { opacity: 0.75; }
.cart-bundle-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cart-bundle-head .eyebrow { margin: 0; }
.cart-bundle-head .btn-secondary { padding: 6px 14px; }
.cart-bundle-item { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 6px 0; font-size: 13px; }
.cart-bundle-item + .cart-bundle-item { border-top: 1px solid var(--border); }
.cart-bundle-thumb { width: 36px; height: 48px; background: #fff; overflow: hidden; }
.cart-bundle-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-bundle-name .price-mult { margin-left: 6px; color: var(--muted); }
/* Order details: the line's free bundle, listed under the dress in the Dress column. */
.line-bundle { margin-top: 10px; font-size: 12px; }
.line-bundle .line-bundle-item + .line-bundle-item { margin-top: 6px; }
.line-bundle-item { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: normal; }
.line-bundle-plus { color: var(--muted); width: 8px; }
.line-bundle-item img { width: 24px; height: 32px; object-fit: cover; flex: none; }
.line-bundle-name { min-width: 0; }
.line-bundle-name a { color: inherit; }
.line-bundle .discount-badge { flex: none; }
.cart-images { display: flex; gap: 6px; }
.cart-images img { width: 48px; height: 64px; object-fit: cover; }
.cart-summary { border: 1px solid var(--border); padding: 28px; background: #fff; border-radius: var(--radius); }

/* per-line edit panel — slides open under the item (like the legacy cabinet) */
.cart-edit { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.cart-edit.open { grid-template-rows: 1fr; }
.cart-edit-inner { overflow: hidden; min-height: 0; }
.cart-edit-form { border: 1px solid var(--border); background: #fff; padding: 20px 22px; margin-top: 16px; opacity: 0; transform: translateY(-6px); transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s; }
.cart-edit.open .cart-edit-form { opacity: 1; transform: translateY(0); }
.cart-edit-form .grid-2 { margin-bottom: 14px; }
.cart-edit-actions { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.cart-edit-radios { display: flex; gap: 22px; align-items: center; padding: 10px 0; font-size: 13px; }
.cart-edit-radios label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cart-edit-radios input { accent-color: var(--ink); }
.cart-summary h3 { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.kv-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; }
.inline-form { display: inline; }

/* complete the set */
.set-section { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.set-section .product-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.set-section .product-card:hover .product-image img { transform: scale(1.03); }
.set-section .product-image { transition: transform 0.2s; overflow: hidden; }
.set-section .product-image img { transition: transform 0.3s; }

/* order details */
.order-meta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px; padding: 20px 0 28px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.order-meta-row > div { padding: 12px 16px; background: rgba(241,236,224,0.25); border-radius: var(--radius); }
.order-meta-row > div strong { font-weight: 600; }
/* Order details: Order Lines / Invoices tabs and the grouped invoice table */
.detail-tab { margin-top: 4px; }
table.order-invoices tr.invoice-head td { padding-top: 18px; border-bottom: none; }
table.order-invoices tr.invoice-item td { padding-top: 6px; padding-bottom: 6px; border-bottom: none; color: var(--ink-2); }
table.order-invoices tr.invoice-item:last-child td, table.order-invoices tr.invoice-item + tr.invoice-head td { border-top: 1px solid var(--border); }
table.order-invoices tr.invoice-item td:nth-child(2) { padding-left: 24px; }
/* Product page: rush order sits apart from the order-type chips as its own decision */
.checkbox.rush-order { margin-top: 22px; margin-bottom: 0; font-size: 14px; font-weight: 500; }
/* All Items filters: date range inputs */
.filter-date { display: inline-flex; align-items: center; gap: 8px; }
.filter-date .eyebrow { white-space: nowrap; }
/* Non-production environment label (Site:EnvironmentLabel) */
/* Admin viewing the site as a client (uNFaZFe2): above everything, the way back always in reach. */
.viewas-banner { position: sticky; top: 0; z-index: 1001; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; background: var(--ink); color: #fff; font-size: 12px; padding: 8px 16px; text-align: center; }
.viewas-banner strong { font-weight: 600; }
.viewas-exit { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.viewas-blocked { flex-basis: 100%; color: #ffd7d2; }
.env-banner { position: sticky; top: 0; z-index: 1000; background: #b3261e; color: #fff; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; }
/* Cart: order submission in progress */
.btn-primary:disabled { opacity: 0.55; cursor: progress; }
/* The free items offer is frozen while the order is being sent (dD1Le46K). */
.free-offer .btn:disabled { opacity: 0.55; cursor: progress; }
.submit-progress { margin-top: 14px; }
.submit-progress-bar { position: relative; height: 3px; background: var(--border); overflow: hidden; border-radius: 2px; }
.submit-progress-bar::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: var(--ink); animation: submit-slide 1.2s ease-in-out infinite; }
@keyframes submit-slide { 0% { left: -40%; } 100% { left: 100%; } }
/* Login: show / hide password */
.pw-field { position: relative; }
.pw-field input[type="password"], .pw-field input[type="text"] { padding-right: 36px; width: 100%; }
.pw-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: none; padding: 4px; cursor: pointer; color: var(--muted); display: inline-flex; }
.pw-toggle:hover { color: var(--ink); }
/* One icon at a time (the `hidden` attribute does not hide SVG elements): eye = show, crossed eye = hide. */
.pw-toggle .pw-eye-off { display: none; }
.pw-toggle[aria-pressed="true"] .pw-eye { display: none; }
.pw-toggle[aria-pressed="true"] .pw-eye-off { display: inline; }
/* Order line details: the value carries the weight, the label stays light */
.line-kv { color: var(--ink-2); }
.line-kv b { font-weight: 600; color: var(--ink); }
/* In order lines the old price is as large as the new one, only grey, regular and struck through (c1mzOjda). */
.line-kv .price-old { font-size: 1em; }
.line-thumb { width: 72px; height: 96px; object-fit: cover; display: block; margin-bottom: 8px; }
.line-images { display: flex; gap: 6px; }
.line-images img { width: 48px; height: 64px; object-fit: cover; }
img[data-zoom] { cursor: zoom-in; transition: opacity var(--transition); }
img[data-zoom]:hover { opacity: 0.85; }
.status-pill { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; padding: 5px 10px; background: var(--accent-soft); }

/* pagination */
.pagination { display: flex; align-items: center; gap: 8px; margin-top: 28px; justify-content: center; }
.page-num { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink); border-radius: var(--radius); transition: background var(--transition); }
.page-num:hover { background: var(--accent-soft); text-decoration: none; }
.page-num.active { font-weight: 700; background: var(--ink); color: #fff; }
.page-num.page-gap { color: var(--muted); min-width: 20px; }
/* Admin → Translations */
.tr-langs { display: flex; gap: 8px; flex-wrap: wrap; }
.tr-lang { padding: 8px 14px; border: 1px solid var(--border); color: var(--ink); text-decoration: none; font-size: 13px; }
.tr-lang:hover { text-decoration: none; border-color: var(--ink); }
.tr-lang.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.tr-lang.active .muted { color: rgba(255,255,255,.7); }
.tr-table td { vertical-align: top; }
.tr-source { white-space: pre-wrap; font-size: 13px; line-height: 1.5; max-height: 260px; overflow: auto; }
.btn-text.disabled { opacity: .35; pointer-events: none; }

/* event popup */
.event-popup-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 2000; align-items: center; justify-content: center; }
.event-popup-overlay.active { display: flex; }
.event-popup { background: #fff; max-width: 520px; width: 90vw; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); animation: popupIn 0.35s ease; }
@keyframes popupIn { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.event-popup.size-small { max-width: 400px; }
.event-popup.size-large { max-width: 780px; }
.event-popup-eyebrow-row { display: flex; justify-content: space-between; gap: 12px; }
.event-popup-text img { max-width: 100%; height: auto; }
.event-popup-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--ink); line-height: 1; padding: 4px; z-index: 1; opacity: 0.5; transition: opacity var(--transition); }
.event-popup-close:hover { opacity: 1; }
.event-popup-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.event-popup-body { padding: 28px 32px 32px; }
.event-popup-title { font-size: 20px; font-weight: 700; margin: 10px 0 14px; letter-spacing: 0.02em; }
.event-popup-text { color: var(--ink-2); line-height: 1.7; margin: 0 0 14px; }
.event-popup-actions { margin-top: 22px; display: flex; gap: 12px; }
.event-popup-actions .btn { display: inline-block; padding: 12px 26px; background: var(--accent); color: #fff; font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); transition: all var(--transition); }
.event-popup-actions .btn:hover { background: #333; text-decoration: none; transform: translateY(-1px); }
/* Terms and Conditions (J0ipI1eS): the text scrolls inside its box; Accept bottom right once it is read to the end */
.terms-box { max-width: 860px; }
.terms-box [hidden] { display: none !important; }
.terms-scroll { max-height: 60vh; overflow-y: auto; padding: 4px 20px 8px 0; color: var(--ink-2); line-height: 1.7; border-bottom: 1px solid var(--border); }
.terms-scroll h3 { font-size: 13px; font-weight: 600; color: var(--ink); margin: 18px 0 6px; }
.terms-scroll ul { margin: 0 0 6px; padding-left: 20px; }
.terms-popup .terms-scroll { max-height: 55vh; }
.terms-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-height: 44px; margin-top: 16px; }
.terms-hint { margin-right: auto; }
.terms-accepted { font-weight: 500; color: var(--ink); }
.terms-error { color: var(--danger, #c00); }
.event-popup-overlay.closing { opacity: 0; transition: opacity 0.4s ease; }

/* admin */
/* Admin sections: burger button + current section name; the list drops down over the page (Admin/_AdminNav) */
.admin-menu { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.admin-menu-btn { display: flex; align-items: center; gap: 14px; padding: 12px 4px; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.admin-menu-burger { display: inline-flex; flex-direction: column; justify-content: space-between; width: 18px; height: 12px; }
.admin-menu-burger i { display: block; height: 2px; background: var(--ink); transition: transform var(--transition), opacity var(--transition); }
.admin-menu.open .admin-menu-burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.admin-menu.open .admin-menu-burger i:nth-child(2) { opacity: 0; }
.admin-menu.open .admin-menu-burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.admin-menu-current::after { content: "▾"; margin-left: 10px; color: var(--muted); font-size: 10px; }
.admin-menu-list { display: none; position: absolute; top: 100%; left: 0; z-index: 1500; min-width: 240px; padding: 8px 0; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.admin-menu.open .admin-menu-list { display: block; }
.admin-menu-item { display: block; padding: 10px 22px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; transition: all var(--transition); }
.admin-menu-item:hover { color: var(--ink); background: #f7f5f1; text-decoration: none; }
.admin-menu-item.active { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }

.admin-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }

.admin-form { display: flex; flex-direction: column; gap: 12px; }
.admin-form h3 { margin: 16px 0 4px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.form-row { display: flex; flex-direction: column; gap: 4px; }
.form-row label { font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: 0.02em; }
.form-actions { margin-top: 16px; display: flex; gap: 12px; }

.admin-image-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.admin-image-row.hidden-img { opacity: 0.4; }
.admin-image-thumb { flex-shrink: 0; }
.admin-image-info { flex: 1; min-width: 0; }
.admin-image-actions { display: flex; gap: 4px; flex-shrink: 0; }

.category-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--border); }

/* per-menu-item product-type picker (Admin → Menu) */
.menu-types { position: relative; }
.menu-types > summary { list-style: none; cursor: pointer; white-space: nowrap; }
.menu-types > summary::-webkit-details-marker { display: none; }
.menu-types-form { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 18px; font-size: 12px; }
.menu-types-form label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 400; }
.menu-types-form input { accent-color: var(--ink); }
.menu-types-form .btn-text, .menu-types-form .muted { grid-column: 1 / -1; }
.menu-types[open] > .menu-types-form { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border: 1px solid var(--border); padding: 12px 16px; box-shadow: var(--shadow-md); min-width: 260px; }
.category-actions { margin-left: auto; display: flex; gap: 4px; }

.category-tree { max-height: 400px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; }

.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; }
.alert-error:empty { display: none; }
/* ASP.NET renders the validation-summary div (with an empty <ul>) even when the form is valid —
   :empty can't catch it, so hide the box until there are actual errors. */
.validation-summary-valid { display: none; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; }

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--muted-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* focus visible — keyboard only */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* selection */
::selection { background: var(--accent-soft); color: var(--ink); }

/* 404 page */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 24px; }
.notfound-code { font-size: 110px; font-weight: 700; letter-spacing: 0.06em; line-height: 1; color: var(--ink); margin-top: 16px; }
.notfound-divider { width: 48px; height: 1px; background: var(--ink); opacity: 0.25; margin: 32px auto 28px; }
.notfound-title { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; margin: 0 0 12px; }
.notfound-text { max-width: 420px; color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 36px; }
.notfound-actions { display: flex; align-items: center; gap: 28px; }
@media (max-width: 560px) {
    .notfound-code { font-size: 88px; }
    .notfound-actions { flex-direction: column; gap: 16px; }
}

/* Catalog attribute filters: a bar above the grid and a right-hand drawer (like the public site) */
.filters-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -4px 0 24px; }
.filters-overlay { position: fixed; inset: 0; background: rgba(26,26,26,0.45); z-index: 900; }
.filters-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 901; padding: 28px 32px; overflow-y: auto; box-shadow: -8px 0 30px rgba(0,0,0,0.08); }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.filter-group { border-bottom: 1px solid var(--border); padding: 14px 0; }
.filter-group summary { cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "+"; font-weight: 400; color: var(--muted); }
.filter-group[open] summary::after { content: "–"; }
.filter-group[open] summary { margin-bottom: 12px; }
.filters-actions { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
body.no-scroll { overflow: hidden; }

/* ============================================================================
   Responsive: tablets and phones (GulJJxX3). Desktop rules above stay untouched;
   everything here only narrows the layout as the viewport shrinks.
   ============================================================================ */

/* Burger (top bar) and close button (drawer) exist in the markup on every size; hidden on desktop. */
.topbar-burger { display: none; width: 22px; height: 16px; padding: 0; border: none; background: none; cursor: pointer; flex-direction: column; justify-content: space-between; margin-right: auto; }
.topbar-burger i { display: block; height: 2px; background: var(--ink); }
.sidebar-close { display: none; position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; padding: 4px; opacity: 0.6; }
.sidebar-overlay { display: none; }

/* --- ≤ 900px: one column, the sidebar becomes an off-canvas drawer --- */
@media (max-width: 900px) {
    .app { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); z-index: 1200;
        overflow-y: auto; padding: 56px 24px 32px; border-right: 1px solid var(--border);
        transform: translateX(-100%); transition: transform 0.25s ease; box-shadow: none;
    }
    body.sidebar-open .sidebar { transform: translateX(0); box-shadow: var(--shadow-lg); }
    .sidebar-overlay { position: fixed; inset: 0; background: rgba(26,26,26,0.45); z-index: 1100; }
    body.sidebar-open .sidebar-overlay { display: block; }
    body.sidebar-open { overflow: hidden; }
    .sidebar-close { display: block; }
    .topbar { justify-content: space-between; align-items: center; padding: 16px 20px; position: sticky; top: 0; background: var(--bg); z-index: 50; }
    .topbar-burger { display: flex; }
    .topbar-right { gap: 18px; }
    .topbar-search.open input { width: 150px; }
    .page { padding: 24px 20px; }
    .page-title { margin-bottom: 24px; }

    /* two-column page layouts collapse (product page and cart keep two columns down to 760px) */
    .pd-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr); gap: 28px; }
    .pd-gallery { position: static; }
    .cart-grid { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 24px; }
    .news-layout, .marketing-grid { grid-template-columns: 1fr; }

    /* wide tables scroll sideways instead of breaking the page */
    table.list { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table.list th, table.list td { white-space: nowrap; }
    table.list td.wrap, table.list th.wrap { white-space: normal; }

    .tabs { overflow-x: auto; gap: 22px; }
    .tabs .tab { white-space: nowrap; }
    .catalog-section-head { flex-wrap: wrap; gap: 8px; }
    .event-popup-body { padding: 22px 20px 24px; }
    .filters-drawer { padding: 22px 20px; }
}

/* --- ≤ 760px: product page and cart stack --- */
@media (max-width: 760px) {
    .pd-grid { grid-template-columns: 1fr; }
    .pd-thumb-strip { grid-template-columns: repeat(6, 1fr); }
    .cart-grid { grid-template-columns: 1fr; }
}

/* --- ≤ 600px: phones --- */
@media (max-width: 600px) {
    .page { padding: 20px 16px; }
    .page-title { font-size: 19px; margin-bottom: 20px; }
    .topbar { padding: 14px 16px; }
    .topbar-right { gap: 14px; font-size: 10px; }
    .topbar-search.open input { width: 110px; margin-right: 8px; }

    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .set-section .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .collection-grid { grid-template-columns: 1fr; }
    .product-name { font-size: 13px; }
    .style-name { font-size: 20px; }

    .grid-2, .share-form-actions, .toggle-row { grid-template-columns: 1fr; }
    .grid-2 { gap: 16px; }
    .cart-line { grid-template-columns: 90px 1fr; gap: 14px; padding: 18px 0; }
    .kv-grid { grid-template-columns: 1fr; gap: 2px; }
    .kv-grid dt { margin-top: 6px; }
    .cart-line-foot { flex-wrap: wrap; gap: 10px; }
    .cart-summary { padding: 20px; }
    .cart-edit-radios { flex-wrap: wrap; gap: 12px 18px; }
    .cart-edit-form { padding: 16px; }
    .order-meta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 20px; margin-bottom: 20px; }
    .news-list-item { flex-direction: column; gap: 4px; }
    .filter-row { gap: 10px; }
    .filter-search, .filter-select { max-width: none; width: 100%; }
    .filter-date { width: 100%; }
    .pagination { flex-wrap: wrap; gap: 2px; }
    .pagination .page-num { min-width: 32px; }
    .pagination .btn-text { padding-left: 6px; padding-right: 6px; }
    .lightbox-nav { font-size: 36px; padding: 10px; }
    .lightbox-prev { left: 2px; }
    .lightbox-next { right: 2px; }
    .empty-state { padding: 40px 16px; }

    /* iOS zooms into inputs smaller than 16px */
    .input, .textarea, .filter-search, .filter-select, select.input { font-size: 16px; }

    /* admin on a phone: the forms stack, the menu list spans the width */
    .admin-menu-list { left: 0; right: 0; min-width: 0; }
    .bulk-bar { gap: 10px; }
    .category-row { flex-wrap: wrap; }
    .category-actions { margin-left: 0; flex-wrap: wrap; width: 100%; }
    .admin-image-row { flex-wrap: wrap; }
}

/* Date inputs (js/dates.js): the snap-to-earliest hint, and a placeholder for an empty field on iOS, whose
   native date input renders nothing until a date is picked. */
.date-hint { font-size: 11px; color: var(--danger); margin-top: 4px; min-height: 0; }
.date-hint:empty { display: none; }
@supports (-webkit-touch-callout: none) {
    input[type="date"] { position: relative; min-height: 42px; }
    input[type="date"].is-empty::before { content: attr(data-placeholder); color: var(--muted-2); position: absolute; left: 0; top: 50%; transform: translateY(-50%); pointer-events: none; }
    input[type="date"]::-webkit-date-and-time-value { text-align: left; }
}

/* Quantity of a line ordered as several pieces (ubKGDI6W). */
.qty-form { display: flex; align-items: center; gap: 12px; }
/* "− n +" instead of the browser's arrows (those show only on hover); one underline under the whole group */
.qty-stepper { display: inline-flex; align-items: center; border-bottom: 1px solid var(--border); transition: border-color var(--transition); }
.qty-stepper:focus-within { border-bottom-color: var(--ink); }
.qty-stepper .qty-input { width: 3.2em; padding-left: 0; padding-right: 0; border-bottom: 0; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.qty-stepper .qty-input::-webkit-inner-spin-button, .qty-stepper .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-step { border: 0; background: none; padding: 2px 8px; font-size: 18px; line-height: 1; color: var(--ink-2); cursor: pointer; border-radius: var(--radius); font-family: inherit; }
.qty-step:hover { color: var(--ink); background: var(--accent-soft); }
/* in the cart the number reads like the other values next to it, and "× n = total" like the price */
.kv-grid .qty-input { font-size: inherit; padding-top: 2px; padding-bottom: 2px; }
.kv-grid .qty-step { font-size: 14px; padding: 1px 6px; }
.price-mult { font-size: inherit; font-weight: inherit; color: var(--ink-2); margin-left: 4px; }
