:root {
  --linen: #EFEFEF;
  --linen-2: #E3E3E3;
  --paper: #F8F8F8;
  --ink: #2A2A2A;
  --muted: #666666;
  --walnut: #555555;
  --walnut-2: #414141;
  --terra: #000000;
  --terra-2: #000000;
  --olive: #666666;
  --gold: #7F7F7F;
  --gold-light: #9F9F9F;
  --line: #D0D0D0;
  --ok-bg: #EBEBEB;
  --serif: "Lora", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --r: 6px;
  --wrap: 1200px;
  --header-h: 72px;
  --shadow: 0 18px 40px -22px rgba(42,42,42, .45);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--linen); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--walnut); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--linen); }
.section--dark a:not(.btn) { color: #C7C7C7; }
@media (max-width: 720px) { .section { padding: 56px 0; } }
.eyebrow { display: block; font: 600 12px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--gold-light); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 680px; }
.section--dark .lead { color: #C9C9C9; }
.head { margin-bottom: 40px; max-width: 760px; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.mono { font-family: var(--mono); }
.price { font-family: var(--mono); font-weight: 600; color: var(--terra); white-space: nowrap; }
.section--dark .price { color: #C7C7C7; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.center .lead, .center.head { margin-left: auto; margin-right: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--r); border: 2px solid transparent;
  font: 700 16px/1.1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--terra); color: #fff; }
.btn--primary:hover { background: var(--terra-2); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.section--dark .btn--ghost { color: var(--linen); }
.section--dark .btn--ghost:hover { background: var(--linen); color: var(--ink); border-color: var(--linen); }
.btn--sm { padding: 10px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.header { position: sticky; top: 0; z-index: 50; background: var(--linen); border-bottom: 1px solid var(--line); }
.header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-logo { height: 42px; width: auto; display: block; }
.footer .brand-logo { height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font: 600 21px/1.1 var(--serif); white-space: nowrap; }
.brand-text small { font: 400 11px/1.3 var(--mono); color: var(--muted); white-space: nowrap; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: var(--r); white-space: nowrap; }
.nav a:hover { color: var(--terra); }
.nav a[aria-current="page"] { color: var(--terra); background: rgba(0,0,0, .08); }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; }
.header-phone b { font: 600 16px/1.2 var(--mono); white-space: nowrap; }
.header-phone small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.icon-btn { display: none; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; color: var(--ink); cursor: pointer; padding: 0; }
.icon-btn svg { width: 22px; height: 22px; }
.lbl-short { display: none; }
@media (max-width: 1320px) {
  .header .wrap { gap: 14px; }
  .brand-text small, .header-phone small { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 8px 7px; }
  .lbl-full { display: none; }
  .lbl-short { display: inline; }
}
@media (max-width: 1180px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--linen); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .18s, transform .18s, visibility .18s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; }
  .nav a[aria-current="page"] { background: none; }
  .header-actions { margin-left: auto; }
  .icon-btn.burger { display: inline-flex; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .header .wrap { gap: 10px; }
  .brand-logo { height: 32px; }
  .brand-text b { font-size: 18px; }
  .brand-text small { display: none; }
  .header-phone { display: none; }
  .header-actions .header-calc { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .header-calc span { display: none; }
  .header-calc svg { width: 22px; height: 22px; }
  .icon-btn.call { display: inline-flex; }
}
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.35);
  }
  .mobile-bar a, .mobile-bar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 52px; border-radius: var(--r); border: 1px solid var(--line); background: var(--linen);
    font: 700 13px/1.1 var(--sans); color: var(--ink); text-decoration: none; cursor: pointer;
  }
  .mobile-bar svg { width: 20px; height: 20px; }
  .mobile-bar .primary { background: var(--terra); color: #fff; border-color: var(--terra); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
.hero { position: relative; padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-photo { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 320px;
  background: rgba(248,248,248, .96); border-radius: var(--r); padding: 14px 16px; font-size: 14px; line-height: 1.4;
}
.hero-badge b { display: block; font: 600 22px/1.2 var(--mono); color: var(--terra); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--olive); flex: none; }
@media (max-width: 900px) {
  .hero { padding: 32px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { aspect-ratio: 16 / 11; }
}
.page-hero { padding: 48px 0 40px; }
.page-hero--photo { position: relative; color: #fff; padding: 96px 0 72px; background: var(--ink); overflow: hidden; }
.page-hero--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero--photo .wrap { position: relative; }
.page-hero--photo .eyebrow { color: #CCCCCC; }
.page-hero--photo .lead { color: #ECECEC; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.page-hero--photo .crumbs { color: #E0E0E0; }
.page-hero--split { position: relative; background: var(--paper); padding: 88px 0 80px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero--split .split-photo { position: absolute; top: 0; right: 0; width: 60%; height: 100%; object-fit: cover; object-position: 40% 50%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%); mask-image: linear-gradient(to right, transparent 0, #000 32%); }
.page-hero--split .wrap { position: relative; }
.split-text { max-width: 540px; }
.split-text h1 { margin-bottom: 16px; }
.split-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.split-types { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--muted); }
.split-types b { display: block; font: 600 17px/1.3 var(--mono); color: var(--ink); }
@media (max-width: 900px) {
  .page-hero--split { padding: 0 0 40px; }
  .page-hero--split .split-photo { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
  .page-hero--split .wrap { margin-top: -8px; }
  .split-text { max-width: none; }
}
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.trust > div { padding: 24px; border-right: 1px solid var(--line); }
.trust > div:last-child { border-right: 0; }
.trust b { display: block; font: 600 30px/1.1 var(--mono); color: var(--terra); margin-bottom: 6px; }
.trust span { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div:nth-child(2) { border-right: 0; }
  .trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.grid { display: grid; gap: 24px; }
.g2 > *, .g3 > *, .g4 > *, .trust > *, .steps > *, .lead-band > *, .form-row > *, .toolbar > *, .hero .wrap > *, .cat-grid > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.section--paper .card { background: var(--linen); }
.section--dark .card { background: #333333; border-color: #474747; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.service { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.service img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-body p { color: var(--muted); font-size: 15px; }
.service-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 8px; }
.service-foot .more { font-weight: 700; font-size: 15px; color: var(--walnut); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split > * { min-width: 0; overflow-wrap: break-word; }
.split--top { align-items: start; }
.split img.photo { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 13px; height: 7px; border-left: 2.5px solid var(--olive); border-bottom: 2.5px solid var(--olive); transform: rotate(-45deg); }
.section--dark .ticks li::before { border-color: #BFBFBF; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { counter-increment: s; border-top: 3px solid var(--walnut); padding-top: 16px; font-size: 15px; color: var(--muted); }
.steps li::before { content: "0" counter(s); display: block; font: 600 14px/1 var(--mono); color: var(--terra); margin-bottom: 10px; }
.steps b { display: block; font: 600 19px/1.25 var(--serif); color: var(--ink); margin-bottom: 6px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); margin-bottom: 36px; }
.table { width: 100%; border-collapse: collapse; min-width: 520px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table th { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--linen-2); }
.table td:last-child, .table th:last-child { text-align: right; }
.table small { display: block; color: var(--muted); font-size: 14px; }
.note { font-size: 15px; color: var(--muted); border-left: 3px solid var(--olive); padding-left: 14px; }
.price-tag { display: inline-block; font: 600 13px/1 var(--mono); background: rgba(0,0,0, .1); color: var(--terra-2); padding: 6px 9px; border-radius: 4px; }
.review { display: flex; flex-direction: column; gap: 14px; }
.review-stars { color: #9E9E9E; letter-spacing: 2px; font-size: 18px; line-height: 1; }
.review blockquote { margin: 0; font: 400 17px/1.55 var(--serif); }
.review footer { margin-top: auto; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sample-tag { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px dashed var(--line); padding: 4px 6px; border-radius: 3px; }
.rating { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rating b { font: 600 40px/1 var(--mono); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--terra); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.lead-band { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lead-band-form { padding: 36px; }
.lead-band-info { background: var(--ink); color: var(--linen); display: flex; flex-direction: column; }
.lead-band-info .info { padding: 28px 32px; display: grid; gap: 14px; }
.lead-band-info a { color: #fff; }
.lead-band-info .info-row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; line-height: 1.45; }
.lead-band-info .info-row svg { width: 20px; height: 20px; color: #C7C7C7; margin-top: 2px; }
.lead-band-info .info-row b { display: block; font-size: 17px; }
.map { position: relative; flex: 1; min-height: 280px; background: #383838; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .lead-band { grid-template-columns: 1fr; } .lead-band-form { padding: 26px 20px; } }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.lbl { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 13px 14px; font: 400 16px/1.35 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); appearance: none;
}
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B2A27' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--terra); outline-offset: 0; border-color: transparent; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--terra); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--r); font-size: 15px; }
.form-status.ok { display: block; background: var(--ok-bg); border-left: 3px solid var(--olive); }
.form-status.err { display: block; background: #E5E5E5; border-left: 3px solid var(--terra); }
.form.sent .form-fields { display: none; }
.form-fields { display: grid; gap: 14px; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(28,28,28, .55); }
.modal.open { display: flex; }
.modal-box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--paper); border-radius: var(--r); padding: 32px 28px 28px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.modal-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
.modal h2 { font-size: 26px; }
@media (max-width: 520px) { .modal { align-items: flex-end; padding: 0; } .modal-box { border-radius: 14px 14px 0 0; max-height: 92vh; padding: 28px 18px calc(20px + env(safe-area-inset-bottom)); } }
.toolbar { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 900px) { .toolbar { grid-template-columns: 1fr 1fr; } .toolbar .search { grid-column: 1 / -1; } }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tab { font: 700 15px/1 var(--sans); padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.tab[aria-pressed="true"], .tab:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.tab small { font: 500 12px/1 var(--mono); opacity: .7; margin-left: 4px; }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.cat-more { display: flex; margin: 24px auto 0; }
.cat-more[hidden] { display: none; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.bag { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bag-swatch { aspect-ratio: 3 / 2; position: relative; background: var(--linen-2); overflow: hidden; }
.bag-swatch canvas, .bag-swatch img { width: 100%; height: 100%; display: block; object-fit: cover; }
.bag-swatch img { object-fit: contain; background: #fff; padding: 12px 12px 32px; box-sizing: border-box; }
.bag-swatch:has(img) { background: #fff; aspect-ratio: 4 / 3; }
.bag-swatch:has(img) .mono { bottom: 7px; background: none; }
.bag-profile { width: 70%; height: var(--h, 26px); border-radius: 3px; background: var(--c, #555555); box-shadow: inset 0 -6px 0 rgba(0,0,0,.18), inset 0 4px 0 rgba(255,255,255,.18), 0 6px 14px -8px rgba(0,0,0,.5); }
.bag-swatch .mono { position: absolute; bottom: 8px; right: 10px; font-size: 11px; color: var(--muted); background: rgba(248,248,248,.85); padding: 2px 6px; border-radius: 3px; }
.bag-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bag-body h3 { font: 600 16px/1.3 var(--sans); margin: 0; }
.bag-meta { font-size: 13px; color: var(--muted); }
.bag-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bag-foot .price { font-size: 16px; }
.bag-foot small { display: block; font-size: 11px; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: start; }
.calc > *, .calc-step { min-width: 0; }
@media (max-width: 980px) { .calc { grid-template-columns: 1fr; } }
.calc-step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 16px; }
.calc-step h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.calc-step h2 span { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--linen); font: 600 13px/1 var(--mono); align-items: center; justify-content: center; flex: none; }
.size-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.size-row .x { padding-bottom: 14px; color: var(--muted); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.presets button { font: 500 13px/1 var(--mono); padding: 8px 10px; border-radius: 4px; border: 1px solid var(--line); background: var(--linen); cursor: pointer; color: var(--ink); }
.presets button:hover { border-color: var(--ink); }
.receipt { position: sticky; top: calc(var(--header-h) + 16px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.receipt h2 { font-size: 22px; }
.receipt-lines { font-size: 14px; }
.r-line { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.r-line span:first-child small { display: block; color: var(--muted); font-size: 12px; }
.r-line span:last-child { font-family: var(--mono); white-space: nowrap; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 16px; font-weight: 700; }
.r-total .price { font-size: 34px; }
.receipt .note { margin-top: 16px; font-size: 13px; }
.receipt .btn { margin-top: 18px; }
.receipt.loading .r-total .price { opacity: .4; }
@media (max-width: 980px) { .receipt { position: static; } }
@media (max-width: 480px) { .calc-step { padding: 20px 16px; } .opts { grid-template-columns: 1fr 1fr; } }
.calc-sticky { display: none; }
@media (max-width: 980px) {
  .calc-sticky {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 10px; right: 10px; bottom: 16px; z-index: 55;
    background: var(--ink); color: var(--linen); border-radius: var(--r); padding: 10px 12px 10px 16px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); text-decoration: none;
  }
  .calc-sticky span { font-size: 13px; color: #C9C9C9; }
  .calc-sticky b { display: block; font: 600 22px/1.1 var(--mono); color: #C7C7C7; }
  .calc-sticky .btn { padding: 10px 14px; font-size: 14px; }
  .calc-sticky.off { display: none; }
  body.has-calc-sticky { padding-bottom: 90px; }
}
@media (max-width: 720px) {
  .calc-sticky { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body.has-calc-sticky { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
}
.masonry { columns: 3 300px; column-gap: 20px; }
.work { break-inside: avoid; margin: 0 0 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.work img { width: 100%; }
.work figcaption { padding: 14px 16px 16px; font-size: 14px; color: var(--muted); }
.work figcaption b { display: block; font: 600 17px/1.3 var(--serif); color: var(--ink); margin-bottom: 4px; }
.work .price-tag { margin-top: 8px; }
.work[hidden] { display: none; }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--walnut); color: #fff; border-radius: var(--r); padding: 28px 32px; }
.cta-strip h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 4px; }
.cta-strip p { margin: 0; color: #E7E7E7; }
.cta-strip .btn--ghost { color: #fff; }
.cta-strip .btn--ghost:hover { background: #fff; color: var(--walnut); border-color: #fff; }
.footer { background: var(--ink); color: #C9C9C9; padding: 64px 0 32px; font-size: 15px; }
.footer a { color: var(--linen); text-decoration: none; }
.footer a:hover { color: #C7C7C7; }
.footer .brand { color: var(--linen); }
.footer .brand-text small { color: #A3A3A3; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .22em; color: var(--gold-light); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid #464646; margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #A3A3A3; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }
.fit-head { padding: 32px 0 20px; }
.fit-head h1 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 8px; }
.fit-head .lead { font-size: 17px; }
.fit { padding: 0 0 72px; }
.fit-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.fit-stage { position: sticky; top: calc(var(--header-h) + 12px); min-width: 0; }
@media (min-width: 981px) {
  .fit-stage { max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; padding: 0 8px 12px; margin: 0 -8px; scrollbar-width: thin; scrollbar-color: rgba(17, 17, 17, .25) transparent; }
}
.stage-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.stage-upload { cursor: pointer; }
.view-modes { margin: 0; flex: none; }
.seg--sm label { padding: 8px 12px; font-size: 13px; }
.stage-photo-actions { margin-left: auto; display: inline-flex; gap: 16px; }
.stage-photo-actions[hidden] { display: none; }
.stage-photo-actions label { cursor: pointer; }
.cropper { width: min(980px, calc(100vw - 32px)); max-width: none; height: min(820px, calc(100vh - 32px)); max-height: none; padding: 0; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); overflow: hidden; }
.cropper::backdrop { background: rgba(28,28,28,.6); }
.cropper[open] { display: flex; }
.cropper-box { display: flex; flex-direction: column; width: 100%; min-height: 0; padding: 16px 20px; gap: 10px; }
.cropper-head { margin: 0; }
.cropper-head h2 { margin: 0; font-size: 24px; }
.cropper-status { margin: 0; padding: 10px 14px; border-radius: var(--r); background: var(--linen); font-size: 15px; border-left: 3px solid var(--line); }
.cropper-status.is-ok { background: var(--ok-bg); border-left-color: var(--olive); }
.cropper-status.is-warn { background: #F3F3F3; border-left-color: var(--terra); }
.crop-variants { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crop-variants[hidden] { display: none; }
.crop-variants-t { font-size: 13px; color: var(--muted); margin-right: 2px; }
.crop-v { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 13px/1.2 var(--sans); color: var(--ink); cursor: pointer; }
.crop-v b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--linen-2); font: 600 11px/1 var(--mono); }
.crop-v:hover { border-color: var(--ink); }
.crop-v.on { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.crop-v.on b { background: var(--terra); color: #fff; }
.cropper-stage { position: relative; flex: 1; min-height: 200px; border-radius: var(--r); overflow: hidden; background: #2A2A2A; }
.cropper-stage canvas, .cropper-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cropper-stage svg { touch-action: none; }
.crop-h { cursor: grab; }
.crop-loupe { position: absolute; top: 12px; border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.45); pointer-events: none; z-index: 2; }
.crop-loupe[hidden] { display: none; }
.cropper-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cropper-foot .btn svg { width: 16px; height: 16px; }
.cropper-spacer { flex: 1; }
.cropper-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--muted); }
.cropper-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--olive); }
@media (max-width: 720px) {
  .cropper { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .cropper-box { padding: 12px 14px; }
  .cropper-head h2 { font-size: 20px; }
  .cropper-status { font-size: 14px; }
  .cropper-spacer { display: none; }
  .cropper-foot { display: grid; grid-template-columns: 1fr 1fr; }
  .cropper-foot #crop-auto { grid-column: 1 / -1; justify-content: center; }
  .cropper-foot #crop-full { justify-content: center; }
  .cropper-foot #crop-apply { grid-column: 1 / -1; }
  .cropper-note { display: none; }
}
.rooms { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 10px; }
.fit-grid > *, .fit-stage > *, .stage-sticky, .rooms { min-width: 0; max-width: 100%; }
.room { min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 4px 4px 6px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; font: 600 12px/1.2 var(--sans); color: var(--ink); text-align: center; }
.room img { width: 100%; height: 62px; object-fit: cover; border-radius: 3px; display: block; }
.room span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room[aria-checked="true"] { border-color: var(--terra); box-shadow: inset 0 0 0 1px var(--terra); }
.stage-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; pointer-events: none; padding: 16px; }
.stage-empty[hidden] { display: none; }
.stage-card { pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 22px 14px; border-radius: 12px;
  background: rgba(248,248,248,.82); -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.6); box-shadow: 0 18px 40px -18px rgba(26,26,26,.45); max-width: calc(100% - 24px); }
.stage-empty .stage-upload { pointer-events: auto; padding: 14px 24px; font-size: 17px; box-shadow: 0 10px 22px -12px rgba(0,0,0,.7); }
.stage-empty .stage-upload svg { width: 20px; height: 20px; }
.stage-empty p { margin: 2px 0 0; font-weight: 600; color: var(--ink); font-size: 14px; }
.stage-empty small { display: inline-flex; align-items: center; gap: 6px; color: #555555; font-size: 12.5px; }
.stage-empty small svg { width: 14px; height: 14px; color: var(--olive); }
.stage-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 10px 12px 10px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.stage-total span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.stage-total .price { font-size: 26px; line-height: 1.1; }
.calc-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calc-mode input { position: absolute; opacity: 0; pointer-events: none; }
.calc-mode label { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; }
.calc-mode label b { display: block; font-size: 15px; }
.calc-mode label small { color: var(--muted); font-size: 13px; }
.calc-mode input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.calc-mode input:focus-visible + label { outline: 2px solid var(--terra); outline-offset: 2px; }
.simple-only { display: none; }
.is-simple .simple-only { display: revert; }
.is-simple .simple-only[hidden] { display: none; }
.is-simple .adv, .is-simple .adv-wrap { display: none !important; }
.is-simple .ctl--row { grid-template-columns: 120px !important; }
.prep-note { margin: 8px 0 0; }
.stage { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #DADADA; }
.stage canvas { display: block; width: 100%; height: clamp(320px, 62vh, 640px); touch-action: none; }
.stage-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(42,42,42,.78); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.stage-drop { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.12); border: 3px dashed var(--terra); color: var(--terra-2); font-weight: 700; }
.stage.dragging .stage-drop { display: flex; }
.stage-drop { pointer-events: none; }
.stage-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; min-height: 28px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; font: 700 14px/1 var(--sans); color: var(--walnut); cursor: pointer; }
.link-btn:hover { color: var(--terra); }
.link-btn svg { width: 16px; height: 16px; }
.variants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.variants-empty { grid-column: 1 / -1; margin: 0; padding: 12px; border: 1px dashed var(--line); border-radius: var(--r); }
.variant { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.variant.on { border-color: var(--terra); box-shadow: inset 0 0 0 1px var(--terra); }
.variant-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.variant-open img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.variant-info { padding: 8px 10px 10px; }
.variant-info b { display: block; font: 600 15px/1.2 var(--mono); color: var(--terra); }
.variant-info small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.variant-del { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(248,248,248,.92); font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink); }
.privacy-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.privacy-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--olive); }
.fit-controls { min-width: 0; display: grid; gap: 12px; }
.ctl { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; min-width: 0; }
.ctl-head { display: flex; align-items: center; gap: 10px; font: 600 17px/1.2 var(--serif); margin-bottom: 12px; }
.ctl-n { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--linen); font: 600 12px/1 var(--mono); align-items: center; justify-content: center; flex: none; }
.ctl--row { display: grid; grid-template-columns: 1fr 1fr 84px; gap: 10px; }
.ctl--row:has(#backing-wrap[hidden]) { grid-template-columns: 1fr 84px; }
.ctl--row .lbl { font-size: 13px; }
.ctl--row select, .ctl--row input { padding: 10px 12px; font-size: 15px; }
.lock { width: 40px; height: 46px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lock svg { width: 18px; height: 18px; }
.lock[aria-pressed="true"] { color: var(--terra); border-color: var(--terra); background: #F3F3F3; }
.fit .size-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: end; }
.fit .presets { margin-top: 10px; }
.seg { display: flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; margin-bottom: 10px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { flex: 1; text-align: center; padding: 10px 6px; font-weight: 700; font-size: 14px; cursor: pointer; border-right: 1px solid var(--line); white-space: nowrap; }
.seg label:last-of-type { border-right: 0; }
.seg input:checked + label { background: var(--ink); color: var(--linen); }
.seg input:focus-visible + label { outline: 2px solid var(--terra); outline-offset: -2px; }
.sw--img { background-color: var(--c, var(--linen-2)); background-size: cover; background-position: center; }
.mat-colors { display: flex; gap: 8px; flex-wrap: wrap; transition: opacity .15s; }
.mat-colors.off { opacity: .45; }
.mc { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--c); cursor: pointer; padding: 0; box-shadow: inset 0 0 0 3px #fff; }
.mc.on { outline: 2px solid var(--terra); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; line-height: 1.2; }
.chips label small { font: 400 11px/1 var(--mono); color: var(--muted); margin-left: 2px; }
.chips input:checked + label { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.chips input:checked + label small { color: #C9C9C9; }
.chips input:focus-visible + label { outline: 2px solid var(--terra); outline-offset: 2px; }
.price-box { position: static; padding: 18px 20px; }
.price-box .r-total { padding-top: 0; }
.price-box .r-total .price { font-size: 36px; }
.price-box.loading .r-total .price { opacity: .45; }
.breakdown { margin-top: 8px; font-size: 14px; }
.breakdown summary { cursor: pointer; color: var(--walnut); font-weight: 700; font-size: 14px; }
.price-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; margin: 14px 0 10px; }
.price-actions .btn { padding: 13px 12px; }
.calc-summary { white-space: pre-wrap; font-family: var(--mono); max-height: 160px; overflow-y: auto; }
.consent.attach { background: var(--linen); padding: 10px 12px; border-radius: var(--r); margin-bottom: 12px; }
.fit-controls { counter-reset: step; }
.fit-controls > .ctl { counter-increment: step; }
.ctl-n::before { content: counter(step); }
.wt-pick { position: relative; }
.ctl:has(.wt-pick.open) { position: relative; z-index: 60; }
.wt-pick.open .wt-menu { animation: none; opacity: 1; }
.wt-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; font: 600 15px/1.2 var(--sans); color: var(--ink); text-align: left; }
.wt-btn:hover, .wt-pick.open .wt-btn { border-color: var(--ink); }
.wt-btn::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); margin-left: auto; flex: none; transition: transform .15s; }
.wt-pick.open .wt-btn::after { transform: rotate(-135deg) translate(-2px, -1px); }
.wt-cur { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wt-cur svg, .worktypes label svg { width: 22px; height: 22px; color: var(--walnut); flex: none; }
.wt-menu { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px; max-height: min(420px, 60vh); overflow-y: auto; }
.worktypes input { position: absolute; opacity: 0; pointer-events: none; }
.worktypes label { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 4px; cursor: pointer; font-size: 14px; line-height: 1.25; }
.worktypes label:hover { background: var(--linen); }
.worktypes input:checked + label { background: var(--linen-2); font-weight: 600; box-shadow: inset 3px 0 0 var(--terra); }
.worktypes input:focus-visible + label { outline: 2px solid var(--terra); outline-offset: -2px; }
.mir-sw { width: 26px; height: 20px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.opts--mirror .opt { align-items: center; }
.opt-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.varnish-kind { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 0 12px; }
.varnish-kind label { flex: none; }
.opt-note { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.tips { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.tips[hidden] { display: none; }
.tip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px 8px 34px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; position: relative; font-size: 13.5px; line-height: 1.4; }
.tip::before { content: ""; position: absolute; left: 11px; top: 11px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #D3D3D3 0 35%, rgba(211,211,211,.25) 36% 100%); }
.tip-t { flex: 1 1 220px; color: var(--ink); }
.tip .tip-btn { flex: none; padding: 6px 12px; font-size: 13px; }
.tip.is-done { background: var(--ok-bg); border-color: #D2D2D2; }
.tip.is-done::before { background: var(--olive); }
.tip-ok { color: var(--olive); font-weight: 700; font-size: 13px; }
.tip-undo { font-size: 13px; padding: 2px 0; }
.work-hint { margin: 10px 0 0; font-size: 14px; color: var(--muted); background: var(--linen); border-left: 3px solid var(--terra); padding: 8px 12px; border-radius: 0 4px 4px 0; }
.bag-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 6px; }
.bag-tools .bag-search { grid-column: 1 / -1; }
.bag-tools select, .bag-tools input { padding: 9px 30px 9px 10px; font-size: 14px; background-position: right 10px center; min-width: 0; width: 100%; }
.bag-tools input { padding-right: 10px; }
.tones { position: relative; min-width: 0; }
.tone-btn { width: 100%; height: 100%; min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 6px 30px 6px 8px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; font: 500 14px/1.2 var(--sans); color: var(--ink); text-align: left; position: relative; }
.tone-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tone-btn::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.tones.open .tone-btn { border-color: var(--ink); }
.tones.open .tone-btn::after { transform: translateY(-30%) rotate(-135deg); }
.tone-btn i, .tone i { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), inset 0 -3px 5px rgba(0,0,0,.12); }
.tone-btn i.all, .tone--all i { background: conic-gradient(#F1F1F1, #A0A0A0, #2D2D2D, #1E1E1E, #ADADAD, #929292, #3F3F3F, #636363, #484848, #F1F1F1); }
.tone-menu { position: absolute; z-index: 40; left: 0; top: calc(100% + 6px); width: max(100%, 260px); max-height: min(380px, 55vh); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px; }
.tone-menu[hidden] { display: none; }
.tone { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border: 0; border-radius: 4px; background: none; cursor: pointer; font: 500 14px/1.2 var(--sans); color: var(--ink); text-align: left; }
.tone span { flex: 1; }
.tone small { font: 500 12px/1 var(--mono); color: var(--muted); }
.tone:hover { background: var(--linen); }
.tone.on { background: var(--linen-2); font-weight: 700; box-shadow: inset 3px 0 0 var(--terra); }
.tone:focus-visible { outline: 2px solid var(--terra); outline-offset: -2px; }
.tones--bc { margin: 0; }
.bag-tools select:disabled { color: var(--muted); background-color: var(--linen); }
.bag-count { min-height: 18px; margin-bottom: 6px; }
.bag-wrange { grid-column: 1 / -1; padding: 6px 2px 0; --a: 0%; --b: 100%; }
.wr-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.wr-head b { color: var(--ink); font: 600 13px/1.2 var(--mono); }
.wr-nums { display: inline-flex; gap: 8px; align-items: center; }
.wr-nums label { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.wr-nums input { width: 62px; padding: 5px 6px; font: 600 13px/1.2 var(--mono); text-align: center; -moz-appearance: textfield; }
.wr-nums input::-webkit-outer-spin-button, .wr-nums input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wr-track { position: relative; height: 28px; }
.wr-track::before { content: ""; position: absolute; left: 10px; right: 10px; top: 12px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--line) var(--a), var(--terra) var(--a), var(--terra) var(--b), var(--line) var(--b)); }
.wr-track input[type=range] { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; padding: 0; border: 0; height: 28px; }
.wr-track input[type=range]::-webkit-slider-runnable-track { background: none; height: 28px; }
.wr-track input[type=range]::-moz-range-track { background: none; }
.wr-track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: #fff; border: 3px solid var(--terra); cursor: grab; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.wr-track input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--terra); cursor: grab; }
.wr-track input[type=range]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--ink); outline-offset: 2px; }
.wr-scale { position: relative; height: 14px; font: 500 11px/1 var(--mono); color: var(--muted); }
.wr-scale span { position: absolute; top: 0; left: calc(10px + (100% - 20px) * var(--v) / 10.5); transform: translateX(-50%); }
.wr-scale span:last-child { color: var(--ink); font-weight: 700; }
.bag-list { max-height: 440px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overscroll-behavior: contain; }
.bag-row { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "thumb main price" "thumb main stock"; align-items: center; gap: 2px 12px;
  padding: 8px 12px 8px 8px; border: 0; border-bottom: 1px solid var(--linen-2); background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.bag-row:last-child { border-bottom: 0; }
.bag-row:hover { background: var(--linen); }
.bag-row.on { background: var(--linen-2); box-shadow: inset 3px 0 0 var(--terra); }
.bag-row:focus-visible { outline: 2px solid var(--terra); outline-offset: -2px; }
.bag-thumb { grid-area: thumb; width: 64px; height: 48px; display: block; border-radius: 2px; }
.bag-thumb.is-photo { object-fit: cover; object-position: 0 0; background: #fff; }
.bc-item .bc-pic { display: block; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 6px; }
.bc-item img.bc-pic { object-fit: contain; background: #fff; padding: 8px; box-sizing: border-box; }
.bag-main { grid-area: main; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bag-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.bag-sku { font: 600 13px/1.3 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bag-w { font: 500 12px/1.3 var(--mono); white-space: nowrap; color: var(--muted); flex: none; }
.bag-type { font-size: 11px; line-height: 1; padding: 3px 6px; border-radius: 3px; background: var(--linen-2); color: var(--walnut); flex: none; }
.bag-name { font-size: 13px; line-height: 1.3; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bag-price { grid-area: price; font: 600 13px/1.2 var(--mono); white-space: nowrap; text-align: right; align-self: end; }
.bag-price small { font-weight: 400; color: var(--muted); }
.bag-stock { grid-area: stock; font-size: 12px; line-height: 1.2; justify-self: end; align-self: start; white-space: nowrap; }
.bag-stock.is-in { color: var(--olive); }
.bag-stock.is-in::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); margin-right: 5px; vertical-align: 1px; }
.bag-stock.is-order { color: var(--muted); }
.bc-item .bag-stock { align-self: flex-start; }
.color-note { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.color-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--gold); }
.stage-color-note { margin-top: 14px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); font-size: 13px; }
.stage-color-note b { color: var(--ink); font-weight: 600; }
.stage-color-note--top { margin: 10px 0 0; padding: 8px 12px; font-size: 12.5px; }
.stage-color-note--bottom { display: none; }
.bag-empty { margin: 0; padding: 18px 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 560px) {
  .bag-tools { grid-template-columns: 1fr 1fr; }
  .bag-list { max-height: 60vh; }
  .bag-row { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 8px 10px 8px 6px; gap: 2px 10px; }
  .bag-thumb { width: 56px; height: 42px; }
}
}
.bag-more { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; padding: 14px 12px; border: 0; border-top: 1px dashed var(--line);
  background: linear-gradient(var(--paper), var(--linen)); color: var(--walnut); font: 700 14px/1.2 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.bag-more[hidden] { display: none; }
.bag-more::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.bag-more small { font: 500 12px/1 var(--mono); color: var(--muted); }
.bag-more:hover { background: var(--linen-2); color: var(--terra); }
.bag-more:focus-visible { outline: 2px solid var(--terra); outline-offset: -2px; }
.bag-row.is-new { animation: bagIn .35s ease-out both; }
@keyframes bagIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bag-row.is-new { animation: none; } }
.bag-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 0 12px; }
.bag-actions .link-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.bag-actions svg { width: 16px; height: 16px; }
.bagcat { width: min(1120px, calc(100vw - 32px)); max-width: none; height: min(860px, calc(100vh - 32px)); max-height: none; padding: 0; border: 0; border-radius: 10px; background: var(--linen); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); overflow: hidden; }
.bagcat::backdrop { background: rgba(28,28,28,.55); }
.bagcat[open] { display: flex; }
.bagcat-box { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.bagcat-head { padding: 18px 22px 10px; border-bottom: 1px solid var(--line); background: var(--paper); }
.bagcat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bagcat-top h2 { margin: 0; font-size: 26px; }
.bagcat-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); flex: none; }
.bagcat-close:hover { border-color: var(--ink); }
.bagcat-tabs { margin-bottom: 10px; }
.bagcat-tabs .tab { padding: 9px 14px; font-size: 14px; }
.bagcat-tools { margin-bottom: 6px; }
.bagcat-tools input, .bagcat-tools select { padding: 10px 12px; font-size: 15px; }
.bagcat-grid { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; align-content: start; grid-auto-rows: max-content; }
.bagcat-grid .empty { grid-column: 1 / -1; }
.bc-item { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 0 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; overflow: hidden; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.bc-item:hover { border-color: var(--walnut); box-shadow: var(--shadow); }
.bc-item.on { border-color: var(--terra); box-shadow: inset 0 0 0 2px var(--terra); }
.bc-item > span { padding: 0 10px; }
.bc-name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.bc-meta { font-size: 12px; color: var(--muted); line-height: 1.35; }
.bc-sku { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; font: 500 11px/1.3 var(--mono); color: var(--muted); }
.bc-sku > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-sku .bc-w { flex: none; font-weight: 700; color: var(--ink, #111); white-space: nowrap; }
.bc-price { margin-top: auto; padding-top: 6px !important; font: 600 15px/1.2 var(--mono); color: var(--terra); }
.bc-price small { font: 400 11px var(--sans); color: var(--muted); margin-left: 3px; }
.bagcat-foot { padding: 10px 22px 12px; text-align: center; border-top: 1px solid var(--line); background: var(--paper); }
.bagcat-foot:has(#bc-more[hidden]) { display: none; }
.bagcat-grid, .bagcat-box { overscroll-behavior: contain; }
@media (max-width: 720px) {
  .bagcat { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .bagcat-head { padding: 12px 16px 8px; }
  .bagcat-top h2 { font-size: 21px; }
  .bagcat-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .bagcat-tabs .tab { white-space: nowrap; }
  .bagcat-tools { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bagcat-tools .search, .bagcat-tools > div:last-child { grid-column: 1 / -1; }
  .bagcat-grid { padding: 12px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bag-actions .link-btn { margin-left: 0; }
}
.ml { padding: 10px 0 12px; border-top: 1px dashed var(--line); }
.ml:first-child { border-top: 0; padding-top: 2px; }
.ml-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.ml-w { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.ml-w input { width: 84px; padding: 7px 10px; font-size: 15px; }
.ml-range { width: 100%; accent-color: var(--terra); margin: 2px 0 6px; }
.ml-presets { margin: 0 0 10px; }
.opts { display: grid; gap: 6px; }
.opt { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; font-size: 14px; line-height: 1.35; }
.opt input { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid #949494; border-radius: 50%; background: #fff; flex: none; display: grid; place-content: center; cursor: pointer; }
.opt input::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); transform: scale(0); transition: transform .12s; }
.opt input:checked { border-color: var(--terra); }
.opt input:checked::before { transform: scale(1); }
.opt input[type=checkbox] { border-radius: 4px; }
.opt input[type=checkbox]::before { width: 10px; height: 10px; border-radius: 1px; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%); }
.opt input:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; margin-top: 12px; }
.extras:empty { display: none; }
.chips--sm label { padding: 7px 14px; }
@media (max-width: 980px) {
  .fit-grid { grid-template-columns: 1fr; gap: 14px; }
  .fit-head { padding: 20px 0 12px; }
  .fit-head .lead { display: none; }
  .fit-stage { display: contents; }
  .stage-sticky { order: 1; } .fit-controls { order: 2; } .variants { order: 3; } .stage-color-note--bottom { order: 4; margin: 0; display: flex; } .stage-color-note--top { display: none; } .privacy-note { order: 5; }
  .stage-sticky { position: sticky; top: var(--header-h); z-index: 20; background: var(--linen); padding: 8px 20px 4px; margin: 0 -20px; border-bottom: 1px solid var(--line); }
  .stage canvas { height: 31vh; min-height: 190px; }
  .hide-sm { display: none; }
  .stage-bar { margin-bottom: 6px; gap: 8px; }
  .stage-empty p, .stage-empty small { display: none; }
  .stage-card { padding: 10px; border-radius: 10px; }
  .stage-empty .stage-upload { padding: 12px 18px; font-size: 15px; }
  .stage-total { display: none; }
  .rooms { margin-bottom: 6px; }
  .room { padding: 3px 3px 5px; }
  .room img { height: 44px; }
  .room span { font-size: 10.5px; }
  .room { padding: 3px; }
  .variants { grid-template-columns: repeat(3, minmax(96px, 1fr)); overflow-x: auto; margin-top: 10px; }
  .variant-open img { aspect-ratio: 4 / 3; }
  .variants-empty, .privacy-note { display: none; }
  .variant-info { padding: 4px 6px 6px; }
  .variant-info small { display: none; }
  .stage-meta { margin-top: 4px; min-height: 0; }
}
@media (max-width: 480px) {
  .stage-sticky { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .ctl { padding: 14px; }
  .ctl--row { grid-template-columns: 1fr 1fr; }
  .ctl--row > div:last-child { grid-column: 1 / -1; }
  .ctl--row:has(#backing-wrap[hidden]) { grid-template-columns: 1fr 1fr; }
  .ctl--row:has(#backing-wrap[hidden]) > div:last-child { grid-column: auto; }
  .price-actions { grid-template-columns: 1fr; }
}
.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.svc-jump a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 14px; text-decoration: none; color: var(--ink); }
.svc-jump a:hover { border-color: var(--ink); }
.svc-group { margin-bottom: 36px; scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-group h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.svc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.svc:hover { border-color: var(--walnut); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.svc-ic { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--linen); display: grid; place-items: center; color: var(--walnut); }
.svc-ic svg { width: 26px; height: 26px; }
.svc-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.svc-t b { font-size: 16px; line-height: 1.25; }
.svc-t .price { font-size: 14px; }
.svc-go { color: var(--terra); font-weight: 700; }
.svc-hero .split { align-items: center; }
.svc-pricebox { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--terra); border-radius: var(--r); background: var(--paper); margin: 4px 0 18px; }
.svc-pricebox span { font-size: 14px; color: var(--muted); }
.svc-pricebox b { font-size: 26px; }
.svc-photo img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-visual { aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--linen-2); display: grid; place-items: center; color: var(--walnut); border: 14px solid #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.svc-visual svg { width: 34%; height: auto; stroke-width: 1.1; }
.svc-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.svc-steps li { counter-increment: s; position: relative; padding: 0 0 16px 46px; color: var(--muted); }
.svc-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--linen); font: 600 13px/30px var(--mono); text-align: center; }
.footer-services { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 24px; }
.footer-services ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
@media (max-width: 720px) { .svc-visual { display: none; } .svc-hero .svc-photo { order: -1; } }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.svc-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--ink); }
.svc-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen-2); }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-card-img img { transform: scale(1.05); }
.svc-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.svc-card-body b { font: 600 19px/1.25 var(--serif); }
.svc-card-text { font-size: 14px; color: var(--muted); line-height: 1.45; }
.svc-card-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.svc-card-foot .price { font-size: 15px; }
.svc-card-foot .more { font-weight: 700; font-size: 14px; color: var(--terra); white-space: nowrap; }
.svc-seo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.svc-seo-text h2 { font-size: clamp(24px, 2.6vw, 32px); }
.svc-seo-text p { font-size: 17px; line-height: 1.65; color: #424242; }
.svc-why { background: var(--ink); color: var(--linen); border-radius: var(--r); padding: 26px 26px 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.svc-why .eyebrow { color: var(--gold-light); }
.svc-why .ticks li { color: #D7D7D7; font-size: 15px; }
.svc-why .ticks li b { color: #fff; }
.svc-why .ticks li::before { border-color: var(--gold-light); }
.svc-why a { color: var(--gold-light); }
.header-calc { display: inline-flex; align-items: center; gap: 8px; }
.header-calc svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .svc-seo { grid-template-columns: 1fr; gap: 24px; } .svc-why { position: static; } }
.why-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r); padding: 26px 24px; }
.why-n { display: block; font: 600 13px/1 var(--mono); color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; }
.why-card h3 { font-size: 22px; margin-bottom: 10px; }
.why-card p { color: var(--muted); margin: 0; }
.compare h3 { margin-bottom: 14px; }
.compare td b { color: var(--olive); }
.bagcat-foot:has(#mc-more[hidden]) { display: none; }
.mat-cur { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 8px; margin: 10px 0 8px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.mat-cur:hover { border-color: var(--ink); }
.mat-cur-pic { display: block; width: 52px; height: 52px; object-fit: cover; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.mat-cur-txt { display: grid; gap: 2px; min-width: 0; }
.mat-cur-txt b { font-size: 15px; line-height: 1.25; }
.mat-cur-txt small { font-size: 12px; color: var(--muted); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; }
.mat-cur-go { font-size: 13px; font-weight: 700; color: var(--terra); white-space: nowrap; }
.mat-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 6px; }
.mq { padding: 0; border: 1px solid var(--line); border-radius: 3px; background: #fff; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.mq-pic { display: block; width: 100%; height: 100%; object-fit: cover; }
.mq.on { outline: 2px solid var(--terra); outline-offset: 2px; }
.mq:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.mc-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mc-item .mc-pic { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 6px; }
.wt-group { margin: 8px 10px 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wt-group:first-child { margin-top: 2px; }
.size-exact { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--linen); font-size: 13px; line-height: 1.45; }
.size-exact b { color: var(--ink); }
.advisor { margin: 4px 0 14px; }
.fa-open { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.fa-open:hover, .fa-open[aria-expanded="true"] { background: var(--ink); color: #fff; }
.fa-open:hover small, .fa-open[aria-expanded="true"] small { color: rgba(255,255,255,.75); }
.fa-open b { display: block; font-size: 15px; }
.fa-open small { display: block; font-size: 12.5px; color: var(--muted); }
.fa-spark { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 17px; }
.fa-panel { margin-top: 10px; padding: 14px; border-radius: var(--r); background: var(--linen); }
.fa-qrow { margin-bottom: 12px; }
.fa-qrow > b { display: block; font-size: 13.5px; margin-bottom: 6px; }
.fa-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.fa-opt { display: grid; gap: 1px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; color: inherit; }
.fa-opt span { font-weight: 700; font-size: 13.5px; }
.fa-opt small { font-size: 11.5px; color: var(--muted); }
.fa-opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.fa-go { margin-top: 2px; }
.fa-note { margin: 12px 0 8px; }
.fa-cards { display: grid; gap: 10px; }
.fa-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: var(--r); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.fa-pic { width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.fa-pic img, .fa-pic canvas { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.fa-body { display: grid; gap: 3px; min-width: 0; }
.fa-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.fa-title { font-size: 14px; line-height: 1.3; }
.fa-meta { font-size: 12.5px; color: var(--muted); }
.fa-price { font-weight: 800; font-size: 16px; }
.fa-why { margin: 4px 0 6px; padding-left: 18px; font-size: 13px; line-height: 1.45; }
.fa-why li { margin-bottom: 2px; }
.fa-act { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 520px) { .fa-card { grid-template-columns: 72px minmax(0, 1fr); } .fa-pic { width: 72px; height: 72px; } }
.fa-panel { padding: 12px; }
.fa-qrow { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px; align-items: center; margin-bottom: 8px; }
.fa-qrow > b { margin: 0; font-size: 13px; line-height: 1.25; }
.fa-opts { gap: 4px; }
.fa-opt { display: inline-block; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; }
.fa-opt.on { background: var(--ink); color: #fff; box-shadow: none; }
.fa-hint { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.fa-go { display: none; }
.fa-note { margin: 10px 0 6px; }
.fa-more { font-size: 12.5px; margin: -2px 0 6px; }
.fa-more summary { cursor: pointer; color: var(--muted); }
@media (max-width: 560px) { .fa-qrow { grid-template-columns: 1fr; gap: 4px; } }
.fa-step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.fa-step-n { font-size: 12px; color: var(--muted); }
.fa-dots { display: flex; gap: 5px; }
.fa-dots i { width: 18px; height: 4px; border-radius: 4px; background: var(--line); }
.fa-dots i.done { background: var(--muted); }
.fa-dots i.on { background: var(--ink); }
.fa-step-q { display: block; font-size: 16px; margin-bottom: 10px; }
.fa-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fa-tile { display: grid; gap: 2px; padding: 12px; min-height: 64px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.fa-tile b { font-size: 14.5px; }
.fa-tile small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.fa-tile:hover { border-color: var(--ink); }
.fa-tile.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.fa-step-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; }
.fa-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fa-sum-l { font-size: 12.5px; color: var(--muted); margin-right: 2px; }
.fa-chip { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 13px/1.2 inherit; font-family: inherit; color: inherit; cursor: pointer; }
.fa-chip span { color: var(--muted); font-weight: 400; margin-left: 2px; }
.fa-chip:hover { border-color: var(--ink); }
.fa-photo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #fff; font-size: 13px; }
.fa-pal { display: inline-flex; width: 84px; height: 14px; border-radius: 4px; overflow: hidden; vertical-align: -2px; margin-right: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.fa-pal i { display: block; height: 100%; }
.fa-q, .fa-qrow, .fa-hint { display: none; }
.mc-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.mc-tools .mc-search { flex: 1 1 200px; min-width: 0; }
.mc-tools .mc-search input { width: 100%; }
.mc-tools .mc-f { flex: 0 1 auto; min-width: 0; max-width: 220px; }
.mc-tools select.mc-f { height: 40px; padding: 0 30px 0 12px; border-radius: 10px; font-size: 13.5px; }
@media (max-width: 640px) {
  .mc-tools { display: grid; grid-template-columns: 1fr 1fr; }
  .mc-tools .mc-search { grid-column: 1 / -1; }
  .mc-tools .mc-f { max-width: none; width: 100%; }
}
.fa-need { display: grid; gap: 6px; justify-items: start; }
.fa-need b { font-size: 15px; }
.fa-need p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.mb-tip { display: flex; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--linen); }
.mb-tip > div { display: grid; gap: 4px; justify-items: start; }
.mb-tip b { font-size: 13.5px; }
.mb-tip small { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.mb-tip .btn { margin-top: 4px; }
.mb-ico { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.mb-tip.on .mb-ico { background: #3E7B4F; }
.mb-was { display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 700; color: #3E7B4F; }
.mb-pulse { animation: mbPulse 1.2s ease-out; }
@keyframes mbPulse { 0% { box-shadow: 0 0 0 0 rgba(62,123,79,.55); background: #E3F1E6; } 100% { box-shadow: 0 0 0 10px rgba(62,123,79,0); } }
.qty-hint { grid-column: 1 / -1; font-size: 13px; line-height: 1.45; }
.qty-hint p { margin: 6px 0; }
.qty-hint b { color: var(--ink); }
.qty-scale { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.qty-scale li { padding: 3px 8px; border-radius: 999px; background: var(--linen); font-size: 12px; color: var(--muted); white-space: nowrap; }
.qty-scale li b { color: inherit; font-weight: 700; }
.qty-scale li.on { background: var(--ink); color: #fff; }
.pro-box { margin-bottom: 12px; }
.pro-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--linen); margin-bottom: 10px; }
.pro-switch button { padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; font: 600 13px/1 inherit; font-family: inherit; color: var(--muted); cursor: pointer; }
.pro-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pro-panel { padding: 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; overflow-x: auto; }
.pro-t { width: 100%; border-collapse: collapse; }
.pro-t th { text-align: left; font-weight: 600; color: var(--muted); padding: 4px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pro-t td { padding: 6px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.pro-t td small { display: block; color: var(--muted); }
.pro-sum { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 10px; }
.pro-sum b { text-align: right; }
.pro-m { color: #3E7B4F; font-size: 14px; }
.pro-note { margin: 8px 0 0; color: var(--muted); font-size: 11.5px; }
.pro-box { contain: inline-size; min-width: 0; }
.pro-t td, .pro-t th { font-size: 12px; }
.size-exact .size-lock { display: block; margin-top: 4px; }
.r-disc { color: #3E7B4F; font-weight: 700; }
.pro-h { font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.pro-row { display: grid; gap: 1px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.pro-row small { color: var(--muted); }
#outer-size { display: block; min-width: 0; }
.outer-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 5px 14px 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.outer-btn:hover { border-color: var(--ink); }
.outer-btn svg { flex: none; width: 17px; height: 17px; }
.outer-btn > span { color: var(--muted); }
.outer-btn b { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.outer-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.outer-btn[aria-pressed="true"] > span { color: rgba(255, 255, 255, .72); }
.outer-note { display: block; margin-top: 6px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.outer-plain b { font-weight: 700; color: var(--ink); }
.dims-on .stage-empty { display: none !important; }
.fa-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 12px; }
.fa-foot-exact { font-size: 13px; }
.fa-foot-exact > span { color: var(--muted); }
.fa-dlg { width: min(620px, calc(100vw - 24px)); max-height: 90vh; padding: 24px; border: 0; border-radius: 16px; background: var(--paper, #fff); color: var(--ink); box-sizing: border-box; }
.fa-dlg::backdrop { background: rgba(17, 17, 17, .5); }
.fa-dlg h2 { margin: 0 0 4px; font-size: 22px; }
.fa-dlg-sub { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.fa-dlg section { margin-bottom: 18px; }
.fa-dlg .fa-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.fa-dlg-btns { position: sticky; bottom: -24px; display: flex; justify-content: flex-end; gap: 8px; margin: 0 -24px -24px; padding: 14px 24px; background: var(--paper, #fff); border-top: 1px solid var(--line); }
.sl-tabs { margin-bottom: 8px; }
.sl-tabs .tab { padding: 7px 12px; font-size: 13px; }
.sl + .sl { margin-top: 14px; }
.sl .ml-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.sl-list { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.sl-item { display: grid; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; text-align: left; font: inherit; font-size: 12px; line-height: 1.25; color: inherit; scroll-snap-align: start; }
.sl-item small { display: block; color: var(--muted); font-size: 11px; }
.sl-item.on { border-color: var(--terra); box-shadow: inset 0 0 0 2px var(--terra); }
.sl-pic { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 0 0; border-radius: 2px; }
.sl-pic--none { display: grid; place-items: center; background: var(--linen-2); color: var(--muted); font-size: 22px; }
.extra-frames { display: grid; gap: 8px; margin-top: 14px; }
.extra-frames:empty { display: none; }
.ef-card { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 44px 10px 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.ef-pic { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.ef-thumb { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.ef-body { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.ef-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ef-title { font-size: 14px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ef-meta { font-size: 12.5px; color: var(--muted); }
.ef-change { margin-top: 5px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 13px/1 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.ef-change:hover { border-color: var(--ink); }
.ef-del { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--linen); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.ef-del:hover { background: var(--ink); color: #fff; }
.ef-add { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1.5px dashed var(--line); border-radius: var(--r); background: transparent; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .2s, background .2s; }
.ef-add:hover { border-color: var(--ink); background: #fff; }
.ef-plus { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; font-weight: 400; line-height: 1; }
.ef-add-txt { display: grid; gap: 2px; }
.ef-add-txt b { font-size: 14px; }
.ef-add-txt small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.sl-tabs { margin-bottom: 8px; }
.sl-tabs .tab { padding: 7px 12px; font-size: 13px; }
.sl + .sl { margin-top: 14px; }
.sl .ml-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.sl-list { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.sl-item { display: grid; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; text-align: left; font: inherit; font-size: 12px; line-height: 1.25; color: inherit; scroll-snap-align: start; }
.sl-item small { display: block; color: var(--muted); font-size: 11px; }
.sl-item.on { border-color: var(--terra); box-shadow: inset 0 0 0 2px var(--terra); }
.sl-pic { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 0 0; border-radius: 2px; }
.sl-pic--none { display: grid; place-items: center; background: var(--linen-2); color: var(--muted); font-size: 22px; }
.hb-grid { display: grid; gap: 16px; }
.hb-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; }
.hb-head b { font-size: 15px; }
.opts--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opts--hang { grid-template-columns: 1fr; }
.opts--cards .opt--card { position: relative; flex-direction: column; gap: 6px; padding: 12px 12px 12px 40px; min-height: 100%; }
.opts--cards .opt--card input { position: absolute; left: 13px; top: 14px; margin: 0; }
.opt--card b { display: block; font-size: 14px; margin-bottom: 2px; }
.opt--card small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.opts--hang .opt--card { flex-direction: row; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.opts--hang .opt--card input { top: 50%; transform: translateY(-50%); }
.hang-pic { display: grid; place-items: center; flex: none; width: 72px; height: 54px; padding: 8px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); color: var(--ink); --hang-wood: #ACACAC; }
.hang-pic--photo { padding: 0; object-fit: cover; }
.hang-pic svg { width: 100%; height: 100%; }
.opt--card.is-rec::after { content: "Рекомендуем"; position: absolute; top: -8px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 10.5px/1.5 var(--sans); letter-spacing: .02em; }
.hb-rec { margin: 8px 0 0; padding: 9px 12px; border-radius: var(--r); background: var(--linen); font-size: 13px; line-height: 1.45; }
.hb-rec .link-btn { display: inline; padding: 0 0 0 4px; font-size: 13px; }
.hb--qty { display: grid; grid-template-columns: 1fr 96px; align-items: center; gap: 12px; }
.hb--qty .lbl { margin: 0; }
@media (max-width: 560px) { .opts--cards { grid-template-columns: 1fr; } }
.extra-frames { display: grid; gap: 8px; margin-top: 14px; }
.extra-frames:empty { display: none; }
.ef-card { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 44px 10px 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.ef-pic { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.ef-thumb { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.ef-body { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.ef-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ef-title { font-size: 14px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ef-meta { font-size: 12.5px; color: var(--muted); }
.ef-change { margin-top: 5px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 13px/1 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.ef-change:hover { border-color: var(--ink); }
.ef-del { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--linen); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.ef-del:hover { background: var(--ink); color: #fff; }
.ef-add { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1.5px dashed var(--line); border-radius: var(--r); background: transparent; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .2s, background .2s; }
.ef-add:hover { border-color: var(--ink); background: #fff; }
.ef-plus { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; font-weight: 400; line-height: 1; }
.ef-add-txt { display: grid; gap: 2px; }
.ef-add-txt b { font-size: 14px; }
.ef-add-txt small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.sl-tabs { margin-bottom: 8px; }
.sl-tabs .tab { padding: 7px 12px; font-size: 13px; }
.sl + .sl { margin-top: 14px; }
.sl .ml-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.sl-list { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.sl-item { display: grid; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; text-align: left; font: inherit; font-size: 12px; line-height: 1.25; color: inherit; scroll-snap-align: start; }
.sl-item small { display: block; color: var(--muted); font-size: 11px; }
.sl-item.on { border-color: var(--terra); box-shadow: inset 0 0 0 2px var(--terra); }
.sl-pic { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 0 0; border-radius: 2px; }
.sl-pic--none { display: grid; place-items: center; background: var(--linen-2); color: var(--muted); font-size: 22px; }
.stage-hint { position: static; transform: none; display: block; width: fit-content; margin: 6px auto 0; padding: 0; background: none; color: var(--muted); font-size: 12.5px; white-space: normal; text-align: center; }
.stage-hint[hidden] { display: none; }
.stage-empty { inset: auto; padding: 0; }
.stage-empty > .stage-card { flex: none; width: max-content; max-width: none; }
.stage-empty { overflow: visible; }
.stage-empty.is-small p, .stage-empty.is-small small, .stage-empty.is-icon p, .stage-empty.is-icon small { display: none; }
.stage-empty.is-small .stage-card, .stage-empty.is-icon .stage-card { padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.stage-empty.is-icon .stage-upload { font-size: 0; gap: 0; min-height: 0; padding: 7px; }
.stage-empty.is-icon .stage-upload svg { width: 18px; height: 18px; padding: 0; }
.stage-empty.is-out { position: static; display: flex; padding: 8px 0 0; }
.stage-empty.is-out[hidden] { display: none; }
.more-mark, .bag-more { display: flex; justify-content: center; gap: 6px; width: 100%; padding: 14px; border: 0; background: none; cursor: default; }
.more-mark[hidden], .bag-more[hidden] { display: none; }
.bag-more::before { content: none; } .bag-more:hover { background: none; }
.more-mark i, .bag-more i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .35; animation: moreDot 1s ease-in-out infinite; }
.more-mark i:nth-child(2), .bag-more i:nth-child(2) { animation-delay: .15s; } .more-mark i:nth-child(3), .bag-more i:nth-child(3) { animation-delay: .3s; }
@keyframes moreDot { 50% { opacity: .9; transform: translateY(-3px); } }
.mat-sku-in { display: flex; gap: 6px; margin: 8px 0 0; }
.mat-sku-in input { flex: 1 1 auto; min-width: 0; min-height: 34px; padding: 4px 10px; border: 1px solid var(--line, #ddd); border-radius: 8px; font: 500 13px/1.3 var(--mono, monospace); text-transform: uppercase; }
.mat-sku-in input::placeholder { text-transform: none; font-family: inherit; }
.mat-sku-in .btn { flex: none; min-height: 34px; padding: 4px 12px; font-size: 13px; }
.mat-sku-msg:empty { display: none; }
.mat-sku-msg { margin: 4px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.mat-sku-msg .link-btn { font: 600 12px/1.3 var(--mono, monospace); }
.mat-sug { display: grid; gap: 2px; margin-top: 4px; max-height: 260px; overflow: auto; border: 1px solid var(--line, #ddd); border-radius: 8px; background: #fff; }
.mat-sug-i { display: grid; grid-template-columns: 26px auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 5px 8px; border: 0; background: none; text-align: left; cursor: pointer; font: 500 12.5px/1.3 var(--sans, inherit); color: var(--ink, #111); }
.mat-sug-i:hover, .mat-sug-i:focus-visible { background: #F3F1EC; outline: none; }
.mat-sug-i .mq-pic { width: 26px; height: 26px; border-radius: 4px; }
.mat-sug-i b { font: 700 12.5px/1.3 var(--mono, monospace); }
.mat-sug-i span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted, #6E6A64); }
.mat-sug-more { display: block; margin-top: 3px; }
.stage.heic-busy::after { content: 'Открываем фото с iPhone…'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.78); font: 600 15px/1.3 var(--sans, inherit); color: var(--ink, #111); z-index: 5; }
