/* Shared finishing layer: keep the supplied Q-paint palette and proportions. */
:root {
    --pg-ink: #232c3e;
    --pg-muted: #687386;
    --pg-accent: #ffc800;
    --pg-line: #e4e9ef;
    --pg-surface: #f6f8fb;
}
.main_wrap > main:last-child { padding-bottom: 0; }
.main_wrap { display: flex; flex-direction: column; }
#main-content { flex: 1; }
a, button, input, select, textarea { -webkit-tap-highlight-color: rgba(255,200,0,.18); }
a:focus-visible, button:focus-visible, select:focus-visible,
.nice-select:focus-visible, [tabindex="0"]:focus-visible {
    outline: 3px solid #d9a900;
    outline-offset: 4px;
}
button:disabled { cursor: wait; }
header { background: rgba(18,29,43,.76); border-bottom: 1px solid rgba(255,255,255,.12); }
header .logo a { border-radius: 8px; }
header .menu > .item > a { position: relative; }
header .menu > .item > a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 8px;
    height: 2px; border-radius: 2px; background: var(--pg-accent);
    transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
header .menu > .item > a:hover::after,
header .menu > .item > a:focus-visible::after,
header .menu > .item > a[aria-current="page"]::after { transform: scaleX(1); }
header .menu > .item > a[aria-current="page"] { color: var(--pg-accent); }
header .contacts_box a { transition: color .18s ease; }
header .contacts_box a:hover { color: var(--pg-accent); }
header .header_search .input {
    border: 1px solid rgba(255,255,255,.2); border-radius: 7px;
    background: rgba(255,255,255,.06); transition: border-color .18s, background .18s;
}
header .header_search .input::placeholder { color: rgba(255,255,255,.7); }
header .header_search .input:focus { border-color: var(--pg-accent); background: rgba(255,255,255,.12); outline: none; }
header .header_search .submit_btn { background-position: center; opacity: .85; }
header .callback_btn, .form .submit_btn, .form_discover .submit_btn,
.products .product .more, .u-mobile-menu .callback_btn {
    border-radius: 7px; transition: background .18s, color .18s, box-shadow .18s;
}
header .callback_btn:hover { background: #ffe164; color: var(--pg-ink); border-color: #ffe164; }
.form .submit_btn:hover, .form_discover .submit_btn:hover,
.products .product .more:hover { background: var(--pg-ink); color: #fff; box-shadow: 0 5px 15px rgba(35,44,62,.14); }
.page_head { padding: 146px 0 48px; }
.page_head::before { background: linear-gradient(180deg,rgba(9,22,38,.25),rgba(9,22,38,.48)); }
.page_head.small { padding: 144px 0 24px; }
.breadcrumbs_box { margin: 0 0 24px; font-size: 13px; line-height: 1.65; }
.breadcrumbs_box ol {
    display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap;
    gap: 7px 0; list-style: none; margin: 0; padding: 0; min-width: 0;
}
.breadcrumbs_box li { display: flex; align-items: baseline; min-width: 0; max-width: 100%; }
.breadcrumbs_box li + li::before {
    content: '›'; color: var(--pg-accent); margin: 0 12px; flex: 0 0 auto;
    font: 18px/1 Arial,sans-serif; align-self: center;
}
.breadcrumbs_box a { color: rgba(255,255,255,.83); overflow-wrap: anywhere; }
.breadcrumbs_box [aria-current="page"] { color: #fff; overflow-wrap: anywhere; }
.breadcrumbs_box a.main_link::before { top: 4px; }
.page_head.small .breadcrumbs_box { margin: 0; }
.page_head.small .breadcrumbs_box ol { justify-content: flex-start; }
.page_title { overflow-wrap: anywhere; font-size: clamp(30px,3.4vw,50px); line-height: 1.16; letter-spacing: .015em; }
.page_content { padding-top: 36px; padding-bottom: 70px; }
.products .product {
    background: #fff; border-color: var(--pg-line); border-radius: 12px;
    transition: border-color .18s, box-shadow .18s;
}
.products .product:hover, .products .product:focus-within {
    border-color: #d5b74d; box-shadow: 0 8px 24px rgba(35,44,62,.09);
}
.products .product .img { border-radius: 6px; overflow: hidden; }
.products .product .img img { transition: transform .25s ease; }
.products .product:hover .img img { transform: scale(1.035); }
.products .product .name { line-height: 1.45; }
.products .product .name a { color: var(--pg-ink); }
.products .product .name a:hover { color: #9b7200; }
.products .product .code { overflow-wrap: anywhere; }
.products .product .more { min-height: 42px; display: flex; justify-content: center; align-items: center; line-height: 1.3; padding: 10px; }
.products .product .rating_desc { color: var(--pg-muted); }
.select_wrap select {
    position: static; display: block; opacity: 1; width: 100%; height: 42px;
    padding: 0 36px 0 14px; border: 1px solid #dce2ea; border-radius: 7px;
    background: #fff; color: var(--pg-ink); font: 14px var(--font_family);
    appearance: none; -webkit-appearance: none; cursor: pointer;
}
.select_wrap::after {
    content: ''; position: absolute; right: 15px; top: 16px; width: 7px; height: 7px;
    border-right: 1.5px solid #556174; border-bottom: 1.5px solid #556174;
    transform: rotate(45deg); pointer-events: none;
}
.select_wrap select:hover { border-color: #b4bdcb; }
.form .input, .form textarea, .form_discover .input {
    border-radius: 7px; color: var(--pg-ink); border-color: #dce2ea;
    transition: border-color .18s, box-shadow .18s;
}
.form .input:focus, .form textarea:focus, .form_discover .input:focus {
    border-color: #d3a600; outline: none; box-shadow: 0 0 0 3px rgba(255,200,0,.16);
}
.form textarea { resize: vertical; min-height: 132px; }
.pg-form-status { border-radius: 7px; padding: 12px 15px; }
.pg-form-status.is-success { color: #175b36; background: #edf8f1; border: 1px solid #c7e6d3; }
.pg-form-status.is-error { color: #9d2934; background: #fff2f3; border: 1px solid #f0cbd0; }
.have_questions { margin-top: 64px; padding: 64px 0; background: #112736; }
.pg-empty { border: 1px solid var(--pg-line); border-radius: 10px; background: var(--pg-surface); color: var(--pg-muted); }
.pg-page-copy + .have_questions { margin-top: 0; }
.have_questions .bg::before { background: rgba(5,19,31,.62); }
.have_questions .title { font-size: clamp(28px,3.4vw,46px); line-height: 1.2; }
.have_questions .subTitle { max-width: 680px; margin: 14px auto 0; color: rgba(255,255,255,.9); }
.have_questions .form { max-width: 920px; margin: 22px auto 0; }
.have_questions .form .form_flex { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 20px; margin: 0; align-items: end; }
.have_questions .form .form_flex .line_form,
.have_questions .form .form_flex .submit { width: 100%; max-width: none; margin: 0; }
.have_questions .form .form_flex .submit_btn { height: 55px; }
.have_questions .pg-form-status { max-width: 920px; margin-left: auto; margin-right: auto; }
.main_page .about, .main_page .advantages_section { margin-top: 74px; }
.main_page .products, .main_page .section_news, .main_page .section_sert, .main_page .section_brands { margin-top: 90px; }
.main_page .section_brands { margin-bottom: 72px; }
.page_content .advantages_section { margin-top: 80px; }
.section_map .map { position: relative; overflow: hidden; }
.section_map .map iframe { display: block; }
.section_contacts .boxes a.pg-map-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 10px; padding: 0; border: 0; background: none;
    box-shadow: none; color: var(--pg-ink); font-size: 13px;
    font-weight: 600; line-height: 1.5; text-decoration: none;
}
.section_contacts .boxes a.pg-map-link:hover,
.section_contacts .boxes a.pg-map-link:focus-visible {
    color: #856100; text-decoration: underline; text-underline-offset: 4px;
}
.main_page .section_news .news .item { padding-bottom: 0; border: 1px solid var(--pg-line); border-radius: 10px; overflow: hidden; background: #fff; }
.main_page .section_news .news .item .img { padding-bottom: 64%; }
.main_page .section_news .news .item .img::after { border: 0; }
.main_page .section_news .news .item .box { position: static; width: 100%; padding: 22px; box-shadow: none; background: #fff; }
.main_page .section_news .news .item .block { display: block; margin-top: 14px; }
.main_page .section_news .news .item .desc { font-size: 14px; line-height: 1.6; }
.main_page .section_news .news .item .desc p { margin: 0; }
.main_page .section_news .news .item .bot { margin-top: 18px; }
.main_page .section_news .news .item:hover, .main_page .section_news .news .item:focus-within { box-shadow: 0 8px 24px #232c3e12; }
.brands .brand .img { color: var(--pg-ink); font-weight: 600; text-decoration: none; }
.brands .brand .img > span { position: relative; z-index: 1; }
.messengers a { color: var(--pg-accent); text-decoration: none; }
.messengers i { position: relative; z-index: 3; color: var(--pg-accent); font-size: 18px; transition: color .18s; }
.u-mobile-menu .messengers .fab,
.u-mobile-menu .pg-whatsapp-cta .fab { font-family: 'Font Awesome 5 Brands'; font-weight: 400; }
.messengers a:hover i, .messengers a:focus-visible i, .u-mobile-menu .messengers i { color: var(--pg-ink); }
.messengers a:focus-visible::before { opacity: 1; }
.messengers a:focus-visible::after { opacity: 0; }
.brands .brand .img:hover { color: #856100; }
.main_page .main_slider .block { padding-top: 108px; }
.main_slider a.block:focus-visible { outline: 3px solid var(--pg-accent); outline-offset: -6px; }
.main_page .about .text_block { color: var(--pg-muted); }
.main_page .about .text_block p { font-size: 16px; line-height: 1.8; }
.advantages_section .item .icon { transition: transform .2s ease; }
.advantages_section .item:hover .icon { transform: translateY(-4px); }
.brands .brand a { border-radius: 10px; transition: border-color .18s, box-shadow .18s; }
.brands .brand a:hover { border-color: #d3a600; box-shadow: 0 5px 18px rgba(35,44,62,.08); }
.serts .sert .img { border-radius: 9px; overflow: hidden; }
footer .info { padding-top: 40px; padding-bottom: 12px; }
footer .contacts_box a, footer .bot a { transition: color .18s; overflow-wrap: anywhere; }
footer .contacts_box a:hover { color: var(--pg-accent); }
footer .bot { color: #a5adbb; }
footer .bot a { color: #bfc6d1; }
.modal { border-radius: 16px; overflow: hidden; padding: 64px 80px; }
.modal .main_title { font-size: 36px; line-height: 1.2; }
.modal .form .input { font-size: 16px; }
.fancybox-button:focus-visible { outline-offset: -4px; }
.u-mobile-menu a:focus-visible, .u-mobile-menu button:focus-visible {
    outline: 3px solid #a97e00 !important; outline-offset: -3px;
}
@media (max-width: 1159px) and (min-width: 1025px) {
    header .menu { width: 59%; }
    header .header_search { width: 37%; }
    header .menu > .item { font-size: 12px; }
}
@media (max-width: 1024px) {
    .page_head { padding: 116px 0 38px; }
    .page_head.small { padding: 96px 0 22px; }
    header .header_search.active { background: #fff; border-radius: 8px; }
    header .header_search .input { color: var(--pg-ink); background: #fff; padding-right: 96px; }
    header .header_search .input::placeholder { color: var(--pg-muted); }
    header .header_search .input:focus { background: #fff; }
    header .header_search .submit_btn { position: absolute; right: 42px; top: 0; width: 44px; height: 100%; margin: 0; }
    .pg-search-close { display: none; position: absolute; right: 0; top: 0; width: 42px; height: 100%; background: transparent; border: 0; color: var(--pg-ink); font: 28px Arial,sans-serif; cursor: pointer; }
    .header_search.active .pg-search-close { display: block; }
    .main_page .main_slider .block { padding-top: 74px; }
    .main_page .products, .main_page .section_news, .main_page .section_sert, .main_page .section_brands { margin-top: 70px; }
    .have_questions { margin-top: 50px; padding: 50px 0; }
    .modal { padding: 60px; }
}
@media (min-width: 1025px) { .pg-search-close { display: none; } }
@media (max-width: 767px) {
    .page_head { padding: 86px 0 32px; }
    .page_head.small { padding: 80px 0 20px; }
    .breadcrumbs_box { font-size: 12px; line-height: 1.6; margin-bottom: 18px; }
    .breadcrumbs_box ol { justify-content: flex-start; }
    .breadcrumbs_box li + li::before { margin: 0 8px; }
    .breadcrumbs_box a.main_link { padding-left: 18px; }
    .breadcrumbs_box a.main_link::before { top: 3px; }
    .page_title { font-size: 30px; text-align: left; }
    .page_content { padding: 26px 0 44px; }
    .page_content .advantages_section { margin-top: 44px; }
    .main_page .main_slider .block { padding-top: 54px; }
    .main_page .about, .main_page .advantages_section { margin-top: 44px; }
    .main_page .products, .main_page .section_news, .main_page .section_sert, .main_page .section_brands { margin-top: 54px; }
    .main_page .section_brands { margin-bottom: 44px; }
    .main_page .about .text_block p { font-size: 14px; line-height: 1.8; }
    .have_questions { margin-top: 44px; padding: 40px 0; }
    .have_questions .form .form_flex { grid-template-columns: 1fr 1fr; gap: 14px; }
    .have_questions .form .form_flex .submit { grid-column: 1/-1; }
    .have_questions .form .field { padding-top: 23px; }
    .have_questions .form .label { margin-top: 23px; }
    .have_questions .form .input:focus + .label, .have_questions .form .full .label { margin-top: 0; }
    .form .input, .form textarea, .form_discover .input { font-size: 16px; }
    .select_wrap select { font-size: 16px; }
    .modal { padding: 52px 22px 32px; border-radius: 12px; }
    .modal .main_title { font-size: 28px; }
    footer .info { padding-top: 32px; }
    footer .box_menu { width: auto; max-width: none; }
}
@media (max-width: 479px) {
    .have_questions .form .form_flex { grid-template-columns: 1fr; gap: 8px; }
    .have_questions .form .form_flex .submit { margin-top: 15px; }
    .products .product .more { font-size: 12px; }
    .products .product .name { font-size: 13px; }
    footer .info { justify-content: flex-start; }
    footer .logo { margin-bottom: 28px; }
    footer .contacts_box { max-width: calc(100% - 30px); }
}
@media (prefers-reduced-motion: reduce) {
    .products .product:hover .img img, .advantages_section .item:hover .icon { transform: none; }
}

/* Inquiry links use the configured WhatsApp contact without a redundant form. */
.pg-whatsapp-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
a.pg-whatsapp-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    max-width: 100%; min-height: 48px; padding: 12px 22px;
    border: 2px solid var(--pg-accent); border-radius: 8px;
    background: var(--pg-accent); color: var(--pg-ink);
    font: 600 14px/1.4 var(--font_family); text-align: center;
    text-decoration: none; overflow-wrap: anywhere;
    transition: background-color .18s, border-color .18s, color .18s;
}
a.pg-whatsapp-cta:hover { background: #ffdb52; border-color: #ffdb52; color: var(--pg-ink); text-decoration: none; }
a.pg-whatsapp-cta i { flex-shrink: 0; font-size: 19px; }
.pg-whatsapp-help { margin: 0; color: var(--pg-muted); font-size: 13px; line-height: 1.6; }
header a.callback_btn.pg-whatsapp-cta,
.u-mobile-menu a.callback_btn.pg-whatsapp-cta { display: inline-flex; gap: 8px; min-height: 40px; height: 40px; padding: 0 18px; font-size: 12px; line-height: 1; }
header a.callback_btn.pg-whatsapp-cta:hover { background: transparent; border-color: var(--pg-accent); color: var(--pg-accent); }
.have_questions .pg-whatsapp-panel { align-items: center; margin-top: 30px; }
.have_questions .pg-whatsapp-help { color: #fff; }
.section_contacts .pg-whatsapp-panel { margin-top: 28px; padding: 28px; border: 1px solid var(--pg-line); border-radius: 12px; background: #fffcf2; }
.section_contacts .pg-whatsapp-panel > p { margin: 0; line-height: 1.75; }
.modal .pg-whatsapp-panel { margin-top: 24px; }
.pg-product-page .discover .pg-whatsapp-panel { margin-top: 14px; }
@media (max-width: 767px) {
    .section_contacts .pg-whatsapp-panel { margin-top: 24px; padding: 22px; }
    .pg-whatsapp-panel > a.pg-whatsapp-cta { width: 100%; }
    .have_questions .pg-whatsapp-panel { margin-top: 24px; }
}
