/* Павильон EMART: плотная плоская раскладка. Палитра снята с пикселей бренда:
   #221816 вордмарк, #1c2424 витрина стора, #9a604e/#c47457/#6f382a постер, #ecc893/#d9af7b студийный стол,
   #00a84d хромакей. Без больших радиусов, теней, градиентов, засечек и бумажных фонов. */
:root {
  --ink: #221816;
  --slate: #1c2424;
  --clay: #9a604e;
  --ember: #c47457;
  --deep: #6f382a;
  --sand: #d9af7b;
  --key: #00a84d;
  --line: #d8d3d1;
  --hush: #f3f1f0;
  --mute: #6b625f;
  --pad: 18px;
  --wide: 1280px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.6 "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); }
h1, h2, h3, h4 { font-family: Archivo, "Segoe UI", Arial, sans-serif; font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(25px, 3.4vw, 40px); }
h2 { font-size: clamp(20px, 2.2vw, 27px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
.hold { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad); }
.off { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* (emartus.com: служебная строка над шапкой) */
.callboard { background: var(--slate); color: #efe9e6; font-size: 13px; margin: 0; }
.callboard div { max-width: var(--wide); margin: 0 auto; padding: 7px var(--pad); display: flex; gap: 18px; flex-wrap: wrap; }
.callboard b { color: var(--sand); font-weight: 600; }

/* (emartus.com: шапка — вордмарк слева, нав по центру капсом; хедер только категории + штамп) */
.gate { border-bottom: 2px solid var(--ink); position: relative; z-index: 5; background: #fff; }
.gate__in { max-width: var(--wide); margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; gap: 16px; }
.gate__mark { flex: 0 0 auto; }
.gate__mark img { height: 34px; width: auto; }
.gate__nav { flex: 1 1 auto; min-width: 0; }
.gate__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 16px; justify-content: center; }
.gate__nav a {
  font: 600 12.5px/1 Archivo, Arial, sans-serif; text-transform: uppercase; letter-spacing: .02em;
  color: var(--ink); text-decoration: none; padding: 7px 0; display: block; border-bottom: 2px solid transparent;
}
.gate__nav a:hover, .gate__nav a[aria-current] { border-bottom-color: var(--key); }
.gate__cta { flex: 0 0 auto; }
.gate__key { display: none; }
.gate__pull {
  display: none; border: 2px solid var(--ink); background: #fff; padding: 6px 10px;
  font: 700 12px/1 Archivo, Arial, sans-serif; text-transform: uppercase; cursor: pointer;
}

/* (emartus.com: полноширинный hero с заголовком капсом, строкой характеристик и прямоугольной кнопкой) */
.marquee { background: var(--slate); color: #fff; position: relative; }
.marquee__pic { position: absolute; inset: 0; }
.marquee__pic img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.marquee__in { position: relative; max-width: var(--wide); margin: 0 auto; padding: 26px var(--pad) 24px; }
.marquee h1 { text-transform: uppercase; max-width: 30ch; color: #fff; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.12; margin: 0 0 10px; }
.marquee p { max-width: 72ch; color: #e6ded9; margin: 0 0 12px; font-size: 15px; }
.marquee__facts { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: #fff; }
.marquee__facts li { border-left: 3px solid var(--key); padding-left: 9px; }
.marquee__facts b { font-weight: 600; }

/* штамп-кнопка */
.stamp { border: 0; background: 0; padding: 0; cursor: pointer; display: inline-block; line-height: 0; }
.stamp img { width: 174px; height: auto; }
.stamp--card { display: block; width: 100%; }
.stamp--card img { width: 100%; max-width: 348px; }
.stamp--bar img { width: 174px; }

/* (emartus.com: «Featured Collections» — полоса плиток с белой подписью-кнопкой) */
.bays { padding-top: 34px; padding-bottom: 10px; }
.bays__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 18px; }
.bays__head a { font: 600 13px/1 Archivo, Arial, sans-serif; text-transform: uppercase; }
.bays__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bay { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-bottom: 3px solid var(--ink); min-width: 0; }
.bay:hover { border-bottom-color: var(--key); }
.bay img { aspect-ratio: 16 / 10; height: auto; object-fit: contain; width: 100%; background: #fff; padding: 8px; display: block; }
.bay span {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-top: 1px solid var(--line);
  font: 600 14px/1.25 Archivo, Arial, sans-serif; padding: 9px 11px;
}
.bay small { font-weight: 400; color: var(--mute); font-size: 12px; white-space: nowrap; }

/* (neewer.com: сетка 4-в-ряд; tableclothsfactory.com: бейдж размера поверх фото) */
.pick { padding-top: 26px; padding-bottom: 26px; }
.crates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.crate { border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.crate__pic { position: relative; display: block; border-bottom: 1px solid var(--line); }
.crate__pic img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; background: #fff; padding: 8px; }
.crate__badge { position: absolute; left: 0; top: 0; background: var(--ink); color: #fff; font: 600 11px/1 Archivo, Arial, sans-serif; padding: 5px 7px; }
.crate__in { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.crate__name { font: 600 14px/1.35 Archivo, Arial, sans-serif; color: var(--ink); text-decoration: none; }
.crate__name:hover { color: var(--deep); }
.crate__meta { font-size: 12.5px; color: var(--mute); margin: 0; }
.crate__cost { font: 700 19px/1 Archivo, Arial, sans-serif; margin: 0; }
.crate__cost sup { font-size: 11px; top: -.6em; }
.crate__cost em { font: 400 12px/1 "IBM Plex Sans", Arial, sans-serif; color: var(--mute); font-style: normal; }
.crate__chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.crate__chips li { border: 1px solid var(--line); font-size: 11px; padding: 2px 6px; color: var(--mute); }
.crate__stock { font-size: 12px; color: var(--key); font-weight: 600; margin: 0; }
.crate__stock--off { color: var(--mute); font-weight: 400; }
.crate .stamp { margin-top: auto; }

/* (emartus.com: полоса участков на вкладках) */
.switchboard { padding-top: 30px; padding-bottom: 30px; border-top: 1px solid var(--line); }
.switchboard__tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.switchboard input { position: absolute; opacity: 0; pointer-events: none; }
.switchboard label {
  font: 600 12.5px/1 Archivo, Arial, sans-serif; text-transform: uppercase; padding: 10px 13px;
  cursor: pointer; color: var(--mute); border: 1px solid transparent; border-bottom: 0;
}
.switchboard__pane { display: none; }
.switchboard__pane > p { color: var(--mute); max-width: 76ch; }
#tab-0:checked ~ .switchboard__tabs label[for="tab-0"],
#tab-1:checked ~ .switchboard__tabs label[for="tab-1"],
#tab-2:checked ~ .switchboard__tabs label[for="tab-2"],
#tab-3:checked ~ .switchboard__tabs label[for="tab-3"],
#tab-4:checked ~ .switchboard__tabs label[for="tab-4"],
#tab-5:checked ~ .switchboard__tabs label[for="tab-5"],
#tab-6:checked ~ .switchboard__tabs label[for="tab-6"],
#tab-7:checked ~ .switchboard__tabs label[for="tab-7"] { color: var(--ink); border-color: var(--ink); background: #fff; }
#tab-0:checked ~ .switchboard__pane[data-pane="0"],
#tab-1:checked ~ .switchboard__pane[data-pane="1"],
#tab-2:checked ~ .switchboard__pane[data-pane="2"],
#tab-3:checked ~ .switchboard__pane[data-pane="3"],
#tab-4:checked ~ .switchboard__pane[data-pane="4"],
#tab-5:checked ~ .switchboard__pane[data-pane="5"],
#tab-6:checked ~ .switchboard__pane[data-pane="6"],
#tab-7:checked ~ .switchboard__pane[data-pane="7"] { display: block; }

/* (emartus.com: два зеркальных баннера 50/50) */
.halfset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 30px 0; }
.halfset__pane { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; background: var(--hush); }
.halfset__pane--flip .halfset__pic { order: 2; }
.halfset__pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.halfset__say { padding: 20px 22px; min-width: 0; }
.halfset__say h3 { font-size: 17px; }
.halfset__say p { font-size: 14px; margin: 0 0 10px; color: #3c3331; }
.halfset__say a { font: 600 12.5px/1 Archivo, Arial, sans-serif; text-transform: uppercase; }

/* (emartus.com: «Latest Posts» — три карточки гайдов) */
.notes { padding-top: 30px; padding-bottom: 20px; }
.notes__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.note { border: 1px solid var(--line); display: flex; flex-direction: column; }
.note img { aspect-ratio: 16 / 9; object-fit: cover; }
.note__in { padding: 12px 14px 14px; }
.note__in h3 { margin-bottom: 6px; }
.note__in h3 a { color: var(--ink); text-decoration: none; }
.note__in p { font-size: 13.5px; color: var(--mute); margin: 0; }

/* (bhphotovideo.com: нижний блок SEO-прозы) */
.groundwork { background: var(--hush); border-top: 1px solid var(--line); padding: 34px 0; margin-top: 30px; }
.groundwork__in { max-width: 920px; margin: 0 auto; padding: 0 var(--pad); }
.groundwork h2 { font-size: 23px; }
.groundwork h3 { margin-top: 1.4em; }
.groundwork p { font-size: 15px; }
.groundwork ul { font-size: 15px; padding-left: 20px; }

/* (fjwestcott.com: «Customer Reviews» — средний балл слева, строки отзывов) */
.voices { padding-top: 32px; padding-bottom: 32px; }
.voices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.voice { border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 14px; }
.voice__top { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--mute); }
.voice__top b { color: var(--ink); font-weight: 600; }
.voice h3 { font-size: 15px; margin: 8px 0 6px; }
.voice p { font-size: 14px; margin: 0 0 8px; }
.voice a { font-size: 12.5px; }
.rate { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.rate i { display: inline-block; width: 62px; height: 11px; background: var(--line); position: relative; }
.rate i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--fill, 0%); background: var(--ember); }

/* (fjwestcott.com: крошки) */
.trail { font-size: 12.5px; color: var(--mute); padding: 10px 0; }
.trail ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.trail li + li::before { content: "/"; margin-right: 6px; color: var(--line); }

/* (tableclothsfactory.com: левый рельс категорий + счётчик результатов) */
.floorplan { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 26px; padding: 8px 0 30px; }
.sidebay { font-size: 14px; }
.sidebay h2 { font-size: 14px; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.sidebay ul { list-style: none; margin: 0 0 22px; padding: 0; }
.sidebay li { border-bottom: 1px solid var(--line); }
.sidebay a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; color: var(--ink); text-decoration: none; }
.sidebay a span { color: var(--mute); font-size: 12px; }
.sidebay a:hover { color: var(--deep); }
.sidebay a[aria-current] { font-weight: 600; border-left: 3px solid var(--key); padding-left: 7px; }

/* (neewer.com: строка фильтра/сортировки над сеткой) */
.sieve { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 16px; }
.sieve__count { font-size: 13px; color: var(--mute); margin: 0; }
.sieve__sort { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.sieve__sort select { font: inherit; padding: 5px 7px; border: 1px solid var(--line); background: #fff; }

/* (fjwestcott.com: PDP — вертикальный рельс кадров + правая колонка; полоса вкладок характеристик) */
.case { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 30px; padding: 8px 0 20px; }
/* у части листингов нет буллета о комплектации — вторая колонка осталась бы с одной строкой */
.case--one { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.album { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; }
.album__rail { display: flex; flex-direction: column; gap: 8px; }
.album__th { border: 1px solid var(--line); background: #fff; padding: 2px; cursor: pointer; }
.album__th--on { border-color: var(--ink); }
.album__stage { border: 1px solid var(--line); }
.album__stage img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; padding: 10px; }
.case__col > h1 { font-size: clamp(21px, 2.4vw, 30px); }
.tally { margin: 0 0 20px; padding: 0 0 0 20px; }
.tally li { margin: 0 0 7px; }
.case__sub { color: var(--mute); font-size: 14px; }
.case__kick { color: var(--mute); font-size: 13px; letter-spacing: .02em; margin: 5px 0 0; }
.case__cost { font: 700 30px/1 Archivo, Arial, sans-serif; margin: 10px 0 4px; }
.case__cost sup { font-size: 16px; top: -.7em; }
.case__stock { font-size: 13.5px; font-weight: 600; color: var(--key); margin: 0 0 14px; }
.case__stock--off { color: var(--mute); font-weight: 400; }
.case__options { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.case__options a { display: block; border: 1px solid var(--line); padding: 5px 9px; font-size: 12.5px; text-decoration: none; color: var(--ink); }
.case__options a[aria-current] { border-color: var(--ink); border-width: 2px; font-weight: 600; }
.case__keys { margin: 0 0 16px; padding-left: 20px; font-size: 14.5px; }
.case__keys li { margin-bottom: 6px; }
.case__keys b { font-weight: 600; }
.sheet { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 18px; }
.sheet th, .sheet td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; }
.sheet th { background: var(--hush); width: 44%; font-weight: 600; }
.ply { border: 1px solid var(--line); border-top: 0; }
.ply:first-of-type { border-top: 1px solid var(--line); }
.ply > summary { font: 600 14px/1 Archivo, Arial, sans-serif; padding: 11px 12px; cursor: pointer; background: var(--hush); }
.ply > div { padding: 2px 12px 10px; }
.ply p:last-child { margin-bottom: 0; }

/* (bhphotovideo.com: футер колонками + контактная колонка + строка копирайта с адресом) */
.underfloor { background: var(--ink); color: #e7dfdb; margin-top: 36px; font-size: 14px; }
.underfloor__cols { max-width: var(--wide); margin: 0 auto; padding: 30px var(--pad) 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.underfloor h2 { font-size: 13px; text-transform: uppercase; color: #fff; letter-spacing: .02em; }
.underfloor ul { list-style: none; margin: 0; padding: 0; }
.underfloor li { margin-bottom: 5px; }
.underfloor a { color: #e7dfdb; text-decoration: none; }
.underfloor a:hover { color: var(--sand); text-decoration: underline; }
.underfloor address { font-style: normal; line-height: 1.7; }
.underfloor__fine { max-width: var(--wide); margin: 0 auto; padding: 12px var(--pad) 26px; border-top: 1px solid #3a2c28; color: #a69b96; font-size: 12.5px; }

/* быстрый выбор по задаче, таблица размеров, чек-лист комплекта */
.shots { padding-top: 26px; padding-bottom: 8px; }
.shots__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shot { border: 1px solid var(--line); border-top: 3px solid var(--key); padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.shot h3 { margin: 0; font: 700 16px/1.25 Archivo, Arial, sans-serif; }
.shot p { margin: 0; font-size: 13.5px; color: var(--mute); flex: 1 1 auto; }
.shot a { font: 600 13px/1.2 Archivo, Arial, sans-serif; text-transform: uppercase; }
.sizes { padding-top: 12px; padding-bottom: 14px; }
.sizes__tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sizes__tbl th, .sizes__tbl td { border-bottom: 1px solid var(--line); padding: 11px 12px; text-align: left; vertical-align: top; }
.sizes__tbl thead th { background: var(--hush); font: 600 12.5px/1 Archivo, Arial, sans-serif; text-transform: uppercase; letter-spacing: .02em; border-bottom: 2px solid var(--ink); }
.sizes__tbl tbody th { font: 600 14.5px/1.35 Archivo, Arial, sans-serif; width: 30%; }
.kit { padding-top: 12px; padding-bottom: 26px; }
.kit__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kit__it { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); padding: 13px 13px 15px; background: #fff; }
.kit__n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 13px/26px Archivo, Arial, sans-serif; text-align: center; }
.kit__it h3 { margin: 0; font: 700 15px/1.25 Archivo, Arial, sans-serif; }
.kit__it h3 a { color: var(--ink); text-decoration: none; }
.kit__it h3 a:hover { color: var(--deep); text-decoration: underline; }
.kit__it p { margin: 0; font-size: 13px; color: var(--mute); }

@media (max-width: 1000px) {
  .shots__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bays__row, .crates, .voices__grid, .notes__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .halfset, .case, .floorplan { grid-template-columns: minmax(0, 1fr); }
  .underfloor__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gate__nav {
    order: 3; flex: 1 0 100%; display: none;
  }
  .gate__key:checked ~ .gate__nav { display: block; }
  .gate__nav ul { justify-content: flex-start; }
  .gate__pull { display: block; order: 2; margin-left: auto; }
  .gate__cta { order: 4; }
  .sidebay { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  :root { --pad: 13px; }
  .bays__row, .crates, .voices__grid, .notes__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .notes__row, .voices__grid { grid-template-columns: minmax(0, 1fr); }
  .halfset__pane { grid-template-columns: minmax(0, 1fr); }
  .halfset__pane--flip .halfset__pic { order: 0; }
  .album { grid-template-columns: minmax(0, 1fr); }
  .album__rail { flex-direction: row; overflow: hidden; flex-wrap: wrap; }
  .album__th { width: 56px; }
  .marquee__in { padding: 20px var(--pad) 18px; }
  .shots__row, .kit__row { grid-template-columns: minmax(0, 1fr); }
  .sizes__tbl thead { display: none; }
  .sizes__tbl tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .sizes__tbl th, .sizes__tbl td { display: block; width: auto; border: 0; padding: 3px 4px; }
  .sizes__tbl td::before { content: attr(data-l) ": "; font-weight: 600; }
  /* Плитка участка на телефоне всего ~133px — подпись поверх фото съедала треть кадра. */
  .bay { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
  .bay span { position: static; padding: 7px 9px; }
  .crate__name { font-size: 13px; }
  .underfloor__cols { grid-template-columns: minmax(0, 1fr); }
  .stamp--bar img { width: 150px; }
}
