@charset "utf-8";

:root {
    --brand: #ab1313;
    --brand-dark: #8e0f0f;
    --ink: #202020;
    --paper: #f6f5f2;
    --line: #d3d0c7;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { color: #333; background: #fff; font: 14px/1.6 "Microsoft YaHei", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input { font: inherit; }
.site-width { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { height: 110px; background: var(--brand); color: #fff; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: block; width: 530px; max-width: 48%; }
.site-logo img { display: block; max-width: 100%; height: auto; }
.header-tools { display: flex; align-items: center; gap: 44px; }
.order-phone { padding-left: 54px; background: url('/styles/images/header-ico1.png') left center / 43px auto no-repeat; }
.order-phone span { display: block; font-size: 18px; }
.order-phone a { display: block; color: #fff; font-size: 30px; line-height: 1.1; font-weight: 700; }
.site-search { display: flex; height: 34px; }
.site-search input { width: 200px; min-width: 0; border: 0; padding: 5px 8px; background: #fff; }
.site-search button { width: 48px; border: 0; color: #fff; background: #222; cursor: pointer; font-size: 24px; line-height: 1; }
.mobile-menu-button { display: none; }

.site-navigation { height: 52px; background: #1f1f1f; }
.navigation-list { height: 52px; display: grid; grid-template-columns: repeat(9, 1fr); list-style: none; margin-top: 0; margin-bottom: 0; padding: 0; }
.navigation-list li { min-width: 0; }
.navigation-list a { display: flex; height: 52px; align-items: center; justify-content: center; padding: 0 6px; color: #fff; font-size: 16px; text-align: center; }
.navigation-list li:hover, .navigation-list .current { background: var(--brand); }

.content-band { padding: 25px 0 0; background: var(--paper); }
.content-grid { display: grid; grid-template-columns: 210px minmax(0, 950px); gap: 40px; align-items: start; }
.sidebar-section { margin-bottom: 20px; background: #fff; }
.sidebar-section h2 { margin: 0; padding: 0 20px; height: 50px; line-height: 50px; color: #fff; background: #1f1f1f; font-size: 17px; }
.sidebar-section ul { list-style: none; margin: 0; padding: 0; }
.sidebar-section li { border-bottom: 1px solid var(--line); }
.sidebar-section li a { display: block; padding: 10px 12px; font-size: 16px; font-weight: 700; }
.sidebar-section li.current a { color: #fff; background: var(--brand); }
.contact-section > div { padding: 14px 12px; }
.contact-section strong { display: block; margin-bottom: 8px; }
.contact-section p { margin: 6px 0; }

.main-content { min-width: 0; overflow: hidden; }
.content-heading { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 50px; border-bottom: 2px solid #d0ccc3; margin-bottom: 20px; }
.content-heading h1 { margin: 0; font-size: 24px; font-weight: 400; }
.content-heading p { margin: 0; font-size: 16px; }
.crab-content { display: block; width: 100%; min-height: 1000px; border: 0; background: #fff; overflow: hidden; }

.site-footer { padding: 32px 0; color: #ddd; background: #444; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner strong { display: block; color: #fff; }
.footer-inner a { color: #fff; font-size: 22px; font-weight: 700; }
.footer-inner p { margin: 0; text-align: right; }

@media (max-width: 900px) {
    .site-width { width: 100%; }
    .site-header { height: 64px; }
    .header-inner { padding: 0 16px; }
    .site-logo { max-width: calc(100% - 62px); width: 330px; }
    .site-logo img { max-height: 46px; }
    .header-tools { display: none; }
    .mobile-menu-button { display: flex; width: 44px; height: 44px; padding: 10px 8px; flex-direction: column; justify-content: space-around; border: 0; background: transparent; cursor: pointer; }
    .mobile-menu-button > span:not(.sr-only) { display: block; width: 100%; height: 2px; background: #fff; }
    .site-navigation { display: none; height: auto; }
    .site-navigation.is-open { display: block; }
    .navigation-list { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .navigation-list a { height: 46px; border-bottom: 1px solid #333; font-size: 15px; }
    .content-band { padding: 0; }
    .content-grid { display: block; }
    .category-sidebar { display: none; }
    .main-content { width: 100%; }
    .content-heading { min-height: 48px; margin: 0 14px 10px; }
    .content-heading h1 { font-size: 19px; }
    .content-heading p { font-size: 12px; white-space: nowrap; }
    .crab-content { min-height: 1200px; }
    .site-footer { padding: 24px 16px 76px; }
    .footer-inner { display: block; text-align: center; }
    .footer-inner p { margin-top: 10px; text-align: center; font-size: 12px; }
}

@media (max-width: 390px) {
    .content-heading { display: block; padding: 8px 0; }
    .content-heading h1 { line-height: 1.4; }
    .content-heading p { white-space: normal; }
}
