/* ============ �àçîâûé ñëîé ============ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #222;
    background: #fff;
    margin: 0;
    padding: 0;
}
img { max-width: 100%; height: auto; border: 0; }
table { border-collapse: collapse; max-width: 100%; }
h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; color: #CC0000; margin: 0.6em 0 0.4em; }
h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
p { margin: 0.5em 0; }

/* ============ ˜àïêà ============ */
.site-header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    text-align: center;
}
.site-brand { margin-bottom: 8px; }
.site-title { margin: 0; font-size: 24px; letter-spacing: 0.5px; }
.site-title a { color: #CC0000; text-decoration: none; }
.site-title a:hover { text-decoration: underline; }
.site-tagline { margin: 4px 0 0; color: #666; font-size: 13px; }

.site-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
    margin: 6px 0 10px;
    font-size: 13px;
    color: #444;
}
.site-contacts .contact-item { white-space: nowrap; }
.site-contacts .contact-icon { color: #CC0000; margin-right: 4px; }
.site-contacts a { color: #222; text-decoration: none; }
.site-contacts a:hover { color: #CC0000; text-decoration: underline; }

.site-search {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0 auto 4px;
    max-width: 480px;
}
.site-search input[type="text"] {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    font-family: inherit;
}
.site-search button {
    padding: 6px 14px;
    background: #CC0000;
    color: #fff;
    border: 1px solid #CC0000;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}
.site-search button:hover { background: #A00000; }

/* ============ Œåíþ ============ */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    justify-content: center;
    padding: 8px;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
    background: #fff;
}
.main-nav a {
    color: #CC0000;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 4px;
}
.main-nav a:hover { background: #f0f0f0; text-decoration: underline; }

/* ============ Žñíîâíîé êîíòåíò ============ */
.site-main { padding: 0 16px 24px; max-width: 1100px; margin: 0 auto; }

/* ============ ‘ñûëêè ============ */
a:link    { color: #FF0000; text-decoration: none; }
a:visited { color: #CC0000; text-decoration: none; }
a:hover   { color: #DF0000; text-decoration: underline; }
a:active  { color: #FF5555; text-decoration: none; }

/* ============ €íîíñ ============ */
.announcement {
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #fff8e1;
    border-left: 4px solid #CC0000;
    color: #222;
}

/* ============ About-short íà ãëàâíîé ============ */
.about-short {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
}

/* ============ �ðåâüþ-áëîêè íà ãëàâíîé ============ */
.home-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 16px 0;
}
.preview-col {
    flex: 1 1 280px;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px 14px;
    background: #fcfcfc;
}
.preview-title {
    margin: 0 0 8px;
    font-size: 16px;
}
.preview-title a { color: #CC0000; text-decoration: none; }
.preview-title a:hover { text-decoration: underline; }
.preview-count { color: #888; font-weight: normal; font-size: 13px; }
.preview-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}
.preview-list li {
    padding: 3px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
.preview-list li:last-child { border-bottom: 0; }
.preview-list a { color: #222; text-decoration: none; }
.preview-list a:hover { color: #CC0000; text-decoration: underline; }
.preview-more {
    margin: 6px 0 0;
    font-size: 13px;
    text-align: right;
}

/* ============ ’àáû ïðàéñà ============ */
.price-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
    padding: 6px 0;
    border-bottom: 2px solid #eee;
}
.price-tab {
    padding: 6px 14px;
    border-radius: 4px 4px 0 0;
    background: #f4f4f4;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
.price-tab:hover { background: #eee; text-decoration: none; color: #CC0000; }
.price-tab.active {
    background: #CC0000;
    color: #fff;
}
.price-tab.active:hover { color: #fff; text-decoration: none; }
.tab-count { color: inherit; opacity: 0.7; font-size: 12px; }

/* ============ ƒðóïïû ïðàéñà (details) ============ */
.price-list { margin: 12px 0; }
.price-group {
    margin: 0 0 8px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff;
}
.price-group-title {
    padding: 8px 12px;
    background: #f4f4f4;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    color: #222;
    border-radius: 4px;
    list-style: none;
}
.price-group-title::-webkit-details-marker { display: none; }
.price-group-title::before {
    content: "? ";
    color: #CC0000;
    font-size: 11px;
    margin-right: 4px;
}
.price-group[open] > .price-group-title::before { content: "? "; }
.group-icon { font-style: normal; }

/* ============ ’àáëèöà ïðàéñà ============ */
.price-table {
    width: 100%;
    border: 0;
    background: #fff;
}
.price-table thead th {
    background: #fafafa;
    border-bottom: 1px solid #eee;
    padding: 6px 8px;
    text-align: left;
    font-size: 13px;
    color: #666;
}
.price-table td {
    padding: 6px 8px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}
.price-name { min-width: 240px; }
.price-tara,
.price-price,
.price-developer {
    white-space: nowrap;
    width: 1%;
    color: #444;
}
.price-link { width: 1%; white-space: nowrap; }
.price-link a {
    display: inline-block;
    padding: 2px 6px;
    color: #CC0000;
    font-weight: bold;
}
.price-row:hover { background: #fff8f8; }

/* ============ Inline-îïèñàíèß âíóòðè ñòðîêè ============ */
.price-item summary {
    cursor: pointer;
    color: #222;
    list-style: none;
    display: inline-block;
}
.price-item summary::-webkit-details-marker { display: none; }
.price-item summary::after {
    content: " ?";
    color: #CC0000;
    font-size: 12px;
    margin-left: 4px;
}
.price-item[open] summary::after { content: " ?"; }
.price-item summary:hover { color: #CC0000; }

.item-description {
    margin: 8px 0 4px;
    padding: 10px 12px;
    background: #fafafa;
    border-left: 3px solid #CC0000;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}
.item-description .descr-category { margin: 6px 0; }
.item-description .descr-title {
    font-size: 13px;
    color: #CC0000;
    font-style: italic;
    margin: 0 0 2px;
    font-weight: bold;
}
.item-description .usual { font-size: 13px; color: #333; margin: 0; }
.item-more { margin: 6px 0 0; text-align: right; font-size: 12px; }

/* ============ ”óòåð ïðàéñà ============ */
.price-footer {
    margin: 16px 0;
    padding: 10px 12px;
    background: #fafafa;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #444;
}
.price-dates { color: #666; font-size: 12px; }

/* ============ �è÷åãî íå íàéäåíî ============ */
.no-results { color: #CC0000; margin: 8px 0; }

/* ============ Šîíòàêòû ============ */
.contacts-block {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 16px 0 24px;
}
.contacts-info { flex: 1 1 260px; }
.contacts-map  { flex: 1 1 340px; }
.contacts-info h3, .contacts-map h3 { margin-top: 0; }
.map-hint { font-size: 12px; color: #888; margin: 4px 0; }
.map-link img { border: 1px solid #eee; border-radius: 4px; }
.map-links { font-size: 13px; margin-top: 8px; }

.about-block {
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* ============ �àðòíÞðû ============ */
.partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 12px 0 24px;
}
.partner-block {
    flex: 1 1 260px;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px 12px;
    background: #fcfcfc;
}
.partner-inner { text-align: center; }
.partner-inner img { display: block; margin: 0 auto 8px; max-height: 60px; }
.partner-inner p { font-size: 13px; color: #444; margin: 4px 0 0; }

.transport-note {
    margin: 16px 0;
    padding: 10px 12px;
    background: #f7f7f7;
    border-left: 3px solid #CC0000;
    font-size: 13px;
    color: #444;
}

/* ============ Šàðòî÷êà òîâàðà ============ */
.card { margin: 12px 0 24px; }
.card-title { color: #CC0000; font-size: 20px; margin: 0 0 4px; }
.card-unit  { color: #222; font-size: 13px; margin: 0 0 12px; }
.card-back  { margin-top: 24px; padding-top: 12px; border-top: 1px solid #eee; }
.descr-category { margin: 12px 0; }
.descr-title { font-size: 15px; font-style: italic; margin: 0 0 4px; color: #333; }

/* ============ �îèñê ============ */
.search-results { margin-top: 12px; }
.search-count { font-size: 13px; color: #666; margin-top: 8px; }

/* ============ “òèëèòû ============ */
.small { font-size: 13px; }
.text-center { text-align: center; }
pre { font-size: 12px; overflow-x: auto; }

/* ============ ”óòåð ñàéòà ============ */
.site-footer {
    border-top: 1px solid #eee;
    padding: 14px 16px;
    text-align: center;
    color: #666;
    font-size: 12px;
    margin-top: 24px;
}
.site-footer-contacts { margin-top: 4px; }
.site-footer a { color: #CC0000; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@keyframes flash-bg {
    0%   { background: #ffe0e0; }
    60%  { background: #ffe0e0; }
    100% { background: transparent; }
}

.price-row.flash {
    animation: flash-bg 1.8s ease-out;
}

/* Žïöèîíàëüíî: ïîäñâåòèòü ëåâûé êðàé ñòðîêè */
.price-row.flash > td:first-child {
    box-shadow: inset 3px 0 0 #CC0000;
    animation: flash-bg 1.8s ease-out;
}