:root {
  --linen: #F6F5F2;
  --linen-2: #EFEDE9;
  --paper: #FFFFFF;
  --ink: #111111;
  --muted: #6E6A64;
  --walnut: #111111;
  --walnut-2: #111111;
  --terra: #111111;
  --terra-2: #333333;
  --olive: #111111;
  --gold: #111111;
  --gold-light: #FFFFFF;
  --line: #E7E4DF;
  --ok-bg: #F1F0EC;
  --gotham: "Gotham", "Montserrat", Arial, sans-serif;
  --serif: var(--gotham);
  --sans: var(--gotham);
  --mono: var(--gotham);
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 10px 30px -14px rgba(17, 17, 17, .16);
  --shadow-up: 0 2px 4px rgba(17, 17, 17, .05), 0 18px 40px -16px rgba(17, 17, 17, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 500; line-height: 1.55; background: var(--linen); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
h4 { font-weight: 700; }
b, strong { font-weight: 700; }
::selection { background: #111; color: #fff; }
.btn, .tab, .seg label, .chips label, .bag-row, .bc-item, .room, .variant, .mq, .sl-item, .mat-cur, .wt-btn, .tone-btn,
.presets button, .ctl, input, select, textarea, .lock, .icon-btn, .link-btn, .opt, .tone, .worktypes label {
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease),
              box-shadow .22s var(--ease), transform .22s var(--ease), opacity .22s var(--ease);
}
.eyebrow { font: 600 13px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.btn { border-radius: 999px; font-weight: 700; letter-spacing: 0; }
.btn--primary { background: #111; color: #fff; box-shadow: 0 8px 18px -10px rgba(17, 17, 17, .55); }
.btn--primary:hover { background: #2A2A2A; transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(17, 17, 17, .6); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line); color: #111; background: #fff; }
.btn--ghost:hover { border-color: #111; background: #fff; color: #111; }
.price { font-family: var(--sans); font-weight: 800; color: #111; letter-spacing: -.02em; }
.link-btn { color: #111; }
.link-btn:hover { color: var(--muted); }
a { text-decoration-color: rgba(17, 17, 17, .3); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.header { background: rgba(246, 245, 242, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(17, 17, 17, .06); }
.header .brand-logo { height: 42px; width: auto; }
.nav:empty { display: none; }
.header-actions { margin-left: auto; }
.header-phone b { font-weight: 700; }
.header-phone small { color: var(--muted); }
.icon-btn { border-radius: 999px; background: #fff; border-color: var(--line); }
@media (max-width: 980px) { .header-lead { display: none; } .header .brand-logo { height: 34px; } }
.fit-head { position: relative; overflow: hidden; padding: 44px 0 30px; }
.fit-head .wrap { position: relative; z-index: 1; }
.fit-head h1 { font-size: clamp(30px, 4vw, 52px); max-width: 16ch; }
.fit-head .lead { max-width: 54ch; color: #3A3733; }
.fit-head-brush {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%) rotate(-4deg); width: min(46%, 700px);
  pointer-events: none; opacity: .16; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%, #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 35%, #000 80%, transparent 100%);
}
@media (max-width: 980px) { .fit-head-brush { display: none; } }
.stage { border: 0; border-radius: 20px; box-shadow: var(--shadow); background: #E9E7E3; }
.stage-card { border-radius: 16px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 20px 44px -22px rgba(17, 17, 17, .45); }
.stage-empty .stage-upload { box-shadow: 0 12px 26px -12px rgba(17, 17, 17, .6); }
.stage-hint { background: rgba(17, 17, 17, .72); }
.stage-drop { border-color: #111; color: #111; border-radius: 20px; }
.seg { background: var(--linen-2); border: 0; border-radius: 999px; padding: 4px; gap: 2px; overflow: visible; }
.seg label { border: 0 !important; border-radius: 999px; padding: 9px 12px; font-weight: 600; color: var(--muted); }
.seg label:hover { color: #111; }
.seg input:checked + label { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(17, 17, 17, .08), 0 4px 12px -6px rgba(17, 17, 17, .25); }
.seg input:focus-visible + label { outline: 2px solid #111; outline-offset: 0; }
.seg--sm label { padding: 7px 12px; }
.chips label { border-radius: 999px; border-color: var(--line); background: #fff; font-weight: 600; }
.chips label:hover { border-color: #BDB8B1; }
.chips input:checked + label { background: #111; color: #fff; border-color: #111; box-shadow: 0 6px 14px -8px rgba(17, 17, 17, .6); }
.chips input:checked + label small { color: #CFCBC5; }
.chips input:focus-visible + label { outline-color: #111; }
.tab { border-color: var(--line); background: #fff; font-weight: 600; }
.tab:hover { background: #fff; color: #111; border-color: #BDB8B1; }
.tab[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }
.fit-controls { gap: 14px; }
.ctl { border: 0; border-radius: 18px; padding: 18px 20px; background: #fff; box-shadow: var(--shadow); }
.ctl-head { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.ctl-n { background: var(--linen-2); color: #111; border-radius: 999px; font: 700 12px/1 var(--sans); width: 26px; height: 26px; }
.work-hint { background: var(--linen); border-left: 0; border-radius: var(--r-sm); padding: 10px 14px; color: #4A4641; }
.lbl { color: var(--muted); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=search], select, textarea {
  border-radius: 12px; border-color: var(--line); background-color: #fff;
}
input:hover, select:hover, textarea:hover { border-color: #CFCAC3; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: #111; box-shadow: 0 0 0 4px rgba(17, 17, 17, .08); }
.lock { border-radius: 12px; }
.lock[aria-pressed="true"] { color: #111; border-color: #111; background: var(--linen); }
.presets button { border-radius: 999px; background: #fff; border-color: var(--line); padding: 8px 12px; font-weight: 600; }
.presets button:hover { border-color: #111; }
.std-sizes { display: grid; gap: 6px; margin-top: 10px; }
.std-sizes-lbl { font-size: 12px; font-weight: 600; color: var(--muted); }
.std-sizes-row { display: flex; flex-wrap: wrap; gap: 6px; }
.std-sizes button { display: inline-flex; align-items: baseline; gap: 5px; min-height: 32px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 13px/1.1 var(--sans); cursor: pointer; }
.std-sizes button small { font-weight: 500; color: var(--muted); }
.std-sizes button:hover { border-color: #111; }
.std-sizes button.on, .presets button.on { border-color: #111; background: #111; color: #fff; }
.std-sizes button.on small { color: rgba(255, 255, 255, .75); }
.wt-btn, .tone-btn { border-radius: 12px; border-color: var(--line); }
.wt-btn:hover, .wt-pick.open .wt-btn, .tones.open .tone-btn { border-color: #111; }
.wt-menu, .tone-menu { border: 0; border-radius: 16px; box-shadow: var(--shadow-up); padding: 8px; animation: gm-pop .18s var(--ease); }
.worktypes label { border-radius: 10px; }
.worktypes label:hover { background: var(--linen); }
.worktypes input:checked + label { background: var(--linen-2); box-shadow: none; }
.wt-cur svg, .worktypes label svg { color: #111; }
.bag-row { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "thumb main stock" "thumb main stock"; border-radius: 12px; border-color: transparent; }
.bag-row:hover { background: var(--linen); }
.bag-row.on { background: #fff; border-color: #111; box-shadow: 0 0 0 1px #111 inset; }
.bag-thumb { border-radius: 8px; }
.bag-thumb.is-photo { height: 64px; object-fit: contain; }
.bc-item img.bc-pic { aspect-ratio: 1; }
@media (max-width: 560px) { .bag-thumb.is-photo { height: 56px; } }
.bc-item { border: 0; border-radius: 16px; box-shadow: var(--shadow); }
.bc-item:hover { box-shadow: var(--shadow-up); }
.bc-item.on { box-shadow: 0 0 0 2px #111, var(--shadow); }
.mat-cur { border-radius: 14px; border-color: var(--line); }
.mat-cur:hover { border-color: #111; }
.mat-cur-pic { border-radius: 10px; }
.mat-cur-go { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.mq { border-radius: 10px; border-color: var(--line); }
.mq:hover { box-shadow: var(--shadow); }
.mq.on { outline: 2px solid #111; outline-offset: 2px; }
.sl-item { border-radius: 12px; border-color: var(--line); }
.sl-item:hover { border-color: #CFCAC3; }
.sl-item.on { border-color: #111; box-shadow: 0 0 0 1px #111 inset; }
.sl-pic { border-radius: 8px; }
.sl-corner { position: relative; overflow: hidden; background: #fff; }
.sl-corner img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.ml + .ml { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.room { border-radius: 12px; border-color: transparent; background: #fff; box-shadow: var(--shadow); }
.room img { border-radius: 8px; }
.room:hover { box-shadow: var(--shadow); }
.room[aria-checked="true"] { border-color: #111; box-shadow: 0 0 0 1px #111 inset, var(--shadow); }
.variant { border: 0; border-radius: 14px; box-shadow: var(--shadow); }
.variant.on { box-shadow: 0 0 0 2px #111, var(--shadow); }
.variants-empty { border-radius: 14px; border-color: #DAD6D0; }
.price-box { border-radius: 20px; }
.price-box .r-total .price, .r-total .price { color: #111; }
.stage-total { border-radius: 16px; background: #fff; box-shadow: var(--shadow); border: 0; }
.breakdown summary { color: #111; }
.tip { border-radius: 12px; border-color: var(--line); }
.color-note.stage-color-note { border: 0; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
details.stage-color-note--top { display: block; }
@media (max-width: 980px) { details.stage-color-note--top { display: none; } details.stage-color-note--bottom { display: block; } }
details.stage-color-note > summary { display: flex; gap: 8px; align-items: flex-start; list-style: none; cursor: pointer; color: var(--muted); }
details.stage-color-note > summary::-webkit-details-marker { display: none; }
details.stage-color-note > summary svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
details.stage-color-note .cn-why { margin-left: 4px; color: var(--ink, #111); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
details.stage-color-note[open] .cn-why { display: none; }
details.stage-color-note > p { margin: 8px 0 0 24px; color: var(--muted); line-height: 1.5; }
.st-warn { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; background: #FFF4E0; border: 0; font-size: 13.5px; line-height: 1.45; }
.st-warn span { flex: 1 1 220px; }
.st-warn--soft { background: var(--linen); }
.st-warn--stop { background: #FDECEA; color: #8A1F14; box-shadow: inset 0 0 0 1.5px #E7A9A0; }
.st-warn--stop b { color: #7A1A10; }
#ctl-mat .st-warn--stop { margin: 10px 0 4px; }
.bagcat, .cropper { border-radius: 24px; background: var(--linen); box-shadow: 0 40px 90px -30px rgba(17, 17, 17, .5); }
.bagcat[open], .cropper[open] { animation: gm-rise .26s var(--ease); }
.bagcat::backdrop, .cropper::backdrop { background: rgba(17, 17, 17, .38); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.bagcat-head, .bagcat-foot { background: #fff; border-color: var(--line); }
.bagcat-close { border-radius: 999px; border-color: var(--line); }
.modal { background: rgba(17, 17, 17, .38); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal.open .modal-box { animation: gm-rise .26s var(--ease); }
.modal-box { border-radius: 24px; border: 0; }
.consent a { color: #111; }
@keyframes gm-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes gm-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.lead-band { border: 0; border-radius: 28px; box-shadow: var(--shadow-up); }
.lead-band-info { background: #111; color: #fff; position: relative; overflow: hidden; justify-content: flex-end; min-height: 320px; }
.lead-band-info .info { position: relative; z-index: 1; }
.lead-band-info .info-row svg { color: #fff; }
.lead-brush { position: absolute; inset: -10% -20% auto auto; width: 120%; filter: invert(1); opacity: .5; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 95%); mask-image: linear-gradient(180deg, #000 40%, transparent 95%); }
.footer { background: #111; color: #BDB8B1; padding: 56px 0 30px; border-radius: 32px 32px 0 0; margin-top: 24px; }
.footer a { color: #fff; }
.footer .brand-logo { height: 48px; width: auto; }
.footer-gm { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer-gm p { margin: 0; color: #fff; font-weight: 600; }
.footer-gm ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; text-align: left; }
.footer-bottom { font-weight: 300; border-color: rgba(255, 255, 255, .1); }
@media (max-width: 760px) { .footer-gm { grid-template-columns: 1fr; gap: 18px; } .footer { border-radius: 24px 24px 0 0; } }
.mobile-bar { grid-template-columns: 1fr 1.6fr; }
.mobile-bar .primary { background: #111; border-radius: 999px; }
.calc-sticky { background: #111; border-radius: 18px; box-shadow: 0 16px 34px -14px rgba(17, 17, 17, .6); }
@media (max-width: 980px) {
  .stage-sticky { background: rgba(246, 245, 242, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(17, 17, 17, .06); }
  .stage { border-radius: 16px; }
  .ctl { border-radius: 16px; padding: 16px; }
}
.opt { border-radius: 14px; border-color: var(--line); padding: 11px 14px; }
.opt:hover { border-color: #CFCAC3; }
.opt:has(input:checked) { border-color: transparent; background: var(--linen); box-shadow: 0 0 0 1px #111 inset; }
.opt input { border-color: #B5B0A9; }
.opt input[type=checkbox] { border-radius: 6px; }
.opt input[type=checkbox]:checked { background: #111; border-color: #111; }
.opt input[type=checkbox]::before { background: #fff; }
.bag-list { border-radius: 14px; border-color: var(--line); padding: 4px; }
.ef-card { border: 0; border-radius: 16px; box-shadow: var(--shadow); }
.ef-pic { border-radius: 12px; }
.ef-add { border-radius: 16px; border-color: #D8D4CE; }
.ef-add:hover { border-color: #111; }
.opts--cards .opt--card { border-radius: 14px; }
.opt--card.is-rec::after { background: #111; }
.hb-rec { border-radius: 12px; }
@media (max-width: 480px) {
  .stage-photo-actions { margin-left: 0; gap: 8px 10px; flex-wrap: wrap; }
  .stage-photo-actions .link-btn { white-space: nowrap; font-size: 13px; }
}
.bag-search { position: relative; }
.bag-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 25; max-height: 340px; overflow-y: auto; overscroll-behavior: contain; padding: 4px; background: #fff; border: 1px solid #D8D4CE; border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(17, 17, 17, .35); }
.bag-suggest[hidden] { display: none; }
.bag-sug { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.bag-sug:hover, .bag-sug:focus-visible { background: #F3F1EC; outline: none; }
.bag-sug-pic { display: block; width: 56px; height: 56px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .08); }
img.bag-sug-pic { object-fit: contain; object-position: center; }
.bag-sug b { display: block; font-size: 14px; line-height: 1.25; }
.bag-sug small { display: block; overflow: hidden; font-size: 12px; line-height: 1.3; color: #6B6660; white-space: nowrap; text-overflow: ellipsis; }
.bag-sug em { font-size: 12px; font-style: normal; color: #6B6660; white-space: nowrap; }
.bag-sug-none { margin: 0; padding: 12px; font-size: 13.5px; color: #6B6660; }
.fa-reset { margin-right: auto; }
.fa-card { cursor: pointer; }
.fa-card details, .fa-card summary { cursor: default; }
.fa-more summary { min-height: 34px; display: flex; align-items: center; font-size: 13px; font-weight: 700; cursor: pointer; }
.fa-more .fa-why { margin-top: 2px; }
.photo-adj { display: grid; gap: 6px; margin: 8px 0 0; padding: 12px 14px; background: #fff; border: 1px solid #E2DED7; border-radius: 14px; }
.photo-adj[hidden] { display: none; }
.adj-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.adj-btns { display: flex; align-items: center; gap: 12px; }
.adj-row { display: grid; grid-template-columns: 108px minmax(0, 1fr) 36px; align-items: center; gap: 8px; min-height: 34px; margin: 0; font-size: 13.5px; }
.adj-row input { width: 100%; accent-color: #111; }
.adj-row output { font-size: 12.5px; text-align: right; color: #6B6660; font-variant-numeric: tabular-nums; }
.stage-card { padding: 0; gap: 5px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.stage-empty .btn.stage-upload { flex-direction: column; gap: 9px; min-height: 0; padding: 6px 14px; border: 0; border-radius: 12px; background: none; color: #111; box-shadow: none; font-size: 15px; font-weight: 600; letter-spacing: .005em; text-shadow: 0 0 10px rgba(255, 255, 255, .9); transform: none; }
.stage-empty .stage-upload svg { box-sizing: border-box; width: 46px; height: 46px; padding: 13px; border-radius: 50%; background: #fff; color: #111; box-shadow: 0 8px 20px -10px rgba(17, 17, 17, .45), inset 0 0 0 1px rgba(17, 17, 17, .08); transition: background .2s, color .2s, transform .2s; }
.stage-empty .stage-upload:hover svg, .stage-empty .stage-upload:focus-within svg { background: #111; color: #fff; transform: translateY(-1px); }
.stage-empty .stage-upload:focus-within { outline: 2px solid #111; outline-offset: 2px; }
.stage-empty p { margin: 0; font-size: 12.5px; font-weight: 400; color: #5F5A54; text-shadow: 0 0 8px rgba(255, 255, 255, .9); }
.stage-empty small { font-size: 11.5px; color: #77716A; text-shadow: 0 0 8px rgba(255, 255, 255, .9); }
.stage-empty small svg { width: 12px; height: 12px; color: currentColor; }
.opt-badge { position: absolute; top: -8px; right: 10px; padding: 2px 8px; border-radius: 999px; background: #111; color: #fff; font: 700 10.5px/1.5 var(--sans); font-style: normal; letter-spacing: .02em; white-space: nowrap; }
.opt:has(.opt-badge) { position: relative; overflow: visible; margin-top: 6px; }
.ef-auto { display: block; width: 100%; min-height: 38px; margin-top: 6px; padding: 6px 10px; border: 0; background: none; color: inherit; font: 700 13px/1.25 inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fa-love { margin: 6px 0 2px; font-size: 13px; font-style: italic; line-height: 1.4; color: #5F5A54; }
#stage-canvas { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.ef-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ef-btns .ef-change { margin-top: 3px; }
.ef-try { background: #111; border-color: #111; color: #fff; }
.ef-try:hover { background: #333; }
.fa-frames { display: block; margin: 2px 0 6px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.fa-frames b { color: #111; }
.stage-hint { background: none; color: #5F5A54; }
.stage-empty.is-icon .btn.stage-upload { font-size: 0; padding: 0; }
.stage-empty.is-icon .stage-upload svg { width: 36px; height: 36px; padding: 10px; }
.bag-tools select, .bag-tools .tone-btn { box-sizing: border-box; width: 100%; height: 44px; min-height: 44px; margin: 0; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 12px; background-color: #fff; color: #111; font: 600 14px/1.2 var(--sans); box-shadow: none; transition: border-color .15s; cursor: pointer; }
.bag-tools .tone-btn { display: flex; align-items: center; gap: 8px; }
.bag-tools .tone-btn i { width: 18px; height: 18px; }
.bag-tools select { -webkit-appearance: none; appearance: none; background-image: none; text-overflow: ellipsis; }
.bag-tools select:hover, .bag-tools .tone-btn:hover, .bag-tools select:focus, .tones.open .tone-btn { border-color: #111; outline: none; }
.bag-tools .tones { height: 44px; }
.bag-tools select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center / 10px 10px; }
.bag-tools .tone-btn::after { content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 10px; border: 0; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform .15s; }
.tones.open .tone-btn::after { transform: translateY(-50%) rotate(180deg); }
input[type=range]:focus, input[type=range]:focus-visible { outline: 0; border-color: transparent; box-shadow: none; }
.panno { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #e3e1dc); }
.panno-switch { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.panno-switch input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--ink, #111); }
.panno-switch b { display: block; font-size: 14px; }
.panno-switch small { display: block; font-size: 12.5px; color: var(--muted, #6b6b6b); }
.panno-body { display: grid; gap: 12px; margin-top: 12px; }
.panno-body[hidden], .panno[hidden] { display: none; }
.panno-forms { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.panno-form { display: grid; justify-items: center; gap: 5px; padding: 8px 6px; border: 1px solid var(--line, #e3e1dc); border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: 12px; line-height: 1.25; text-align: center; cursor: pointer; }
.panno-form svg { width: 44px; height: 30px; }
.panno-form rect { fill: var(--muted, #6b6b6b); opacity: .45; }
.panno-form:hover { border-color: var(--ink, #111); }
.panno-form.on { border-color: var(--ink, #111); box-shadow: inset 0 0 0 1px var(--ink, #111); font-weight: 600; }
.panno-form.on rect { fill: var(--ink, #111); opacity: 1; }
.panno-gap { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.panno-gap input { width: 84px; }
.panno-partlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.panno-part { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid var(--line, #e3e1dc); border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.panno-part small { color: var(--muted, #6b6b6b); font-size: 11.5px; }
.panno-part:hover { border-color: var(--ink, #111); }
.panno-part.on { border-color: var(--ink, #111); box-shadow: inset 0 0 0 1px var(--ink, #111); }
.canvas-prof { display: grid; gap: 8px; margin: 10px 0; }
.canvas-prof:empty { display: none; }
.canvas-switch-note { margin: 6px 0 8px; padding: 8px 12px; border-radius: 8px; background: rgba(0, 0, 0, .05); }
.canvas-gap[hidden] { display: none; }
.canvas-gap { display: grid; grid-template-columns: 1fr 84px; align-items: center; gap: 4px 10px; font-size: 13.5px; }
.canvas-gap small { grid-column: 1 / -1; color: var(--muted, #6b6b6b); font-size: 12px; }
.canvas-gap input { width: 84px; }
.profile-pick { position: relative; }
.profile-btn { width: 100%; cursor: pointer; }
.profile-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(404px, 92vw); max-height: 460px; overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; background: #fff; border: 1px solid var(--line, #e3e1dc); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.profile-menu[hidden] { display: none; }
.profile-menu.to-left { left: auto; right: 0; }
.profile-opt { display: grid; align-content: start; gap: 3px; padding: 9px 10px; border: 1px solid var(--line, #e3e1dc); border-radius: 10px; background: transparent; color: var(--ink, #111); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.profile-pics { display: flex; gap: 6px; align-items: stretch; margin-bottom: 4px; }
.profile-pics svg { width: 88px; height: 56px; flex: none; }
.profile-pics canvas { width: 72px; height: 56px; border-radius: 6px; flex: none; }
.profile-all { align-content: center; }
.profile-opt small { color: var(--muted, #6b6b6b); font-size: 11.5px; }
.profile-opt em { font-style: normal; color: var(--muted, #6b6b6b); font-size: 11.5px; line-height: 1.3; }
.profile-opt:hover { border-color: var(--ink, #111); }
.profile-opt.on { border-color: var(--ink, #111); box-shadow: inset 0 0 0 1px var(--ink, #111); }
.profile-note { grid-column: 1 / -1; margin: 2px 0 0; font-size: 11.5px; color: var(--muted, #6b6b6b); }
@media (max-width: 760px) { .profile-menu { position: static; width: 100%; margin-top: 6px; max-height: none; box-shadow: none; } }
.panno-keep { display: grid; gap: 8px; margin-top: 12px; padding: 12px; border: 1px solid var(--ink, #111); border-radius: 10px; font-size: 14px; }
.panno-keep[hidden] { display: none; }
.panno-keep-list { display: flex; flex-wrap: wrap; gap: 8px; }
.panno-keep-opt { display: grid; gap: 2px; justify-items: center; padding: 8px; border: 1px solid var(--line, #e3e1dc); border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: 12.5px; cursor: pointer; }
.panno-keep-opt canvas { width: 96px; height: 72px; }
.panno-keep-opt small { color: var(--muted, #6b6b6b); }
.panno-keep-opt:hover { border-color: var(--ink, #111); }
.bag-similar { display: grid; gap: 8px; margin: 10px 0; padding: 10px 12px; border: 1px solid var(--ink, #111); border-radius: 10px; font-size: 13.5px; }
.bag-similar[hidden] { display: none; }
.bag-similar-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.bag-similar-opt { display: grid; justify-items: center; gap: 3px; padding: 8px 6px; border: 1px solid var(--line, #e3e1dc); border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
.bag-similar-opt canvas { width: 72px; height: 72px; }
.bag-similar-sku { font-weight: 600; overflow-wrap: anywhere; text-align: center; }
.bag-similar-opt small { color: var(--muted, #6b6b6b); font-size: 11px; text-align: center; }
.bag-similar-opt:hover { border-color: var(--ink, #111); }
.stock-only { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; align-self: center; }
.stock-only input { width: 15px; height: 15px; margin: 0; accent-color: var(--ink, #111); flex: none; }
.profile-btn img { width: 26px; height: 26px; object-fit: contain; flex: none; border-radius: 4px; }
.profile-btn img.profile-btn-photo { width: 36px; height: 36px; margin: -4px 0; object-fit: cover; object-position: left top; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.profile-btn svg { width: 34px; height: 22px; flex: none; }
.profile-pics img { width: 88px; height: 88px; object-fit: contain; flex: none; border-radius: 6px; background: #fff; }
.profile-pics canvas { height: 88px; width: 72px; }
.profile-pics:has(.profile-photo), .profile-pics:has(canvas:only-child) { display: block; aspect-ratio: 1; margin-bottom: 6px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.profile-pics img.profile-photo, .profile-pics canvas:only-child { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
body:not(.gm-pro) .profile-note { display: none; }
.profile-pics:has(.profile-photo) { position: relative; }
.profile-end-inset { position: absolute; right: 6px; bottom: 6px; width: 36%; height: 40%; object-fit: contain; padding: 4px; border-radius: 8px; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.14); }
.profile-view { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 8px 12px; border: 1px solid var(--line, #e3e1dc); border-radius: 12px; background: var(--paper, #fff); font-size: 13px; }
.profile-view[hidden] { display: none; }
.profile-view-pic { flex: none; display: flex; }
.profile-view-pic img { width: 64px; height: 64px; object-fit: contain; border-radius: 6px; }
.profile-view-pic svg { width: 88px; height: 56px; }
.profile-view-text { display: grid; gap: 2px; min-width: 0; }
.profile-view-text small { color: var(--muted, #6b6b6b); font-size: 12px; line-height: 1.35; }
.bag-end { width: 42px; height: 56px; object-fit: contain; align-self: center; }
span.bag-end { display: block; }
.bag-similar-pics { display: flex; gap: 4px; }
.bag-similar-pics img { width: 40px; height: 72px; object-fit: contain; }
.bag-row { grid-template-columns: 64px 42px minmax(0, 1fr) auto; grid-template-areas: "thumb end main stock" "thumb end main stock"; }
.bag-end { grid-area: end; }
.bag-row:not(:has(.bag-end)) { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "thumb main stock" "thumb main stock"; }
.fa-magic { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 28px; padding: 6px 0; font-size: 13.5px; color: var(--muted, #6b6b6b); }
.fa-magic-star { width: 12px; height: 12px; flex: none; background: var(--ink, #111); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: fa-twinkle .6s ease-in-out infinite; }
@keyframes fa-twinkle { 0%, 100% { opacity: .35; transform: scale(.75) rotate(0); } 50% { opacity: 1; transform: scale(1.05) rotate(25deg); } }
@media (prefers-reduced-motion: reduce) { .fa-magic-star { animation: none; } }
.fit-controls { grid-template-columns: minmax(0, 1fr); }
.price-actions { flex-wrap: wrap; }
.price-actions .btn { min-width: 0; }
.sl-item { grid-template-columns: minmax(0, 1fr); }
.sl-pic { max-width: 100%; }
.wt-panno[hidden] { display: none; }
.wt-cur-panno { color: var(--muted, #6b6b6b); font-weight: 500; white-space: nowrap; }
.panno-head b { display: block; font-size: 14px; }
.panno-head small { display: block; font-size: 12.5px; color: var(--muted, #6b6b6b); }
.price-actions { flex-wrap: wrap; }
.price-actions .btn { min-width: 0; }
.sl-item { grid-template-columns: minmax(0, 1fr); }
.sl-pic { max-width: 100%; }
.stretch-kind { display: grid; gap: 6px; margin-top: 10px; }
.stretch-kind[hidden] { display: none; }
.stretch-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stretch-opt { display: grid; align-content: start; justify-items: center; gap: 1px; padding: 5px 4px 6px; border: 1px solid var(--line, #e3e1dc); border-radius: 10px; background: transparent; color: var(--ink, #111); font: inherit; font-size: 12px; line-height: 1.2; text-align: center; cursor: pointer; }
.stretch-opt svg { width: 100%; max-width: 92px; height: auto; margin-bottom: 3px; }
.stretch-opt small { color: var(--muted, #6b6b6b); font-size: 10.5px; }
.stretch-opt em { font-style: normal; font-size: 10.5px; font-weight: 700; }
.stretch-opt:hover { border-color: var(--ink, #111); }
.stretch-opt.on { border-color: var(--ink, #111); box-shadow: inset 0 0 0 1px var(--ink, #111); }
.stretch-advice { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--muted, #6b6b6b); }
.stretch-note { margin: 0; font-size: 12.5px; line-height: 1.35; font-weight: 600; color: var(--ink, #111); }
.stretch-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 6px; margin-top: 2px; }
.stretch-acts .btn { min-height: 38px; height: auto; margin: 0; padding: 6px 10px; font-size: 12.5px; line-height: 1.2; white-space: normal; text-align: center; }
.canvas-gap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 12px; border-radius: 12px; background: var(--paper-2, #f4f3ef); font-size: 13.5px; }
.canvas-gap label { font-weight: 700; }
.canvas-gap p { margin: 0; font-size: 12.5px; line-height: 1.35; }
.canvas-gap-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.canvas-gap-chips { display: flex; gap: 4px; }
.canvas-gap-chips button { min-width: 36px; height: 34px; padding: 0 6px; border: 1px solid var(--line, #d9d6cf); border-radius: 8px; background: #fff; color: var(--ink, #111); font: inherit; cursor: pointer; }
.canvas-gap-chips button.on { border-color: var(--ink, #111); box-shadow: inset 0 0 0 1px var(--ink, #111); font-weight: 700; }
.canvas-gap-own { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.canvas-gap input { width: 62px; height: 34px; padding: 0 6px; }
html, body { overflow-anchor: none; }
.fa-res.fa-busy { opacity: .45; pointer-events: none; transition: opacity .15s; }
.btn .fa-magic { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; background: none; min-height: 0; font: inherit; white-space: nowrap; }
body:not(.gm-pro) #work-hint, body:not(.gm-pro) ul.tips, body:not(.gm-pro) .mb-tip, body:not(.gm-pro) .mirror-only-frame,
body:not(.gm-pro) .hb-head .muted, body:not(.gm-pro) .hb-rec, body:not(.gm-pro) .opt--card small,
body:not(.gm-pro) .opt-note, body:not(.gm-pro) .size-more, body:not(.gm-pro) .size-lock { display: none !important; }
.photo-adj { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 4px 18px; margin: 8px 0 10px; }
.adj-head, .adj-parts, .adj-empty { grid-column: 1 / -1; }
.adj-parts { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.adj-parts[hidden], .adj-empty[hidden] { display: none; }
.adj-part { min-height: 34px; padding: 4px 12px; border: 1px solid var(--line, #d9d6cf); border-radius: 999px; background: #fff; color: var(--ink, #111); font: inherit; font-size: 13px; cursor: pointer; }
.adj-part small { color: var(--muted, #6b6b6b); font-size: 11px; }
.adj-part.on { border-color: var(--ink, #111); box-shadow: inset 0 0 0 1px var(--ink, #111); font-weight: 700; }
.adj-empty { margin: 0; font-size: 13px; color: var(--muted, #6b6b6b); }
.photo-adj button:disabled, .photo-adj input:disabled { opacity: .45; cursor: default; }
.varnish-kind { display: grid; gap: 8px; margin: 6px 0 4px; font-size: 13px; line-height: 1.4; }
.varnish-kind p { margin: 0; color: var(--muted, #6b6b6b); }
.varnish-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.varnish-card { display: block; cursor: pointer; }
.varnish-card input { position: absolute; opacity: 0; pointer-events: none; }
.varnish-card span { display: block; height: 100%; padding: 10px 12px; border: 1px solid var(--line, #d9d6cf); border-radius: 12px; background: #fff; color: var(--muted, #6b6b6b); font-size: 12.5px; }
.varnish-card b { display: block; margin-bottom: 3px; color: var(--ink, #111); font-size: 14px; }
.varnish-card:hover span { border-color: var(--ink, #111); }
.varnish-card input:checked + span { border-color: var(--ink, #111); box-shadow: inset 0 0 0 1px var(--ink, #111); }
.varnish-card input:focus-visible + span { outline: 2px solid var(--ink, #111); outline-offset: 2px; }
.opt-wrap:has(.varnish-kind) { grid-column: 1 / -1; }
.varnish-note { display: block; margin-top: 2px; color: var(--muted, #6b6b6b); font-size: 12px; font-weight: 400; }
.varnish-kind { margin: 6px 0 2px; }
.varnish-cards { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; }
.varnish-card span { padding: 7px 10px; font-size: 12px; line-height: 1.3; }
.varnish-card b { display: block; margin: 0 0 1px; font-size: 13px; }
.bag-thumb.is-photo { object-fit: contain; object-position: 0 0; background: #fff; }
.bag-similar-pics canvas, .bag-similar-pic { width: 72px; height: 72px; }
img.bag-similar-pic { object-fit: contain; background: #fff; }
.ef-thumb[src] { object-fit: contain; background: #fff; }
.bag-row, .bc-item, .fa-pic, .ef-pic, .bag-similar-pics { position: relative; }
.sl-corner > .bag-zoom { top: 4px; right: 4px; width: 26px; height: 26px; }
.sl-corner > .bag-zoom svg { width: 13px; height: 13px; }
.bag-zoom { position: absolute; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #1a1a1a; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 2px 10px rgba(0,0,0,.12); cursor: zoom-in; transition: opacity .2s, transform .2s, background .2s; }
.bag-zoom svg { width: 15px; height: 15px; }
.bag-zoom:hover, .bag-zoom:focus-visible { background: #fff; transform: scale(1.06); outline: none; box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 4px 14px rgba(0,0,0,.18); }
.bag-zoom:focus-visible { box-shadow: 0 0 0 2px #111, 0 4px 14px rgba(0,0,0,.18); }
@media (hover: hover) {
  .bag-zoom { opacity: 0; transform: scale(.9); }
  .bag-row:hover > .bag-zoom, .bc-item:hover > .bag-zoom, .sl-item:hover .bag-zoom, .fa-pic:hover > .bag-zoom, .ef-pic:hover > .bag-zoom, .bag-similar-opt:hover .bag-zoom, .bag-zoom:focus-visible { opacity: 1; transform: none; }
}
.bag-row > .bag-zoom { position: static; grid-area: thumb; align-self: end; justify-self: end; margin: 0 -4px -4px 0; width: 26px; height: 26px; }
.bag-row > .bag-zoom svg { width: 13px; height: 13px; }
.bc-item > .bag-zoom { top: 10px; right: 10px; width: 34px; height: 34px; }
.bc-item > .bag-zoom svg { width: 16px; height: 16px; }
.fa-pic > .bag-zoom, .ef-pic > .bag-zoom { right: 5px; bottom: 5px; }
.bag-similar-pics > .bag-zoom { left: 46px; top: 46px; width: 24px; height: 24px; }
.bag-similar-pics > .bag-zoom svg { width: 12px; height: 12px; }
.fa-pic--double canvas { display: block; width: 100%; height: 100%; }
.bag-zoom-dlg { width: min(860px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 20px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.35); overflow: auto; }
.bag-zoom-dlg::backdrop { background: rgba(17,17,17,.55); }
.bz-close { position: absolute; z-index: 5; top: 10px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f2f2f2; font-size: 24px; line-height: 1; cursor: pointer; }
.bz-close:hover { background: #e6e6e6; }
.bz-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 48px 14px 0; }
.bz-body { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 20px; align-items: start; }
.bz-body:not(:has(.bz-end)) { grid-template-columns: 1fr; gap: 14px; }
.bz-body:not(:has(.bz-end)) .bz-side { padding-top: 0; }
.bag-zoom-dlg:not(:has(.bz-end)) { width: min(620px, calc(100vw - 32px)); }
.bz-stage { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); cursor: zoom-in; touch-action: none; }
.bz-stage.is-near { cursor: zoom-out; }
.bz-stage { position: relative; }
.bz-end-in { position: absolute; left: 4%; bottom: 4%; width: 30%; margin: 0; padding: 8px 8px 6px; border-radius: 12px; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.16); text-align: center; transition: opacity .2s; }
.bz-end-in img { display: block; width: 100%; max-height: 200px; object-fit: contain; }
.bz-end-in figcaption { margin-top: 4px; font-size: 12px; color: var(--muted, #6b6b6b); }
.bz-stage.is-near .bz-end-in { opacity: 0; pointer-events: none; }
.bz-img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.bz-stage.is-near .bz-img { transform: scale(2); }
.bz-side { display: grid; gap: 6px; padding-top: 44px; }
.bz-title { font-size: 17px; line-height: 1.3; }
.bz-meta { color: var(--muted, #6b6b6b); font-size: 14px; }
.bz-end { margin: 12px 0 0; padding: 10px; border-radius: 12px; background: #fafafa; text-align: center; }
.bz-end img { display: block; max-width: 100%; max-height: 220px; margin: 0 auto; object-fit: contain; }
.bz-end figcaption { margin-top: 6px; color: var(--muted, #6b6b6b); font-size: 12px; }
@media (max-width: 640px) {
  .bag-zoom-dlg { padding: 14px; }
  .bz-body { grid-template-columns: 1fr; gap: 12px; }
  .bz-side { padding-top: 0; grid-template-columns: minmax(0, 1fr) 96px; align-items: start; }
  .bz-title, .bz-meta { grid-column: 1; }
  .bz-end { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 6px; }
  .bz-end img { max-height: 110px; }
  .bz-end figcaption { font-size: 11px; }
}
.seg label.is-also { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(17, 17, 17, .08), 0 4px 12px -6px rgba(17, 17, 17, .25); }
.mat-cap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin: 0 2px 6px; font-size: 13px; }
.mat-cap b { font-weight: 700; }
.mat-hint { color: var(--muted); }
.mat-hint.is-many { color: #111; font-weight: 600; }
.seg--mat { flex-wrap: wrap; }
.seg--mat label { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 1 1 auto; }
@media (max-width: 1180px) { .seg--mat label { gap: 5px; padding: 8px 6px; font-size: 13px; } }
.seg--mat label:not(#t-none-label)::before { content: ''; flex: none; width: 15px; height: 15px; box-sizing: border-box; border: 1.5px solid #B9B2A7; border-radius: 4px; background: #fff center / 11px no-repeat; }
.seg--mat input:checked + label:not(#t-none-label)::before, .seg--mat label.is-also:not(#t-none-label)::before {
  border-color: #111; background-color: #111;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.type-msg { margin: 6px 2px 0; font: 500 13px/1.35 var(--sans); color: #8a3b12; }
.type-msg[hidden] { display: none; }
.profile-btn img.profile-btn-photo, .fa-pic img, .bag-similar-pics img { object-fit: contain; object-position: center; background: #fff; }
.bag-similar-pics img { width: 56px; height: 56px; }
.ms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 6px; }
.ms-f { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6B6660; }
.ms-f span { min-width: 52px; }
.ms-f input { width: 72px; padding: 7px 8px; border: 1px solid #D8D4CE; border-radius: 8px; font: inherit; color: #111; background: #fff; }
.ms-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.ms-fit { margin-top: 10px; padding: 12px; border: 1px solid #E6E2DB; border-radius: 12px; background: #FBFAF8; }
.ms-fit[hidden] { display: none; }
.ms-fit .ms-by { margin-bottom: 10px; }
.ms-fit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ms-fit-row > b { color: #6B6660; }
.ms-msg { margin: 8px 0 0; min-height: 1em; color: #6B6660; }
.pic-dlg { width: min(420px, 92vw); padding: 24px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -20px rgba(17, 17, 17, .45); }
.pic-dlg::backdrop { background: rgba(17, 17, 17, .45); }
.pic-dlg h2 { margin: 0 0 12px; font-size: 20px; }
.pic-c { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; cursor: pointer; }
.pic-c input { width: 18px; height: 18px; margin: 0; accent-color: #111; }
.pic-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.profile-view-zoom { position: relative; display: flex; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; }
.profile-view-zoom:hover img { outline: 2px solid var(--ink, #111); outline-offset: 1px; }
.profile-view-zoom .bag-zoom { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; }
.profile-zoom-dlg .bz-stage { background: #fff; }
.profile-zoom-dlg .bz-img { object-fit: contain; }
input[type="date"] { cursor: pointer; }
.adj-rot { display: inline-flex; align-items: center; gap: 4px; } .adj-rot + .adj-rot { margin-left: -6px; }
.mc-item { position: relative; }
.mc-small { opacity: .55; }
.mc-small-tag { position: absolute; top: 6px; left: 6px; padding: 2px 7px; border-radius: 999px; background: #fbf3dc; color: #7a5c0b; font-size: 11px; font-weight: 600; }
.mat-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.mat-alt b { width: 100%; font-size: 12.5px; }
.mat-alt-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid #d9c98e; border-radius: 999px; background: #fff; font: 600 12.5px/1.2 inherit; color: inherit; cursor: pointer; }
.mat-alt-btn:hover { background: #fffaf0; }
.mat-alt-btn i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.mat-alt-btn small { font-weight: 500; opacity: .7; }
.sl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.sl-tools .sl-tabs { margin-bottom: 0; }
.sl-search { flex: 1 1 160px; min-width: 0; max-width: 260px; }
.sl-search input { width: 100%; min-height: 36px; padding: 6px 12px; font-size: 14px; }
.sl-list { scroll-snap-type: none; overscroll-behavior-x: contain; }
.sl-item { scroll-snap-align: none; }
.sl-empty { align-self: center; padding: 10px 4px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.slip-teaser { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 14px; width: 100%; padding: 12px 14px; border: 1.5px dashed #C9A96A; border-radius: 14px; background: linear-gradient(135deg, #FBF6EA, #fff 70%); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.slip-teaser:hover, .slip-teaser:focus-visible { border-style: solid; border-color: #B8924A; box-shadow: 0 8px 22px -14px rgba(120, 90, 30, .6); outline: none; }
.slip-teaser.is-set { border-style: solid; border-color: #111; background: #fff; }
.slip-teaser-pics { display: flex; flex: none; padding-left: 10px; }
.slip-teaser-pics { gap: 8px; padding-left: 0; }
.slip-teaser-pics i { width: 64px; height: 64px; border-radius: 10px; background: #fff no-repeat center / contain; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.slip-teaser-txt { flex: 1; display: grid; gap: 3px; min-width: 0; }
.slip-teaser-txt b { font-size: 15px; font-weight: 700; }
.slip-teaser-txt small { font-size: 13px; color: var(--muted, #6b6b6b); }
.slip-teaser-go { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #111; color: #fff; font-size: 14px; font-weight: 600; }
.slip-teaser-go svg { transition: transform .2s; }
.slip-teaser[aria-expanded="true"] .slip-teaser-go svg { transform: rotate(180deg); }
.slip-teaser[aria-expanded="true"] .slip-teaser-go { background: #fff; color: #111; box-shadow: inset 0 0 0 1.5px #111; }
@media (max-width: 560px) { .slip-teaser-go { justify-self: stretch; justify-content: center; } }
#ctl-frame .ctl-head { flex-wrap: wrap; }
.frame-wide-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 0; border-radius: 999px; background: #111; color: #fff; font: 600 14px/1.2 inherit; font-family: inherit; cursor: pointer; }
.frame-wide-btn:hover { background: #2A2A2A; }
#ctl-frame.is-compact #bag-tones, #ctl-frame.is-compact .profile-pick, #ctl-frame.is-compact #gm-bag-supplier,
#ctl-frame.is-compact #bag-sort, #ctl-frame.is-compact .stock-row, #ctl-frame.is-compact .gm-price-range, #ctl-frame.is-compact #bag-wrange, #ctl-frame.is-compact .color-note { display: none !important; }
#ctl-frame.is-compact .fa-open small { display: none; }
#ctl-frame.is-compact .fa-open { padding-top: 10px; padding-bottom: 10px; }
#ctl-frame.is-compact .bag-list { max-height: 270px; }
.bagcat { width: calc(100vw - 40px); height: calc(100vh - 40px); }
.bagcat .bagcat-tools .profile-pick, .bagcat .bagcat-tools #gm-bag-supplier { flex: 0 1 200px; }
.bagcat .bagcat-tools .stock-row { display: flex !important; gap: 14px; align-items: center; }
#bagcat .bagcat-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; align-items: center;
  grid-template-areas: "q q tone sort" "prof sup width price" "stock stock stock stock"; }
#bagcat .bagcat-tools > .search { grid-area: q; }
#bagcat .bagcat-tools > #bc-tones { grid-area: tone; }
#bagcat .bagcat-tools > .bc-sortbox { grid-area: sort; }
#bagcat .bagcat-tools > .profile-pick { grid-area: prof; }
#bagcat .bagcat-tools > #gm-bag-supplier { grid-area: sup; }
#bagcat .bagcat-tools > .bc-wrange { grid-area: width; }
#bagcat .bagcat-tools > .gm-price-range { grid-area: price; }
#bagcat .bagcat-tools > .stock-row { grid-area: stock; }
#bagcat .bagcat-tools > * { min-width: 0; margin: 0; }
#bagcat .bagcat-tools .profile-pick, #bagcat .bagcat-tools #gm-bag-supplier { flex: none; width: 100%; }
#bagcat .bagcat-tools input[type=search], #bagcat .bagcat-tools select, #bagcat .bagcat-tools .tone-btn { height: 44px; box-sizing: border-box; width: 100%; }
#bagcat .bagcat-tools .gm-price-range { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; }
#bagcat .bagcat-tools .gm-price-range > span { white-space: nowrap; font-size: 13px; }
#bagcat .bagcat-tools .gm-price-range input { height: 44px; width: 100%; box-sizing: border-box; min-width: 0; }
.bagcat::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(17, 17, 17, .45); }
@media (max-width: 1100px) {
  #bagcat .bagcat-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "q q" "tone sort" "prof sup" "width price" "stock stock"; }
}
@media (max-width: 600px) {
  #bagcat .bagcat-tools { grid-template-columns: minmax(0, 1fr); grid-template-areas: "q" "tone" "sort" "prof" "sup" "width" "price" "stock"; }
}
.bagcat-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.bc-item .bc-pic { aspect-ratio: 1 !important; }
.bc-item .bc-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.3em); }
.bc-item .bc-meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.35em); }
.bc-item .bag-stock { margin-top: auto; }
.backing-must { margin: 6px 0 10px; padding: 9px 12px; border-radius: 10px; background: #FBF3DC; color: #5C4A12; font-size: 13.5px; line-height: 1.4; }
.backing-must b { color: #3E3008; }
#backing-wrap.is-must { border-radius: 14px; box-shadow: 0 0 0 2px #E7C66A; padding: 10px 12px; }
#backing-wrap.is-alert { box-shadow: 0 0 0 2px #C6362B; }
#backing-wrap.is-alert .backing-must { background: #FBE5E2; color: #8A1F17; }
#backing-wrap.is-alert .backing-must b { color: #6F140E; }
.variant.is-dup { animation: gm-dup 1.4s ease 1; }
@keyframes gm-dup { 0%, 100% { box-shadow: none; } 20%, 60% { box-shadow: 0 0 0 3px #C9A96A; } 40%, 80% { box-shadow: 0 0 0 3px transparent; } }
.fa-shelf { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #F6F3EC; font-size: 14px; font-weight: 600; cursor: pointer; }
.fa-shelf input { width: 18px; height: 18px; accent-color: #111; }
.fa-shelf small { font-weight: 500; color: var(--muted, #6b6b6b); }
.fa-shelf.is-off { cursor: default; opacity: .8; }
.mat-under { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 6px; padding: 12px 14px; border-radius: 14px; background: var(--linen); cursor: pointer; }
.mat-under input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.mat-under span { display: grid; gap: 2px; } .mat-under b { font-size: 14.5px; } .mat-under small { color: var(--muted); font-size: 12.5px; }
.cutdlg { width: min(760px, 94vw); padding: 0; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 40px 90px -30px rgba(17, 17, 17, .5); }
.cutdlg::backdrop { background: rgba(17, 17, 17, .45); }
.cut-box { display: grid; gap: 14px; padding: 22px 24px; }
.cut-box h2 { margin: 0; font-size: 22px; }
.cut-hint { margin: 0; color: var(--muted); font-size: 14px; }
.cut-view { display: grid; place-items: center; min-height: 260px; border-radius: 16px; padding: 12px;
  background-color: #fff; background-image: linear-gradient(45deg, #EDEAE4 25%, transparent 25%), linear-gradient(-45deg, #EDEAE4 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #EDEAE4 75%), linear-gradient(-45deg, transparent 75%, #EDEAE4 75%);
  background-size: 22px 22px; background-position: 0 0, 0 11px, 11px -11px, -11px 0; }
.cut-view canvas { max-width: 100%; max-height: 52vh; }
.cut-none { margin: 0; max-width: 460px; text-align: center; color: #8A1F14; font-size: 14px; background: #FDECEA; padding: 12px 14px; border-radius: 12px; }
.cut-t { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; font-size: 14px; }
.cut-t small { color: var(--muted); }
.ml.is-under .ml-w, .ml.is-under .ml-range, .ml.is-under .ml-presets, .ml.is-under .mb-tip, .ml.is-under .ms-grid, .ml.is-under .ms-reset { display: none; }
.cut-view { position: relative; }
.cut-view canvas { cursor: none; touch-action: none; }
.cut-ring { position: absolute; border: 2px solid #111; border-radius: 50%; box-shadow: 0 0 0 1px #fff; pointer-events: none; }
.cut-ring.is-restore { border-color: #1E6B33; border-style: dashed; }
.cut-ring[hidden] { display: none; }
.cut-brush { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; }
.cut-brush label { display: inline-flex; align-items: center; gap: 8px; }
.cut-brush input[type=range] { width: 140px; }
.cut-brush-mode { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: #F1EFEA; }
.cut-brush-mode button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.cut-brush-mode button.on { background: #111; color: #fff; }
.cut-brush-hint { flex-basis: 100%; color: var(--muted); font-size: 12.5px; }
.cut-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 10px 0 0; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); font-size: 13.5px; }
.cut-tools[hidden] { display: none; }
.cut-tools label { display: inline-flex; align-items: center; gap: 8px; }
.cut-tools input[type=range] { width: 130px; }
.cut-tools b { min-width: 42px; font-variant-numeric: tabular-nums; }
.cut-tip { color: var(--muted); flex-basis: 100%; }
#stage-canvas.is-cut { cursor: grab; touch-action: none; } #stage-canvas.is-cut:active { cursor: grabbing; }
.stage-photo-actions .link-btn { white-space: nowrap; }
.stage-photo-actions .pa-short, .stage-photo-actions.has-cut .pa-full { display: none; }
.stage-photo-actions.has-cut .pa-short { display: inline; }
.stage:has(#stage-canvas.is-cut) #stage-hint { display: none !important; }
.obj-size { margin-left: 10px; padding: 8px 14px; border: 1px solid #E3DED5; border-radius: 999px; background: #fff; font-size: 13.5px; color: #4A4640; cursor: pointer; }
.obj-size b { color: #111; }
.cut-dims { display: inline-flex; align-items: center; gap: 6px; } .cut-dims input { width: 70px; height: 34px; text-align: center; }
.cut-objs { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
.cut-obj { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line, #E4E0D8); background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.cut-obj.on { background: var(--ink, #111); border-color: var(--ink, #111); color: #fff; }
.cut-obj.cut-add { border-style: dashed; color: var(--muted); }
.cut-obj.cut-add:hover { color: var(--ink, #111); border-color: currentColor; }
.cut-align, .cut-acts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.cut-align[hidden], .cut-tools label[hidden], .cut-tools .link-btn[hidden] { display: none; }
.obj-pop { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); align-items: start; gap: 10px 22px; margin: 10px 0 0; padding: 12px 16px 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 0 0 1.5px #111 inset; font-size: 13.5px; }
.obj-pop .op-head, .obj-pop .op-plate { grid-column: 1 / -1; }
.obj-pop .op-plate { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.obj-pop .cut-align, .obj-pop .op-slip { border-top: 0; padding-top: 0; }
.obj-sel { position: absolute; z-index: 4; border: 1.5px dashed #111; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.85); pointer-events: none; }
.obj-sel[hidden] { display: none; }
.obj-pop[hidden], .obj-pop [hidden] { display: none !important; }
.op-head { display: flex; align-items: center; justify-content: space-between; }
.op-head b { font-size: 15px; }
.op-x { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #F3F1EC; font-size: 18px; line-height: 1; cursor: pointer; }
.op-row { display: flex; align-items: center; gap: 8px; }
.op-row input[type=range] { flex: 1; min-width: 0; }
.op-row b { min-width: 38px; text-align: right; font-variant-numeric: tabular-nums; }
.op-dims { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px 8px; }
.op-dims span { grid-column: 1 / -1; color: var(--muted); }
.op-dims input { width: 100%; min-width: 0; height: 34px; box-sizing: border-box; text-align: center; }
.op-dims i { font-style: normal; color: var(--muted); }
.op-plate { display: grid; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line, #E4E0D8); }
.op-plate textarea { width: 100%; box-sizing: border-box; resize: vertical; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line, #E4E0D8); font: inherit; font-size: 14px; }
.obj-pop .pl-chips button { height: 30px; padding: 0 10px; font-size: 12.5px; gap: 6px; }
.obj-pop .pl-chips i { width: 13px; height: 13px; }
.op-check { display: inline-flex; align-items: center; gap: 8px; }
.obj-pop .cut-align { display: flex; flex-wrap: wrap; gap: 2px 10px; padding-top: 8px; border-top: 1px solid var(--line, #E4E0D8); }
.obj-pop .cut-align span { flex-basis: 100%; color: var(--muted); }
.obj-pop .cut-acts { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.op-del { color: #8A1F14; }
.op-adj { display: grid; gap: 4px; }
.op-adj > span { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.op-adj b { min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; font-size: 12.5px; }
.op-slip { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line, #E4E0D8); }
.op-slip > span { color: var(--muted); }
.op-slip select { width: 100%; height: 34px; border-radius: 10px; border: 1px solid var(--line, #E4E0D8); padding: 0 8px; font: inherit; font-size: 13px; background: #fff; }
.op-slip input { width: 64px; height: 32px; text-align: center; }
.obj-pop .pl-chips button:disabled { opacity: .4; cursor: default; }
#plate-add { margin-right: 14px; }
.platedlg .pl-view { min-height: 150px; }
.mixdlg { width: min(520px, 94vw); }
.mix-text { margin: 0; font-size: 15px; line-height: 1.5; }
.pl-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px 12px; font-size: 14px; }
.pl-row > span:first-child { color: var(--muted); }
.pl-text textarea { width: 100%; box-sizing: border-box; resize: vertical; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line, #E4E0D8); font: inherit; font-size: 15px; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-chips button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line, #E4E0D8); background: #fff; font: inherit; font-size: 13.5px; cursor: pointer; }
.pl-chips button.on { border-color: var(--ink, #111); box-shadow: inset 0 0 0 1px var(--ink, #111); }
.pl-chips i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.pl-border { grid-column: 2; display: inline-flex; align-items: center; gap: 8px; }
.stage-photo-actions:not([hidden]) { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.slc-slots { display: inline-flex; gap: 4px; margin: 4px 0 10px; }
.slc-slots button { height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: #F1EFEA; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.slc-slots button.on { background: #111; color: #fff; }
.slc-for { font-size: 14px; font-weight: 600; }
.slc-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.slc-item { display: grid; gap: 4px; align-content: start; padding: 10px 10px 12px; text-align: left; background: #fff; cursor: pointer; font: inherit; }
.slc-item.on { box-shadow: 0 0 0 2px #111, var(--shadow); }
.slc-pic { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #F4F1EB; margin-bottom: 6px; }
.slc-pic img, .slc-pic canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.slc-pic--none { display: grid; place-items: center; font-size: 34px; color: #A8A39A; }
.slip-cat-btn { padding: 6px 14px; font-size: 13px; }
.op-slip > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.op-slcat { font-size: 12.5px; }
.price-actions { grid-template-columns: minmax(0, 1fr); }
.price-actions .btn { width: 100%; white-space: normal; }
.stage-actions { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }
.cat-countrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cat-view { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: #F1EEE8; }
.cat-view > span { padding: 0 8px 0 10px; font-size: 13px; color: var(--muted, #6b6b6b); }
.cat-view button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: #111; cursor: pointer; }
.cat-view button[aria-pressed="true"] { background: #111; color: #fff; }
.bagcat.is-dense .bagcat-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.bagcat.is-dense .bc-item { border-radius: 12px; padding-bottom: 6px; gap: 1px; }
.bagcat.is-dense .bc-item > span { padding: 0 7px; }
.bagcat.is-dense .bc-item .bc-name { font-size: 12px; -webkit-line-clamp: 1; min-height: 1.3em; }
.bagcat.is-dense .bc-item .bc-meta { font-size: 11px; -webkit-line-clamp: 1; min-height: 1.35em; }
.bagcat.is-dense .bc-item .bc-sku { font-size: 10px; }
.bagcat.is-dense .bc-item .bag-stock { font-size: 10.5px; }
.bagcat.is-dense .bc-item > .bag-zoom { top: 6px; right: 6px; width: 26px; height: 26px; }
.bagcat.is-dense .bc-item > .bag-zoom svg { width: 13px; height: 13px; }
@media (max-width: 1300px) { .bagcat.is-dense .bagcat-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .bagcat.is-dense .bagcat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 700px) { .bagcat.is-dense .bagcat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cat-view > span { display: none; } }
.cat-recent { display: flex; align-items: center; gap: 12px; padding: 10px 22px 0; flex: none; }
.cat-recent[hidden] { display: none; }
.cat-recent-h { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.cat-recent-list { display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: thin; padding: 3px; margin: -3px; }
.cat-recent-it { flex: none; display: grid; justify-items: center; gap: 3px; width: 64px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 10px/1.2 var(--sans, inherit); color: var(--ink); }
.cat-recent-it > span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-recent-pic { display: block; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--linen, #F4F1EA); }
.cat-recent-it:hover .cat-recent-pic { box-shadow: 0 0 0 2px var(--line); }
.cat-recent-it.on .cat-recent-pic { box-shadow: 0 0 0 2px #111; }
@media (max-width: 700px) { .cat-recent { padding: 8px 16px 0; } .cat-recent-h { display: none; } }
.slc-item { grid-template-columns: minmax(0, 1fr); }
.slc-item > * { min-width: 0; }
body:not(.gm-pro) .wt-pro, body:not(.gm-pro) #wt-stretcher { display: none !important; }
.wt-sub, #wt-stretcher { display: none !important; }
body.is-stretch-only #gm-stretch { display: none !important; }
.wt-panno { margin-top: 10px; }
.wt-panno > input { position: absolute; opacity: 0; pointer-events: none; }
.wt-panno > label { display: flex; width: 100%; box-sizing: border-box; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line, #E2DED7); border-radius: 12px; background: #FAF9F7; cursor: pointer; font: 600 14.5px/1.2 var(--sans); color: var(--ink); transition: border-color .15s, background .15s; }
.wt-panno > label:hover { border-color: #BDB6AB; }
.wt-panno > label > span { flex: 1 1 auto; }
.wt-panno > label svg { padding: 6px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line, #E2DED7); }
.wt-panno > input:checked + label { background: #fff; }
.wt-panno > label svg { width: 34px; height: 34px; box-sizing: border-box; flex: none; }
.wt-panno > label small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--muted, #6E6A64); }
.wt-panno-sw { position: relative; flex: none; width: 38px; height: 22px; margin-left: auto; border-radius: 999px; background: #D8D3CA; transition: background .15s; }
.wt-panno-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.wt-panno > input:checked + label { border-color: var(--ink); }
.wt-panno > input:checked + label .wt-panno-sw { background: var(--ink); }
.wt-panno > input:checked + label .wt-panno-sw::after { transform: translateX(16px); }
.wt-panno > input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 600px) {
  .seg--mat { display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .seg.seg--mat label { display: flex; flex-direction: row; padding: 9px 6px; }
}
.bag-stock.is-disc { color: #A1361D; font-weight: 600; }
.bag-stock.is-disc::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #D9534F; margin-right: 5px; vertical-align: 1px; }
