
/*   
Theme Name: redpouf
Theme URI: https://github.com/saxap/clean-wp-template
Version: 3.0
Tags: clean, development, html5, bootstrap
Description: Clean wordpress theme with minimal bootstrap3 markup for fast development starting
Author: saxa:p
Author URI: http://dontforget.pro
*/


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-Bold.eot');
    src: local('Manrope Bold'), local('Manrope-Bold'),
        url('fonts/Manrope-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Manrope-Bold.woff2') format('woff2'),
        url('fonts/Manrope-Bold.woff') format('woff'),
        url('fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-Semibold.eot');
    src: local('Manrope Semibold'), local('Manrope-Semibold'),
        url('fonts/Manrope-Semibold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Manrope-Semibold.woff2') format('woff2'),
        url('fonts/Manrope-Semibold.woff') format('woff'),
        url('fonts/Manrope-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-Regular.eot');
    src: local('Manrope Regular'), local('Manrope-Regular'),
        url('fonts/Manrope-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Manrope-Regular.woff2') format('woff2'),
        url('fonts/Manrope-Regular.woff') format('woff'),
        url('fonts/Manrope-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-Light.eot');
    src: local('Manrope Light'), local('Manrope-Light'),
        url('fonts/Manrope-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/Manrope-Light.woff2') format('woff2'),
        url('fonts/Manrope-Light.woff') format('woff'),
        url('fonts/Manrope-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-Thin.eot');
    src: local('Manrope Thin'), local('Manrope-Thin'),
        url('fonts/Manrope-Thin.eot?#iefix') format('embedded-opentype'),
        url('fonts/Manrope-Thin.woff2') format('woff2'),
        url('fonts/Manrope-Thin.woff') format('woff'),
        url('fonts/Manrope-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-Medium.eot');
    src: local('Manrope Medium'), local('Manrope-Medium'),
        url('fonts/Manrope-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/Manrope-Medium.woff2') format('woff2'),
        url('fonts/Manrope-Medium.woff') format('woff'),
        url('fonts/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-ExtraBold.eot');
    src: local('Manrope ExtraBold'), local('Manrope-ExtraBold'),
        url('fonts/Manrope-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Manrope-ExtraBold.woff2') format('woff2'),
        url('fonts/Manrope-ExtraBold.woff') format('woff'),
        url('fonts/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}


/* Высота шапки (fixed): fallback до подстановки JS (см. header.php после </header>) */
:root {
    --redpouf-header-offset: 210px;
}

@media (max-width: 1399px) {
    :root {
        --redpouf-header-offset: 170px;
    }
}

@media (max-width: 991px) {
    :root {
        --redpouf-header-offset: 96px;
    }
}

html {
    scroll-padding-top: var(--redpouf-header-offset);
}

body {
    line-height: 1.6;
    background-color: #f6f6f6;
    color: #000000;
    font-size: 14px;
    font-family: 'Manrope', Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: var(--redpouf-header-offset);
    /* Отступ для фиксированного header */
}

/* Панель администратора: шапка ниже, контент не заезжает под неё */
body.admin-bar {
    padding-top: calc(var(--redpouf-header-offset) + 32px);
}

body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: calc(var(--redpouf-header-offset) + 46px);
    }

    body.admin-bar .header {
        top: 46px;
    }
}


/* Fluid Typography */
html {
    font-size: 16px;
}

@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}

ol,
ul {
    margin-top: 0;
    margin-bottom: 0;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
    width: auto;
    white-space: nowrap;
    font-size: 18px;
}

.btn--primary {
    background-color: #d9484a;
    color: white;
    border-radius: 10px;
}

.btn--primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: #ffffff;
    color: #d9484a;
    border: 1px solid #d9484a;
    border-radius: 10px;
    font-size: 18px;
}

.btn--secondary:hover {
    /* background-color: #e9ecef;
    border-color: #dee2e6;*/
}

.btn--large {
    padding: 20px 15px;
    font-size: 21px;
}

.rtwpvg-gallery-image {
    cursor: zoom-in;
}

.dashicons,
.dashicons-before:before {
    font-family: dashicons;
    display: inline-block;
    line-height: 1;
    font-weight: 100;
    font-style: normal;
    speak: never;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 55px;
    height: 55px;
    font-size: 28px;
    vertical-align: top;
    text-align: center;
    transition: color .1s ease-in;
    border: 1px solid #dbdbdb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #d9484a;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.header.header--hidden {
    transform: translateY(-100%) !important;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
    pointer-events: none;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
}

.mobile-menu.active {
    left: 0;
    transform: translateX(0);
}

.mobile-menu__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    cursor: pointer;
}

.mobile-menu__overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1002;
}

