@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/roboto-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/roboto-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/roboto-rub.woff2) format('woff2');
  unicode-range: U+20BD;
}

/* printbot.ru: повтор дизайна страницы на Тильде (сессия 1, 12.10.2026; формы и спасибо: сессия 3). Цвета сняты с блоков Тильды. */
:root {
  --navy: #182533;      /* шапка, кнопки, плашки, линии */
  --ink: #1a2026;       /* текст */
  --muted: #59616b;
  --card: #f7f7f7;      /* тело карточки */
  --imgbg: #bdbdbd;     /* подложка картинки товара */
  --soft: #f5f5f5;      /* фон блока заказа */
  --link: #c94a24;      /* ссылки в формах (на Тильде #ff8562, затемнено для читаемости) */
  --focus: #f05957;     /* красный из логотипа */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; font-family: Roboto, Arial, sans-serif; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; }
body { display: flex; flex-direction: column; min-height: 100vh; }   /* подвал внизу и на коротких страницах (спасибо, 404) */
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* шапка */
.hdr { background: var(--navy); color: #fff; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 120px; }
.logo img { width: 255px; }
.hdr-c { text-align: right; line-height: 1.35; }
.hdr-c a { display: block; color: #fff; text-decoration: none; font-size: 20px; }
.hdr-c a:hover { text-decoration: underline; }
.hdr-c small { display: block; font-size: 13px; opacity: .85; margin-top: 3px; }

/* вкладки разделов каталога */
.tabs { display: flex; max-width: 960px; margin: 44px auto 0; border: 1px solid var(--navy); border-radius: 5px; overflow: hidden; }
.tabs a { flex: 1 1 0; text-align: center; padding: 14px 10px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); background: #fff; border-left: 1px solid var(--navy); white-space: nowrap; }
.tabs a:first-child { border-left: 0; }
.tabs a[aria-selected="true"] { background: var(--navy); color: #fff; }
.js .tab-p:not(.on) { display: none; }

/* заголовок раздела: плашка на линии, описание, линия снизу */
.sec { padding-top: 64px; }
.sec-h { position: relative; text-align: center; padding-bottom: 40px; margin-bottom: 64px; border-bottom: 1px solid var(--navy); }
.sec-h::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--navy); }
.sec-h h2 { position: relative; display: inline-block; margin: 0; padding: 9px 24px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.sec-h p { margin: 26px auto 0; max-width: 760px; font-size: 15px; line-height: 1.6; }

/* карточки товаров */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.card { display: flex; flex-direction: column; background: var(--card); }
.card-img { background: var(--imgbg); }   /* картинки Тильды 360x200 уже с серой подложкой */
.card-img img { width: 100%; }
.card-b { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.card .d { margin: 0; font-size: 13px; line-height: 1.6; }
.price { margin: 22px 0 18px; font-size: 17px; }
.opt { display: block; margin: 0 0 12px; font-size: 13px; }
.opt span { display: block; margin-bottom: 4px; }
.opt select { font: inherit; font-size: 13px; color: var(--ink); min-width: 160px; max-width: 100%; padding: 6px 30px 6px 9px; border: 1px solid #d4d4d4; border-radius: 3px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23182533'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; cursor: pointer; }
.btn { display: inline-block; padding: 14px 28px; border: 0; border-radius: 5px; background: var(--navy); color: #fff; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn:hover { background: #24374b; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card .opt:last-of-type { margin-bottom: 22px; }

/* требования к макетам */
.req-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px; border-bottom: 1px solid #eee; margin: 0 0 44px; }
.req-tabs button { padding: 12px 2px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.req-tabs button[aria-selected="true"] { border-bottom-color: var(--navy); }
.req-p { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; margin-bottom: 40px; }
.js .req-p:not(.on) { display: none; }
.req-p .t { font-size: 16px; line-height: 1.6; }
.req-p .t p:first-child, .req-p .t ul:first-child { margin-top: 0; }
.req-p .t ul { padding-left: 20px; }
.req-p .t a { color: var(--link); }

/* заказ */
.order { margin-top: 70px; padding: 64px 0 72px; background: var(--soft); }
.order > .wrap > h2 { margin: 0 0 12px; text-align: center; font-size: 30px; font-weight: 700; text-transform: uppercase; }
.order .lead { max-width: 760px; margin: 0 auto 34px; text-align: center; font-size: 15px; }
.f { position: relative; max-width: 760px; margin: 0 auto; }
.f input[type="text"], .f input[type="email"], .f input[type="tel"], .f textarea { display: block; width: 100%; height: 60px; margin: 0 0 20px; padding: 0 20px; border: 1px solid #000; border-radius: 5px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.f textarea { height: auto; min-height: 92px; padding: 16px 20px; resize: vertical; }
.f fieldset { margin: 4px 0 14px; padding: 0; border: 0; }
.f legend { margin-bottom: 10px; padding: 0; font-size: 20px; }
.f .rad, .f .chk { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; font-size: 14px; cursor: pointer; }
.f .rad input, .f .chk input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); }
.f .chk a { color: var(--link); }
.f .submit { display: block; width: 200px; height: 60px; margin: 28px auto 0; border: 1px solid #000; border-radius: 5px; background: #fff; color: #000; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.f .submit:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.f .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f .note { min-height: 22px; margin: 14px 0 0; text-align: center; font-size: 14px; }
.f .note.err { color: #b3261e; }
.f .note.err a { color: inherit; font-weight: 700; white-space: nowrap; }
.f .submit[disabled] { opacity: .65; cursor: progress; }
.f .submit[disabled]:hover { background: #fff; color: #000; border-color: #000; }

/* окно заказа с подставленным товаром */
.m { width: calc(100% - 32px); max-width: 640px; max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 6px; box-shadow: 0 20px 60px rgba(24, 37, 51, .35); }
.m::backdrop { background: rgba(24, 37, 51, .6); }
.m-in { position: relative; padding: 30px 32px 30px; }
.m-x { position: absolute; top: 6px; right: 8px; padding: 6px 12px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; }
.m h2 { margin: 0 0 14px; font-size: 22px; }
.m .sum { margin: 0 0 20px; padding: 12px 16px; border-left: 3px solid var(--navy); background: var(--soft); font-size: 14px; }
.m .sum p { margin: 0; }
.m .sum .sum-p { margin-top: 6px; font-weight: 700; }
.m .f input[type="text"], .m .f input[type="email"], .m .f input[type="tel"] { height: 48px; margin-bottom: 14px; padding: 0 16px; }
.m .f textarea { min-height: 70px; margin-bottom: 14px; padding: 12px 16px; }
.m .f legend { font-size: 17px; }
.m .f .submit { height: 52px; margin-top: 20px; }

/* подвал и cookie */
.ftr { padding: 34px 0 40px; background: var(--navy); color: #fff; text-align: center; font-size: 13px; line-height: 1.8; letter-spacing: .04em; }
.ftr p { margin: 0 0 14px; }
.ftr p:last-child { margin: 0; }
.ftr a { color: #fff; }
.ck { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: flex-start; gap: 16px; max-width: 390px; padding: 16px 18px; border-radius: 6px; background: #eee; box-shadow: 0 4px 20px rgba(0, 0, 0, .12); font-size: 12px; line-height: 1.5; }
.ck[hidden] { display: none; }
.ck p { margin: 0; }
.ck a { color: var(--link); }
.ck button { flex: none; padding: 5px 16px; border: 1px solid #000; border-radius: 4px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

/* правовые страницы и 404 */
.legal { max-width: 860px; margin: 0 auto; padding: 44px 20px 80px; font-size: 15px; line-height: 1.65; }
.legal h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.25; }
.legal .meta { margin: 0 0 30px; color: var(--muted); }
.legal h2 { margin: 32px 0 10px; font-size: 19px; line-height: 1.35; }
.legal a { color: var(--link); }
.legal .box { margin-top: 30px; padding: 14px 18px; border-radius: 6px; background: var(--soft); }
.legal .box p { margin: 0; }
.back { display: inline-block; margin-bottom: 26px; font-size: 14px; }
.thanks { max-width: 760px; padding-top: 64px; text-align: center; }
.thanks .lead { font-size: 18px; }
.thanks .box { margin: 26px 0; text-align: left; }
.thanks .btn { margin-top: 10px; color: #fff; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 760px) {
  .hdr-in { min-height: 84px; }
  .logo img { width: 150px; }
  .hdr-c a { font-size: 15px; }
  .hdr-c small { font-size: 11px; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
  .tabs a { padding: 12px 6px; font-size: 14px; border-top: 1px solid var(--navy); }
  .tabs a:nth-child(3n+1) { border-left: 0; }
  .tabs a:nth-child(-n+3) { border-top: 0; }
  .tabs a:last-child:nth-child(3n+2) { grid-column: span 2; }
  .sec { padding-top: 44px; }
  .sec-h { margin-bottom: 32px; padding-bottom: 26px; }
  .sec-h::before { top: 17px; }
  .sec-h h2 { max-width: 92%; padding: 8px 14px; font-size: 13px; }
  .sec-h p { font-size: 14px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .req-tabs { gap: 0 18px; }
  .req-tabs button { font-size: 12px; }
  .req-p { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .order { margin-top: 48px; padding: 44px 0 52px; }
  .order > .wrap > h2 { font-size: 24px; }
  .m-in { padding: 24px 18px 22px; }
  .ck { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* режим без форм (site.forms = false): телефон и почта вместо полей */
.contact { max-width: 760px; margin: 0 auto; text-align: center; }
.contact .c-t { margin: 0 0 22px; font-size: 16px; }
.contact .c-l { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 18px; }
.contact .c-l .btn { font-size: 15px; }
.contact .c-n { margin: 0; font-size: 14px; color: var(--muted); }
.m .contact { margin-top: 18px; }
@media (max-width: 480px) { .contact .c-l .btn { flex: 1 1 100%; } }
