/* stildog baza: понятные правки поверх исходной темы.
   Сетка, цвета и карусели остаются в style.css и skin/default.css. */

/* Системный шрифт для текста: кириллица не зависит от внешнего сервиса. */
body { font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-weight: 400; }

/* Боковая шапка: настоящий груминг вместо фотографии парикмахерской.
   Версия в URL обновляет фон сразу после загрузки патча. */
#header { background-image: url('../../images/header_bg.jpg?v=3'); background-position: center center; background-size: cover; }
#header .header-bg {
    background: linear-gradient(180deg, rgba(153, 48, 137, .76) 0%, rgba(108, 67, 139, .77) 46%, rgba(6, 109, 137, .87) 100%);
}
#header .header-inner { background-image: none; animation: none; }

#page-header h1 {
    max-width: 900px;
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.025em;
    overflow-wrap: break-word;
}
#write-to-us { scroll-margin-top: 90px; }

/* Блоки из файловой админки: тот же спокойный ритм, что на обычных страницах. */
.baza-cms-blocks { padding: 24px 0 42px; background: #fff; }
.baza-cms-block { max-width: 900px; padding: 24px 0; border-bottom: 1px solid #efe8eb; }
.baza-cms-block:last-child { border-bottom: 0; }
.baza-cms-block h2 { margin: 0 0 16px; font-weight: 600; }
.baza-cms-block p { max-width: 740px; margin: 0 0 16px; font-size: 16px; line-height: 1.7; }
.baza-cms-image { display: block; max-width: min(100%, 720px); max-height: 560px; width: auto; height: auto; margin: 0 0 20px; border-radius: 6px; object-fit: contain; }
@media(max-width: 767px) { .baza-cms-blocks { padding: 12px 0 28px; } .baza-cms-block { padding: 20px 0; } }

/* Слайдер: светлая подложка только под текстом, без пелены на фотографии. */
#main-slider .owl-item .slide-content { opacity: 1; transition: none; }
#main-slider .baza-showcase-slide { background-size: cover; }
#main-slider .baza-slide--pets { background-image: url('../../images/slide_04.jpg'); }
#main-slider .baza-slide--dental { background-image: url('../../images/slide_03.jpg'); }
#main-slider .baza-slide--puppies { background-image: url('../../images/slide_01.jpg'); }
#main-slider .slide.baza-showcase-slide .slide-bg { background: none; }
#main-slider .baza-slide-copy {
    width: min(100%, 560px);
    padding: 23px 28px 26px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 8px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 8px 30px rgba(63,45,60,.05);
    box-sizing: border-box;
}
#main-slider .baza-slide--dental .baza-slide-copy { margin-left: auto; }
#main-slider .various-content h1,
#main-slider .various-content h2 {
    max-width: 590px;
    font-size: clamp(34px, 3.5vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.03em;
    text-transform: none;
    -webkit-text-stroke: 0;
}
#main-slider .textalign-right h1,
#main-slider .textalign-right h2,
#main-slider .textalign-right h3 { margin-left: auto; }
#main-slider .textalign-left h1,
#main-slider .textalign-left h2,
#main-slider .textalign-left h3 { max-width: 520px; }
#main-slider .various-content h3 {
    max-width: 590px;
    font-family: inherit;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
}
#main-slider .baza-hero-subtitle {
    max-width: 520px;
    margin-top: 12px;
    color: #454b50;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 400;
    line-height: 1.4;
}

#main-slider .baza-slider-cta { margin-top: 24px; }
#main-slider .baza-slider-cta .c-button { margin-right: 8px; }

.baza-founder-section .baza-founder-image { margin-bottom: 24px; }
.baza-founder-section .baza-founder-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 5px;
}
.baza-founder-section .baza-founder-copy { max-width: 680px; }
.baza-founder-section .baza-founder-copy p { line-height: 1.7; }