.mobile-menu__logo {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.mobile-menu__close {
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: color 0.3s ease;
    z-index: 1002;
    position: relative;
}

.mobile-menu__close:hover {
    color: #d9484a;
}

.mobile-menu__nav {
    padding: 20px 0;
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__item {
    margin: 0;
}

.mobile-menu__link {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.mobile-menu__link:hover {
    background-color: #f8f9fa;
    color: #d9484a;
}

.mobile-menu__link.btn--primary {
    background-color: #d9484a;
    color: #fff;
    margin: 10px 20px;
    border-radius: 8px;
    text-align: center;
    border: none;
    border-bottom: none;
}

.mobile-menu__link.btn--primary:hover {
    background-color: #c0392b;
    color: #fff;
}

/* Mobile Menu Animations */
.mobile-menu__list {
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Menu Responsive */
@media (max-width: 767px) {
    .mobile-menu {
        max-width: 280px;
    }

    .mobile-menu__link {
        font-size: 15px;
        padding: 12px 20px;
    }

    .mobile-menu__header {
        padding: 15px;
    }

    .mobile-menu__logo {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        max-width: 100%;
    }

    .mobile-menu__link {
        font-size: 14px;
        padding: 10px 15px;
    }

    .mobile-menu__header {
        padding: 12px 15px;
    }

    .mobile-menu-toggle {
        width: 25px;
        height: 25px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }

    .header__actions {
        gap: 8px;
    }

    .header__icon {
        width: 35px;
        height: 35px;
    }
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e7e7e7;
    padding: 8px 0;
}

.header-top p {
    margin: 0;
}

.header__phone--tel-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.header__icon--max-topbar {
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .header__icon--max-topbar {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
}

@media (min-width: 1400px) {
    .header__icon--max-topbar {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 15px;
    padding: 0;
    min-width: 0;
}

.header__logo {
    box-sizing: border-box;
    height: 50px;
    margin: 5px 0;
}
.header__logo > a {
    aspect-ratio: 100/107;
    display: block;
    height: 100%;

}

.header__logo img {
    /* object-fit: contain; */
    /* width: 100%; */
    width: auto;
    height: 100%;
    aspect-ratio: 100/107;
}

.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.nav__list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 10px;
}

.nav__link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__link.btn--primary {
    color: #fff;
}

.nav__link:hover {
    color: #d9484a;
}

.header__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* Header actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
    color: #111;
    position: relative;
    min-width: 48px;
}

.header__icon:hover {
    background: #f7f7f7
}

.header__badge {
    position: absolute;
    right: -3px;
    top: -4px;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    min-width: 21px;
    height: 21px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    padding: 0 4px;
}

.header__search {
    display: none;
    position: relative;
    margin: 16px 0
}

.header__search.is-open {
    display: block
}

.header__search-form {
    display: flex;
    align-items: center;
    gap: 16px
}

.header__search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid #111;
    border-radius: 10px;
    background: #fff;
    position: relative
}

.header__search-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px
}

.header__search-btn {
    padding: 14px 24px;
    border-radius: 10px
}

.header__icon--cat {
    display: flex;
    align-items: center;
    gap: 10px
}

.header__icon--cat:hover {
    background-color: #d9484a !important;
    color: white !important;
}

.contact__phone {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.header__icon--search img {
    width: 26px;
    height: 26px;
}

.header__icon.header__icon--fav img {}

.header__icon.header__icon--fav,
.header__icon.header__icon--cart {
    border: none;
}

.header__icon--search {
    background-color: #f1f1f1;
    border: none;
    cursor: pointer;
}

.header__icon--filter {
    background-color: #f1f1f1;
    border: none;
    display: none;
    /* Скрываем по умолчанию */
}

.header__icon--filter img {
    width: 20px;
    height: 20px;
    filter: brightness(0);
}

.header__logo_wr {
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 1350px) {
    .header__logo_wr {
        gap: 20px;
    }

}

.nav__link {
    color: #4a4a4a;
    font-size: 14px;
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 600;
    height: 40px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    border-width: 0px;
    text-decoration: none;
    border-radius: 10px 10px 10px 10px;
    background-position: center center;
    border-color: #c6c6c6;
    border-style: solid;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

@media (max-width: 1350px) {

    .nav__link {
        padding: 0 10px;
    }

}

@media (max-width: 1100px) {
    .nav__link {
        font-size: 12px;
    }
    
}

/* Десктоп: пункты шапки в одну строку; правая колонка (кнопка + иконки) не обрезается */
@media (min-width: 992px) {
    .header__logo_wr {
        flex-shrink: 0;
    }

    .header__actions {
        flex: 1;
        min-width: 0;
        gap: 6px;
        justify-content: flex-start;
    }

    .header__actions > :not(.header__nav) {
        flex-shrink: 0;
    }

    .header__nav {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        overflow-x: visible;
        overflow-y: visible;
        justify-content: center;
    }

    .header__nav .nav__list {
        flex-wrap: nowrap;
        justify-content: center;
        margin-right: 0;
    }

    .header__nav .nav__item {
        flex-shrink: 0;
    }

    .header__nav .nav__link {
        white-space: nowrap;
        line-height: 1.2;
    }

    .header__contact .btn {
        font-size: 14px;
        padding: 8px 12px;
        min-height: 42px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header__nav .nav__link {
        font-size: 12px;
        padding: 0 6px;
        height: auto;
        min-height: 34px;
    }

    .header__nav .nav__list {
        gap: 2px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .header__nav .nav__link {
        font-size: 13px;
        padding: 0 7px;
    }

    .header__nav .nav__list {
        gap: 5px;
    }
}

@media (min-width: 992px) and (max-width: 1023px) {
    .header__nav .nav__list {
        flex-wrap: nowrap;
    }
}

.nav__link:hover {
    background-color: #f6f6f6;
    background-image: none;
    color: inherit;
    text-decoration: none;
}

.header__nav_cat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__hours {
    display: flex;
    font-size: 10px;
    color: #666;
    align-items: center;
    gap: 20px;
}


.header__hours a {
    color: #666;
    text-decoration: underline;
}

.header__hours a:hover {
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 20px 0;
}

.hero__content {
    display: flex;
    gap: 7px;
}

.hero__text {
    width: 48.5%;
    background: #fff;
    padding: 25px 25px 20px 30px;
    border-radius: 20px;
    min-height: 100%;
}

.hero__title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.1;
    margin-top: 0;
}

/* Hero title custom lines and chips */
.hero__line {
    display: block;
}

.hero__chip {
    display: inline-block;
    background-color: #fbe1de;
    color: #cc3a2c;
    padding: 3px 12px;
    border-radius: 12px;
    margin: 4px 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.hero__pin-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;

}

.hero__pin-row:last-child {
    font-size: 37px;
    font-weight: 500;
}

.hero__pin {
    width: 22px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero__description {
    font-size: 16px;
    color: #353535;
    margin-bottom: 15px;
    line-height: 1.5;
    letter-spacing: 0.1px;
}

.hero__actions a {
    width: 50%;
}

.hero__image {
    width: 51.5%;
    position: relative;
    /* min-height: 85%; */
}

.hero__img {
    width: 100%;
    height: 100%;
    border-radius: 19px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* Section Titles */
.section__title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-align: left;
    margin-bottom: 20px;
    color: #333;
}

/* Hits section */
.products-list {
    padding: 30px 0 15px;
}

.section__title-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header__icon img {
    width: 55px;
    height: 55px;
}

.header__icon.header__icon--search img {
    width: 35px;
    height: 35px;
}

.products-list__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
}

.products-list__more-arrow {
    color: #d9484a;
}

.products-list__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 16px;
    width: 100%;
}

.hit-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 16px 16px 17px;
    /* box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
    display: flex;
    flex-direction: column;
}

.hit-card__fav {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    border: none;
    background: none;
    border-radius: 50%;
    cursor: pointer;
}

.hit-card__fav img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hit-card__image {
    height: 235px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hit-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: 100%;
}

.hit-card__image a {
    height: 100%;
    margin: auto;
    width: 100%;
    text-decoration: none;
    text-align: center;
}

.hit-card__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hit-card__placeholder:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.hit-card__placeholder svg {
    margin-bottom: 8px;
    opacity: 0.5;
}

.hit-card__placeholder span {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d63;
    text-decoration: none;
}

.hit-card__title,
.post__body .hit-card__title {
    font-size: 16px;
    margin-top: 25px;
    height: auto;
    min-height: 48px;
    line-height: 1.3;
}

.hit-card__ozon {
    margin-top: 0.5rem;
    font-size: 13px;
    line-height: 1.4;
}
.hit-card__ozon--under-image {
    margin-top: 0.4rem;
    margin-bottom: 0.35rem;
}
.hit-card__ozon-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: #444;
    text-decoration: none;
    border-bottom: none;
}
.hit-card__ozon-link:hover {
    color: #005bff;
}
.hit-card__ozon-rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
}
.hit-card__ozon-line--score {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 13px;
}
.hit-card__ozon-line--reviews {
    font-weight: 500;
    color: #555;
    font-size: 12px;
}
.hit-card__ozon-line--orders {
    display: block;
    font-weight: 500;
    color: #666;
    font-size: 12px;
}

/* Звёзды рейтинга Ozon (общие) */
.ozon-star-row {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.ozon-star-row__track {
    position: relative;
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.08em;
}
.ozon-star-row__base {
    display: block;
    color: #e4e4e4;
}
.ozon-star-row__fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
}
.ozon-star-row__fill-inner {
    display: block;
    color: #ffb800;
    white-space: nowrap;
}

@media (max-width: 590px) {

    .hit-card__title,
    .post__body .hit-card__title {

        min-height: unset;
    }

}

.hit-card__price {
    margin-top: 8px;
    color: #000;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: auto;
    font-size: 16px;
    margin-top: 15px;
}

.hit-card__actions {
    position: static;
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.hit-card__actions a {
    width: 50%;
    width: 100%;
}

.hit-card__actions a.btn--secondary {
    color: #000;
    border: 1px solid #000;
}

.btn--small.btn {
    padding: 5px 12px;
    font-size: 18px;
    height: auto;
}

@media (max-width: 1024px) {
    .products-list__grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }
}

@media (max-width: 600px) {
    .products-list__grid {
        grid-template-columns: 1fr;
    }
}

.favorites-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.favorites-header {
    text-align: center;
    margin-bottom: 40px;
}

.favorites-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.favorites-count {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.favorites-empty {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.favorites-empty__icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.favorites-empty__title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.favorites-empty__text {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.favorites-product {
    position: relative;
}

/* Стили для кнопки удаления из избранного */
.favorites-remove-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.remove-from-favorites-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #e2401c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remove-from-favorites-btn:hover {
    background: #e2401c;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(226, 64, 28, 0.3);
}

.remove-from-favorites-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Скрываем стандартную кнопку избранного в шаблоне content-product */
.favorites-product .hit-card__fav {
    display: none !important;
}

/* Стили для активного состояния кнопки избранного */
.add-to-favorites-btn.active {
    opacity: 1;
}

.add-to-favorites-btn.active img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

/* Адаптивность */
@media (max-width: 768px) {
    .favorites-title {
        font-size: 2rem;
    }

    .remove-from-favorites-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .favorites-title {
        font-size: 1.8rem;
    }

    .remove-from-favorites-btn {
        width: 30px;
        height: 30px;
    }
}

.wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.woocommerce .woocommerce-breadcrumb {
    margin: 15px 0 15px;
    padding: 0.5rem 0 0.35rem;
    display: flex;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    gap: 5px;
    align-items: center;
    min-height: 2.25em;
    line-height: 1.45;
}

/* Крошки на карточке товара: первая строка контейнера, под фиксированной шапкой */
.single-product > .container > .woocommerce-breadcrumb {
    margin-top: 8px;
    margin-bottom: 16px;
}

/* Legacy-template (блок): single-product.php не подключается — крошки в main без .single-product > .container */
body.single-product main .woocommerce-breadcrumb {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    margin-top: 8px;
    margin-bottom: 16px;
}

.woocommerce .woocommerce-breadcrumb a {

    text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb span,
.woocommerce .woocommerce-breadcrumb a {
    white-space: nowrap;
}

/* Навигация по категориям товаров */
.product-categories-nav {
    margin: 20px 0 30px 0;
    padding: 0 20px;
}

.product-categories-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.product-categories-nav__item {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    white-space: nowrap;
}

.product-categories-nav__item:hover {
    background: #f8f9fa;
    color: #d9484a;
    border-color: #d9484a;
    text-decoration: none;
}

.product-categories-nav__item.current-category {
    background: #d9484a;
    color: #fff;
    border-color: #d9484a;
}

.product-categories-nav__item.current-category:hover {
    background: #c0392b;
    color: #fff;
}

/* Подуровень навигации каталога */
.product-categories-nav--sub {
    margin-top: -14px;
    margin-bottom: 18px;
    padding: 0 20px;
}

.product-categories-nav--sub .product-categories-nav__list {
    justify-content: center;
    gap: 4px;
}

.product-categories-nav__item--sub {
    font-size: 13px;
    font-weight: 500;
    padding: 5px 12px;
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #555;
    border-radius: 6px;
}

.product-categories-nav__item--sub:hover {
    background: #f8f9fa;
    color: #d9484a;
    border-color: #d9484a;
}

.product-categories-nav__item--sub.current-category {
    background: #d9484a;
    color: #fff;
    border-color: #d9484a;
    font-weight: 600;
}

.product-categories-nav__item--sub.current-category:hover {
    background: #c0392b;
}

/* Фильтры товаров */
.product-filters {
    margin: 20px 0 30px 0;
    padding: 0 0;
}

.product-filters__container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.product-filter {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}

.product-filter label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.product-filter select,
.product-filter input {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.product-filter select:focus,
.product-filter input:focus {
    outline: none;
    border-color: #d9484a;
}

.product-filter--search {
    flex: 1;
    min-width: 200px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 16px;
}

.search-input-wrapper input:focus {
    outline: none;
    border: none;
}

.search-btn {
    padding: 7px 10px;
    background: #d9484a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #c0392b;
}

.product-filter--sort {
    min-width: 180px;
}

/* Индикатор загрузки */
.loading-indicator {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: #d9484a;
    background: transparent;
    margin: 20px 0;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Спиннер загрузки */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #d9484a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Улучшенный прелоадер для фильтров */
.product-filter.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.product-filter.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #d9484a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Состояние загрузки для контейнера фильтров */
.product-filters__container.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.product-filters__container.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d9484a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.product-filters__container.loading::after {
    content: 'Фильтрация...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20px);
    font-size: 14px;
    color: #d9484a;
    font-weight: 500;
    z-index: 10;
}

/* Сообщение "товары не найдены" */
.no-products-found {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    margin: 20px 0;
}

.no-products-found p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Стили для пагинации WooCommerce */
.woocommerce-pagination {
    margin-top: 30px;
    text-align: center;
}

.woocommerce-pagination .page-numbers,
.facetwp-pager {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.facetwp-pager {
    display: flex;
    justify-content: center;
}

.woocommerce-pagination .page-numbers li,
.facetwp-pager .facetwp-page {
    margin: 0;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span,
.facetwp-pager .facetwp-page {
    display: inline-block;
    padding: 8px 12px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.woocommerce-pagination .page-numbers a:hover,
.facetwp-pager .facetwp-page:hover {
    background: #d9484a;
    color: #fff;
    border-color: #d9484a;
}

.woocommerce-pagination .page-numbers .current,
.facetwp-pager .facetwp-page.active {
    background: #d9484a;
    color: #fff;
    border-color: #d9484a;
}

button#headerFilterToggle {
    margin-bottom: 15px;
    width: 30px;
    height: 30px;
}

/* Контейнер для кнопки фильтрации */
.mobile-filter-toggle {
    display: none;
    /* Скрываем по умолчанию */
    text-align: left;
    margin: 20px 0;
}

/* Адаптивные стили для фильтров */
@media (max-width: 768px) {

    /* Показываем кнопку фильтрации на мобильных */
    .mobile-filter-toggle {
        display: block;
    }

    .mobile-filter-toggle .header__icon--filter {
        display: inline-flex !important;
    }

    /* Скрываем фильтры на мобильных по умолчанию */
    .product-filters {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        padding: 20px;
    }

    .product-categories-nav__list {
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: center;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .product-filters.mobile-open {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 80px;
    }

    .product-filters__container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        max-width: 400px;
        width: 100%;
        max-height: 80vh;
        overflow-y: auto;
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        position: relative;
    }

    .product-filters__close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
        border: none;
        background: #f5f5f5;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        font-weight: bold;
    }

    .product-filters__close:hover {
        background: #e0e0e0;
    }

    .product-filter {
        min-width: auto;
        width: 100%;
    }

    .product-filter--search {
        order: -1;
    }

    .product-filter--sort {
        order: 1;
    }
}

/* Catalog Section */
.catalog {
    padding: 50px 0;
}

.catalog__grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(33% - 17px);
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: right;
    min-height: 338px;
    text-decoration: none;
    color: inherit
}

.product-card:first-child {
    width: calc(55% - 15px);
    min-height: 338px;


}

.product-card:nth-child(2) {
    width: calc(45% - 15px);
    min-height: 338px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card .product-card__image {
    max-height: 200px;
    overflow: hidden;
    position: absolute;
    width: 70%;
    bottom: 0;
    left: 0;
    display: flex;
}

.product-card:nth-child(1) .product-card__image,
.product-card:nth-child(2) .product-card__image {
    left: 30px;
    max-height: none;
    width: 50%;
}

.product-card__image img {
    width: 100%;
    object-fit: contain;
    object-position: left;
}

.product-card__content {
    padding: 0px 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 80%;
    text-align: right;
    align-items: flex-end;
}

.product-card__title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    text-align: right;
    margin-bottom: 9px;
    max-width: 260px;
    line-height: 1.2;
}

.product-card__price {
    text-align: right;
    font-size: 14px;
}

.product-card .product-card__arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: #d9484a;
    font-size: 40px;
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 500;
    border-radius: 30px 30px 30px 30px;
    background-color: #ffffff;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

/* Capture form */
.capture-form {
    padding: 50px 0 0;
    background-color: #f8f9fa;
}

.capture-form__wrap {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 16px 16px 0 0;
}

.capture-form__left {
    width: 61%;
}

.capture-form__right {
    width: 41%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.capture-form__title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1;
}

.capture-form__desc {
    font-size: 21px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 35px;
}

.capture-form__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.capture-form__field {
    display: block;
    width: 48%;
}

.capture-form__input {
    width: 100%;
    padding: 28px 25px;
    border-radius: 12px;
    font-size: 21px;
    transition: border-color 0.3s ease;
    color: rgb(63, 63, 63);
    border: 0px solid rgb(0, 0, 0);
    background-color: rgb(241, 241, 241);
}

.capture-form__input:focus {
    outline: none;
    border-color: #d9484a;
    background-color: #fff;
}

.capture-form__agree {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #666;
    width: 48%;
    line-height: 1.3;
}

.capture-form__agree input {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid black;
}

.capture-form__agree a {
    color: #d9484a;
    text-decoration: none;
}

.capture-form__agree a:hover {
    text-decoration: underline;
}

.capture-form__submit {
    width: 261px;
    font-size: 21px;
    height: 73px;
    margin: 0 auto;
}

.capture-form__image {
    position: relative;
    width: 100%;
    max-width: 425px;
    aspect-ratio: 1/1;
    background: #fbe1de;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.capture-form__image img {
    max-width: 70%;
    height: auto;
    object-fit: contain;
}

.capture-form__question {
    position: absolute;
    font-weight: 800;
    color: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 200px;
}

/* Contact Form 7 стили для capture-form */
.capture-form .wpcf7-form-control-wrap {
    width: 100%;
}

.capture-form .wpcf7-form-control-wrap.your-name-wrap {
    width: calc(50% - 15px);
}

.capture-form .wpcf7-form-control-wrap.tel-385-wrap {
    width: 50%;
}

.capture-form .wpcf7-form .form__row {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.capture-form .wpcf7-form .form__row .wpcf7-form-control-wrap {
    width: 50%;
}

.capture-form .wpcf7-form input[type="text"],
.capture-form .wpcf7-form input[type="tel"],
.capture-form .wpcf7-form input[type="email"] {
    width: 100%;
    padding: 28px 25px;
    border-radius: 12px;
    font-size: 21px;
    transition: border-color 0.3s ease;
    color: rgb(63, 63, 63);
    border: 0px solid rgb(0, 0, 0);
    background-color: rgb(241, 241, 241);
}

.capture-form .wpcf7-form input[type="text"]:focus,
.capture-form .wpcf7-form input[type="tel"]:focus,
.capture-form .wpcf7-form input[type="email"]:focus {
    outline: none;

}

.capture-form .wpcf7-form .wpcf7-acceptance {
    margin: 0;
}

.capture-form .wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.capture-form .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #666;
    line-height: 1.3;
    cursor: pointer;
}

.capture-form .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid black;
}

.capture-form .wpcf7-form .wpcf7-acceptance a {
    color: #d9484a;
    text-decoration: none;
}

.capture-form .wpcf7-form .wpcf7-acceptance a:hover {
    text-decoration: none;
}

.capture-form .wpcf7-form input[type="submit"] {
    width: 261px;
    font-size: 21px;
    height: 73px;
    margin: 0 auto;
    background-color: #d9484a;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.capture-form .wpcf7-form input[type="submit"]:hover {
    background: #c0392b;
}

.capture-form .wpcf7-response-output {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
}

.capture-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.capture-form .wpcf7-response-output.wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 1024px) {
    .capture-form__wrap {
        flex-direction: column;
    }

    .capture-form__right {
        padding: 30px;
    }

    .capture-form__title {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .capture-form__submit {
        width: 100%;
    }

    .capture-form__image {
        max-width: 360px;
    }

    .capture-form__question {
        width: 90px;
        height: 90px;
        font-size: 56px;
    }
}

/* Benefits Section */
.benefits {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.benefit-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card__image {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.benefit-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.benefit-card__number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 50px;
    font-weight: 500;
    color: rgb(255 255 255 / 20%);
    line-height: 1;
}

.benefit-card__content {
    padding: 30px;
}

.benefit-card__title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
    margin-top: 0;
}

.benefit-card__description {
    color: #000;
    line-height: 1.6;
    font-size: 21px;
}

/* About Section */
.about {
    position: relative;
    min-height: 100vh;
    background-color: #f8f9fa;
    overflow: hidden;
}

.about__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('/wp-content/themes/redpouf/images/workshop-bg.webp') no-repeat center center;
    background-size: cover;
    z-index: 1;
    border-radius: 350px;
    opacity: 1;
    transition: border-radius 0.8s ease, position 0s, opacity 0.8s ease;
}

.about__background.fixed {
    position: fixed;
    top: 0;
    left: 0;
}

.about__background.scrolled {
    border-radius: 0;
}

/* When section bottom is reached, pin background to section bottom
   so it scrolls away naturally with the section */
.about__background.stuck-bottom {
    position: absolute;
    top: auto;
    bottom: 0;
}

.about__logo {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    opacity: 1;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.about__logo.scrolled {
    transform: translate(-50%, -50%) scale(1.5);
}

.about__logo.fade-out {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.about__logo-text {
    font-size: 120px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Manrope', Arial, sans-serif;
}

.about__logo-subtitle {
    font-size: 24px;
    color: #fff;
    font-style: italic;
    margin-top: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about__content.container {
    position: relative;
    z-index: 3;
    padding: 80px 0;
}

.about__text-block {
    background: #f6f6f6;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    visibility: hidden;
}

.about__text-block.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.about__badge {
    background-color: #d9484a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    width: 78px;
    height: 34px;
    border-radius: 20px;
    position: relative;
}

.about__badge:after {
    content: "";
    position: absolute;
    right: -10px;
    height: calc(100% - 2px);
    width: 50px;
    border: 1px solid red;
    border-radius: 34px;
    z-index: -1;
}

.about__block-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.about__block-content--reverse {
    flex-direction: row-reverse;
}

.about__image {
    flex: 1;
    min-width: 300px;
    height: 100%;
    max-height: 465px;
    border-radius: 12px;
    overflow: hidden;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__description {
    font-size: 21px;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

/* Work Process Section */
.work-process {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.step {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.step__number {
    background-color: #d9484a;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.step__title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.step__description {
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 600;
    color: #000000;
    line-height: 1.35;
    font-size: 20px;
    margin-top: 35px;
}

.wc-blocks-components-select .wc-blocks-components-select__container {
    height: auto !important;
}

/* Скрываем ссылку "Вернуться в корзину" */
.wc-block-components-checkout-return-to-cart-button,
.wc-block-checkout__return-to-cart,
.woocommerce-checkout .return-to-cart,
.woocommerce-checkout .wc-backward,
.woocommerce-checkout .checkout-back-to-cart,
.wc-block-checkout__actions a[href*="cart"]:not(.wc-block-components-checkout-place-order-button),
.wc-block-checkout__actions a[href*="корзину"],
.woocommerce-checkout .checkout-actions .wc-backward,
.woocommerce-checkout .checkout-actions a[href*="cart"] {
    display: none !important;
}

/* Стили для кнопки оформления заказа */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions .wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions button.wc-block-components-checkout-place-order-button,
.woocommerce-checkout #place_order,
.woocommerce-checkout .place-order button[type="submit"],
.woocommerce-checkout .button.alt {
    background: #d9484a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 18px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    width: 100% !important;
    text-align: center !important;
}

.wc-block-components-checkout-place-order-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .place-order button[type="submit"]:hover,
.woocommerce-checkout .button.alt:hover {
    background: #c0392b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3) !important;
}

.wc-block-components-checkout-place-order-button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3) !important;
}

.wc-block-components-checkout-place-order-button:active {
    transform: translateY(0) !important;
}

.wc-block-components-checkout-place-order-button__text {
    color: #fff !important;
    font-weight: 600 !important;
}

/* Мобильные стили для кнопки оформления заказа */
@media (max-width: 768px) {
    .wc-block-components-checkout-place-order-button {
        padding: 16px 24px !important;
        font-size: 15px !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 480px) {
    .wc-block-components-checkout-place-order-button {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
}

/* Cards variation for work section */
.work-process__steps--cards {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 55px;
    justify-content: center;
}

.step--card {
    position: relative;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    width: 25%;
    flex-direction: column;
}

.step--card .step__number {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    font-size: 26px
}

.step--card .step__icon {
    margin-top: 24px;
    width: 90px
}

@media(max-width:1024px) {
    .work-process__steps--cards {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    .work-process__steps--cards {
        grid-template-columns: 1fr
    }
}

/* New Salon Section */
.new-salon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(/wp-content/themes/redpouf/images/new-salon.webp) no-repeat center center;
    background-size: cover;
}

.new-salon__content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-salon__overlay {
    background: url(/wp-content/themes/redpouf/images/999.png) no-repeat center center;
    padding: 20px 124px;
    width: 536px;
    height: 494px;
    text-align: center;
    position: relative;
    background-size: contain;
    margin-top: 45px;
}

.new-salon__overlay::before {
    content: '';
}

.new-salon__title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.new-salon__description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.new-salon__button {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    width: 100%;
}

.new-salon__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

@media (max-width: 768px) {
    .new-salon {
        min-height: 500px;
        padding: 60px 0;
    }

    .new-salon__overlay {
        padding: 40px 30px;
        margin: 0 20px;
    }

    .new-salon__title {
        font-size: 28px;
    }

    .new-salon__description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .new-salon__overlay {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .new-salon__title {
        font-size: 24px;
    }

    .new-salon__description {
        font-size: 14px;
    }

    .new-salon__button {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Contact Section */
.contact {
    padding: 50px 0 0;
    background-color: #f8f9fa;
}

.contact__content {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 16px 16px 0 0;
}

.contact__info {
    width: 47%;
}

.contact__title {
    font-size: 28px;
    font-weight: 700;
    color: #d9484a;
    margin-bottom: 20px;
    line-height: 1;
}

.contact__description {
    font-size: 21px;
    color: #333;
    line-height: 1.5;
}

.contact__form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: end;
    text-align: right;
}

.contact .contact__phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
    line-height: 1;
}

.contact__phone:hover {
    color: #d9484a;
}

.contact .contact__hours {
    font-size: 14px;
    color: #666;
    margin-bottom: 29px;
}

.contact .contact__address {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.contact .contact__address a {
    color: #666;
    text-decoration: underline;

}

.contact .contact__address a:hover {
    text-decoration: none;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact .wpcf7-form-control-wrap {
    width: 100%;
}

.contact .wpcf7-form-control-wrap.your-name-wrap {
    width: 48%;
}

.contact .wpcf7-form-control-wrap.tel-385-wrap {
    width: 48%;
}

.form__row {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.form__input {
    width: 50%;
    padding: 28px 25px;
    border-radius: 12px;
    font-size: 21px;
    transition: border-color 0.3s ease;
    color: rgb(63, 63, 63);
    border: 0px solid rgb(0, 0, 0);
    background-color: rgb(241, 241, 241);
}

.form__input:focus {
    outline: none;
    border-color: #d9484a;
    background-color: #fff;
}

.form__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 18px;
    width: 50%;
    padding: 28px 25px;
    border-radius: 12px;
    font-size: 21px;
    transition: border-color 0.3s ease;
    color: rgb(63, 63, 63);
    border: 0px solid rgb(0, 0, 0);
    background-color: rgb(241, 241, 241);
}

.form__input-wrapper:focus-within {
    border-color: #d9484a;
    background-color: #fff;
}

.form__flag {
    font-size: 18px;
    margin-right: 8px;
}

.form__prefix {
    font-size: 16px;
    color: #666;
    margin-right: 8px;
}

.form__input--phone {
    border: none;
    background: transparent;
    padding: 0;
    flex: 1;
}

.form__input--phone:focus {
    background: transparent;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    text-align: left;
}

.form__checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.form__checkbox a {
    color: inherit;
    text-decoration: underline;
}

.form__checkbox a:hover {
    text-decoration: none;
}

.contact__submit.btn {
    padding: 26px 50px;
    font-size: 21px;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 10px;
    display: inline-flex;
    width: max-content;
    margin: 25px auto 0;
}

/* Стили для Contact Form 7 в секции контактов */
.contact__form-section .wpcf7-form {
    display: flex;
    /* flex-direction: column; */
    gap: 20px;
    flex-wrap: wrap;
}

.contact__form-section .wpcf7-form .form__row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact__form-section .wpcf7-form .form__row .wpcf7-form-control-wrap {
    flex: 1;
    min-width: 200px;
}

.contact__form-section .wpcf7-form input[type="text"],
.contact__form-section .wpcf7-form input[type="tel"],
.contact__form-section .wpcf7-form input[type="email"] {
    width: 100%;
    padding: 28px 25px;
    border: 0px solid rgb(0, 0, 0);
    border-radius: 12px;
    font-size: 21px;
    background-color: rgb(241, 241, 241);
    color: rgb(63, 63, 63);
    transition: border-color 0.3s ease;
}

.contact__form-section .wpcf7-form input[type="text"]:focus,
.contact__form-section .wpcf7-form input[type="tel"]:focus {
    outline: none;
    border-color: #d9484a;
    background-color: #fff;
}

.contact__form-section .wpcf7-form .wpcf7-acceptance {
    margin: 0;
}

.contact__form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.contact__form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    text-align: left;
}

.contact__form-section .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.contact__form-section .wpcf7-form .wpcf7-acceptance a {
    color: inherit;
    text-decoration: underline;
}

.contact__form-section .wpcf7-form .wpcf7-acceptance a:hover {
    text-decoration: none;
}

.contact__form-section .wpcf7-form input[type="submit"] {
    padding: 26px 50px;
    font-size: 21px;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 10px;
    display: inline-flex;
    width: max-content;
    margin: 25px auto 0;
    background: #d9484a;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact__form-section .wpcf7-form input[type="submit"]:hover {
    background: #c0392b;
}

.contact__form-section .wpcf7-response-output {
    margin: 15px 0 0 0;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.contact__form-section .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact__form-section .wpcf7-response-output.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Production Section */
.production {
    padding: 40px 0
}

.production__card {
    display: flex;
    gap: 24px;
    align-items: stretch;
    border-radius: 16px;
    padding: 24px
}

.production__image {
    flex: 0 0 420px;
    border-radius: 12px;
    overflow: hidden
}

.production__image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.production__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 30px;
    background: #fff;
    border-radius: 15px;
}

.production__title {
    font-size: 40px;
    line-height: 1.2;
    color: #333;
    margin: 0 0 24px
}

.production__btn.btn {
    align-self: flex-start;
    padding: 22px 30px;
    border-radius: 12px;
    font-size: 21px;
}

.single-product .site-main .product .price {
    font-size: 26px;
    line-height: 1.35;
    font-weight: 700;
    color: #000000;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #777;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.quantity-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    color: #333;
    font-size: 0;
    /* Убираем текст */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    position: relative;
}

/* Псевдоэлемент для создания плюса/минуса */
.quantity-btn::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 1px;
    background-color: #333;
    transition: background-color 0.2s ease;
}

/* Псевдоэлемент для создания плюса (только для кнопки плюс) */
.quantity-btn.quantity-plus::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 18px;
    background-color: #333;
    transition: background-color 0.2s ease;
}

.quantity-btn:hover {
    background-color: #f5f5f5;
}

.quantity-btn:hover::before,
.quantity-btn:hover::after {
    background-color: #d9484a;
}

.quantity-input {
    width: 29px;
    height: 53px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: transparent;
    outline: none;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
}

.single_add_to_cart_button.btn {
    height: 53px;
    padding: 0 30px;
    border: none;
    border-radius: 6px;
    background: #d9484a;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    letter-spacing: 1px;
}

.single_add_to_cart_button:hover {
    background: #c0392b;
}

.single_add_to_cart_button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.add-to-favorites-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #e4e4e4;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.add-to-favorites-btn img {
    width: 38px;
    height: 38px;
    margin: auto;
}

.add-to-favorites-btn:hover {
    border-color: #d9484a;
    background: #fff5f5;
}

.add-to-favorites-btn.active {
    background: #d9484a;
    border-color: #d9484a;
}

.add-to-favorites-btn.active svg path {
    stroke: #fff;
}

.add-to-favorites-btn.active img {
    filter: brightness(0) invert(1);
}

/* Кнопка "Наверх" */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #d9484a;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(217, 72, 74, 0.3);
}

.scroll-to-top:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 72, 74, 0.4);
}

.scroll-to-top:active {
    transform: translateY(0);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

/* Стили для стрелок слайдера товара (Variation Gallery) */
.rtwpvg-slider .slick-prev,
.rtwpvg-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rtwpvg-slider .slick-prev:hover,
.rtwpvg-slider .slick-next:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.rtwpvg-slider .slick-prev {
    left: 20px;
}

.rtwpvg-slider .slick-next {
    right: 20px;
}

.rtwpvg-slider .slick-prev i,
.rtwpvg-slider .slick-next i {
    font-size: 20px;
    color: #333;
    line-height: 1;
}

.rtwpvg-slider .slick-prev:before,
.rtwpvg-slider .slick-next:before {
    display: none;
}

/* Стили для стрелок миниатюр */
.rtwpvg-thumbnail-slider .slick-prev,
.rtwpvg-thumbnail-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.rtwpvg-thumbnail-slider .slick-prev:hover,
.rtwpvg-thumbnail-slider .slick-next:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.rtwpvg-thumbnail-slider .slick-prev {
    left: -15px;
}

.rtwpvg-thumbnail-slider .slick-next {
    right: -15px;
}

.rtwpvg-thumbnail-slider .slick-prev i,
.rtwpvg-thumbnail-slider .slick-next i {
    font-size: 16px;
    color: #333;
    line-height: 1;
}

.rtwpvg-thumbnail-slider .slick-prev:before,
.rtwpvg-thumbnail-slider .slick-next:before {
    display: none;
}

/* Адаптивность для стрелок слайдера */
@media (max-width: 768px) {

    .rtwpvg-slider .slick-prev,
    .rtwpvg-slider .slick-next {
        width: 40px;
        height: 40px;
    }

    .rtwpvg-slider .slick-prev {
        left: 10px;
    }

    .rtwpvg-slider .slick-next {
        right: 10px;
    }

    .rtwpvg-slider .slick-prev i,
    .rtwpvg-slider .slick-next i {
        font-size: 16px;
    }

    .rtwpvg-thumbnail-slider .slick-prev,
    .rtwpvg-thumbnail-slider .slick-next {
        width: 30px;
        height: 30px;
    }

    .rtwpvg-thumbnail-slider .slick-prev {
        left: -10px;
    }

    .rtwpvg-thumbnail-slider .slick-next {
        right: -10px;
    }

    .rtwpvg-thumbnail-slider .slick-prev i,
    .rtwpvg-thumbnail-slider .slick-next i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .rtwpvg-slider .slick-prev,
    .rtwpvg-slider .slick-next {
        width: 35px;
        height: 35px;
    }

    .rtwpvg-slider .slick-prev {
        left: 5px;
    }

    .rtwpvg-slider .slick-next {
        right: 5px;
    }

    .rtwpvg-slider .slick-prev i,
    .rtwpvg-slider .slick-next i {
        font-size: 14px;
    }

    .rtwpvg-thumbnail-slider .slick-prev,
    .rtwpvg-thumbnail-slider .slick-next {
        display: none !important;
    }
}

/* Адаптивность для кнопки "Наверх" */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .single_add_to_cart_button {
        flex: 1;
        min-width: 120px;
    }
}

.single-product .site-main .product .price ins {
    text-decoration: none !important;
    margin-left: 10px
}

.single-product .site-main .product .price del {
    font-weight: 300;
}

@media(max-width:1024px) {
    .production__title {
        font-size: 32px
    }

    .production__image {
        flex-basis: 360px
    }
}

@media(max-width:768px) {
    .production__card {
        flex-direction: column
    }

    .production__image {
        flex-basis: auto;
        height: 260px
    }

    .production__btn {
        align-self: stretch;
        text-align: center
    }
}

.woocommerce span.onsale {
    display: none !important;
}

.woocommerce div.product {
    background: #fff;
    padding: 25px 25px 40px 25px;
    border-radius: 25px;
    margin-bottom: 15px;
    overflow: hidden;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    border: none;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, .5);
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 520px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3990;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-sidebar.active .cart-sidebar__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cart-sidebar__content {
    position: relative;
    z-index: 4001;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    padding: 20px;
}

.cart-sidebar__header {
    padding: 25px 20px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-sidebar__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.cart-sidebar__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-sidebar__clear {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cart-sidebar__clear:hover {
    color: #d9484a;
}

.cart-sidebar__close {
    width: 30px;
    height: 30px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
}

.cart-sidebar__close:hover {
    background: #e0e0e0;
}

.cart-sidebar__body {

    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item__image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    background: #f5f5f5;
}

.cart-item__content {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* min-width: 0; */
    width: 160px;
    /* max-width: 250px; */
}

.cart-item__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.cart-item__variation {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.cart-item__controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: calc(100% - 245px);
    justify-content: space-between;
}

.cart-item__quantity {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    justify-content: center;
}

.cart-item__qty-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    font-size: 20px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    border: 1px solid #e0e0e0;
    color: #e0e0e0;
}

.cart-item__qty-btn:hover {
    background: #e0e0e0;
}

.cart-item__qty-input {
    width: 36px;
    height: 24px;
    border: none;
    text-align: center;
    font-size: 14px;
    background: transparent;
    font-weight: 500;
}

.cart-item__price {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: right;
    white-space: nowrap;
}

.cart-item__remove {
    width: 20px;
    min-width: 20px;
    height: 20px;
    border: none;
    background: #f5f5f5;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cart-item__remove:hover {
    color: #d9484a;
}

.cart-sidebar__footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}

.cart-sidebar__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
}

.cart-total-label {
    color: #333;
}

.cart-total-amount {
    color: #d9484a;
    font-size: 18px;
}

.cart-sidebar__checkout {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 6px;
    background: #d9484a;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.cart-sidebar__checkout:hover {
    background: #c0392b;
    color: #fff;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.cart-sidebar__content:has(.cart-empty) .cart-sidebar__footer {
    display: none;
}

.cart-empty__icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.cart-empty__text {
    font-size: 16px;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar__header {
        padding: 20px 15px 15px;
    }

    .cart-sidebar__title {
        font-size: 20px;
    }

    .cart-sidebar__body {
        padding: 0;
    }

    .cart-item {
        padding: 12px 0;
    }

    .cart-item__image {
        width: 50px;
        height: 50px;
    }

    .cart-item__title {
        font-size: 13px;
    }

    .cart-item__variation {
        font-size: 11px;
    }

    .cart-sidebar__footer {
        padding: 15px;
    }
}

/* Модальное окно консультации */
.consultation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consultation-modal.fancybox-is-open {
    opacity: 1;
    visibility: visible;
}

.consultation-modal__content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.consultation-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: background-color 0.2s ease;
}

.consultation-modal__close:hover {
    background: #e0e0e0;
}

.consultation-modal__title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    text-align: center;
}

.consultation-modal__description {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0 0 30px 0;
    line-height: 1.5;
}

.consultation-modal__form {
    width: 100%;
}

.consultation-modal__form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.consultation-modal__form input[type="text"],
.consultation-modal__form input[type="tel"],
.consultation-modal__form input[type="email"] {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.consultation-modal__form input[type="text"]:focus,
.consultation-modal__form input[type="tel"]:focus {
    outline: none;
    border-color: #d9484a;
}

.consultation-modal__form .wpcf7-form-control-wrap.tel-385-wrap {
    position: relative;
}


.wpcf7-list-item {

    margin: 0;
}

.consultation-modal__form .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
}

.consultation-modal__form .wpcf7-acceptance a {
    color: inherit
}

.consultation-modal__form .wpcf7-acceptance input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.consultation-modal__form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.consultation-modal__form .wpcf7-acceptance .wpcf7-list-item-label a {
    color: #d9484a;
    text-decoration: underline;
}

.consultation-modal__form .wpcf7-acceptance .wpcf7-list-item-label a:hover {
    text-decoration: none;
}

.consultation-modal__form input[type="submit"] {
    width: 100%;
    padding: 18px;
    background: #d9484a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.consultation-modal__form input[type="submit"]:hover {
    background: #c0392b;
}

.consultation-modal__form .wpcf7-response-output {
    margin: 15px 0 0 0;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.consultation-modal__form .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.consultation-modal__form .wpcf7-response-output.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Fancybox стили для модального окна */
.fancybox-container {
    z-index: 10001 !important;
}

.fancybox-bg {
    background: rgba(0, 0, 0, 0.5) !important;
}

.fancybox-toolbar {
    display: none !important;
}

/* .fancybox-container:not(.fancybox-is-zoomable)  .fancybox-button--close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    width: 30px !important;
    height: 30px !important;
    background: #f5f5f5 !important;
    border-radius: 50% !important;
    color: #333 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10002 !important;
}

.fancybox-container:not(.fancybox-is-zoomable) .fancybox-button--close:hover {
    background: #e0e0e0 !important;
} */

.fancybox-slide--html .fancybox-content {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Скрываем стандартный модальный контент */
.consultation-modal[style*="display: none"] {
    display: none !important;
}

/* Дополнительные стили для Fancybox */
.consultation-modal-container .fancybox-content {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.consultation-modal-container .fancybox-slide {
    padding: 0 !important;
}

.consultation-modal-container .fancybox-stage {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Убираем стандартные стили Fancybox для нашего модального окна */
.consultation-modal-container .fancybox-content .consultation-modal__content {
    position: relative !important;
    transform: none !important;
    margin: 0 !important;
}

/* Блокировка скролла при открытом модальном окне */
body.modal-open {
    overflow: hidden !important;
}

/* Предотвращаем исчезновение кнопок */
[data-modal="consultation"] {
    position: relative !important;
    z-index: 1 !important;
}

[data-modal="consultation"]:focus {
    outline: none !important;
}

/* Отключаем Fancybox для наших кнопок */
[data-modal="consultation"] {
    pointer-events: auto !important;
}

/* Убираем любые стили Fancybox для модального окна */
#consultation-modal {
    display: none !important;
}

#consultation-modal.fancybox-is-open {
    display: flex !important;
}

/* Кнопка корзины в хедере */
.cart-trigger {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;

}

.cart-trigger__icon {
    width: 24px;
    height: 24px;
    fill: #333;
}

.cart-trigger__count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: rgb(0, 0, 0);
    color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.favorites-trigger__count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #d9484a;
    color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Обеспечиваем, что шапка выше корзины */
.header {
    z-index: 999;
}

button.pswp__button.pswp__button--arrow--right,
button.pswp__button.pswp__button--arrow--left {
    background: #b9b9b985 !important;
    width: 50px;
}

/* Уведомления */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    max-width: 300px;
}

.cart-notification--show {
    transform: translateX(0);
}

.cart-notification--error {
    background: #d9484a;
}

.cart-notification--success {
    background: #27ae60;
}

.cart-notification--info {
    background: #3498db;
}

/* Стили для описания товара в summary */
.product-description {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.product-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.product-description-content {
    line-height: 1.6;
    color: #666;
    font-size: 16px;
}

.product-description-content p {
    margin-bottom: 15px;
}

.product-description-content p:last-child {
    margin-bottom: 0;
}

/* Переупорядочиваем элементы на странице товара */
.single-product .summary {
    display: flex;
    flex-direction: column;
}

.single-product .product_title {
    order: 1;
    font-size: 31px;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    font-size: 16px;
    margin-top: 5px;
}

.woocommerce div.product form.cart .variations label {
    font-weight: 400;
}

.woo-variation-swatches.wvs-show-label .variations td .woo-selected-variation-item-name,
.woo-variation-swatches.wvs-show-label .variations th .woo-selected-variation-item-name {
    font-weight: 400;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: var(--wvs-item-background-color, #fff);
    -webkit-box-shadow: var(--wvs-item-box-shadow, 0 0 0 1px #a8a8a8);
    box-shadow: var(--wvs-item-box-shadow, 0 0 0 1px #a8a8a8);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: var(--wvs-item-text-color, #000);
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: var(--wvs-single-product-item-height, 30px);
    justify-content: center;
    margin: 4px;
    padding: 2px;
    position: relative;
    width: var(--wvs-single-product-item-width, 30px);
}

.woocommerce div.product form.cart .reset_variations {
    display: none !important;
}

.single-product .price,
.single-product .garantiya {
    order: 2;
}

.single-product .garantiya {
    font-size: 20.8px;
}

.single-product .woocommerce-single-variation,
.single-product .product-simple__actions {
    order: 3;
}

.single-product .woocommerce-product-rating {
    order: 4;
}

.single-product .woocommerce-product-details__short-description {
    order: 10;
    font-size: 16px;
    margin-top: 10px;
}

.single-product .product_meta {
    order: 12;
    font-size: 16px;
}

.single-product .product_meta a {
    color: inherit;
    text-decoration: none;
}

.single-product .variations_form {
    order: 6;
}

.single-product .woocommerce-variation-add-to-cart,
.single-product .woocommerce-variation-add-to-cart {
    order: 7;
}

.single-product .woocommerce-product-meta {
    order: 8;
}

.single-product .product-description {
    order: 9;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item {
    border-radius: 5px;
    padding: 5px 10px;
}

/* Стили для размеров товара */
.product_meta .product-dimensions {
    display: block;
    font-size: 16px;
    color: #333;
    margin: 10px 0;
    font-weight: 500;
}

.woocommerce .woocommerce-result-count {
    margin: 0 0 1em;
    font-size: 18px;
}

h1.woocommerce-products-header__title.page-title {
    color: #414141;
    font-size: 41px;
    margin-bottom: 45px;
    line-height: 1.2;
}

.page--post h1.page-title {

    color: #414141;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {

    .page--post h1.page-title {
        font-size: 41px;
        line-height: 1.2;

    }
}

@media (max-width: 1339px) {

    .page--post h1.page-title {
        margin-bottom: 25px;
    }
}

@media (max-width: 991px) {

    .page--post h1.page-title {
        margin-bottom: 18px;
    }
}

.page--post .product-categories-nav__list {
    justify-content: flex-start;
    margin-bottom: 48px;
}



/* Стили для страницы поиска */
.search .woocommerce-products-header__title.page-title {
    color: #414141;
    font-size: 66px;
    margin-bottom: 45px;
    text-align: left;
}

.search .woocommerce {
    margin-top: 20px;
}

.search .no-products-found {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    margin: 20px 0;
}

.search .no-products-found p {
    font-size: 18px;
    color: #666;
    margin: 0 0 15px 0;
}

.search .no-products-found p:last-child {
    margin-bottom: 0;
    font-size: 16px;
    color: #999;
}

section.related.products h2 {
    font-size: 29px;
    font-weight: 500;
    margin-bottom: 15px;
}

section.related.products {
    margin: 15px 0px;
    overflow: hidden;
    width: 100%;
}

section.related.products .hit-card {
    box-shadow: none;
}

.related.acf-products {
    clear: both;
}

/* Footer */
.footer {
    background-color: #343434;
    color: #fff;
    padding: 25px 0;
}

.footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__brand-name {
    font-weight: 700;
    font-size: 16px;
}

.footer__nav {
    display: flex;
    gap: 30px;
}

.footer__col {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer__link:hover {
    color: #d9484a;
}

.footer__socials {
    display: flex;
    gap: 8px;
}

.footer__social {
    display: inline-flex;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    color: #111;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer__social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 16px;
}

.footer__copy {
    opacity: .9;
}

.footer__legal {
    list-style: none;
    gap: 0px;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
}

.footer__muted {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 10px;
}

.footer__muted:hover {
    color: #fff
}

.footer__dev {
    color: #bdbdbd;
    font-size: 12px
}

body.page-id-10 {
    background: #fff;
}

form.wc-block-components-form.wc-block-checkout__form input {
    color: #000000;
    border: 1px solid #000000;
}

.wc-block-components-checkbox.wc-block-checkout__use-address-for-billing,
.wc-block-components-address-form__address_2-toggle,
#shipping-option,
#payment-method {
    display: none !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea {
    width: 100% !important;
    padding: 20px !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
}

@media(max-width:900px) {
    .footer__top {
        flex-direction: column;
        align-items: flex-start
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start
    }
}

.wp-block-woocommerce-checkout-order-summary-totals-block {
    display: none;
}

/* Responsive Design - Desktop First Approach */
article#post-10 {
    padding: 15px 0 0;
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        padding: 0 40px;
    }

    .hero__title {
        font-size: 65px;
    }

    .section__title {
        font-size: 52px;
    }

    .btn {
        padding: 18px 30px;
    }

    .header__content {
        gap: 20px;
        padding: 4px 0;
    }

    .header__logo {
        height: 70px;
    }

    .nav__list {
        gap: 15px;
    }

    .nav__link {
        font-size: 14px;
        height: 60px;
        padding: 0 10px;
    }

    /* Шапка: компактнее, чтобы меню + «Оставить заявку» влезали в строку */
    .header__nav .nav__list {
        gap: 5px;
    }

    .header__nav .nav__link {
        font-size: 12px;
        height: 42px;
        padding: 0 6px;
    }

    .header__contact .btn {
        font-size: 15px;
        padding: 10px 16px;
        min-height: 44px;
    }

    .header__actions {
        gap: 8px;
    }

    .header__icon {
        width: 60px;
        height: 60px;
    }

    .contact__phone {
        font-size: 24px;
        font-weight: 600;
    }

    .header__hours {
        font-size: 14px;
        gap: 35px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero__text {
        padding: 39px 36px 31px 60px;
    }

    .hero__title {
        font-size: 57px;
        margin-bottom: 28px;
    }

    .hero__description {
        font-size: 20px;
        margin-bottom: 19px;
    }

    .hero__actions {
        gap: 16px;
    }

    .section__title {
        font-size: 54px;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .products-list {
        padding: 40px 0 20px;
    }

    .products-list__grid {
        gap: 24px;
        padding: 0;
    }

    .hit-card__title {
        /* font-size: 24px; */
        font-size: 18px;
        min-height: unset;
    }

    .hit-card:not(:has(.hit-card__price)) .hit-card__title {
        margin-bottom: 24px;

    }

    .hit-card__price {
        font-size: 21px;
    }

    .catalog {
        padding: 80px 0;
    }

    .catalog__grid {
        gap: 30px;
    }

    .product-card__title {
        font-size: 28px;
    }

    .product-card__price {
        font-size: 18px;
    }

    .benefits {
        padding: 80px 0;
    }

    .benefits__grid {
        gap: 20px;
    }

    .benefit-card__title {
        font-size: 31px;
    }

    .work-process {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0 0;
    }

    .contact__title {
        font-size: 79px;
    }

    .contact .contact__phone {
        font-size: 32px;
    }

    .footer {
        padding: 36px 0;
    }

    .footer__top {
        gap: 30px;
    }

    .footer__brand {
        gap: 14px;
    }

    .footer__logo {
        width: 80px;
        height: 80px;
    }

    .footer__brand-name {
        font-size: 18px;
    }

    .footer__nav {
        gap: 60px;
    }

    .footer__col {
        gap: 10px;
    }

    .footer__link {
        font-size: 16px;
    }

    .footer__socials {
        gap: 10px;
    }

    .footer__social {
        width: 40px;
        height: 40px;
    }

    .footer__bottom {
        gap: 20px;
    }

    .footer__muted {
        font-size: 14px;
    }
}

@media (min-width: 1576px) {

    .nav__link {
        font-size: 16px;
        padding: 0 15px;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .container {
        padding: 0 30px;
    }

    .hero__title {
        font-size: 55px;
    }

    .section__title {
        font-size: 45px;
    }

    .header__icon img {
        width: 46px;
        height: 46px;
    }

}

/* Laptop (1024px - 1199px) */
@media (max-width: 1199px) {
    .container {
        padding: 0 25px;
    }

    .hero__title {
        font-size: 48px;
    }

    .section__title {
        font-size: 40px;
    }

    .products-list__grid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
        gap: 20px;
    }

    .catalog__grid {
        gap: 20px;
    }

    .product-card {
        width: calc(50% - 10px);
    }

    .product-card:first-child {
        width: calc(60% - 10px);
    }

    .product-card:nth-child(2) {
        width: calc(40% - 10px);
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .work-process__steps--cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape (992px - 1023px) */
@media (max-width: 1023px) {
    .container {
        padding: 0 20px;
    }

    .header__content {

        text-align: center;
        gap: 15px;
    }

    .header__nav {
        order: 3;
        width: 100%;
    }

    .nav__list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero__content {
        flex-direction: column;
        text-align: center;
    }

    .hero__title {
        font-size: 42px;
    }

    .hero__text {
        width: 100%;
        padding: 30px 25px;
    }

    .hero__image {
        width: 100%;
    }

    .products-list__grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 18px;
    }

    .catalog__grid {
        flex-direction: column;
        gap: 20px;
    }

    .product-card {
        width: 100%;
    }

    .product-card:first-child,
    .product-card:nth-child(2) {
        width: 100%;
    }

    .about__content {
        flex-direction: column;
    }

    .about__background {
        border-radius: 0 0 30px 30px;
    }

    .about__logo-text {
        font-size: 90px;
    }

    .about__logo-subtitle {
        font-size: 20px;
    }

    .about__text-block {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .about__block-content {
        flex-direction: column;
        gap: 20px;
    }

    .about__block-content--reverse {
        flex-direction: column;
    }

    .about__image {
        min-width: auto;
        height: 200px;
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact__content {
        flex-direction: column;
        gap: 30px;
    }

    .contact__title {
        font-size: 40px;
    }

    .contact__phone {
        font-size: 28px;
    }

    .work-process__steps--cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .header__content {
        gap: 12px;
    }

    .header__logo {
        height: 45px;
    }

    .nav__list {
        gap: 8px;
    }

    .nav__link {
        font-size: 11px;
        height: 35px;
        padding: 0 12px;
    }

    .header__actions {
        gap: 6px;
    }

    .header__icon {
        width: 35px;
        height: 35px;
    }

    .contact__phone {
        font-size: 13px;
    }

    .header__hours {
        font-size: 9px;
        gap: 15px;
    }

    .hero {
        padding: 15px 0;
    }

    .hero__text {
        padding: 25px 20px;
    }

    .hero__title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .hero__description {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .hero__actions {
        gap: 10px;
    }

    .section__title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .products-list {
        padding: 25px 0 10px;
    }

    .products-list__grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 15px;
    }

    .hit-card__title {
        font-size: 20px;
        height: auto;
    }

    .hit-card__price {
        /* font-size: 13px; */
    }

    .catalog {
        padding: 40px 0;
    }

    .catalog__grid {
        gap: 15px;
    }

    .product-card__title {
        font-size: 24px;
    }

    .product-card__price {
        font-size: 13px;
    }

    .benefits {
        padding: 40px 0;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-card__image {
        height: 200px;
    }

    .benefit-card__number {
        font-size: 40px;
    }

    .benefit-card__title {
        font-size: 26px;
    }

    .about__logo-text {
        font-size: 70px;
    }

    .about__logo-subtitle {
        font-size: 18px;
    }

    .about__text-block {
        padding: 25px 15px;
    }

    .about__image {
        height: 180px;
    }

    .work-process {
        padding: 40px 0;
    }

    .step {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .work-process__steps--cards {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact {
        padding: 40px 0 0;
    }

    .contact__title {
        font-size: 36px;
    }

    .contact .contact__phone {
        font-size: 26px;
    }

    .contact__content {
        padding: 40px 30px;
    }

    .production {
        padding: 10px 0;
    }

    .footer {
        padding: 20px 0;
    }

    .production__card {

        padding: 10px;
    }

    .production__title {
        font-size: 21px;
    }

    .contact__info {
        width: 100%;
    }

    .footer__top {
        gap: 15px;
    }

    .production__btn.btn {
        align-self: flex-start;
        padding: 19px 13px;
        border-radius: 12px;
        font-size: 16px;
        width: 100%;
    }

    .footer__brand {
        gap: 8px;
    }

    .footer__logo {
        width: 50px;
        height: 50px;
    }

    .footer__brand-name {
        font-size: 14px;
    }

    .footer__nav {
        gap: 20px;
    }

    .footer__col {
        gap: 6px;
    }

    .footer__link {
        font-size: 13px;
    }

    .footer__socials {
        gap: 6px;
    }

    .footer__social {
        width: 30px;
        height: 30px;
    }

    .footer__bottom {
        gap: 12px;
    }

    .footer__muted {
        font-size: 9px;
    }

    .dashicons,
    .dashicons-before:before {
        min-width: 36px;
        height: 35px;
        font-size: 21px;
    }

    h1.woocommerce-products-header__title.page-title {
        color: #414141;
        font-size: 26px;
        margin-bottom: 25px;
        line-height: 1.2;
    }

    .search .woocommerce-products-header__title.page-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
}

button.product-filters__close {
    display: none;
}

.wc-block-checkout__actions .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text {
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 18px;
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 12px;
    }

    body {
        padding-top: 45px;
    }

    body.page-id-10 .page-body {
        padding: 0 15px;
    }

    .capture-form__wrap {
        padding: 10px 10px;
    }

    .capture-form .wpcf7-form-control-wrap.your-name-wrap,
    .capture-form .wpcf7-form-control-wrap.tel-385-wrap,
    .contact .wpcf7-form-control-wrap.your-name-wrap,
    .contact .wpcf7-form-control-wrap.tel-385-wrap {
        width: 100%;
    }

    .consultation-modal__close {
        position: absolute;
        top: -2px;
        right: -3px;
        width: 32px;
        height: 32px;
    }

    .capture-form .wpcf7-form input[type="text"],
    .capture-form .wpcf7-form input[type="tel"],
    .capture-form .wpcf7-form input[type="email"] {
        width: 100%;
        padding: 20px 25px;
    }

    .contact__form-section .wpcf7-form input[type="text"],
    .contact__form-section .wpcf7-form input[type="tel"] {
        padding: 20px 25px;
    }

    .wpcf7-acceptance>p>span {
        width: auto !important;
        text-align: left;
    }

    .new-salon__overlay {
        background: white;
        border-radius: 5px;
    }

    .consultation-modal__close svg {
        width: 15px;
        height: 15px;
    }

    .wc-block-components-title.wc-block-components-title {
        line-height: 1.2;
    }

    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout textarea,
    .woocommerce-checkout select {

        padding: 14px 12px !important;
        font-size: 14px !important;
    }

    .wc-block-components-form .wc-block-components-text-input,
    .wc-block-components-text-input {
        margin-top: 16px;
        position: relative;
        white-space
    }

    button.product-filters__close {
        display: block;
    }

    .header__icon img {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }

    .cart-trigger {
        padding: 0;
    }

    .hero {
        padding: 40px 0;
    }

    .hero__title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .hero__description {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .hero__text {
        padding: 20px 15px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero__actions a {
        width: 100%;
    }

    .section__title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .products-list {
        padding: 30px 0 15px;
    }

    .products-list__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hit-card {
        padding: 15px;
    }

    .hit-card__title {
        font-size: 18px;
        height: auto;
    }

    .hit-card__image {
        height: 300px;
    }

    .catalog {
        padding: 60px 0;
    }

    .catalog__grid {
        gap: 15px;
    }

    .product-card {
        padding: 15px;
        min-height: 280px;
    }

    .product-card__title {
        font-size: 24px;
    }

    .product-card__price {
        font-size: 16px;
    }

    .capture-form {}

    .capture-form__wrap {
        flex-direction: column;
        gap: 15px;
    }

    .capture-form__left {
        width: 100%;
        padding: 30px 15px;
    }

    .capture-form__right {
        width: 100%;
        padding: 20px;
    }

    .capture-form__title {
        font-size: 32px;
    }

    .capture-form__desc {
        font-size: 18px;
    }

    .capture-form__form {
        flex-direction: column;
        gap: 12px;
    }

    .capture-form__field {
        width: 100%;
    }

    .capture-form__agree {
        width: 100%;
    }

    .capture-form__submit {
        width: 100%;
    }

    .benefits {
        padding: 60px 0;
    }

    .benefit-card__image {
        height: 180px;
    }

    .benefit-card__number {
        font-size: 36px;
    }

    .benefit-card__title {
        font-size: 26px;
    }

    .about__logo-text {
        font-size: 60px;
    }

    .about__logo-subtitle {
        font-size: 16px;
    }

    .about__text-block {
        padding: 20px 12px;
    }

    .about__image {
        height: 150px;
    }

    .work-process {
        padding: 60px 0;
    }

    .step {
        padding: 20px;
    }

    .step--card {
        width: 100%;
    }

    .step__number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step__title {
        font-size: 20px;
    }

    .step__description {
        font-size: 16px;
        margin-top: 20px;
    }

    .new-salon {
        min-height: 400px;
        padding: 40px 0;
    }

    .new-salon__overlay {
        padding: 30px 20px;
        margin: 0 15px;
        width: auto;
        height: auto;
    }

    .new-salon__title {
        font-size: 28px;
    }

    .new-salon__description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .contact {
        padding: 60px 0 0;
    }

    .contact__content {
        padding: 30px 20px;
    }

    .contact__title {
        font-size: 32px;
    }

    .contact__phone {
        font-size: 24px;
    }

    .contact__description {
        font-size: 14px;
    }

    .form__row {
        flex-direction: column;
        gap: 12px;
    }

    .form__input,
    .form__input-wrapper {
        width: 100%;
    }

    .footer__top {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }

    .footer__nav {
        gap: 30px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer__legal {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rtwpvg-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger {
        top: 0;
    }

    .single-product .product_title {
        order: 1;
        font-size: 23px;
        line-height: 1.2;
    }

    .single-product .site-main .product .price {
        font-size: 21px;
    }

    .quantity-btn {
        width: 35px;
    }

    .single_add_to_cart_button.btn {
        padding: 0 10px;
        font-size: 16px;
    }

    .woocommerce div.product {
        background: #fff;
        padding: 15px;
    }

    .product-description {
        margin-top: 0px;
        padding-top: 20px;
        border-top: 1px solid #e0e0e0;
    }

    section.related.products h2 {
        font-size: 21px;
        font-weight: 500;
        margin-bottom: 15px;
    }

    .btn--small.btn {
        padding: 5px 12px;
        font-size: 16px;
        height: auto;
    }

    /* Модальное окно на мобильных */
    .consultation-modal__content {
        padding: 25px 20px;
        margin: 20px;
        max-width: none;
        width: calc(100% - 40px);
    }

    .consultation-modal__title {
        font-size: 24px;
    }

    .consultation-modal__description {
        font-size: 14px;
    }

    .consultation-modal__form input[type="text"],
    .consultation-modal__form input[type="tel"] {
        padding: 12px 15px;
        font-size: 16px;
    }

    .consultation-modal__form input[type="submit"] {
        padding: 15px;
        font-size: 16px;
    }
}

/* Mobile Menu Media Queries */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header__nav {
        display: none;
    }

    .header__content {
        justify-content: space-between;
    }

    .header__nav_cat {
        display: none;
    }

    .header-top {
        display: none;
    }

    .header__contact {
        display: none;
    }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }

    .btn {
        padding: 13px 12px;
        font-size: 16px;
        line-height: normal;
    }

    .header__content {
        gap: 8px;
    }

    .header__logo {
        height: 40px;
    }

    .nav__list {
        gap: 6px;
    }

    .nav__link {
        font-size: 10px;
        height: 30px;
        padding: 0 10px;
    }

    .header__actions {
        gap: 4px;
    }

    .header__icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .contact__phone {
        font-size: 14px;
    }

    .header__hours {
        font-size: 8px;
        gap: 10px;
    }

    .hero {
        padding: 30px 0 60px 0;
    }

    .hero__title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero__description {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .hero__pin-row:last-child {
        font-size: 21px;
        font-weight: 500;
    }

    .hero__text {
        padding: 15px 12px;
    }

    .hero__actions {
        gap: 8px;
    }

    .section__title {
        font-size: 24px;
        margin-bottom: 0;
    }

    .products-list {
        padding: 25px 0 10px;
    }

    .products-list__grid {
        gap: 12px;
    }

    .hit-card {
        padding: 12px;
    }

    .hit-card__title {
        font-size: 16px;
    }

    .hit-card__price {
        font-size: 18px;
    }

    .hit-card__image {
        height: 180px;
    }

    .hit-card__actions {
        flex-direction: column;
        gap: 8px;
    }

    .hit-card__actions a {
        width: 100%;
    }

    .catalog {
        padding: 15px 0;
    }

    .catalog__grid {
        gap: 12px;
    }

    .product-card {
        padding: 12px;
        min-height: 250px;
    }

    .product-card__title {
        font-size: 26px;
    }

    .product-card__price {
        font-size: 16px;
    }

    .capture-form__left {
        padding: 25px 12px;
    }

    .capture-form__title {
        font-size: 28px;
    }

    .capture-form__desc {
        font-size: 16px;
    }

    .capture-form__input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .benefits {
        padding: 30px 0;
    }

    .benefits__grid {
        gap: 12px;
    }

    .benefit-card__image {
        height: 160px;
    }

    .benefit-card__number {
        font-size: 32px;
    }

    .benefit-card__title {
        font-size: 22px;
    }

    .benefit-card__description {
        font-size: 14px;
    }

    .about__logo-text {
        font-size: 50px;
    }

    .about__logo-subtitle {
        font-size: 14px;
    }

    .about__text-block {
        padding: 15px 10px;
    }

    .about__image {
        height: 120px;
    }

    .about__badge {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .work-process {
        padding: 30px 0;
    }

    .step {
        padding: 15px;
    }

    .step__number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .step__title {
        font-size: 18px;
    }

    .step__description {
        font-size: 16px;
        margin-top: 30px;
    }

    .new-salon__overlay {
        padding: 25px 15px;
        margin: 0 10px;
    }

    .new-salon__title {
        font-size: 24px;
    }

    .new-salon__description {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .contact {
        padding: 30px 0 0;
    }

    .contact__content {
        padding: 25px 15px;
    }

    .contact__title {
        font-size: 28px;
    }

    .contact .contact__phone {
        font-size: 20px;
    }

    .contact__description {
        font-size: 13px;
    }

    .form__input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .form__input-wrapper {
        padding: 0 14px;
    }

    .form__input--phone {
        padding: 12px 0;
    }

    .step--card .step__icon {
        margin-top: 0;
    }

    .footer {
        padding: 15px 0;
    }

    .footer__top {
        gap: 12px;
    }

    .footer__brand {
        gap: 6px;
    }

    .footer__logo {
        width: 40px;
        height: 40px;
    }

    .footer__brand-name {
        font-size: 14px;
    }

    .footer__nav {
        gap: 15px;
    }

    .footer__col {
        gap: 4px;
    }

    .footer__link {
        font-size: 14px;
    }

    .footer__socials {
        gap: 4px;
    }

    .footer__social {
        width: 25px;
        height: 25px;
    }

    .footer__bottom {
        gap: 10px;
    }

    .footer__muted {
        font-size: 14px;
    }

    /* Навигация по категориям на мобильных */
    .product-categories-nav {
        margin: 15px 0 20px 0;
        padding: 0 10px;
    }

    .product-categories-nav__list {
        gap: 6px;
    }

    .product-categories-nav__item {
        padding: 6px 12px;
        font-size: 12px;
    }
}





@media (min-width: 979px) {
    ul.nav li.dropdown.show-on-hover:hover>ul.dropdown-menu {
        display: block;
    }

    .comment-list .children {
        padding: 0;
        margin-left: 74px;
        padding-bottom: 15px;
    }

    .comment-list .media {
        margin-top: 0;
    }
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0 24px;
    position: relative;
    position: absolute;
    right: 0;
    top: 24px;
    z-index: 9999;
}

.wpcf7-acceptance>p {
    display: flex;
    gap: 10px;
    font-size: 14px;
    align-items: center;
}

.wpcf7-acceptance>p>span {
    width: auto !important;
}

.wpcf7-submit-wrap {
    position: relative;
    width: 100%;
    text-align: center;
}

.search-btn img {
    width: 20px;
    filter: brightness(100);
}

/* Кастомизация стрелки select в фильтрах */
.product-filter select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 30px;
}

/* Для браузеров, которые не поддерживают appearance: none */
.product-filter select::-ms-expand {
    display: none;
}

/* Стили для живого поиска */
.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-results-list {
    padding: 0;
    margin: 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 60px;
    height: 60px;
    margin-right: 12px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.search-result-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-price {
    font-size: 16px;
    font-weight: 600;
    color: #d9484a;
}

.search-loading,
.search-no-results,
.search-error {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.search-loading {
    color: #d9484a;
}

.search-error {
    color: #d9484a;
}

.search-results-footer {
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Подсветка найденного текста */
mark {
    background-color: #fff3cd;
    color: #856404;
    padding: 0;
    border-radius: 2px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    display: none;
}

.wpcf7-not-valid {
    border: 1px solid red !important;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    display: none;
}

/* Адаптивность для живого поиска */
@media (max-width: 768px) {
    .live-search-results {
        max-height: 300px;
    }

    .about__description {
        font-size: 16px;
    }

    .search-result-item {
        padding: 10px 12px;
    }

    .search-result-image {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    .search-result-title {
        font-size: 14px;
    }

    .search-result-excerpt {
        font-size: 13px;
    }

    .search-result-price {
        font-size: 14px;
    }

    .benefit-card__content {
        padding: 15px;
    }

    .about__content.container {
        position: relative;
        z-index: 3;
        padding: 15px 0;
    }

    .rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider:not(.slick-initialized).rtwpvg-thumbnail-xs-columns-3,
    .rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider:not(.slick-initialized).rtwpvg-thumbnail-xs-columns-3 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 404 Error Page Styles */
.error-404 {
    padding: 80px 0;
    background-color: #f8f9fa;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-404__content {
    display: flex;
    gap: 60px;
    align-items: center;
    background-color: #fff;
    padding: 60px 50px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.error-404__left {
    flex: 1;
}

.error-404__right {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-404__number {
    font-size: 120px;
    font-weight: 800;
    color: #d9484a;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-404__title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.error-404__description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.error-404__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.error-404__actions .btn {
    min-width: 160px;
    text-align: center;
}

.error-404__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-404__image svg {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.error-404__suggestions {
    margin-top: 60px;
    text-align: center;
}

.error-404__suggestions-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.error-404__suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.error-404__suggestion {
    display: block;
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.error-404__suggestion:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.error-404__suggestion-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404__suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.error-404__suggestion-content {
    text-align: center;
}

.error-404__suggestion-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.error-404__suggestion-count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive Design for 404 Page */
@media (max-width: 1024px) {
    .error-404__content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 40px 30px;
    }

    .error-404__right {
        flex: none;
    }

    .error-404__number {
        font-size: 100px;
    }

    .error-404__title {
        font-size: 32px;
    }

    .error-404__suggestions-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .error-404 {
        padding: 40px 0;
    }

    .error-404__content {
        padding: 30px 20px;
    }

    .error-404__number {
        font-size: 80px;
    }

    .error-404__title {
        font-size: 28px;
    }

    .error-404__description {
        font-size: 16px;
    }

    .error-404__actions {
        justify-content: center;
    }

    .error-404__actions .btn {
        min-width: 140px;
    }

    .error-404__suggestions-title {
        font-size: 24px;
    }

    .error-404__suggestions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .error-404__suggestion {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .error-404__number {
        font-size: 60px;
    }

    .error-404__title {
        font-size: 24px;
    }

    .error-404__description {
        font-size: 14px;
    }

    .error-404__actions {
        flex-direction: column;
        align-items: center;
    }

    .error-404__actions .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Page Styles */
.page-content {
    padding: 50px 0;
    background-color: #f8f9fa;
    min-height: 60vh;
}

.page-content .container {
    position: relative;
}



.page-article {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.page-header {
    position: relative;
    background: linear-gradient(135deg, #d9484a 0%, #c0392b 100%);
    color: #fff;
    overflow: hidden;
}

.page-header__image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.page-header__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-header__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: rgba(217, 72, 74, 0.8);
}



.page-excerpt {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 800px;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    opacity: 0.8;
}

.page-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-date::before {
    content: "📅";
    font-size: 18px;
}

.page-body {
    padding: 60px 50px;
}

body.page-id-10 .page-body {
    padding: 0 35px;
}

.page-content-wrapper {
    width: 100%;
    line-height: 1.8;
    font-size: 18px;
    color: #333;
}

.page-content-wrapper h1,
.page-content-wrapper h2,
.page-content-wrapper h3,
.page-content-wrapper h4,
.page-content-wrapper h5,
.page-content-wrapper h6 {
    color: #d9484a;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-content-wrapper h1 {
    font-size: 36px;
    border-bottom: 3px solid #d9484a;
    padding-bottom: 10px;
}

.page-content-wrapper h2 {
    font-size: 30px;
    /*border-bottom: 2px solid #e0e0e0;*/
    padding-bottom: 8px;
}

.page-content-wrapper h3 {
    font-size: 24px;
}

.page-content-wrapper h4 {
    font-size: 20px;
}

.page-content-wrapper p {
    margin-bottom: 20px;
    text-align: justify;
}

.page-content-wrapper ul,
.page-content-wrapper ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content-wrapper li {
    margin-bottom: 8px;
}

.page-content-wrapper blockquote {
    border-left: 4px solid #d9484a;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.page-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.page-content-wrapper a {
    color: #d9484a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.page-content-wrapper a:hover {
    border-bottom-color: #d9484a;
    text-decoration: none;
}

.page-content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.page-content-wrapper th,
.page-content-wrapper td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.page-content-wrapper th {

    font-weight: 600;
}

.page-content-wrapper tr:hover {
    background: #f8f9fa;
}

.page-footer {
    border-top: 1px solid #e0e0e0;
    padding: 40px 50px;
    background: #f8f9fa;
}

.page-comments {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design for Pages */
@media (max-width: 1024px) {
    .page-header__content {
        padding: 30px 20px;
    }

    .page-title {
        font-size: 40px;
    }

    .page-excerpt {
        font-size: 18px;
    }

    .page-body {
        padding: 40px 30px;
    }

    .page-content-wrapper {
        font-size: 16px;
    }

    .page-content-wrapper h1 {
        font-size: 32px;
    }

    .page-content-wrapper h2 {
        font-size: 26px;
    }

    .page-content-wrapper h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-content {
        padding: 30px 0;
    }

    .page-header__image {
        height: 250px;
    }

    .page-header__content {
        padding: 20px 15px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-excerpt {
        font-size: 16px;
    }

    .page-meta {
        flex-direction: column;
        gap: 10px;
    }

    .page-body {
        padding: 30px 20px;
    }

    .page-content-wrapper {
        font-size: 15px;
    }

    .page-content-wrapper h1 {
        font-size: 28px;
    }

    .page-content-wrapper h2 {
        font-size: 24px;
    }

    .page-content-wrapper h3 {
        font-size: 20px;
    }

    .page-footer {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .page-header__image {
        height: 200px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-excerpt {
        font-size: 14px;
    }

    .page-body {
        padding: 20px 15px;
    }

    .page-content-wrapper {
        font-size: 14px;
    }

    .page-content-wrapper h1 {
        font-size: 24px;
    }

    .page-content-wrapper h2 {
        font-size: 20px;
    }

    .page-content-wrapper h3 {
        font-size: 18px;
    }

    .page-content-wrapper ul,
    .page-content-wrapper ol {
        padding-left: 20px;
    }

    .page-content-wrapper table {
        font-size: 14px;
    }

    .page-content-wrapper th,
    .page-content-wrapper td {
        padding: 10px;
    }
}




/* Улучшаем внешний вид оставшихся полей */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-wide,
.woocommerce-checkout .form-row {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px !important;
    clear: both !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100% !important;
    padding: 20px 15px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
    background-color: #fff !important;
    color: #333 !important;
    box-sizing: border-box !important;
    height: auto !important;
    line-height: normal !important;
}

/* Исправляем отображение select */
.woocommerce-checkout select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M7 10l5 5 5-5z\"/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 16px !important;
    padding-right: 45px !important;
}

/* Убираем стрелку для старых браузеров */
.woocommerce-checkout select::-ms-expand {
    display: none !important;
}

/* Стили для выбранного значения */
.woocommerce-checkout select option {
    color: #333 !important;
    background-color: #fff !important;
    padding: 10px !important;
}

/* Исправляем высоту полей */
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    min-height: 60px !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
}

.cart-page-wrap.dflex {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

/* Только корзина (/cart/): одна колонка, без дубля чекаута */
.cart-page-wrap--cart-only .cart-checkout {
    width: 100%;
}

.cart-checkout {
    width: calc(50% - 50px);
    position: relative;
    z-index: 2;
}

div#cart-modal {
    width: calc(50% - 25px);
    position: relative;
    z-index: 3;
}

/* Способы доставки и таблица заказа — поверх полей, чтобы радиокнопки не перекрывались */
.cart-page-wrap #redpouf-checkout-review-table,
.cart-page-wrap .checkout-shipping-only,
.cart-page-wrap .woocommerce-checkout-review-order-table {
    position: relative;
    z-index: 5;
}

.cart-page-wrap h3 {
    margin-top: 0;
    padding-top: 0;
}

.woocommerce-page table.cart td.actions {
    display: none;
}

.woocommerce table.shop_table {
    /* border: 1px solid e0e0e0 ; */
    margin: 0 0 0;
    text-align: left;
    width: 100%;
    border-collapse: separate;
    border-radius: 8px;
}

.woocommerce table.shop_table th:not(.product-total) {
    width: 260px;
}

@media (max-width: 767px) {

    .woocommerce table.shop_table th:not(.product-total) {
        width: 160px;
    }

}

td.product-name a {
    font-size: 16px !important;
    font-weight: 600;
    max-width: 200px;
    color: #333;
    display: block;
}

.quantity .qty {
    width: 46px;
    height: 40px;
    text-align: center;
    padding: 0 5px;

    border: none;
    margin: 0 2px;
    font-weight: 600;
    font-size: 17px;
    line-height: 1
}

.quantity button {
    width: 26px;
    height: 40px;
    border-radius: 8px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 0;
    padding: 0;
    border: none;
    outline: 0;
    position: relative
}

.quantity button::after,
.quantity button::before {
    position: absolute
}

.quantity .minus::before,
.quantity .plus::before {
    content: '';
    height: 1px;
    width: 16px;
    background: #262628
}

.quantity .plus::after {
    content: '';
    width: 1px;
    height: 16px;
    background: #262628
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

input[type=number] {
    -moz-appearance: textfield
}

.quantity {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
    border: 1px solid red !important;
}

.woocommerce-checkout .checkout-inline-error-message {
    display: none !important;
}

#billing_country_field {
    display: none !important;
}

ul.wc_payment_methods.payment_methods.methods {
    display: none;
}

.form-row.place-order {
    background: #fff;
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

input#terms {
    height: 25px !important;
    min-height: auto !important;
}

@media (max-width: 767px) {
    body.page-id-10 .page-body {
        padding: 0 15px;
    }

    .cart-checkout {
        width: 100%;
    }

    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout textarea,
    .woocommerce-checkout select {
        width: 100% !important;
        padding: 15px 15px !important
    }

    .cart-checkout {
        width: 100%;
        order: 2;
    }

    div#cart-modal {
        width: 100%;
        order: 1;
        overflow: auto;
    }

    .woocommerce table.shop_table_responsive tr td::before,
    .woocommerce-page table.shop_table_responsive tr td::before {
        content: "";
    }

    td.product-name a {
        text-align: left;
    }

    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        display: table-cell !important;
    }

    .quantity .qty {
        width: 46px;
        height: 40px;
        text-align: center;
        padding: 0 5px;
        background: #f1f1f1;
        border: none;
        margin: 0 2px;
        font-weight: 600;
        font-size: 14px;
        line-height: 1;
    }

    .woocommerce-page table.cart td.actions {
        display: none !important;
    }

    #add_payment_method table.cart .product-thumbnail,
    .woocommerce-cart table.cart .product-thumbnail,
    .woocommerce-checkout table.cart .product-thumbnail {
        min-width: 55px;
    }

    td.product-name {
        width: 163px;
        min-width: 157px;
    }
}

.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-slider-wrapper .rtwpvg-slider-next-arrow,
.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-slider-wrapper .rtwpvg-slider-prev-arrow,
.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-slider-next-arrow,
.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-slider-prev-arrow {
    background: #d9484a;
    cursor: pointer;
    font-size: 16px;
    height: 50px;
    line-height: 40px;
    margin-top: -20px;
    opacity: .8;
    position: absolute;
    text-align: center;
    top: 50%;
    transition: all .3s;
    width: 50px;
    z-index: 1;
}

.rtwpvg-slider-next-arrow:before,
.rtwpvg-slider-prev-arrow:before {
    color: white !important;
}

.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-slider-wrapper .rtwpvg-slider-prev-arrow,
.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-slider-prev-arrow {
    left: 0 !important;
}

.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-slider-wrapper .rtwpvg-slider-next-arrow,
.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-slider-next-arrow {
    right: 0 !important;
}

.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-slider-wrapper .rtwpvg-slider-next-arrow:hover,
.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-slider-wrapper .rtwpvg-slider-prev-arrow:hover,
.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-slider-next-arrow:hover,
.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-slider-prev-arrow:hover {
    background: #d9484a;
}


.reviews {
    padding: 56px 0;
    background: linear-gradient(180deg, #f7f7f8 0%, #ffffff 100%);
}


.reviews h2 {
    margin-bottom: 24px;
}

.reviews-slider .swiper-slide {
    display: flex;
    align-items: stretch;
    height: auto;
}

.reviews-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ececec;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 15, 15, 0.08);
}

.reviews-item__image {
    width: 100%;
    height: 200px;
    background: #f5f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.reviews-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.reviews-item__content {
    padding: 18px;
}

.reviews-item__title {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    color: #111;
}

.reviews-item__text {
    margin: 0;
    line-height: 1.55;
    font-size: 16px;
    color: #1a1a1a;
}

.reviews-form-wrap {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fff;
}

.reviews-form-wrap__title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.2;
}

.review-open-btn {
    min-width: 220px;
}

.review-form__notice {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.review-form__notice--success {
    background: #e9f9ef;
    color: #0f6b2b;
    border: 1px solid #bfe8cd;
}

.review-form__notice--error {
    background: #fff1f1;
    color: #8a1f1f;
    border: 1px solid #f3c4c4;
}

.review-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.review-form__label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #1a1a1a;
}

.review-form__input,
.review-form__textarea {
    width: 100%;
    margin-top: 6px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
}

.review-form__input--file {
    padding: 8px;
}

.review-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.review-form__submit {
    margin-top: 4px;
}

.review-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
}

.review-modal.is-open {
    display: block;
}

.review-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.review-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: 640px;
    width: calc(100% - 24px);
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
}

.review-modal__title {
    margin: 0 0 12px;
    font-size: 24px;
}

.review-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.reviews-image-grid__item {
    display: flex;
    flex-direction: column;
    background: #fff;
    /* White background for blocks */
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
    /* Add padding to ensure content visibility */
    box-sizing: border-box;
}

.reviews-image-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure entire image is visible */
    border-radius: 8px;
}

.swiper-button-prev,
.swiper-button-next {
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
    /* Центрируем по вертикали */
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev svg,
.swiper-button-next svg {
    width: 25px;
}

.swiper-button-next {
    transform: rotate(180deg);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    display: none;
}

@media (max-width: 767px) {
    .reviews-item__image {
        height: 160px;
    }

    .reviews-item__title {
        font-size: 19px;
    }

    .reviews-item__text {
        font-size: 15px;
    }

    .review-form__grid {
        grid-template-columns: 1fr;
    }

    .review-modal__dialog {
        margin: 20px auto;
        padding: 16px;
    }

    .review-modal__title {
        font-size: 20px;
    }
}


.hero--slider .container {
    position: relative;
}

.hero__swiper__nav {
    position: absolute;
    display: flex;
    right: 40px;
    bottom: -50px;
    gap: 20px;
    align-items: center;
    --swiper-theme-color: #d9484a;
    --swiper-pagination-bullet-size: 16px;
}

@media (max-width: 590px) {
    .hero__swiper__nav {
        right: 50%;
        transform: translateX(50%);
    }
}


.hero__swiper__nav .swiper-pagination {
    display: flex;
}

.hero__swiper__nav>* {
    position: static;
}

.hero__swiper__nav .swiper-button-prev,
.hero__swiper__nav .swiper-button-next {
    min-width: 40px;
    margin-top: 0;
}

.hero__image .zoomicon {
    align-items: center;
    background: #fff;
    border-radius: 100%;
    color: #000;
    display: flex;
    font-size: 2em;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: .5em;
    text-decoration: none;
    top: .5em;
    width: 40px;
    z-index: 999;
}


.hero__image .zoomicon img {
    width: 32px;
    height: auto;
}


.fancybox-caption__body {
    display: none;
}

.fancybox-caption {


    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(0 0 0 / 34%);
    color: #fff;
    padding: 5px 5px 5px 15px;
    border-radius: 10px;
    z-index: 10;
    gap: 20px;
    display: flex;
    width: 90%;
    max-width: 700px;
    border-radius: 5px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d9484a;
    font-weight: bold;
    font-size: 18px;
    backdrop-filter: blur(10px);

    opacity: 0 !important;
}

@media (max-width: 590px) {
    .fancybox-caption {
        bottom: 10px;
        font-size: 16px;
        gap: 12px;
        width: 100%;
    }

}

.custom-caption.visible .fancybox-caption {
    opacity: 1 !important;
}

.fancybox-caption a {
    color: #fff !important;
    text-decoration: none !important;
}

/* .fancybox-show-caption */
.fancybox-container .fancybox-toolbar {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero h1.hero__title {
    margin-bottom: 0 !important;
}

.hero .swiper-button-lock {
    display: none !important;
}

.swiper-pagination-bullet:only-child {
    display: none !important;
}

.post,
.blog {
    background: white;
}

.blog {

    padding: 48px 0;
}



@media (max-width: 590px) {

    .blog {

        padding: 32px 0;
    }
}

.post__wrapper {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    position: relative;
    max-width: 100%;
    padding: 48px 0;
}


.post__body {
    max-width: calc(100% - 270px - 185px - 35px * 2);
}


.post__body section,
.product.type-product .acf-products:not(:last-child) {
    margin-bottom: 80px;
}

.acf-products__bottom {
    display: flex;
}


.hero__swiper__nav__wrap {
    margin-left: auto;
}

@media (max-width: 590px) {
    .acf-products__bottom {
        flex-direction: column;

    }

    .acf-products__total {
        margin-bottom: 10px;
        text-align: center;
    }

    .summary.entry-summary .acf-products__total {
        text-align: left;
    }

    .hero__swiper__nav__wrap {
        margin-left: 0;
        order: 0;
    }
}

@media (max-width: 476px) {

    .acf-products .swiper-pagination-bullet,
    .acf-gallery .swiper-pagination-bullet {
        width: 10px;
        height: 10px;

    }
}

@media (max-width: 991px) {

    .post__body section,
    .product.type-product .acf-products:not(:last-child) {
        margin-bottom: 64px;
    }
}

@media (max-width: 590px) {

    .post__body section,
    .product.type-product .acf-products:not(:last-child) {
        margin-bottom: 48px;
    }
}

.post__body h2,
.post__body .section__title,
.product.type-product .section__title {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 28px;
}

.post__body h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.post__body h4 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.post__body h2:not(:first-child) {
    margin-top: 14px;
}

@media (max-width: 991px) {

    .post__body h2,
    .post__body .section__title,
    .product.type-product .section__title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 20px;
    }


    .post__body h3 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .post__body h4 {
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
}

.simple_text a {
    color: #d9484a;
}

.simple_text img {
    max-width: 100%;
    height: auto;
}

.post__body ul,
.post__body ol {
    margin-left: 20px;
    margin-bottom: 18px;
}

.post__body ul li,
.post__body ol li {
    margin-bottom: 10px;
}



.post__body p:not(:last-child) {
    margin-bottom: 18px;
}

.post__image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.post__image,
.post__details {
    margin-bottom: 18px;
}

.post__details,
.post-card__date {
    color: #adadad;
    font-weight: 600;
    font-size: 90%;
}

.post__sub-title {
    color: #bfbfc8;
    font-weight: 600;
    line-height: 120%;
    padding-left: 14px;
    margin-bottom: 12px;
}

.post__aside,
.post__repost {
    position: sticky;
    top: 150px;
    flex: none;
    width: 270px;
}

@media (max-width: 1399px) {

    .post__aside,
    .post__repost {
        top: 110px;

    }

}

@media (max-width: 991px) {

    .post__wrapper {
        flex-direction: column;
        gap: 35px;
        padding: 32px 0;
    }

    .post__aside,
    .post__repost {
        position: static;

    }

    .post__aside {
        max-width: 400px;
        width: 100%;
    }

    .post__body {
        max-width: 100%;
    }
}

.post__repost {
    width: 185px;
}

.post__repost-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post__repost-list a,
.post__repost-list button {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 9px;
    border-radius: 12px;
    border: 1px solid #f4f4f4;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: .12px;
    color: #18181c;
    transition-duration: .15s;
}

.post__repost-list svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition-duration: .15s;
}

#linkInput {
    position: absolute;
    opacity: 0;
    left: -9999px;
}


.post__repost-list a:hover {
    color: #fff
}

.post__repost-list a.vk:hover {
    border-color: #007af9;
    background: #007af9
}

.post__repost-list a.ok:hover {
    border-color: #f08931;
    background: #f08931
}

.post__repost-list a.wh:hover {
    border-color: #6bb95f;
    background: #6bb95f
}

.post__repost-list a.tg:hover {
    border-color: #617fcd;
    background: #617fcd
}

.post__repost-list a.vb:hover {
    border-color: #7b519d;
    background: #7b519d
}

.post__nav-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.post__nav-list a {
    text-decoration: none;
    color: #18181c;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: .14px;
    padding: 14px;
    border-bottom: 1px solid #ededed;
    display: flex;
    transition-duration: .15s;
    border-radius: 0;
}

.post__nav-list a:hover {
    color: #d9484a;
}

.post__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    margin-top: -35px;
}

.post__tags::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    border-radius: 2px;
    background: #ededed;
}

.post__tags a {
    display: inline-flex;
    border-radius: 12px;
    border: 1px solid #d9484a;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #18181c;
    text-decoration: none;
}

.post__tags a:hover {
    background: #d9484a;
    border-color: #d9484a;
    color: #fff;
}

.acf-products {
    max-width: 100%;
}

.acf-products .hero__swiper__nav,
.acf-gallery .hero__swiper__nav {
    position: static;
    margin-left: auto;
    width: fit-content;
}

@media (max-width: 590px) {

    .acf-products .hero__swiper__nav,
    .acf-gallery .hero__swiper__nav {
        transform: none;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
        width: 100%;
    }

    .acf-products .swiper-pagination,
    .acf-gallery .swiper-pagination {
        width: fit-content;

    }

    .post__more {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

.acf-products .hit-card__image {
    background: #fff;
    border-radius: 10px;
}

.acf-products .hit-card__image a {
    display: flex;
    align-items: center;

}

.acf-products .hit-card__title {
    margin-top: 15px;
}

@media (min-width: 1399px) {

    .acf-products .hit-card__title {
        font-size: 16px;
    }
}

.acf-products .hit-card__actions>a {
    font-size: 14px !important;
}


.acf-products .swiper-slide {
    height: auto;
}

.acf-products .hit-card {
    height: 100%;
    background-color: #f6f6f6;
}

.acf-gallery__slider .swiper-slide img {
    max-width: 100%;
    height: auto;
}

.acf-gallery__fancybox {
    display: block;
}

.page--post .hero__swiper__nav {

    margin-top: 15px;
}

.post__more .btn.btn--secondary.btn--small {
    font-size: 14px;
}

.acf-video {
    position: relative;
}

.acf-video img {
    max-width: 100%;
}

.acf-video__thumb {
    position: relative;
}

.acf-video__thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.acf-video__play,
.review__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    border: 2px solid #fff;
    transition-duration: .3s;
    z-index: 22;
}

.acf-video__play svg,
.review__play svg {
    display: block;
}

.acf-video__trigger:hover .acf-video__play,
.review__media-card--video:hover .review__play {
    opacity: .7;

}

@media (max-width: 767px) {

    .acf-video__play,
    .review__play {
        border-width: 1px;
    }

    .acf-video__play svg,
    .review__play svg {
        width: 48px;
        height: 48px;
    }
}


@media (max-width: 476px) {

    .acf-video__play svg,
    .review__play svg {
        width: 36px;
        height: 36px;
    }
}

.review {
    margin: 24px 0;
}

.review__title {
    margin: 0 0 16px;
}

.review__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.review__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
    flex: 0 0 48px;
}

.review__avatar-wrap img {
    max-width: 100%;
    height: auto;
}

.review__avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 100%;
}

.review__avatar--placeholder {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ddd;
}

.review__meta {
    line-height: 1.2;
}

.review__name {
    font-weight: 600;
}

.review__date {
    color: #777;
    font-size: 14px;
    margin-left: auto;
}

@media (max-width: 590px) {
    .review__avatar-wrap {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .review__date {
        font-size: 12px;
    }
}

.review__rating {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.review__stars {
    position: relative;
    display: inline-block;
    font-size: 18px;
    line-height: 1;
}

.review__stars-bg {
    color: #d0d0d0;
}

.review__stars-fill {
    color: #FFB400;
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
}

.review__text {
    margin: 12px 0 28px;
}

@media (max-width: 476px) {
    .review__text {
        margin: 12px 0 20px;
    }

}

.review__media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {

    .review__media-grid {
        gap: 12px;
    }
}

@media (max-width: 590px) {

    .review__media-grid {
        gap: 8px;
    }
}

.review__media-grid img {
    max-width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.review__media-card {
    position: relative;
    display: block;
}

.review__media-thumb {
    position: relative;
    display: block;
    line-height: 0;
    background: #f5f5f5;
    height: 100%;
    border-radius: 10px;
}

.review__media-img {
    display: block;
    width: 100%;
    height: auto;
}

.review__video-cover--placeholder {
    display: block;
    width: 100%;
    padding-top: 56.25%;
    background: #e9e9e9;
}

.review__media-card--video .review__media-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}


.review__video-file-placeholder {
    position: absolute;
    width: 100%;
    height: 95%;
    object-fit: contain;
    left: 0;
    top: 0;
}

.fancybox-button--thumbs,
.fancybox-button--play {
    display: none !important;
}


.woocommerce-breadcrumb {
    color: #767676;
}

.woocommerce-breadcrumb .breadcrumb_last,
.woocommerce-breadcrumb a {
    color: #767676;
    font-size: .92em;
}


.nav-category {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

@media (max-width: 590px) {
    .nav-category {
        flex-direction: column;
        align-items: flex-start;
    }
}

.blog__grid {
    grid-template-columns: repeat(4, 1fr);
    display: grid;
    gap: 30px;
}

@media (max-width: 1100px) {

    .blog__grid {
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        gap: 30px;
    }
}

@media (max-width: 767px) {

    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 476px) {

    .blog__grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.blog__grid .post-card {
    text-decoration: none;
    color: #333;
}

.blog__grid .post-card img {
    max-width: 100%;
    height: 235px;
    width: 100%;
    object-fit: cover;
}

.post-card__title {
    font-size: 18px;
    font-weight: bold;
}


.post-card__desc {

    color: #adadad;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
}

.filter-tags {
    width: 200px;
    position: relative;
    z-index: 5;
    margin-bottom: 40px;
}

@media (max-width: 1339px) {
    .filter-tags {
        margin-bottom: 25px;
    }
}

@media (max-width: 590px) {
    .filter-tags {
        margin-bottom: 10px;
        margin-top: -10px;
    }
}

.filter-tags__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: .14px;
    border-radius: 16px;
    background: #fff;
    padding: 7px 15px;
    cursor: pointer;
    height: 42px;
    position: relative;
    z-index: 2
}

.filter-tags__title.opened svg {
    transform: scale(1, -1)
}

.filter-tags__content {
    display: none
}


.filter-tags__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 4px 4px 20px 0 rgba(0, 0, 0, .08);
    padding: 65px 20px 20px
}

.filter-tags .facetwp-facet,
.blog__nav .facetwp-facet {
    margin-bottom: 0;
}

.filter-tags .facetwp-counter {
    display: none;
}

.filter-tags .facetwp-checkbox {
    color: #18181c;
    font-size: 12px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: .12px;
    border-radius: 12px;
    border: 1px solid #ededed;
    padding: 7px 15px;
    /*text-transform: capitalize;*/
    cursor: pointer;
    background: none !important;
}


.facetwp-display-value:before {
    content: "#";
    display: inline;
    color: #000000;
    font-weight: normal;
}

.facetwp-checkbox:hover .facetwp-display-value {
    color: #000000;
    filter: invert(1);
}


.filter-tags .facetwp-checkbox.checked {
    /*background: #d9484a !important;
border-color: #d9484a;
color: #fff; */
}

.filter-tags .facetwp-checkbox:hover {
    background: #d9484a !important;
    border-color: #d9484a;
    color: #fff;
}

.review__likes {
    width: fit-content;
    background-color: #f6f6f6;
    padding: 5px 10px;
    border-radius: 10px;
    margin-left: auto;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review__likes .media-like {
    cursor: pointer;
}

.media-like {
    display: flex;
}

.media-like .like-icon {
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath fill='%23aaaaaa' d='M35.885 11.833c0-5.45-4.418-9.868-9.867-9.868-3.308 0-6.227 1.633-8.018 4.129-1.791-2.496-4.71-4.129-8.017-4.129-5.45 0-9.868 4.417-9.868 9.868 0 .772.098 1.52.266 2.241C1.751 22.587 11.216 31.568 18 34.034c6.783-2.466 16.249-11.447 17.617-19.959.17-.721.268-1.469.268-2.242z'/%3E%3C/svg%3E") 50% 50% no-repeat;
}

.media-like.liked .like-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath fill='%23DD2E44' d='M35.885 11.833c0-5.45-4.418-9.868-9.867-9.868-3.308 0-6.227 1.633-8.018 4.129-1.791-2.496-4.71-4.129-8.017-4.129-5.45 0-9.868 4.417-9.868 9.868 0 .772.098 1.52.266 2.241C1.751 22.587 11.216 31.568 18 34.034c6.783-2.466 16.249-11.447 17.617-19.959.17-.721.268-1.469.268-2.242z'/%3E%3C/svg%3E");
}

.blog__nav {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.facetwp-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #18181c;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: .18px;
    border-radius: 22px;
    border: 1px solid #d9484a;
    padding: 14px 20px;
    background-color: #fff;
    cursor: pointer;
    transition-duration: .15s;
}

.facetwp-load-more:hover {
    background: #d9484a;
    color: #fff;

}

.price:has(.price.on-request) .my-price-label {
    display: none !important;
}

.price.on-request {
    border-radius: 5px;
    padding: 3px 8px;
    font-size: 80% !important;
    border: 1px solid #d9484a;
}

/* скрыл старое "под заказ" */

.price.on-request {
    display: none !important;
}

.contact__phone--small {
    font-size: 75% !important;
}


@media (min-width: 767px) {


    .onlyMob {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .product-categories-nav__list {

        padding-left: 10px;
        padding-right: 10px;

        display: block;
        white-space: nowrap;
    }

    .product-categories-nav__list::-webkit-scrollbar {
        display: none !important;
    }

    .product-categories-nav__item {
        display: inline-block;
        margin-right: 6px;
    }

    .product-categories-nav {
        margin-left: -10px;
        margin-right: -10px;
        padding-left: 0;
        padding-right: 0;
    }
}

.woocommerce-additional-fields h3:not(.checkout-payments-only__title) {
    display: none;
}



body.woocommerce-order-received .checkout-totals,
.woocommerce-order-overview__payment-method.method {
    display: none;
}

/* Страница «Спасибо за заказ» (order-received) */
.redpouf-thankyou-card {
    max-width: 36rem;
    margin: 0 0 2rem;
    padding: 1.75rem 1.5rem 1.5rem;
    background: linear-gradient(145deg, #fffdfc 0%, #f9f7f5 100%);
    border: 1px solid rgba(217, 72, 74, 0.18);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.redpouf-thankyou-card.woocommerce-notice {
    border-left: 4px solid #d9484a;
}

/* Поверх стандартных зелёных стилей уведомления WC */
body.woocommerce-order-received .redpouf-thankyou-card.woocommerce-notice--success {
    background: linear-gradient(145deg, #fffdfc 0%, #f9f7f5 100%);
    color: inherit;
}

.redpouf-thankyou-hero {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.redpouf-thankyou-hero__mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(217, 72, 74, 0.12);
    color: #d9484a;
}

.redpouf-thankyou-hero__check {
    display: block;
}

.redpouf-thankyou-hero__text {
    min-width: 0;
    padding-top: 0.15rem;
}

.redpouf-thankyou-hero__lead {
    margin: 0;
    font-size: clamp(1.2rem, 3.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.redpouf-thankyou-hero__note {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #4a4a4a;
}

.redpouf-thankyou-card__divider {
    height: 1px;
    margin: 1.35rem 0 1.15rem;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08) 15%, rgba(0, 0, 0, 0.08) 85%, transparent);
}

.redpouf-thankyou-card .redpouf-order-ref {
    margin: 0;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1rem;
    line-height: 1.45;
}

.redpouf-order-ref__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #666;
    margin-bottom: 0.4rem;
}

.redpouf-order-ref__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #d9484a;
}

@media (max-width: 480px) {
    .redpouf-thankyou-card {
        padding: 1.35rem 1.1rem 1.15rem;
    }

    .redpouf-thankyou-hero__mark {
        width: 46px;
        height: 46px;
    }

    .redpouf-thankyou-hero__check {
        width: 24px;
        height: 24px;
    }
}

/* Страница /spasibo/ — отдельный экран «Спасибо» */
.redpouf-spasibo {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
    margin-top: 0;
    background: linear-gradient(165deg, #f7f4f0 0%, #efe9e2 42%, #faf7f3 100%);
}

.redpouf-spasibo__decor {
    pointer-events: none;
    position: absolute;
    inset: -20% -10% auto auto;
    width: min(55vw, 520px);
    height: min(55vw, 520px);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(217, 72, 74, 0.14) 0%, transparent 62%);
    filter: blur(0.5px);
}

.redpouf-spasibo__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: start;
    max-width: 52rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .redpouf-spasibo__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 2.5rem 3rem;
        align-items: center;
        max-width: 72rem;
    }
}

.redpouf-spasibo__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a85c5e;
}

.redpouf-spasibo__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.85rem, 4.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #141414;
}

.redpouf-spasibo__lead {
    margin: 0;
    max-width: 28rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #4a4540;
}

.redpouf-spasibo__card-wrap .woocommerce {
    margin: 0;
}

.redpouf-spasibo .redpouf-thankyou-card--spasibo {
    max-width: none;
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2rem);
    background: linear-gradient(155deg, #ffffff 0%, #fffaf8 55%, #f8f6f3 100%);
    border: 1px solid rgba(217, 72, 74, 0.22);
    border-radius: 18px;
    box-shadow:
        0 4px 6px rgba(20, 20, 20, 0.04),
        0 22px 50px rgba(20, 18, 16, 0.1);
}

.redpouf-spasibo .redpouf-thankyou-card--spasibo.redpouf-thankyou-card.woocommerce-notice {
    border-left-width: 5px;
}

.redpouf-spasibo .redpouf-thankyou-card--spasibo .redpouf-thankyou-hero__lead {
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    font-weight: 600;
    color: #2c2825;
}

.redpouf-spasibo .redpouf-thankyou-card--spasibo .redpouf-order-ref__value {
    font-size: clamp(1.65rem, 3.5vw, 2rem);
}

.rtwpvg-thumbnail-wrapper .swiper {
    margin-left: 48px;
    margin-right: 48px;
}

.rtwpvg-thumbnail-wrapper .swiper-button-prev svg,
.rtwpvg-thumbnail-wrapper .swiper-button-next svg {
    display: none !important;
}

.rtwpvg-thumbnail-wrapper .swiper-button-prev .dashicons,
.rtwpvg-thumbnail-wrapper .swiper-button-next .dashicons {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
}

.rtwpvg-thumbnail-wrapper .swiper-button-prev .dashicons::before,
.rtwpvg-thumbnail-wrapper .swiper-button-next .dashicons::before {
    font-size: 24px !important;
}

.rtwpvg-thumbnail-wrapper .swiper-button-prev.swiper-button-lock,
.rtwpvg-thumbnail-wrapper .swiper-button-next.swiper-button-lock {
    opacity: 0;
}

.acf-products__bottom {
    margin-top: 10px;

}

.acf-products__total {
    font-size: 120%;
}

.acf-products__total .discount {
    background-color: #d9484a;
    color: white;
    border-radius: 5px;
    padding: 2px 2px 2px 5px;
    display: inline-block;
    margin-top: 5px;
}

.acf-products__total .discount p {
    background-color: #fff;
    display: inline-block;
    color: #000;
    border-radius: 4px;
    padding: 0 5px;
    margin-left: 5px;
}

.simple_text table td {
    border: 1px solid #ededed;
    padding: 5px;
}


.product-tabs {
    clear: both;
    margin-bottom: 2rem;
}

/* Навигация табов */
.product-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Базовый стиль кнопки */
.product-tabs__nav-item button {
    margin: 0;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
    width: auto;
    white-space: nowrap;
    background-color: #ffffff;
    /* color: #d9484a; */
    color: #333;
    /* border: 1px solid #d9484a; */
    border: 1px solid #e7e7e7;
    border-radius: 10px 10px 0 0;
    font-size: 18px;
    position: relative;
    z-index: 2;
    pointer-events: auto;
    padding: 18px 30px;
    margin-right: 8px;
}

/* Активный таб: склеиваем с контентом */
.product-tabs__nav-item.is-active button {
    background-color: #d9484a;
    color: #fff;
}

/* Панели табов */
.product-tabs__panes {
    position: relative;
    margin-top: -1px;
}

.product-tabs__pane {
    display: none;
    /* border: 1px solid #d9484a; */
    border: 1px solid #e7e7e7;
    border-radius: 0 10px 10px 10px;
    /* левый верхний без скругления */
    padding: 20px;
    background-color: #ffffff;
    z-index: 1;
}

/* Видима только активная панель */
.product-tabs__pane.is-active {
    display: block;
}

@media (max-width: 1100px) {
    .product-tabs__nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        margin: 0 0;
    }

    .product-tabs__nav::-webkit-scrollbar {
        display: none;
    }

    .product-tabs__nav-item {
        flex: 0 0 auto;
        /* чтобы элементы не сжимались и шли в одну строку */
    }

    .product-tabs__nav-item button {
        font-size: 14px;
        padding: 10px 16px;
        min-height: 40px;
        margin-right: 6px;
    }

    /* чтобы не появлялся горизонтальный скролл у всей страницы */
    .product-tabs {
        overflow: hidden;
    }
}

.product-status-badge {
    background: #eee;
    border-radius: 5px;
    display: inline-block;
    width: fit-content;
    padding: 2px 5px;
    order: 2;
    margin: 5px 0 10px;
}


.my-price-label {
    display: none;
}

.product .summary.entry-summary .my-price-label {
    display: inline-block;
    font-size: 80%;
    font-weight: normal;
    margin-right: 5px;
}

.product .summary.entry-summary .price.discount,
.product .summary.entry-summary .acf-products__total {
    order: 2;

}

.product .summary.entry-summary .price.discount .my-price-label {
    font-size: 70%;
    margin-right: 0;
}

.product .summary.entry-summary .price.discount>.amount {
    font-size: 90%;
}

.product .summary.entry-summary .acf-products__total,
.product .summary.entry-summary .garantiya {
    margin: .8rem 0;
}

.product .summary.entry-summary .price.discount .amount {
    color: #d9484a;
}

.single-product__icons {
    display: flex;
    gap: 16px;
    order: 2;
    font-size: 80%;
    white-space: nowrap;
}

@media (max-width: 1100px) {

    .single-product__icons {
        font-size: 12px;
    }
}

@media (max-width: 476px) {

    .single-product__icons {
        flex-wrap: wrap;
        gap: 6px;
    }
}

.single-product__icon {
    display: flex;
    gap: 5px;
    align-items: flex-end;

}

.moveIntoForm {
    order: 9;
}

.woocommerce div.product div.summary {
    margin-bottom: 4rem;
}

.hero__swiper__nav:not(:has(> :not([class*="-lock"]))) {
    display: none !important;
}

.product-specs {
    border-spacing: 0;

}

.product-specs__label {
    text-align: left;
    padding-right: 10px;
}

.woocommerce div.product form.cart {
    margin-bottom: 1rem;
}

@media (max-width: 476px) {
    .woocommerce div.product div.summary {
        margin-bottom: 3rem;
    }
}

.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider .rtwpvg-thumbnail-image {
    opacity: 1 !important;
}

.shipping-methods-list {
    list-style: none !important;
}

.thwcfd-field-wrapper input {
    float: left;
    clear: left;
    margin-right: 5px;
    margin-left: 15px;
}

.thwcfd-field-wrapper label {
    float: left;
}

.woocommerce-checkout .form-row .thwcfd-field-wrapper input {
    min-height: 36px !important;
}


.checkout-payments-only:not(.enabled) {
    display: none;
}

.search-result-excerpt {
    display: none;
}

.shipping-methods-list {
    position: relative;
}

.shipping-method-item input {
    position: absolute;
    left: 0;
    margin-top: 9px;
}

@media (max-width: 768px) {

    .shipping-method-item input {
        margin-top: 7px;
    }

}

@media (max-width: 600px) {
    .hit-card {
        max-width: calc(100vw - 20px)
    }
}

.hit-card__colors .variable-items-wrapper {
    flex-wrap: nowrap !important;
    padding-right: 1px !important;

    /* overflow-x: auto;
    margin-left: -16px !important;
    margin-right: -16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important; */

}

/* .hit-card__colors .variable-items-wrapper::after {
    min-width: 2px;
} 
.hit-card__colors .variable-items-wrapper::-webkit-scrollbar{
    display: none !important;
} */
.hit-card__colors .color-variable-item {
    min-width: 25px !important;
}

.hit-card__colors+.hit-card__title {
    margin-top: 0;
}

@media (max-width: 575px) {

    .hit-card__colors .variable-items-wrapper {
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;

    }
}

.swiper-button-lock {
    display: none !important;
}

.pswp__caption {
    display: none !important;
}


/* Слайды-цвета */
.hit-card__colors-swiper {
    flex-grow: 1 !important;
}

.hit-card__colors-swiper .swiper-slide {
    width: auto;
    /* важно для slidesPerView: 'auto' [web:107] */
}

.hit-card__colors {
    margin-bottom: 10px;
}

.hit-card__colors .swiper-button-lock {
    display: none !important;
}

.hit-card__colors .swiper-button-next,
.hit-card__colors .swiper-button-prev {
    position: static;
    margin: 0 !important;
    width: 25px;
    height: 25px;
    aspect-ratio: 1;
    background: transparent !important;
}

.hit-card__colors .swiper-button-next {
    transform: none;
}

.hit-card__colors .swiper-button-next svg,
.hit-card__colors .swiper-button-prev svg {
    width: 12px;
    height: auto;
}

.hit-card__colors-row {
    display: flex;
    align-items: center;
}

.hit-card__colors-row .swiper {
    margin: 0;
}

@media (max-width: 767px) {
    .post__body table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-collapse: collapse;
        /* если нужно сохранить вид */
    }

    .post__body table {
        width: max-content;
        max-width: 100%;
        white-space: nowrap;
    }

}

/* Бейдж «Сделано в Москве» — высота синхронна с иконкой MAX */
.header__made-in-moscow {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
    margin-right: 6px;
}

.header__made-in-moscow img {
    display: block;
    height: 48px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 1400px) {
    .header__made-in-moscow img {
        height: 60px;
    }
}

@media (max-width: 991px) {
    .header__made-in-moscow img {
        height: 35px;
    }

    .header__made-in-moscow--topbar {
        display: none;
    }

    .header__logo__text {
        display: none;
    }
}

@media (max-width: 575px) {
    .header__made-in-moscow img {
        height: 40px;
    }
}

@media (min-width: 992px) {
    .header__made-in-moscow--actions {
        display: none;
    }
}

/* MAX: десктоп — топбар; мобильная строка — круг как у остальных иконок */
.header__icon--max {
    background: transparent;
    border: none !important;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    min-width: 40px;
    line-height: 0;
}

/*
 * ВАЖНО: глобальные правила .header__icon img (55px / 46px и на узких экранах width:100%)
 * растягивали картинку MAX на весь квадрат — при круглой маске логотип обрезался.
 * Ниже — отдельные правила для MAX и для топбара.
 */
.header__icon--max img {
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

.header__icon--max-topbar img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
}

/*
 * Мобильная шапка: НЕ ставим круглую маску — форма сквирла уже в PNG.
 * Показываем иконку 1-к-1 по размеру контейнера (как другие иконки), без clipping.
 */
@media (max-width: 991px) {
    .header__actions .header__icon--max:not(.header__icon--max-topbar) {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        overflow: visible;
        background: transparent;
        border: none;
        padding: 0;
        box-sizing: border-box;
        aspect-ratio: 1;
        min-width: unset;
        min-height: unset;
    }

    .header__actions .header__icon--max:not(.header__icon--max-topbar) img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        min-width: 0;
        object-fit: contain !important;
        object-position: center;
        flex-shrink: 0;
        border-radius: 0;
    }
}

/* MAX в шапке: в строке действий только на мобильных; в топбаре перед телефоном — на десктопе */
@media (min-width: 992px) {
    .header__actions .header__icon--max {
        display: none;
    }
}

.header__icon--phone {
    background: #d9484a;
    border: none;
    border-radius: 100%;
    min-width: 40px;
}

@media (min-width: 767px) {
    .header__icon--phone {
        
    min-width: 46px;
    height: 46px;
    }

}

@media (min-width: 992px) {
    .header__icon--phone {
        display: none;
    }
}


.header__logo {
    display: flex;
    gap: 10px;
    font-size: 13px;
    line-height: 120%;
    font-weight: 600;
}

.header__logo__text {
    align-self: center;
    white-space: nowrap;
}


@media (max-width: 1350px) {
    .header__logo {
        font-size: 12px;
    }

}

@media (max-width: 1100px) {
    .header__logo {
        text-align: left !important;
        font-size: 10px;
    }
}

@media (max-width: 576px) {
.header__logo a {
    width: 38px;
}
    
}

.product-tabs__pane ul {
list-style: inside;
}

/* Плавающий виджет: иконка MAX — без белой плашки; img крупнее контейнера (overflow visible),
   чтобы компенсировать прозрачные поля PNG и выглядеть как соседние круги */
.devws-contact-widget__button--max {
    background: transparent;
    padding: 0;
    overflow: visible;
}
.devws-contact-widget__button--max img {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}
/* Карточка: кнопка MAX того же вида */
.devws-contact-card__link--max {
    background: transparent;
    padding: 0;
    overflow: visible;
}
.devws-contact-card__link--max img {
    width: 110%;
    height: 110%;
    max-width: 110%;
    max-height: 110%;
    object-fit: contain;
    flex-shrink: 0;
}
/* Телефон в виджете: красный круг, белая трубка */
.devws-contact-widget__button--phone {
    background: #d9484a !important;
}
.devws-contact-widget__button--phone img {
    filter: brightness(0) invert(1);
    width: 22px;
    height: 22px;
}
/* ===== Блок итогов заказа в правой колонке (#redpouf-cart-totals) ===== */
#redpouf-cart-totals {
    margin-top: 20px;
    border-top: 2px solid #e0e0e0;
    padding-top: 16px;
}
.rct-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 7px 0;
    font-size: 15px;
    color: #333;
}
.rct-row + .rct-row {
    border-top: 1px solid #f0f0f0;
}
.rct-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rct-shipping-name {
    font-size: 11px;
    color: #888;
    font-weight: 400;
}
.rct-value {
    text-align: right;
    white-space: nowrap;
}
.rct-delivery--pending .rct-delivery-pending {
    color: #aaa;
    font-style: italic;
    font-size: 13px;
}
.rct-delivery--calculated .rct-delivery-price {
    color: #c0392b;
    font-weight: 600;
}
.rct-total {
    margin-top: 4px;
    padding-top: 12px !important;
    border-top: 2px solid #e0e0e0 !important;
    font-size: 17px;
}
.rct-total-price {
    font-size: 18px;
    color: #c0392b;
}

/* ===== Автокомплит адресов (Яндекс Suggest) ===== */
#billing_address_1 {
    position: relative;
}
/* JS вешает ul.rp-addr-suggestions (раньше был id #rp-addr-suggestions) */
ul.rp-addr-suggestions,
#rp-addr-suggestions {
    display: none;
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
    width: 100%;
    left: 0;
    top: 100%;
}
ul.rp-addr-suggestions li,
#rp-addr-suggestions li {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    line-height: 1.3;
}
ul.rp-addr-suggestions li:last-child,
#rp-addr-suggestions li:last-child {
    border-bottom: none;
}
ul.rp-addr-suggestions li:hover,
ul.rp-addr-suggestions li.rp-ac-active,
#rp-addr-suggestions li:hover,
#rp-addr-suggestions li.rp-ac-active {
    background: #fef6f6;
}
ul.rp-addr-suggestions .rp-ac-name,
#rp-addr-suggestions .rp-ac-name {
    display: block;
    font-size: 14px;
    color: #222;
    font-weight: 500;
}
ul.rp-addr-suggestions .rp-ac-desc,
#rp-addr-suggestions .rp-ac-desc {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* Позиционирование контейнера поля адреса */
.woocommerce-billing-fields__field-wrapper .form-row.address-field,
p#billing_address_1_field {
    position: relative;
}

/* Кнопка очистки поля адреса */
.rp-addr-field #billing_address_1 {
    padding-right: 2.25rem;
}
.rp-addr-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: #eee;
    color: #555;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.rp-addr-clear:hover {
    background: #ddd;
    color: #222;
}

.rct-delivery--free .rct-delivery-free {
    color: #27ae60;
    font-weight: 600;
}

.rct-delivery--placeholder .rct-delivery-free {
    color: #555;
    font-size: 14px;
}

/* Ozon: рейтинг / заказы (кэш Seller API) */
.ozon-metrics {
    margin: 0.35rem 0 0.5rem;
    font-size: 13px;
    line-height: 1.35;
}
.ozon-metrics__link {
    color: #5a5a5a;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}
.ozon-metrics__link:hover {
    color: #c41e3a;
    border-bottom-color: rgba(196, 30, 58, 0.35);
}
.ozon-metrics__brand {
    font-weight: 600;
    color: #005bff;
    letter-spacing: 0.02em;
}
.ozon-metrics__rating {
    color: #333;
    font-weight: 600;
}
.ozon-metrics__orders,
.ozon-metrics__note {
    color: #666;
}
.single-product .ozon-metrics {
    margin: 0.5rem 0 0.75rem;
    font-size: 14px;
}

/* Страница товара: рейтинг и заказы Ozon (перенос с витрины, поля в админке) */
.single-product .product-ozon-manual {
    margin: 0.5rem 0 0.75rem;
    font-size: 14px;
    line-height: 1.45;
}
/* В колонке .summary (не под галереей — иначе ломается float-сетка WC) */
.single-product .product-ozon-manual--in-summary,
.single-product .summary .product-ozon-manual--below-gallery {
    width: 100%;
    max-width: 100%;
    margin: 0.35rem 0 0.75rem;
    clear: none;
}
.single-product .product-ozon-manual__link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: #444;
    text-decoration: none;
}
.single-product .product-ozon-manual__link:hover {
    color: #005bff;
}
.single-product .product-ozon-manual__rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
}
.single-product .product-ozon-manual__line--score {
    font-weight: 700;
    color: #1a1a1a;
}
.single-product .product-ozon-manual__line--reviews {
    font-weight: 500;
    color: #555;
    font-size: 13px;
}
.single-product .product-ozon-manual__line--orders {
    font-weight: 500;
    color: #666;
    font-size: 13px;
}
.single-product .product-ozon-manual .ozon-star-row__track {
    font-size: 15px;
}

/* Главная: блок «Отзывы на Ozon» */
.ozon-home-reviews {
    padding: 3rem 0 2.5rem;
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.ozon-home-reviews__empty {
    margin: 0;
    padding: 1.25rem 1rem 0.5rem;
    max-width: 40rem;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.ozon-home-reviews .section__title-header {
    margin-bottom: 1.25rem;
    align-items: flex-start;
    gap: 1rem 1.5rem;
}
.ozon-home-reviews__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
}
.ozon-home-reviews__heading-visible {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem 0.65rem;
    flex-wrap: wrap;
}
.ozon-home-reviews__heading-text {
    line-height: 1.2;
}
.ozon-home-reviews__logo {
    display: block;
    flex-shrink: 0;
    height: 1.35em;
    width: auto;
    align-self: center;
}
.ozon-home-reviews__swiper {
    position: relative;
    padding-bottom: 3rem;
}
.ozon-home-reviews .swiper-wrapper {
    align-items: stretch;
}
.ozon-home-reviews .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
}
.ozon-home-reviews .swiper-button-prev,
.ozon-home-reviews .swiper-button-next {
    top: auto;
    bottom: 0;
    width: 40px;
    height: 40px;
    margin-top: 0;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.ozon-home-reviews .swiper-button-prev {
    left: 0;
}
.ozon-home-reviews .swiper-button-next {
    right: 0;
}
.ozon-home-reviews .swiper-button-next svg {
    transform: scaleX(-1);
}
.ozon-home-reviews .swiper-button-prev::after,
.ozon-home-reviews .swiper-button-next::after {
    display: none;
}
.ozon-home-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.ozon-home-card__image {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}
.ozon-home-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e8f1ff 0%, #f5f5f5 100%);
    text-decoration: none;
}
.ozon-home-card__placeholder-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #005bff;
    letter-spacing: 0.04em;
}
.ozon-home-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ozon-home-card__under-photo {
    padding: 0.85rem 1rem 0.55rem;
    font-size: 26px;
    line-height: 1.35;
    min-height: 5.5rem;
    box-sizing: border-box;
}
.ozon-home-card__under-photo-hint {
    display: block;
    color: #777;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
}
.ozon-home-card__metrics-link,
.ozon-home-card__metrics-stack {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #333;
    text-decoration: none;
}
.ozon-home-card__metrics-link:hover {
    color: #005bff;
}
.ozon-home-card__rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
}
.ozon-home-card .ozon-star-row__track {
    font-size: 26px;
    letter-spacing: 0.1em;
}
.ozon-home-card__score {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1em;
}
.ozon-home-card__rev-count {
    font-weight: 500;
    color: #555;
    font-size: 1em;
}
.ozon-home-card__orders-line {
    font-weight: 600;
    color: #444;
    font-size: 1em;
}
.ozon-home-card__body {
    padding: 0.65rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.ozon-home-card__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    min-height: 2.6em;
}
.ozon-home-card__title a {
    color: #18181c;
    text-decoration: none;
}
.ozon-home-card__title a:hover {
    color: #c41e3a;
}
.ozon-home-card__ozon {
    margin-top: auto;
    align-self: flex-start;
}

/* =========================================================
   Redesign only for homepage duplicate (ID 4594)
   ========================================================= */
.page-id-4594 {
    --rp-bg: #f5f7fb;
    --rp-surface: #ffffff;
    --rp-text: #161a23;
    --rp-muted: #61697d;
    --rp-primary: #bc3147;
    --rp-primary-strong: #9f2237;
    --rp-radius-xl: 28px;
    --rp-radius-lg: 20px;
    --rp-shadow: 0 20px 50px rgba(18, 27, 45, 0.08);
}

.page-id-4594 body,
.page-id-4594 .site-main {
    background: radial-gradient(circle at 0 0, #ffffff 0, #f8f9fc 42%, #f2f4f9 100%);
    color: var(--rp-text);
}

.page-id-4594 .container {
    width: min(1240px, calc(100% - 32px));
}

.page-id-4594 section {
    margin-bottom: 28px;
}

.page-id-4594 .hero--slider,
.page-id-4594 .catalog,
.page-id-4594 .products-list,
.page-id-4594 .capture-form,
.page-id-4594 .benefits,
.page-id-4594 .reviews,
.page-id-4594 .about,
.page-id-4594 .work-process,
.page-id-4594 .production,
.page-id-4594 .new-salon,
.page-id-4594 .contact {
    background: transparent;
}

.page-id-4594 .hero__content,
.page-id-4594 .capture-form__wrap,
.page-id-4594 .production__card,
.page-id-4594 .new-salon__content,
.page-id-4594 .contact__content {
    background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
    border-radius: var(--rp-radius-xl);
    box-shadow: var(--rp-shadow);
    border: 1px solid rgba(19, 30, 55, 0.06);
}

.page-id-4594 .hero__content {
    padding: 32px;
    align-items: center;
    gap: 28px;
}

.page-id-4594 .hero__title {
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.page-id-4594 .hero__description {
    color: var(--rp-muted);
    font-size: clamp(16px, 1.7vw, 21px);
    max-width: 54ch;
}

.page-id-4594 .hero__image,
.page-id-4594 .hero__img {
    border-radius: 22px;
}

.page-id-4594 .hero__img {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.page-id-4594 .btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 13px 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.page-id-4594 .btn:hover {
    transform: translateY(-1px);
}

.page-id-4594 .btn--primary {
    background: linear-gradient(135deg, var(--rp-primary) 0%, #da4c63 100%);
    box-shadow: 0 12px 24px rgba(188, 49, 71, 0.24);
}

.page-id-4594 .btn--primary:hover {
    background: linear-gradient(135deg, var(--rp-primary-strong) 0%, #cb3e55 100%);
}

.page-id-4594 .btn--secondary {
    background: #fff;
    border: 1px solid rgba(20, 24, 34, 0.14);
    color: #1e2430;
}

.page-id-4594 .section__title {
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #141923;
}

.page-id-4594 .product-card,
.page-id-4594 .hit-card,
.page-id-4594 .benefit-card,
.page-id-4594 .reviews-item,
.page-id-4594 .step--card,
.page-id-4594 .ozon-home-card {
    border-radius: var(--rp-radius-lg);
    border: 1px solid rgba(20, 27, 41, 0.08);
    box-shadow: 0 16px 32px rgba(20, 27, 41, 0.07);
    overflow: hidden;
}

.page-id-4594 .product-card:hover,
.page-id-4594 .hit-card:hover,
.page-id-4594 .benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(20, 27, 41, 0.11);
}

.page-id-4594 .products-list__grid,
.page-id-4594 .catalog__grid,
.page-id-4594 .benefits__grid {
    gap: 22px;
}

.page-id-4594 .reviews-slider .swiper-button-prev,
.page-id-4594 .reviews-slider .swiper-button-next,
.page-id-4594 .hero__swiper__nav .swiper-button-prev,
.page-id-4594 .hero__swiper__nav .swiper-button-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 25px rgba(13, 22, 39, 0.16);
}

.page-id-4594 .reviews-form-wrap,
.page-id-4594 .contact__form-section {
    background: linear-gradient(165deg, #ffffff 0%, #f7f9ff 100%);
    border-radius: var(--rp-radius-lg);
    border: 1px solid rgba(21, 29, 44, 0.08);
    box-shadow: 0 12px 28px rgba(18, 27, 45, 0.07);
}

.page-id-4594 .about__background {
    opacity: 0.92;
    filter: saturate(1.08);
}

.page-id-4594 .about__badge {
    background: linear-gradient(140deg, #1e2431 0%, #3a4154 100%);
}

.page-id-4594 .work-process__steps--cards {
    gap: 16px;
}

.page-id-4594 .step--card {
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.page-id-4594 .step__number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #111928 0%, #2d3648 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.page-id-4594 .home-page-editor .page-content-wrapper {
    background: #fff;
    border-radius: var(--rp-radius-lg);
    border: 1px solid rgba(20, 29, 44, 0.08);
    box-shadow: 0 12px 26px rgba(18, 27, 45, 0.07);
    padding: 28px;
}

.page-id-4594 .contact .wpcf7-form input[type="text"],
.page-id-4594 .contact .wpcf7-form input[type="tel"],
.page-id-4594 .contact .wpcf7-form input[type="email"],
.page-id-4594 .review-form__input,
.page-id-4594 .review-form__textarea {
    border-radius: 14px;
    border: 1px solid rgba(18, 29, 49, 0.14);
    background: #fff;
}

.page-id-4594 .contact .wpcf7-form input[type="submit"],
.page-id-4594 .review-form__submit {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rp-primary) 0%, #d4455d 100%);
}

@media (max-width: 1024px) {
    .page-id-4594 .hero__content {
        padding: 22px;
        gap: 16px;
    }

    .page-id-4594 .section__title {
        font-size: clamp(24px, 5vw, 36px);
    }
}

@media (max-width: 768px) {
    .page-id-4594 .container {
        width: calc(100% - 20px);
    }

    .page-id-4594 section {
        margin-bottom: 16px;
    }

    .page-id-4594 .hero__content,
    .page-id-4594 .capture-form__wrap,
    .page-id-4594 .production__card,
    .page-id-4594 .new-salon__content,
    .page-id-4594 .contact__content,
    .page-id-4594 .home-page-editor .page-content-wrapper {
        border-radius: 18px;
        padding: 16px;
    }

    .page-id-4594 .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .page-id-4594 .hero__actions .btn,
    .page-id-4594 .products-list__more,
    .page-id-4594 .new-salon__button,
    .page-id-4594 .production__btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .page-id-4594 .products-list__grid,
    .page-id-4594 .catalog__grid,
    .page-id-4594 .benefits__grid,
    .page-id-4594 .work-process__steps--cards {
        gap: 12px;
    }

    .page-id-4594 .reviews-item__content,
    .page-id-4594 .benefit-card__content,
    .page-id-4594 .ozon-home-card__body {
        padding: 14px;
    }

    .page-id-4594 .contact__title {
        font-size: 30px;
        line-height: 1.06;
    }

    .page-id-4594 .contact .contact__phone {
        font-size: 22px;
    }

    .page-id-4594 .about__logo-text {
        font-size: clamp(56px, 18vw, 92px);
    }
}

/* =========================================================
   REDESIGN V2 (high-contrast, clearly different) for copy
   ========================================================= */
.page-id-4594 {
    --rp2-bg: #0b1020;
    --rp2-bg-soft: #121a2e;
    --rp2-surface: #171f36;
    --rp2-surface-2: #1b2440;
    --rp2-text: #f5f8ff;
    --rp2-muted: #b9c2d8;
    --rp2-accent: #ff5370;
    --rp2-accent-2: #7a7dff;
    --rp2-radius: 26px;
}

.page-id-4594 body,
.page-id-4594 .site,
.page-id-4594 .site-main {
    background:
        radial-gradient(900px 500px at 5% -5%, rgba(122, 125, 255, 0.22), transparent 60%),
        radial-gradient(900px 500px at 95% -10%, rgba(255, 83, 112, 0.25), transparent 60%),
        linear-gradient(180deg, var(--rp2-bg) 0%, #090e1c 100%) !important;
    color: var(--rp2-text) !important;
}

.page-id-4594 section {
    margin-bottom: 34px;
}

.page-id-4594 .section__title,
.page-id-4594 h2.section__title,
.page-id-4594 .hero__title {
    color: #ffffff !important;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.page-id-4594 .hero__description,
.page-id-4594 .benefit-card__description,
.page-id-4594 .contact__description,
.page-id-4594 .reviews-item__text,
.page-id-4594 .about__description {
    color: var(--rp2-muted) !important;
}

.page-id-4594 .hero__content,
.page-id-4594 .capture-form__wrap,
.page-id-4594 .production__card,
.page-id-4594 .new-salon__content,
.page-id-4594 .contact__content,
.page-id-4594 .reviews-form-wrap,
.page-id-4594 .home-page-editor .page-content-wrapper {
    background: linear-gradient(160deg, rgba(25, 35, 61, 0.95) 0%, rgba(20, 29, 51, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38) !important;
    border-radius: var(--rp2-radius) !important;
}

.page-id-4594 .hero__content {
    padding: 36px !important;
}

.page-id-4594 .hero__image {
    position: relative;
}

.page-id-4594 .hero__image::after {
    content: "";
    position: absolute;
    inset: auto 14px 14px auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 83, 112, 0.85) 0%, rgba(255, 83, 112, 0) 68%);
    pointer-events: none;
}

.page-id-4594 .hero__img,
.page-id-4594 .benefit-card__image img,
.page-id-4594 .reviews-item__image img,
.page-id-4594 .product-card__image img {
    filter: saturate(1.08) contrast(1.03);
}

.page-id-4594 .btn {
    border-radius: 999px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
}

.page-id-4594 .btn--primary,
.page-id-4594 .review-form__submit,
.page-id-4594 .contact .wpcf7-form input[type="submit"] {
    border: 0 !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--rp2-accent) 0%, #ff6b88 52%, #ff8f5e 100%) !important;
    box-shadow: 0 16px 34px rgba(255, 83, 112, 0.32) !important;
}

.page-id-4594 .btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.page-id-4594 .products-list__grid,
.page-id-4594 .catalog__grid,
.page-id-4594 .benefits__grid,
.page-id-4594 .work-process__steps--cards {
    gap: 24px !important;
}

.page-id-4594 .product-card,
.page-id-4594 .hit-card,
.page-id-4594 .benefit-card,
.page-id-4594 .reviews-item,
.page-id-4594 .step--card,
.page-id-4594 .ozon-home-card {
    background: linear-gradient(165deg, var(--rp2-surface) 0%, var(--rp2-surface-2) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35) !important;
    border-radius: 22px !important;
}

.page-id-4594 .product-card__title,
.page-id-4594 .benefit-card__title,
.page-id-4594 .reviews-item__title,
.page-id-4594 .hit-card__title,
.page-id-4594 .step__description {
    color: #fff !important;
}

.page-id-4594 .product-card__price,
.page-id-4594 .hit-card__price {
    color: #ffd5dd !important;
}

.page-id-4594 .product-card__arrow {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(255, 83, 112, 0.25) 0%, rgba(122, 125, 255, 0.22) 100%);
    border-radius: 999px;
    padding: 4px 11px;
}

.page-id-4594 .step__number {
    background: linear-gradient(135deg, var(--rp2-accent) 0%, var(--rp2-accent-2) 100%) !important;
    box-shadow: 0 10px 20px rgba(122, 125, 255, 0.35);
}

.page-id-4594 .reviews-slider .swiper-button-prev,
.page-id-4594 .reviews-slider .swiper-button-next,
.page-id-4594 .hero__swiper__nav .swiper-button-prev,
.page-id-4594 .hero__swiper__nav .swiper-button-next,
.page-id-4594 .ozon-home-reviews .swiper-button-prev,
.page-id-4594 .ozon-home-reviews .swiper-button-next {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
}

.page-id-4594 .reviews-slider .swiper-button-prev path,
.page-id-4594 .reviews-slider .swiper-button-next path,
.page-id-4594 .hero__swiper__nav .swiper-button-prev path,
.page-id-4594 .hero__swiper__nav .swiper-button-next path {
    fill: #ffffff !important;
}

.page-id-4594 .contact .wpcf7-form input[type="text"],
.page-id-4594 .contact .wpcf7-form input[type="tel"],
.page-id-4594 .contact .wpcf7-form input[type="email"],
.page-id-4594 .review-form__input,
.page-id-4594 .review-form__textarea {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.page-id-4594 .contact .wpcf7-form input::placeholder,
.page-id-4594 .review-form__input::placeholder,
.page-id-4594 .review-form__textarea::placeholder {
    color: rgba(230, 237, 255, 0.72) !important;
}

.page-id-4594 .about__badge {
    background: linear-gradient(135deg, #ff5370 0%, #7a7dff 100%) !important;
}

.page-id-4594 .new-salon__overlay {
    background: linear-gradient(150deg, rgba(8, 14, 27, 0.72) 0%, rgba(20, 22, 40, 0.74) 100%) !important;
}

.page-id-4594 .onlyMob {
    color: var(--rp2-muted);
}

@media (max-width: 992px) {
    .page-id-4594 section {
        margin-bottom: 20px;
    }

    .page-id-4594 .hero__content {
        padding: 20px !important;
    }
}

@media (max-width: 768px) {
    .page-id-4594 .container {
        width: calc(100% - 18px) !important;
    }

    .page-id-4594 .hero__content,
    .page-id-4594 .capture-form__wrap,
    .page-id-4594 .production__card,
    .page-id-4594 .new-salon__content,
    .page-id-4594 .contact__content,
    .page-id-4594 .reviews-form-wrap,
    .page-id-4594 .home-page-editor .page-content-wrapper {
        border-radius: 16px !important;
        padding: 14px !important;
    }

    .page-id-4594 .hero__title {
        font-size: clamp(34px, 11vw, 54px) !important;
        line-height: 0.95 !important;
    }

    .page-id-4594 .hero__description {
        font-size: 17px !important;
        line-height: 1.35 !important;
    }

    .page-id-4594 .hero__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .page-id-4594 .hero__actions .btn,
    .page-id-4594 .products-list__more,
    .page-id-4594 .new-salon__button,
    .page-id-4594 .production__btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .page-id-4594 .product-card,
    .page-id-4594 .hit-card,
    .page-id-4594 .benefit-card,
    .page-id-4594 .reviews-item,
    .page-id-4594 .step--card,
    .page-id-4594 .ozon-home-card {
        border-radius: 16px !important;
    }

    .page-id-4594 .contact .contact__phone {
        font-size: 20px !important;
    }
}

/* =========================================================
   REDESIGN V2.1 polish: alignment + glow hover effects
   ========================================================= */
.page-id-4594 .section__title-header,
.page-id-4594 .hero__content,
.page-id-4594 .contact__content,
.page-id-4594 .capture-form__wrap,
.page-id-4594 .production__card,
.page-id-4594 .new-salon__content {
    position: relative;
}

.page-id-4594 .section__title-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
}

.page-id-4594 .products-list__grid,
.page-id-4594 .catalog__grid,
.page-id-4594 .benefits__grid {
    align-items: stretch !important;
}

.page-id-4594 .product-card,
.page-id-4594 .hit-card,
.page-id-4594 .benefit-card,
.page-id-4594 .reviews-item,
.page-id-4594 .step--card,
.page-id-4594 .ozon-home-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.page-id-4594 .product-card__content,
.page-id-4594 .benefit-card__content,
.page-id-4594 .reviews-item__content,
.page-id-4594 .ozon-home-card__body {
    flex: 1 1 auto;
}

.page-id-4594 .product-card,
.page-id-4594 .hit-card,
.page-id-4594 .benefit-card,
.page-id-4594 .reviews-item,
.page-id-4594 .step--card,
.page-id-4594 .ozon-home-card,
.page-id-4594 .hero__content,
.page-id-4594 .capture-form__wrap,
.page-id-4594 .production__card,
.page-id-4594 .new-salon__content,
.page-id-4594 .contact__content,
.page-id-4594 .reviews-form-wrap {
    transition:
        transform 0.28s cubic-bezier(.2, .8, .2, 1),
        box-shadow 0.28s cubic-bezier(.2, .8, .2, 1),
        border-color 0.28s cubic-bezier(.2, .8, .2, 1),
        filter 0.28s cubic-bezier(.2, .8, .2, 1);
}

.page-id-4594 .product-card:hover,
.page-id-4594 .hit-card:hover,
.page-id-4594 .benefit-card:hover,
.page-id-4594 .reviews-item:hover,
.page-id-4594 .step--card:hover,
.page-id-4594 .ozon-home-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255, 126, 150, 0.5) !important;
    box-shadow:
        0 24px 45px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(122, 125, 255, 0.32),
        0 0 28px rgba(255, 83, 112, 0.22) !important;
}

.page-id-4594 .btn {
    position: relative;
    overflow: hidden;
}

.page-id-4594 .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.28) 48%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.page-id-4594 .btn:hover::before {
    transform: translateX(120%);
}

.page-id-4594 .btn--primary:hover,
.page-id-4594 .review-form__submit:hover,
.page-id-4594 .contact .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 20px 38px rgba(255, 83, 112, 0.38),
        0 0 26px rgba(255, 83, 112, 0.3) !important;
}

.page-id-4594 .hero__swiper__nav .swiper-button-prev:hover,
.page-id-4594 .hero__swiper__nav .swiper-button-next:hover,
.page-id-4594 .reviews-slider .swiper-button-prev:hover,
.page-id-4594 .reviews-slider .swiper-button-next:hover,
.page-id-4594 .ozon-home-reviews .swiper-button-prev:hover,
.page-id-4594 .ozon-home-reviews .swiper-button-next:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(122, 125, 255, 0.35) !important;
}

.page-id-4594 .hero__content::after,
.page-id-4594 .capture-form__wrap::after,
.page-id-4594 .contact__content::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(255, 94, 121, 0.42), rgba(122, 125, 255, 0.42), rgba(255, 255, 255, 0.08));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.page-id-4594 .reviews-item__image,
.page-id-4594 .product-card__image,
.page-id-4594 .benefit-card__image {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-id-4594 .reviews-item__image img,
.page-id-4594 .product-card__image img,
.page-id-4594 .benefit-card__image img {
    transition: transform 0.45s ease, filter 0.45s ease;
}

.page-id-4594 .reviews-item:hover .reviews-item__image img,
.page-id-4594 .product-card:hover .product-card__image img,
.page-id-4594 .benefit-card:hover .benefit-card__image img {
    transform: scale(1.04);
    filter: saturate(1.18) contrast(1.05);
}

@media (max-width: 768px) {
    .page-id-4594 .section__title-header {
        margin-bottom: 12px !important;
    }

    .page-id-4594 .products-list__grid,
    .page-id-4594 .catalog__grid,
    .page-id-4594 .benefits__grid {
        gap: 12px !important;
    }

    .page-id-4594 .product-card:hover,
    .page-id-4594 .hit-card:hover,
    .page-id-4594 .benefit-card:hover,
    .page-id-4594 .reviews-item:hover,
    .page-id-4594 .step--card:hover,
    .page-id-4594 .ozon-home-card:hover {
        transform: translateY(-3px) !important;
    }
}

/* =========================================================
   REDESIGN V3: clean, modern, minimal (override previous)
   ========================================================= */
.page-id-4594 {
    --v3-bg: #f4f6f9;
    --v3-surface: #ffffff;
    --v3-text: #111827;
    --v3-muted: #6b7280;
    --v3-primary: #c3344b;
    --v3-primary-hover: #ab253c;
    --v3-border: #e5e7eb;
    --v3-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    --v3-radius-xl: 24px;
    --v3-radius-lg: 18px;
}

.page-id-4594 body,
.page-id-4594 .site,
.page-id-4594 .site-main {
    background: var(--v3-bg) !important;
    color: var(--v3-text) !important;
}

.page-id-4594 section {
    margin-bottom: 24px !important;
}

.page-id-4594 .section__title,
.page-id-4594 h2.section__title,
.page-id-4594 .hero__title,
.page-id-4594 .benefit-card__title,
.page-id-4594 .reviews-item__title,
.page-id-4594 .contact__title,
.page-id-4594 .step__description {
    color: var(--v3-text) !important;
}

.page-id-4594 .hero__description,
.page-id-4594 .benefit-card__description,
.page-id-4594 .reviews-item__text,
.page-id-4594 .contact__description,
.page-id-4594 .about__description {
    color: var(--v3-muted) !important;
}

.page-id-4594 .hero__content,
.page-id-4594 .capture-form__wrap,
.page-id-4594 .production__card,
.page-id-4594 .new-salon__content,
.page-id-4594 .contact__content,
.page-id-4594 .reviews-form-wrap,
.page-id-4594 .home-page-editor .page-content-wrapper,
.page-id-4594 .product-card,
.page-id-4594 .hit-card,
.page-id-4594 .benefit-card,
.page-id-4594 .reviews-item,
.page-id-4594 .step--card,
.page-id-4594 .ozon-home-card {
    background: var(--v3-surface) !important;
    border: 1px solid var(--v3-border) !important;
    box-shadow: var(--v3-shadow) !important;
    border-radius: var(--v3-radius-lg) !important;
}

.page-id-4594 .hero__content,
.page-id-4594 .capture-form__wrap,
.page-id-4594 .contact__content {
    border-radius: var(--v3-radius-xl) !important;
}

.page-id-4594 .hero__content::after,
.page-id-4594 .capture-form__wrap::after,
.page-id-4594 .contact__content::after {
    display: none !important;
}

.page-id-4594 .hero__content {
    padding: 28px !important;
}

.page-id-4594 .hero__title {
    font-size: clamp(34px, 4.8vw, 62px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.02em !important;
}

.page-id-4594 .hero__description {
    font-size: clamp(16px, 1.6vw, 20px) !important;
}

.page-id-4594 .hero__image::after {
    display: none !important;
}

.page-id-4594 .btn {
    border-radius: 999px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.page-id-4594 .btn::before {
    display: none !important;
}

.page-id-4594 .btn--primary,
.page-id-4594 .review-form__submit,
.page-id-4594 .contact .wpcf7-form input[type="submit"] {
    background: var(--v3-primary) !important;
    color: #fff !important;
}

.page-id-4594 .btn--primary:hover,
.page-id-4594 .review-form__submit:hover,
.page-id-4594 .contact .wpcf7-form input[type="submit"]:hover {
    background: var(--v3-primary-hover) !important;
    transform: translateY(-1px) !important;
}

.page-id-4594 .btn--secondary {
    background: #fff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
}

.page-id-4594 .btn--secondary:hover {
    background: #f9fafb !important;
}

.page-id-4594 .product-card,
.page-id-4594 .hit-card,
.page-id-4594 .benefit-card,
.page-id-4594 .reviews-item,
.page-id-4594 .step--card,
.page-id-4594 .ozon-home-card {
    transition: transform .2s ease, box-shadow .2s ease !important;
}

.page-id-4594 .product-card:hover,
.page-id-4594 .hit-card:hover,
.page-id-4594 .benefit-card:hover,
.page-id-4594 .reviews-item:hover,
.page-id-4594 .step--card:hover,
.page-id-4594 .ozon-home-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.12) !important;
}

.page-id-4594 .products-list__grid,
.page-id-4594 .catalog__grid,
.page-id-4594 .benefits__grid {
    gap: 18px !important;
    align-items: stretch !important;
}

.page-id-4594 .product-card,
.page-id-4594 .hit-card,
.page-id-4594 .benefit-card {
    height: 100% !important;
}

.page-id-4594 .reviews-slider .swiper-button-prev,
.page-id-4594 .reviews-slider .swiper-button-next,
.page-id-4594 .hero__swiper__nav .swiper-button-prev,
.page-id-4594 .hero__swiper__nav .swiper-button-next,
.page-id-4594 .ozon-home-reviews .swiper-button-prev,
.page-id-4594 .ozon-home-reviews .swiper-button-next {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.1) !important;
}

.page-id-4594 .reviews-slider .swiper-button-prev path,
.page-id-4594 .reviews-slider .swiper-button-next path,
.page-id-4594 .hero__swiper__nav .swiper-button-prev path,
.page-id-4594 .hero__swiper__nav .swiper-button-next path {
    fill: #111827 !important;
}

.page-id-4594 .contact .wpcf7-form input[type="text"],
.page-id-4594 .contact .wpcf7-form input[type="tel"],
.page-id-4594 .contact .wpcf7-form input[type="email"],
.page-id-4594 .review-form__input,
.page-id-4594 .review-form__textarea {
    background: #fff !important;
    border: 1px solid #d1d5db !important;
    color: #111827 !important;
}

.page-id-4594 .about__badge {
    background: #111827 !important;
    color: #fff !important;
}

.page-id-4594 .new-salon__overlay {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.38) 0%, rgba(17, 24, 39, 0.55) 100%) !important;
}

@media (max-width: 768px) {
    .page-id-4594 section {
        margin-bottom: 14px !important;
    }

    .page-id-4594 .container {
        width: calc(100% - 18px) !important;
    }

    .page-id-4594 .hero__content,
    .page-id-4594 .capture-form__wrap,
    .page-id-4594 .production__card,
    .page-id-4594 .new-salon__content,
    .page-id-4594 .contact__content,
    .page-id-4594 .reviews-form-wrap,
    .page-id-4594 .home-page-editor .page-content-wrapper {
        border-radius: 14px !important;
        padding: 14px !important;
    }

    .page-id-4594 .hero__title {
        font-size: clamp(30px, 10vw, 46px) !important;
        line-height: 0.98 !important;
    }

    .page-id-4594 .hero__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .page-id-4594 .hero__actions .btn,
    .page-id-4594 .products-list__more,
    .page-id-4594 .new-salon__button,
    .page-id-4594 .production__btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* Фиксированная шапка: отступ контента (перебивает глобальные стили WP) */
html body {
    padding-top: var(--redpouf-header-offset) !important;
}

body.admin-bar {
    padding-top: calc(var(--redpouf-header-offset) + 32px) !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: calc(var(--redpouf-header-offset) + 46px) !important;
    }
}