/* Обычные и вторичные CTA имеют одинаковую высоту и понятную подпись. */
.c-button,
.c-button.m-type-2 {
    display: inline-flex;
    max-width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 1px solid #c60060;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
    white-space: normal;
}
.c-button { background: #c60060; color: #fff; }
.c-button.m-type-2 { background: #fff; color: #a50050; }
.c-button:hover,
.c-button:focus-visible,
.c-button.m-type-2:hover,
.c-button.m-type-2:focus-visible { background: #ad0054; border-color: #ad0054; color: #fff; }

/* Исходная тема позиционировала кнопки справа поверх длинных подзаголовков. */
#page-content section > header .subtitle {
    max-width: 760px;
    margin: 9px 0 0;
    font-size: 17px;
    font-style: normal;
    line-height: 1.55;
}
#page-content section > header .more {
    position: static;
    display: block;
    margin: 18px 0 0;
}
#page-content section > header h2 { max-width: 850px; margin-bottom: 0; }

/* Прайс: компактный поиск и разделы. */
.shop-cart { --price-pink: #c60060; --price-teal: #087b8c; --price-ink: #353940; }
.baza-price-page #page-header { margin-bottom: 18px; }
.baza-price-filter { margin-bottom: 14px; padding: 12px 16px; border-radius: 7px; background: #f5f8f9; }
.baza-price-search-field { display: flex; width: min(100%, 600px); align-items: center; gap: 10px; padding: 0 15px; border: 1px solid #c8d5d9; border-radius: 8px; background: #fff; color: var(--price-teal); }
.baza-price-search-field:focus-within { border-color: var(--price-teal); box-shadow: 0 0 0 3px rgba(9,157,179,.15); }
.baza-price-search-field svg { flex: none; }
.baza-price-filter input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 7px 0;
    border: 0;
    background: transparent;
    color: var(--price-ink);
    font: inherit;
    outline: 0;
}
.baza-price-filter input:focus-visible,
a:focus-visible,
button:focus-visible { outline: 3px solid #099db3; outline-offset: 2px; }
.baza-price-search-field input:focus-visible { outline: 0; }
.baza-price-section[hidden], .baza-price-section tr[hidden],
#baza-price-empty[hidden] { display: none !important; }
.baza-price-hint { margin: 10px 0 0; color: #646b70 !important; font-size: 13px !important; }
#baza-price-empty { margin: 10px 0 0; color: #646b70; font-size: 13px; }
.baza-price-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.baza-price-nav a { display: inline-flex; min-height: 38px; align-items: center; padding: 6px 12px; border: 1px solid #e9dde3; border-radius: 999px; background: #fff; color: #4f5156; font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.baza-price-nav a:hover, .baza-price-nav a:focus-visible { border-color: var(--price-pink); background: #fff4f9; color: #ad0054; }
/* Прайс: фото, порода, две суммы в одной короткой строке. */
.baza-price-section { margin-bottom: 30px; scroll-margin-top: 24px; }
.baza-price-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #e8e5e7; }
.shop-cart .baza-price-section-heading h2 { margin: 0; font-size: clamp(23px, 2.2vw, 28px) !important; }
.baza-price-section-heading span { color: #777d81; font-size: 14px; white-space: nowrap; }
.baza-price-list { width: 100%; }
.baza-price-section .cart-table { display: block; width: 100%; min-width: 0; overflow: visible; border: 0; }
.baza-price-section .cart-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.baza-price-section .cart-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; width: 100%; }
.baza-price-section .cart-table tbody tr {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 10px;
    min-width: 0;
    min-height: 66px;
    padding: 8px 10px;
    border: 1px solid #e9e4e8;
    border-radius: 7px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s;
}
.baza-price-section .cart-table tbody tr:hover { border-color: #deb5c8; }
.shop-cart .baza-price-section .cart-table tbody tr td { display: block; width: auto; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; }
.shop-cart .baza-price-section .cart-table tbody tr td.product-image { width: 46px; height: 46px; }
.shop-cart .baza-price-section .cart-table .product-image img { display: block; width: 46px; height: 46px; max-height: none; border-radius: 5px; object-fit: cover; }
.shop-cart .baza-price-section .cart-table tbody tr td:nth-child(2) { color: var(--price-ink); font-size: 14px; line-height: 1.3; overflow-wrap: break-word; }
.shop-cart .baza-price-section .cart-table td:nth-child(2) strong { font-weight: 650; }
.baza-price-legend { margin: 12px 0 18px; color: #555d64; font-size: 14px; line-height: 1.5; }
.baza-price-legend strong { color: #b00855; font-weight: 650; }
.shop-cart .baza-price-section .cart-table tbody tr td:nth-child(n+3) { text-align: right; }
.baza-price-section .baza-price-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.baza-price-section .baza-price-amount { color: #41464e; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.baza-price-section .cart-table td:last-child .baza-price-amount { color: #b00855; }
#extras .cart-table tbody tr { grid-template-columns: 46px minmax(0, 1fr) auto; }
#cats .cart-table tbody tr { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 4px 10px; }
#cats .cart-table tbody tr td.product-image { grid-row: 1 / 5; align-self: start; }
#cats .cart-table tbody tr td:nth-child(2) { grid-column: 2 / 4; }
#cats .cart-table tbody tr td:nth-child(n+3) { grid-column: 2 / 4; display: flex; justify-content: space-between; gap: 8px; padding-top: 3px; border-top: 1px solid #f0ebee; }
#cats .baza-price-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; color: #677079; font-size: 12px; white-space: normal; }
@media (max-width: 1000px) {
    .baza-price-section .cart-table tbody { grid-template-columns: 1fr; }
}

/* Советы: сетка не зависит от разной высоты заголовков и текста. */
.baza-article-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
    margin-top: 28px;
}
.baza-article-list .baza-article-item { min-width: 0; }
.baza-article-list .c-article { height: 100%; margin: 0; }
.baza-article-list .c-article .article-image { overflow: hidden; aspect-ratio: 4 / 3; }
.baza-article-list .c-article .article-image a { display: block; width: 100%; height: 100%; }
.baza-article-list .c-article .article-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) {
    .baza-article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .baza-article-list { grid-template-columns: 1fr; gap: 22px; }
}
.baza-service-price { margin: 13px 0 18px; }
#page-content .baza-service-price a {
    display: inline-flex;
    min-height: 42px;
    max-width: 100%;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid #ecc5d8;
    border-radius: 5px;
    background: #fff6fa;
    color: #a50050;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}
#page-content .baza-service-price a:hover,
#page-content .baza-service-price a:focus-visible { border-color: #c60060; background: #ffeaf3; }
#page-content .baza-service-price span { flex: none; font-size: 20px; line-height: 1; }
#puppy-price { scroll-margin-top: 26px; }
.c-article .article-title { font-weight: 600; line-height: 1.35; }
.baza-testimonial-photo-note { max-width: 760px; margin: 10px 0 0; color: #62686d !important; font-size: 13px !important; line-height: 1.5; }
.c-testimonial .testimonial-portrait img { display: block; width: 140px; height: 140px; object-fit: cover; }
.baza-accordion-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
}
.baza-accordion-button:focus-visible { outline: 3px solid #099db3; outline-offset: 3px; }
.baza-article-copy { max-width: 760px; }
.baza-article-copy p, .baza-article-copy li { line-height: 1.75; }
.baza-article-copy h2 { margin-top: 38px; }
.baza-article-copy img { display: block; max-width: 100%; max-height: 540px; height: auto; }
.baza-founder-image img { display: block; max-width: 100%; height: auto; }

/* Фото работ: целые кадры без обрезки, растяжения и эффектов при наведении. */
.c-gallery .thumb img { display: block; width: 100%; height: auto; transform: none !important; transition: none; filter: none; }
.c-gallery .thumb a { height: auto; }
.c-gallery .thumb a::before,
.c-gallery .thumb a::after { display: none; }
.c-gallery .thumb a:hover img,
.c-gallery .thumb a:focus-visible img { transform: none !important; }
.baza-portfolio-gallery .thumb-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0 16px;
}
.baza-portfolio-gallery .thumb { float: none; width: 100%; min-width: 0; }
.baza-portfolio-gallery .thumb a,
.baza-home-gallery .thumb a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f6f2f4;
}
.baza-portfolio-gallery .thumb img,
.baza-home-gallery .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media (max-width: 991px) {
    .baza-portfolio-gallery .thumb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .baza-portfolio-gallery .thumb-list { grid-template-columns: 1fr; gap: 14px; }
}
.c-service .service-image img,
.c-article .article-image img { max-width: 100%; height: auto; }

/* Основной текст чуть плотнее по цвету и свободнее по строке. */
#page-content .various-content p,
#page-content.various-content p,
#page-content .various-content li,
#page-content.various-content li { color: #494949; line-height: 1.7; }
#page-content .various-content .lead,
#page-content.various-content .lead { line-height: 1.55; }
#page-content .various-content p,
#page-content.various-content p,
#page-content .various-content li,
#page-content.various-content li { font-size: 16px; }
#page-content .various-content .lead,
#page-content.various-content .lead { font-size: clamp(19px, 2vw, 23px); font-weight: 400; }
#page-content .various-content h2,
#page-content.various-content h2 {
    font-size: clamp(25px, 2.35vw, 30px);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -.02em;
}
#page-content .various-content h3,
#page-content.various-content h3 { line-height: 1.35; }
#page-content .baza-article-copy { max-width: 760px; }
#page-content .baza-article-copy p,
#page-content .baza-article-copy li { max-width: 72ch; }
.cart-table td { color: #454b50; font-size: 16px; line-height: 1.5; }
.cart-table th { line-height: 1.4; }
#page-content .container > h2:not(:first-child),
#page-content.various-content > h2:not(:first-child) { margin-top: 34px; }

/* Те же розовый, бирюзовый и фиолетовый акценты, что в старой теме. */
.baza-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 42px;
}
.baza-contact-card {
    display: flex;
    min-width: 0;
    min-height: 76px;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #d9e5e8;
    border-left: 4px solid #099db3;
    border-radius: 5px;
    background: #fff;
    color: #343b42;
    text-decoration: none;
    box-shadow: 0 2px 9px rgba(24, 54, 65, .07);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.baza-contact-card:hover,
.baza-contact-card:focus-visible {
    border-color: #d40062;
    color: #343b42;
    box-shadow: 0 5px 18px rgba(24, 54, 65, .14);
    transform: translateY(-2px);
}
.baza-contact-card strong,
.baza-contact-card small { display: block; overflow-wrap: anywhere; }
.baza-contact-card strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.baza-contact-card small { margin-top: 3px; color: #5c6369; font-size: 12px; line-height: 1.35; }
.baza-contact-icon {
    display: inline-flex;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #099db3;
    color: #fff;
    font: 700 20px/1 Arial, sans-serif;
}
.baza-contact-card--whatsapp { border-left-color: #159e78; }
.baza-contact-card--whatsapp .baza-contact-icon { background: #159e78; }
.baza-contact-card--telegram .baza-contact-icon { background: #278db9; }
.baza-contact-card--max { border-left-color: #6745ad; }
.baza-contact-card--max .baza-contact-icon { background: #6745ad; }
.baza-contact-card--email { border-left-color: #d40062; }
.baza-contact-card--email .baza-contact-icon { background: #d40062; }
.baza-contact-status { grid-column: 1 / -1; margin: 0; font-size: 14px; }
.baza-contact-status:empty { display: none; }
.baza-footer-contacts { padding: 38px 0; background: #f5f8f9; }
.baza-footer-invite { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.baza-footer-contacts h2 { margin: 0 0 6px; color: #3f3f3f; font-size: clamp(24px, 2.5vw, 30px); line-height: 1.25; }
.baza-footer-contacts p { max-width: 650px; margin: 0; color: #494949; line-height: 1.6; }
.baza-footer-invite .c-button { flex: none; }

/* Кнопка записи в боковом меню следует тому же правому краю, что и ссылки. */
.baza-sidebar-contact { display: none; }
#header .baza-header-booking { display: none; }
#header .header-menu > ul > li.baza-menu-booking { margin-top: 12px; }
#header .header-menu > ul > li.baza-menu-booking > span { overflow: visible; }
#header .header-menu > ul > li.baza-menu-booking > span > a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 14px;
    border-radius: 4px;
    background: #c60060;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    text-transform: none;
    box-sizing: border-box;
}
#header .header-menu > ul > li.baza-menu-booking > span > a::before { display: none; }
#header .header-menu > ul > li.baza-menu-booking > span > a:hover,
#header .header-menu > ul > li.baza-menu-booking > span > a:focus-visible { padding-right: 14px; background: #ad0054; color: #fff; }
#header .baza-header-booking .baza-panel-link {
    display: flex;
    width: min(100%, 310px);
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 9px 14px;
    border: 1px solid #c60060;
    border-radius: 5px;
    background: #c60060;
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}
#header .baza-header-booking .baza-panel-link:hover,
#header .baza-header-booking .baza-panel-link:focus-visible { background: #ad0054; border-color: #ad0054; color: #fff; }
.baza-social-icons { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; }
.baza-social-icons a {
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    font-size: 21px;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}
.baza-social-icons a:hover, .baza-social-icons a:focus-visible { background: #fff; color: #a90055; }
.baza-social-icons svg { display: block; width: 22px; height: 22px; }
.baza-social-icons .baza-max-mark { font-size: 21px; font-weight: 800; line-height: 1; }
.baza-social-status:not(:empty) { position: absolute; z-index: 2; bottom: calc(100% + 7px); left: 0; width: max-content; max-width: min(300px, 88vw); padding: 7px 10px; border-radius: 5px; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.16); color: #333; font-size: 12px; line-height: 1.35; }
#header .baza-social-icons--sidebar { width: 100%; margin: 20px auto 0; color: #fff; }
@media (min-width: 1200px) {
    #header { overflow-x: hidden; overflow-y: auto; }
    #header .header-bg { min-height: 100%; height: auto; }
    #header .header-inner {
        display: flex;
        min-height: 100vh;
        height: auto;
        flex-direction: column;
        padding: 28px 26px 22px;
        box-sizing: border-box;
    }
    #header .header-branding { padding-top: 0; }
    #header .header-branding img { max-width: 100%; height: auto; }
    #header .header-navigation { width: 100%; margin: clamp(22px, 5vh, 58px) auto 0; }
    #header .baza-sidebar-contact {
        display: block;
        width: 100%;
        margin: 10px auto 0;
        padding-right: 15px;
        color: #fff;
        text-align: right;
    }
    #header .baza-sidebar-contact > p { margin: 0; color: #fff; font-size: 14px; line-height: 1.4; }
    #header .baza-sidebar-contact small { font-size: 12px; }
    #header .baza-social-icons--sidebar { margin-top: auto; padding-top: 20px; }
}
@media (max-width: 1199px) {
    #header .header-menu > ul > li.baza-menu-booking { display: none; }
    #header .baza-social-icons--sidebar { margin-top: 15px; }
    .baza-footer-invite { flex-wrap: wrap; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    #header .baza-header-booking {
        position: absolute;
        top: 43px;
        right: 40px;
        display: block;
        width: 164px;
        margin: 0;
    }
    #header .baza-header-booking .baza-panel-link { min-height: 42px; font-size: 13px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    #header .header-menu > ul > li { margin-right: 14px; }
    #header .header-menu > ul > li > span { font-size: 15px; }
}
@media (max-width: 767px) {
    #header .header-menu > ul > li.baza-menu-booking { display: block; }
    #header .baza-social-icons--sidebar { display: none; }
}
@media (max-width: 1199px) {
    .baza-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .baza-contact-grid { grid-template-columns: 1fr; gap: 9px; }
    .baza-contact-card { min-height: 64px; }
    #page-content .container > h2:not(:first-child),
    #page-content.various-content > h2:not(:first-child) { margin-top: 28px; }
}
@media (max-width: 767px) {
    /* Все три баннера: фотография по всей высоте, тёмный текст на небольшой светлой подложке. */
    #main-slider .slide.baza-showcase-slide {
        background-position: right center;
        background-size: cover;
        background-color: #fff;
    }
    /* Высоту вернули близко к исходной, поэтому лица целиком помещаются в кадр. */
    #main-slider .slide.baza-slide--pets { background-position: 94% center; }
    #main-slider .slide.baza-slide--puppies { background-position: 84% center; }
    #main-slider .slide.baza-slide--dental {
        background-image: url('../../images/slide-dental-mobile.webp');
        background-position: center center;
    }
    #main-slider .slide.baza-showcase-slide .slide-bg {
        height: clamp(420px, 112vw, 500px);
        background: none;
    }
    #main-slider .baza-showcase-slide .slide-bg > .container,
    #main-slider .baza-showcase-slide .slide-inner { height: 100%; }
    #main-slider .baza-showcase-slide .slide-inner { position: relative; display: block; }
    #main-slider .baza-showcase-slide .slide-content {
        position: absolute;
        right: auto;
        bottom: 36px;
        left: 0;
        display: block;
        width: min(100%, 420px);
        height: auto;
        padding: 15px 17px 18px;
        border-radius: 6px;
        background: rgba(255,255,255,.8);
        box-sizing: border-box;
        text-align: left;
    }
    #main-slider .baza-slide--dental .slide-content {
        right: 0;
        left: auto;
        width: min(58%, 218px);
        padding: 13px 12px 15px;
    }
    #main-slider .baza-slide-copy {
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }
    #main-slider .baza-showcase-slide .slide-content h1,
    #main-slider .baza-showcase-slide .slide-content h2,
    #main-slider .baza-showcase-slide .slide-content h3,
    #main-slider .baza-showcase-slide .baza-hero-subtitle { color: #25282c; text-shadow: none; }
    #main-slider .baza-showcase-slide .slide-content h1,
    #main-slider .baza-showcase-slide .slide-content h2 { margin-top: 0; }
    #main-slider .baza-showcase-slide .baza-slider-cta { margin-top: 12px; margin-bottom: 0; }
    #main-slider .baza-showcase-slide .textalign-right h1,
    #main-slider .baza-showcase-slide .textalign-right h2,
    #main-slider .baza-showcase-slide .textalign-right h3 { margin-left: 0; }
    #main-slider .various-content h1,
    #main-slider .various-content h2 { max-width: 100%; font-size: clamp(26px, 6.4vw, 36px); }
    #main-slider .various-content h3 { max-width: 100%; font-size: 17px; line-height: 1.35; }
    #main-slider .baza-hero-subtitle { max-width: 100%; font-size: 16px; line-height: 1.4; }
    #page-content section > header .subtitle { font-size: 16px; }
    #page-header { margin-bottom: 46px; }
    #page-header h1 { font-size: clamp(29px, 7vw, 37px); }
    .cart-table th, .cart-table td { padding: 10px; }
    #main-slider .slider-nav { overflow-x: auto; overscroll-behavior-x: contain; }
    #main-slider .slider-nav .container { width: max-content; min-width: 100%; max-width: none; }
    #main-slider .slider-nav ul { display: flex; flex-wrap: nowrap; }
    #main-slider .slider-nav ul > li { flex: none; margin-right: 22px; }
    #main-slider .slider-nav ul > li > button { min-height: 44px; font-size: 14px; }
    .baza-footer-invite .c-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .baza-contact-card { transition: none; }
    .baza-contact-card:hover { transform: none; }
}

.baza-mobile-actions { display: none; }
.baza-feedback-prompt { margin-top: -22px; margin-bottom: 36px; }

/* Короткая форма обратной связи в нативном модальном окне. */
.baza-feedback-dialog {
    width: min(540px, calc(100% - 28px));
    max-width: 540px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 65px rgba(22, 32, 44, .26);
    color: #343b42;
    overflow-y: auto;
}
.baza-feedback-dialog::backdrop { background: rgba(22, 32, 44, .67); }
.baza-feedback-inner { position: relative; padding: 29px 32px 25px; }
.baza-feedback-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #49545b;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
}
.baza-feedback-close:hover, .baza-feedback-close:focus-visible { background: #f5e9ef; color: #a50050; }
.baza-feedback-dialog h2 { max-width: calc(100% - 38px); margin: 0 0 8px; font-size: clamp(23px, 4vw, 29px); line-height: 1.23; color: #353940; }
.baza-feedback-lead { margin: 0 0 17px; font-size: 15px; line-height: 1.55; }
.baza-feedback-dialog form { display: grid; gap: 7px; }
.baza-feedback-dialog form[hidden] { display: none; }
.baza-feedback-dialog form > label:not(.baza-feedback-consent) { margin-top: 4px; font-size: 14px; font-weight: 650; }
.baza-feedback-dialog input:not([type="checkbox"]),
.baza-feedback-dialog textarea {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #b9c9ce;
    border-radius: 5px;
    background: #fff;
    color: #343b42;
    font: inherit;
    font-size: 15px;
    box-sizing: border-box;
}
.baza-feedback-dialog textarea { min-height: 84px; resize: vertical; }
.baza-feedback-dialog input:focus-visible,
.baza-feedback-dialog textarea:focus-visible { outline: 2px solid #099db3; outline-offset: 1px; }
.baza-feedback-dialog .baza-feedback-consent { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0 0; font-size: 13px; line-height: 1.45; }
.baza-feedback-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #c60060; }
.baza-feedback-doclinks { margin: 0 0 5px 28px; font-size: 12px; line-height: 1.4; }
.baza-feedback-doclinks a, .baza-feedback-alternative a { color: #ad0054; text-decoration: underline; }
.baza-feedback-submit { width: 100%; cursor: pointer; }
.baza-feedback-submit:disabled { opacity: .65; cursor: wait; }
.baza-feedback-status { margin: 10px 0 0; font-size: 15px; line-height: 1.45; font-weight: 600; }
.baza-feedback-status:empty { display: none; }
.baza-feedback-alternative { margin: 14px 0 0; font-size: 13px; line-height: 1.45; }
.baza-feedback-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Короткое описание салона и шагов записи на главной странице. */
.baza-local-section { padding: 48px 0 50px; background: #f9f6f5; }
.baza-local-section h2 { margin: 0 0 17px; color: #383232; font-size: clamp(25px, 2.7vw, 34px); line-height: 1.22; }
.baza-local-section > .container > p { max-width: 78ch; margin-bottom: 28px; color: #494949; font-size: 17px; line-height: 1.65; }
.baza-local-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.baza-local-grid > div { padding: 22px 24px; background: #fff; border: 1px solid #eddfdf; border-radius: 7px; }
.baza-local-grid h3 { margin: 0 0 11px; color: #a90054; font-size: 20px; line-height: 1.3; }
.baza-local-grid p { margin: 0; color: #494949; font-size: 16px; line-height: 1.6; }
.baza-local-section a { color: #a90054; text-decoration: underline; text-underline-offset: 3px; }
.baza-local-section a:focus-visible { outline: 2px solid #087485; outline-offset: 3px; }
/* Две короткие темы после истории мастера: зубы и зоотовары. */
.baza-care-section { padding: 44px 0 48px; background: #f9f6f5; }
.baza-care-section h2 { margin: 0 0 22px; color: #383232; font-size: clamp(25px, 2.7vw, 34px); line-height: 1.22; }
.baza-care-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.baza-care-card { padding: 23px 26px; background: #fff; border: 1px solid #eddfdf; border-radius: 7px; }
.baza-care-card h3 { margin: 0 0 12px; color: #a90054; font-size: clamp(19px, 2vw, 23px); line-height: 1.3; }
.baza-care-card p { margin: 0 0 15px; max-width: 56ch; color: #494949; font-size: 16px; line-height: 1.6; }
.baza-care-card a { color: #a90054; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.baza-care-card a:focus-visible { outline: 2px solid #087485; outline-offset: 3px; }
.baza-care-detail { padding-top: 4px; }
/* Пояснения стоят после основного содержимого, не вытесняют прайс или фото. */
.baza-search-context { max-width: 860px; margin: 32px 0 24px; padding: 24px 26px; border-left: 3px solid #d08bad; background: #fbf9fa; }
.baza-search-context h2 { margin: 0 0 14px; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.3; }
.baza-search-context p { margin: 0 0 13px; font-size: 16px; line-height: 1.7; }
.baza-search-context p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .baza-local-grid { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 700px) { .baza-care-grid { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 600px) {
    .baza-local-section { padding: 30px 0 34px; }
    .baza-local-section > .container > p { font-size: 16px; margin-bottom: 18px; }
    .baza-local-grid > div { padding: 18px; }
    .baza-care-section { padding: 30px 0 34px; }
    .baza-care-card { padding: 18px; }
    .baza-search-context { margin: 25px 0 18px; padding: 18px; }
}
@media (max-width: 767px) {
    /* Прайс: карточка на строку, в ней фото, порода и обе суммы. */
    .baza-price-filter { padding: 12px 16px; }
    .baza-price-nav { flex-wrap: nowrap; overflow-x: auto; gap: 7px; margin-right: -16px; margin-bottom: 20px; padding-right: 16px; padding-bottom: 8px; scrollbar-width: thin; }
    .baza-price-nav a { flex: none; min-height: 44px; }
    .baza-price-section { margin-bottom: 26px; }
    .baza-price-section .cart-table tbody { grid-template-columns: 1fr; gap: 7px; }
    .baza-price-section .cart-table tbody tr { min-height: 64px; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .baza-mobile-actions {
        position: fixed;
        z-index: 100;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        gap: 8px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e1e1e1;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, .08);
    }
    .baza-mobile-actions .baza-social-icons--mobile { flex: 1 1 auto; justify-content: space-between; gap: 3px; min-width: 0; }
    .baza-mobile-actions .baza-social-icons--mobile a {
        flex: 0 1 42px;
        width: 42px;
        min-width: 36px;
        height: 44px;
        border: 1px solid #d7dfe2;
        color: #087485;
        font-size: 20px;
    }
    .baza-mobile-actions .baza-social-icons--mobile a:hover,
    .baza-mobile-actions .baza-social-icons--mobile a:focus-visible { background: #eaf7f9; color: #065d6b; }
    .baza-mobile-actions .baza-mobile-feedback {
        display: flex;
        flex: 0 0 auto;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 4px 9px;
        border: 1px solid #d40062;
        border-radius: 4px;
        background: #d40062;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
    }
}
@media (max-width: 600px) {
    .baza-price-section:not(#extras):not(#cats) .cart-table tbody tr {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        grid-template-rows: repeat(2, minmax(22px, auto));
        column-gap: 9px;
    }
    .shop-cart .baza-price-section:not(#extras):not(#cats) .cart-table tbody tr td.product-image { grid-row: 1 / 3; width: 42px; height: 42px; }
    .shop-cart .baza-price-section:not(#extras):not(#cats) .cart-table .product-image img { width: 42px; height: 42px; }
    .baza-price-section:not(#extras):not(#cats) .cart-table tbody tr td:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
    .baza-price-section:not(#extras):not(#cats) .cart-table tbody tr td:nth-child(3) { grid-column: 3; grid-row: 1; }
    .baza-price-section:not(#extras):not(#cats) .cart-table tbody tr td:nth-child(4) { grid-column: 3; grid-row: 2; }
    .baza-price-section .baza-price-amount { font-size: 15px; }
}
@media (max-width: 480px) {
    .baza-feedback-inner { padding: 24px 20px 19px; }
    .container { width: calc(100% - 32px); margin-right: auto; margin-left: auto; }
    #header .header-branding { padding: 0 8px; }
    #header .header-branding img { max-width: 100%; height: auto; }
    #main-slider .baza-slider-cta .c-button { padding: 12px 18px; }
}
@media (max-width: 359px) {
    .baza-price-section .cart-table tbody tr { column-gap: 7px; padding: 7px; }
    .shop-cart .baza-price-section .cart-table tbody tr td:nth-child(2) { font-size: 13px; }
    .baza-price-section .baza-price-amount { font-size: 14px; }
}

@media (max-width: 359px) {
    .baza-mobile-actions { gap: 5px; padding-right: 8px; padding-left: 8px; }
    .baza-mobile-actions .baza-social-icons--mobile { gap: 2px; }
    .baza-mobile-actions .baza-social-icons--mobile a { flex-basis: 36px; width: 36px; min-width: 34px; }
    .baza-mobile-actions .baza-mobile-feedback { padding-right: 6px; padding-left: 6px; font-size: 11px; }
}
