/*
Theme Name: SPA
Author: MAD.by
Author URI: https://mad.by/
Description: Вёрстка и натяжка шаблона - MAD.by. Для связи: <a href="https://t.me/d9d9_Sun">d9d9_Sun</a>
Version: 0.1
*/

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-locale: auto;
    white-space: normal;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1920px;
    padding: 0 120px;
    margin: auto;
}

p {
    margin-bottom: 18px;
}

header .top-line {
    display: flex;
    align-items: center;
    height: 32px;
    background-color: #192b4b;
}

header .top-line .container {
    width: 100%;
}

header .top-line__phones {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

header .top-line__phones a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

header .top-line__phones a::before {
    content: '';
    background: url('./icons/icon-phone.svg') no-repeat;
    background-size: 18px;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
}

.header__main {
    background-color: #f4f4f4;
    height: 60px;
}

.header__main .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.logo img {
    width: 60px;
    height: 60px;
}

nav #menu-main {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav #menu-main a {
    text-decoration: none;
    color: #192b4b;
    text-transform: uppercase;
}

footer {
    background-color: #192b4b;
    padding: 24px 0;
    color: #fff;
}

footer .container {
    display: flex;
    gap: 32px;
}

footer .container > div:first-child,
footer .container > div:last-child {
    flex: 1;
}

footer .container > div:nth-child(2) {
    flex: 2;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer .logo {
    margin-bottom: 24px;
}

footer .s-networks {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

footer .s-networks svg {
    height: 35px;
    color: #fff;
}

footer .copyrights {
    font-size: 12px;
}

footer .footer-two {
    display: flex;
    gap: 48px;
    border-left: 1px solid #fff;
    padding-left: 24px;
}

footer .footer-two > * {
    flex: 1;
}

footer .footer-two ul {
    list-style: none;
    padding: 0;
}

footer .footer-two ul li::before {
    content: "»";
    margin-right: 8px;
    color: #fff;
    font-size: 16px;
}

footer .footer-two ul li:not(:last-child) {
    margin-bottom: 8px;
}

footer .footer-three {
    border-left: 1px solid #fff;
    padding-left: 24px;
}

footer .footer__phones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #fff;
}

footer .footer__phones a {
    display: flex;
    gap: 8px;
    align-items: center;
}

footer .footer-three svg {
    color: #fff;
    max-width: 24px;
    min-width: 24px;
    height: 24px;
}

footer .footer__addresses {
    padding: 12px 0;
    border-bottom: 1px solid #fff;
}

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

.footer__address:first-child {
    margin-bottom: 24px;
}

footer .footer__email {
    padding-top: 12px;
}

footer .footer__email a {
    display: flex;
    gap: 8px;
    align-items: center;
}

.homepage__hero {
    width: 100%;
    max-height: 75vh;
    object-fit: cover;
}

h1 {
    color: #2b6684;
    text-align: center;
    margin: 48px 0;
}

.get-quote {
    border: 1px solid #192b4b;
    border-radius: 5px;
    display: block;
    margin: auto;
    padding: 10px 25px;
    text-align: center;
    transition: all .3s;
    width: fit-content;
    text-decoration: none;
    background: linear-gradient(180deg, #192b4b, #141b2d);
    color: #fff;
    margin-bottom: 12px;
}

.get-quote:hover {
    background-color: #2b6684;
    border: 1px solid #2b6684;
}

.brand-pools {
    background-color: #f4f4f4;
    padding: 64px 0;
}

h2 {
    color: #00749d;
    font-weight: 600;
    text-align: center;
    font-size: 28px;
    margin-bottom: 32px;
}

.brand-pools__grid {
    column-gap: 24px;
    columns: 350px;
}

.brand-card {
    position: relative;
    display: block;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    margin-bottom: 24px;
}

.brand-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.brand-card::after {
    content: "";
    position: absolute;
    inset: 50% 0 0 0;
    background: linear-gradient(to bottom, transparent, rgba(0,92,140,.9));
}

.brand-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    text-align: center;
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    z-index: 1;
}

.pool-types {
    padding: 64px 0;
}

.pool-types__grid {
    column-gap: 24px;
    columns: 350px;
}

.pool-type__card {
    position: relative;
    display: block;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    margin-bottom: 24px;
}

.pool-type__card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.pool-type__card::after {
    content: "";
    position: absolute;
    inset: 50% 0 0 0;
    background: linear-gradient(to bottom, transparent, rgba(0,92,140,.9));
}

.pool-type__card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    text-align: center;
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    z-index: 1;
}

.popular-products {
    background-color: #f4f4f4;
    padding: 64px 0;
}

.homepage-catalog {
    padding: 64px 0;
}

.homepage-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* Popular Products Styles */
.popular-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.popular-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popular-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.popular-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.popular-product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

.popular-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-product-info {
    padding: 20px;
}

.popular-product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.popular-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.popular-product-size {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.popular-product-features {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.popular-product-features span {
    display: block;
    margin-bottom: 5px;
}

.popular-product-button {
    display: inline-block;
    padding: 10px 20px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease;
}

.popular-product-card:hover .popular-product-button {
    background: #2a2a4e;
}

@media (max-width: 1200px) {
    .popular-products__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .popular-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .popular-products__grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: #1a1a2e;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.faq-answer ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.faq-answer li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 5px;
}

/* News Section Styles */
.news-section {
    padding: 80px 0;
    background: #fff;
}

.news-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-date {
    font-size: 12px;
    color: #999;
}

.news-placeholder {
    text-align: center;
    padding: 40px;
    color: #999;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Contact Form Styles */
.footer-contact-form-area {
    background: #f9f9f9;
}

.footer-contact-form {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-contact-form h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.footer-contact-form > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.contact-form {
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #1a1a2e;
}

.btn-primary {
    background: #1a1a2e;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #2a2a4e;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-contact-form h3 {
        font-size: 24px;
    }
}

/* FAQ Link Styles - Added today */
.faq-answer a {
    color: #006699 !important;
    text-decoration: underline !important;
}
.faq-answer a:hover {
    color: #004466 !important;
    text-decoration: none !important;
}

/* NEW: Catalog Grid Styles (Square tiles like spabest.ru) - 2 ряда по 3 блока */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.catalog-grid__item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    display: block;
}

.catalog-grid__item:hover {
    border-color: #006699;
}

.catalog-grid__image {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-grid__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.catalog-grid__item:hover .catalog-grid__image img {
    transform: scale(1.05);
}

.catalog-grid__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 102, 153, 0.9);
    color: #fff;
    padding: 12px 10px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    text-transform: none;
}

/* NEW: Useful Information Links Grid (Square tiles with centered overlay) */
.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.links-grid__item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f4f4f4;
    text-decoration: none;
    display: block;
}

.links-grid__image {
    width: 100%;
    height: 100%;
}

.links-grid__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.links-grid__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 43, 75, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: background-color 0.3s ease;
}

.links-grid__item:hover .links-grid__overlay {
    background-color: rgba(25, 43, 75, 0.7);
}

.links-grid__item:hover .links-grid__image img {
    transform: scale(1.1);
}

.links-grid__title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* SpaBest Product Card Styles - Refined Final V2 */
.spabest-product-card {
    border: 1px solid #1a3a5a;
    margin-bottom: 30px;
    background: #fff;
    transition: box-shadow 0.3s;
    height: 570px; /* Увеличено на 10px для отображения текста снизу */
    min-height: 570px; /* Минимальная высота */
    max-height: 570px; /* Максимальная высота */
    display: flex;
    flex-direction: column;
    overflow: visible; /* Показываем синюю полоску полностью */
    position: relative;
    text-align: left;
}

.spabest-product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.spabest-product-header {
    background: #1a3a5a;
    padding: 10px 15px;
    text-align: center;
    height: 70px; /* Высота для 2-х и более строк */
    display: flex;
    align-items: center;
    justify-content: center;
}

.spabest-product-header h4 {
    margin: 0;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.spabest-product-header h4 a {
    color: #fff !important;
    text-decoration: none !important;
}

/* Увеличение и жирность названия товара на карточках */
.klb-product .product_title,
.klb-product h4.product_title,
.klb-product h6.product_title,
.spabest-product-card .product_title,
.spabest-product-card h4.product_title,
.woocommerce ul.products li.product .product_title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .product_title,
.woocommerce-page ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.klb-product .product_title a,
.klb-product h4.product_title a,
.klb-product h6.product_title a,
.spabest-product-card .product_title a,
.spabest-product-card h4.product_title a,
.woocommerce ul.products li.product .product_title a,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title a,
.woocommerce-page ul.products li.product .product_title a,
.woocommerce-page ul.products li.product h2.woocommerce-loop-product__title a {
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.spabest-product-image {
    padding: 15px;
    text-align: center;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.spabest-product-image img {
    max-width: 80% !important;
    max-height: 80% !important;
    width: 80% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Уменьшаем изображения товаров в карточках на 20% */
.klb-product .spabest-product-image img,
.klb-product .product-img img,
.klb-product .product-02-img img,
.klb-product img {
    max-width: 80% !important; /* Уменьшено на 20% */
    width: 80% !important; /* Уменьшено на 20% */
    max-height: none !important; /* Убираем ограничение по высоте для полного отображения */
    height: auto !important; /* Автоматическая высота для сохранения пропорций */
    object-fit: contain !important; /* Показываем изображение полностью без обрезки */
    margin-top: 20px !important; /* Перемещено ниже на 20 пикселей */
}

/* Для контейнера изображения - увеличиваем высоту для полного отображения */
.spabest-product-image {
    padding: 15px;
    text-align: center;
    min-height: 280px; /* Минимальная высота */
    height: auto; /* Автоматическая высота для полного отображения */
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    background: #fff;
    overflow: visible; /* Показываем изображение полностью без обрезки */
}

/* Центрирование изображения товара в карточке - уменьшено на 20% */
.spabest-product-image img {
    display: block;
    margin: 0 auto;
    margin-top: 20px !important; /* Перемещено ниже на 20 пикселей */
    object-fit: contain !important; /* Показываем изображение полностью без обрезки */
    max-width: 80% !important; /* Уменьшено на 20% */
    width: 80% !important; /* Уменьшено на 20% */
    max-height: none !important; /* Убираем ограничение по высоте для полного отображения */
    height: auto !important;
}

.spabest-product-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto; /* Автоматическая высота для полного отображения */
    max-width: 100%;
    max-height: none; /* Убираем ограничение по высоте */
    min-height: 250px; /* Минимальная высота для консистентности */
}

.spabest-product-info {
    padding: 15px;
    padding-top: 15px; /* Возвращено к исходному значению */
    flex: 1 1 auto; /* Занимает доступное пространство */
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden; /* Обрезаем только контент, не футер */
    min-height: 0; /* Позволяем flex сжимать */
}

.spabest-price-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    margin-top: 0; /* Отступ уже добавлен в .spabest-product-info */
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.spabest-price {
    font-size: 24px;
    font-weight: 800;
    color: #006699 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.spabest-price .woocommerce-Price-amount {
    color: #006699 !important;
    display: inline !important;
    visibility: visible !important;
}

.spabest-buy-button .button {
    background: #192b4b !important;
    color: #fff !important;
    padding: 10px 25px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    text-transform: none !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    border: none !important;
    cursor: pointer;
}

.spabest-details-wrap {
    flex-grow: 1;
    overflow: hidden;
}

.spabest-dimensions {
    font-size: 14px;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 500;
}

.spabest-dimensions strong {
    color: #000;
    font-weight: bold;
}

.spabest-categories {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.spabest-product-footer {
    background: #1a3a5a;
    margin-top: auto; /* Прижимаем к низу */
    flex-shrink: 0; /* Не сжимаем футер */
    height: 60px; /* Фиксированная высота футера */
    position: relative;
    z-index: 2;
}

.spabest-product-footer .product-icon-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
}

.spabest-product-footer .product-icon-item {
    flex: 1;
    text-align: center;
    padding: 5px 2px;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.spabest-product-footer .product-icon-item:last-child {
    border-right: none;
}

.spabest-product-footer .product-icon-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    color: #fff;
    fill: #fff;
}

.spabest-product-footer .product-icon-number {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.spabest-product-footer .product-icon-item.empty {
    opacity: 0.4;
}

/* Sidebar Styling Adjustment */
.shop1-sidebar {
    background-color: #f4f4f4 !important;
    padding: 25px 20px !important;
}

/* Fix for any loose elements */
.klb-product > *:not(.spabest-product-card) {
    display: none !important;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .spabest-product-card {
        height: 550px; /* Увеличено на 10px */
        min-height: 550px;
        max-height: 550px;
    }
}

@media (max-width: 991px) {
    .spabest-product-card {
        height: auto;
        min-height: 510px; /* Увеличено на 10px */
    }
}

/* Single Product SpaBest Style - Montserrat Applied */
.spabest-single-page, 
.spabest-single-page *,
.spabest-single-page h1,
.spabest-single-page h2,
.spabest-single-page h3,
.spabest-single-page p,
.spabest-single-page span,
.spabest-single-page strong,
.spabest-single-page a,
.spabest-single-page input,
.spabest-single-page button,
body.elementor-page-5764 .elementor,
body.elementor-page-5764 .elementor *,
body.elementor-page-5764 .elementor h1,
body.elementor-page-5764 .elementor h2,
body.elementor-page-5764 .elementor h3,
body.elementor-page-5764 .elementor p,
body.elementor-page-5764 .elementor span,
body.elementor-page-5764 .elementor strong,
body.elementor-page-5764 .elementor a,
body.elementor-page-5764 .elementor input,
body.elementor-page-5764 .elementor button {
    font-family: 'Montserrat', sans-serif !important;
}

.spabest-single-page {
    padding: 40px 0;
    color: #333;
}

.spabest-single-title {
    font-size: 32px;
    font-weight: 700 !important;
    font-weight: bold !important;
    color: #1a1a1a;
    text-align: left;
    margin-bottom: 25px;
    text-transform: none;
    line-height: 1.3;
}

/* Название товара в правой колонке над ценой - жирное */
.spabest-single-right-title,
.spabest-single-right-col .product_title,
.spabest-single-right-col h1.product_title,
.spabest-single-right-col .spabest-single-right-title,
.single-product .spabest-single-right-col h1.product_title,
.single-product .spabest-single-right-col .product_title.spabest-single-right-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    font-weight: bold !important;
    color: #1a1a1a !important;
    text-align: left !important;
    margin-bottom: 25px !important;
    text-transform: none !important;
    line-height: 1.3 !important;
}

/* Применяем стили заголовка к Elementor шаблону */
body.elementor-page-5764 .elementor-widget-heading .elementor-heading-title,
body.elementor-page-5764 h1.elementor-heading-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: left;
    margin-bottom: 25px;
    text-transform: none;
    line-height: 1.3;
}

.spabest-single-gallery {
    margin-bottom: 30px;
}

/* Применяем стили галереи к Elementor шаблону */
body.elementor-page-5764 .elementor-widget-woocommerce-product-images {
    margin-bottom: 30px;
}

body.elementor-page-5764 .woocommerce-product-gallery {
    margin-bottom: 30px;
}

.spabest-single-right-col {
    padding-left: 20px;
}

/* Применяем стили правой колонки к Elementor шаблону */
body.elementor-page-5764 .elementor-column.elementor-col-50:nth-child(2) {
    padding-left: 20px;
}

@media (max-width: 991px) {
    body.elementor-page-5764 .elementor-column.elementor-col-50:nth-child(2) {
        padding-left: 15px;
    }
}

.spabest-single-price-wrap {
    margin-bottom: 25px;
}

/* Цена на странице товара - максимальная специфичность */
body.single-product .spabest-single-price-wrap .price,
body.single-product .spabest-single-price-wrap .price *,
body.single-product .spabest-single-price-wrap .price span,
body.single-product .spabest-single-price-wrap .price ins,
body.single-product .spabest-single-price-wrap .price del,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount *,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount.amount,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount.amount *,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount.amount span,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount.amount bdi,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount.amount bdi *,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-currencySymbol,
body.single-product .spabest-single-price-wrap .price .ruble-symbol,
body.single-product .spabest-single-price-wrap .woocommerce-Price-amount,
body.single-product .spabest-single-price-wrap .woocommerce-Price-amount *,
body.single-product .spabest-single-price-wrap .woocommerce-Price-amount.amount,
body.single-product .spabest-single-price-wrap .woocommerce-Price-amount.amount * {
    font-size: 36px !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}

/* Базовые стили для всех страниц */
.spabest-single-price-wrap .price {
    font-size: 36px !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #1a1a1a !important;
    margin-bottom: 0;
    display: block;
    line-height: 1.2;
}

.spabest-single-price-wrap .price *,
.spabest-single-price-wrap .price ins,
.spabest-single-price-wrap .price del,
.spabest-single-price-wrap .price span,
.spabest-single-price-wrap .price .woocommerce-Price-amount,
.spabest-single-price-wrap .price .woocommerce-Price-amount *,
.spabest-single-price-wrap .price .woocommerce-Price-amount.amount,
.spabest-single-price-wrap .price .woocommerce-Price-amount.amount *,
.spabest-single-price-wrap .price .woocommerce-Price-amount.amount span,
.spabest-single-price-wrap .price .woocommerce-Price-amount.amount bdi,
.spabest-single-price-wrap .price .woocommerce-Price-amount.amount bdi *,
.spabest-single-price-wrap .price .woocommerce-Price-currencySymbol,
.spabest-single-price-wrap .price .ruble-symbol {
    font-size: 36px !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.spabest-single-price-wrap .woocommerce-Price-amount,
.spabest-single-price-wrap .woocommerce-Price-amount *,
.spabest-single-price-wrap .woocommerce-Price-amount.amount,
.spabest-single-price-wrap .woocommerce-Price-amount.amount * {
    color: #1a1a1a !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Применяем стили цены к Elementor шаблону */
body.elementor-page-5764 .elementor-widget-woocommerce-product-price .price,
body.elementor-page-5764 .woocommerce-Price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a !important;
    margin-bottom: 25px;
    display: block;
    line-height: 1.2;
}

.spabest-single-meta-list {
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.spabest-single-meta-list .meta-row {
    margin-bottom: 12px;
    color: #333;
    display: block;
}

.spabest-single-meta-list .meta-row strong {
    color: #333;
    font-weight: 400;
    display: block;
    margin-bottom: 4px;
    min-width: auto;
}

.spabest-single-meta-list .meta-row .meta-value {
    display: block;
    color: #333;
    margin-left: 0;
    margin-top: 4px;
    line-height: 1.5;
}

/* Применяем стили мета-полей к Elementor шаблону */
body.elementor-page-5764 .elementor-widget-text-editor,
body.elementor-page-5764 .elementor-widget-html {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

body.elementor-page-5764 .elementor-widget-text-editor p,
body.elementor-page-5764 .elementor-widget-text-editor div {
    margin-bottom: 8px;
    color: #333;
    display: block;
}

body.elementor-page-5764 .elementor-widget-text-editor strong {
    color: #333;
    font-weight: 400;
    display: inline;
}

.spabest-single-tax-info {
    margin-bottom: 35px;
    font-size: 14px;
    line-height: 1.6;
}

.spabest-single-tax-info .tax-row {
    margin-bottom: 8px;
    display: block;
}

.spabest-single-tax-info .tax-row strong {
    color: #333;
    font-weight: 400;
}

.spabest-single-tax-info a {
    color: #006699;
    text-decoration: underline;
}

/* Применяем стили категорий к Elementor шаблону */
body.elementor-page-5764 .elementor-widget-woocommerce-product-categories,
body.elementor-page-5764 .woocommerce-product-details__short-description {
    margin-bottom: 35px;
    font-size: 14px;
    line-height: 1.6;
}

body.elementor-page-5764 .elementor-widget-woocommerce-product-categories a,
body.elementor-page-5764 .woocommerce-product-details__short-description a {
    color: #006699;
    text-decoration: underline;
}

.spabest-order-form-container {
    background: #fff;
    padding: 0;
    text-align: left;
}

.spabest-order-form-container h3 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: none;
}

.spabest-order-form-container p {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.spabest-inline-form .form-item {
    margin-bottom: 20px;
}

.spabest-inline-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.spabest-inline-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.spabest-submit-btn {
    width: auto;
    padding: 12px 40px;
    background: #1a3a5a !important;
    color: #fff !important;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
}

.spabest-single-details-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.spabest-details-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a3a5a;
    margin-bottom: 30px;
}

.spabest-details-content {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

/* Применяем стили секции характеристик к Elementor шаблону */
body.elementor-page-5764 .elementor-section:not(:first-child) {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

body.elementor-page-5764 .elementor-widget-heading h2,
body.elementor-page-5764 .elementor-widget-heading h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a3a5a;
    margin-bottom: 30px;
}

body.elementor-page-5764 .elementor-widget-text-editor {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

/* Исправление дублирования текста в характеристиках */
.spabest-details-content {
    position: relative;
}

.spabest-details-content > * {
    margin-bottom: 15px;
}

/* Скрытие дублирующихся элементов в характеристиках */
.spabest-details-content h2,
.spabest-details-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Скрытие дублирующихся заголовков внутри контента */
.spabest-details-content h2:first-child,
.spabest-details-content h3:first-child {
    display: none;
}

/* Исправление дублирования списков и параграфов */
.spabest-details-content ul,
.spabest-details-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.spabest-details-content li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.6;
}

/* Скрытие дублирующихся секций */
.spabest-single-details-section + .spabest-single-details-section,
.spabest-details-content + .spabest-details-content {
    display: none;
}

/* Исправление отображения таблиц характеристик */
.spabest-details-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.spabest-details-content table td,
.spabest-details-content table th {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
}

/* Исправление позиционирования элементов на странице товара */
.spabest-single-page .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.spabest-single-page .row > [class*="col-"] {
    padding: 0 15px;
}

/* Улучшение отображения формы заказа */
.spabest-order-form-container h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: none;
    line-height: 1.3;
}

.spabest-order-form-container p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Исправление размера текста в мета-полях */
.spabest-single-meta-list .meta-row,
.spabest-single-tax-info .tax-row {
    font-size: 14px;
    line-height: 1.6;
}

/* Улучшение отображения категорий */
.spabest-single-tax-info .tax-row a {
    font-size: 14px;
    color: #006699;
    text-decoration: underline;
}

/* Hide unwanted elements */
.spabest-single-page .jet-woo-builder,
.spabest-single-page .elementor-section-wrap,
.spabest-single-page .elementor-button-wrapper {
    display: none !important;
}

/* Исправление верстки для Elementor шаблонов товаров - применяем стили стандартного шаблона */
body.elementor-page-5764 {
    padding: 0;
}

body.elementor-page-5764 .elementor,
body.elementor-page-5764 .elementor-section,
body.elementor-page-5764 .elementor-container,
body.elementor-page-5764 .elementor-row,
body.elementor-page-5764 .elementor-column {
    box-sizing: border-box;
}

/* Основной контейнер - как в стандартном шаблоне (.container) */
body.elementor-page-5764 .elementor-section.elementor-section-boxed > .elementor-container,
body.elementor-page-5764 .elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    width: 100% !important;
}

/* Исправление gap между колонками */
body.elementor-page-5764 .elementor-container.elementor-column-gap-no {
    margin: 0 -15px !important;
}

body.elementor-page-5764 .elementor-container.elementor-column-gap-default,
body.elementor-page-5764 .elementor-container.elementor-column-gap-narrow,
body.elementor-page-5764 .elementor-container.elementor-column-gap-extended,
body.elementor-page-5764 .elementor-container.elementor-column-gap-wide,
body.elementor-page-5764 .elementor-container.elementor-column-gap-wider {
    margin: 0 -15px !important;
}

/* Отступы для секций - как в стандартном шаблоне */
body.elementor-page-5764 .elementor-section {
    position: relative;
    padding: 0 !important;
}

body.elementor-page-5764 .elementor-section:first-child {
    padding-top: 40px !important;
}

body.elementor-page-5764 .elementor-section:not(:first-child) {
    padding-top: 0 !important;
}

/* Колонки - применяем стили как в стандартном шаблоне (.row и .col-lg-6) */
body.elementor-page-5764 .elementor-container {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -15px !important;
    width: calc(100% + 30px) !important;
}

body.elementor-page-5764 .elementor-column.elementor-col-50 {
    width: 50% !important;
    padding: 0 15px !important;
    position: relative;
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

body.elementor-page-5764 .elementor-column.elementor-col-100 {
    width: 100% !important;
    padding: 0 15px !important;
    position: relative;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* Адаптивность - как в стандартном шаблоне (col-12 на мобильных) */
@media (max-width: 991px) {
    body.elementor-page-5764 .elementor-column.elementor-col-50 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px;
    }
    
    body.elementor-page-5764 .elementor-container {
        margin: 0 -15px !important;
        width: calc(100% + 30px) !important;
    }
}

/* Исправление отображения контента в Elementor шаблонах */
body.elementor-page-5764 .elementor-widget-text-editor,
body.elementor-page-5764 .elementor-widget-html {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Исправление изображений в Elementor */
body.elementor-page-5764 .elementor-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Исправление форм в Elementor */
body.elementor-page-5764 .elementor-form {
    width: 100%;
}

body.elementor-page-5764 .elementor-field-group {
    margin-bottom: 20px;
}

/* Исправление кнопок в Elementor */
body.elementor-page-5764 .elementor-button {
    display: inline-block;
    padding: 12px 40px;
    background: #1a3a5a !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
}

body.elementor-page-5764 .elementor-button:hover {
    background: #1a5a7a !important;
    color: #fff !important;
}

/* Исправление отображения виджетов WooCommerce в Elementor */
/* Мобильная версия главной страницы (300-700px) */
@media (min-width: 300px) and (max-width: 700px) {
	/* Все блоки на всю ширину с отступами 20px */
	body.home .container,
	body.home .elementor-container,
	body.home .elementor-section,
	body.home .elementor-row,
	body.home .elementor-column,
	body.home .elementor-widget,
	body.home section,
	body.home div[class*="section"],
	body.home div[class*="block"],
	body.home div[class*="container"] {
		width: 100% !important;
		max-width: 100% !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	
	/* Убираем отрицательные отступы у контейнеров */
	body.home .elementor-container {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
	}
	
	/* Все колонки на всю ширину */
	body.home .elementor-column {
		width: 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
		margin-bottom: 20px !important;
	}
	
	/* Убираем внутренние отступы у виджетов, оставляем только внешние */
	body.home .elementor-widget {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	
	/* Блоки каталога товаров - в столбик (не в строку) */
	body.home .catalog-grid,
	body.home .links-grid,
	body.home .popular-products__grid {
		grid-template-columns: 1fr !important;
		display: grid !important;
		gap: 20px !important;
	}
	
	body.home .catalog-grid__item,
	body.home .links-grid__item,
	body.home .popular-product-card {
		width: 100% !important;
		margin-bottom: 20px !important;
	}
	
	/* Мобильная версия страницы товаров (300-700px) - карточки на всю ширину с отступами 20px */
	@media (min-width: 300px) and (max-width: 700px) {
		/* Контейнер страницы товаров */
		.sh0p-area .container,
		.woocommerce .container,
		.shop-area .container,
		.pro-ful-tab .container {
			padding-left: 20px !important;
			padding-right: 20px !important;
			margin-left: 0 !important;
			margin-right: 0 !important;
			width: 100% !important;
			max-width: 100% !important;
			box-sizing: border-box !important;
		}
		
		/* Список товаров */
		.woocommerce ul.products,
		.woocommerce-page ul.products,
		.products {
			padding-left: 0 !important;
			padding-right: 0 !important;
			margin-left: 0 !important;
			margin-right: 0 !important;
			display: block !important;
		}
		
		/* Элементы списка товаров */
		.woocommerce ul.products li.product,
		.woocommerce-page ul.products li.product,
		.products li.product {
			width: 100% !important;
			max-width: 100% !important;
			margin-left: 0 !important;
			margin-right: 0 !important;
			padding-left: 0 !important;
			padding-right: 0 !important;
			margin-bottom: 20px !important;
			float: none !important;
			display: block !important;
			clear: both !important;
		}
		
		/* Карточки товаров - на всю ширину */
		.spabest-product-card,
		.klb-product,
		.woocommerce ul.products li.product .spabest-product-card,
		.woocommerce-page ul.products li.product .spabest-product-card {
			width: 100% !important;
			max-width: 100% !important;
			margin-left: 0 !important;
			margin-right: 0 !important;
		}
		
		/* Специально для колонок с товарами */
		.col-xl-9,
		.col-lg-9,
		.col-md-12,
		.col-12 {
			padding-left: 0 !important;
			padding-right: 0 !important;
		}
		
		/* Основной контейнер страницы */
		.sh0p-area .row {
			margin-left: 0 !important;
			margin-right: 0 !important;
		}
	}
	
	/* Скрыть нижний текст в мобильной версии (300-700px) */
	@media (min-width: 300px) and (max-width: 700px) {
		.footer-bottom-area,
		.footer-bottom-area .container,
		.footer-bottom-area .row,
		.copyright,
		.copyright p,
		.footer-bottom-link,
		.footer-bottom-link ul,
		.footer-bottom-link li,
		.footer-bottom-link .footer_right {
			display: none !important;
			visibility: hidden !important;
			height: 0 !important;
			overflow: hidden !important;
			margin: 0 !important;
			padding: 0 !important;
		}
	}
	
	/* Специально для Elementor страницы 5764 */
	body.elementor-page-5764 .elementor-container {
		padding-left: 20px !important;
		padding-right: 20px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	
	body.elementor-page-5764 .elementor-column {
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

body.elementor-page-5764 .elementor-widget-woocommerce-product-images,
body.elementor-page-5764 .elementor-widget-woocommerce-product-title,
body.elementor-page-5764 .elementor-widget-woocommerce-product-price,
body.elementor-page-5764 .elementor-widget-woocommerce-product-add-to-cart,
body.elementor-page-5764 .elementor-widget-woocommerce-product-short-description,
body.elementor-page-5764 .elementor-widget-woocommerce-product-meta,
body.elementor-page-5764 .elementor-widget-woocommerce-product-content {
    width: 100%;
    margin-bottom: 0;
}

/* Исправление отступов между виджетами */
body.elementor-page-5764 .elementor-widget:not(:last-child) {
    margin-bottom: 20px;
}

/* Исправление галереи товара */
body.elementor-page-5764 .woocommerce-product-gallery {
    margin-bottom: 30px;
}

/* Исправление формы заказа в Elementor */
body.elementor-page-5764 .elementor-widget-form,
body.elementor-page-5764 .elementor-form {
    margin-top: 30px;
}

/* Исправление секции характеристик */
body.elementor-page-5764 .elementor-section:nth-child(n+3) {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

/* Исправление overflow и переносов */
body.elementor-page-5764 .elementor-widget-container {
    overflow: visible;
    word-wrap: break-word;
}

/* Исправление изображений */
body.elementor-page-5764 .elementor-widget-image img {
    max-width: 100%;
    height: auto;
}

/* Исправление текста */
body.elementor-page-5764 .elementor-widget-text-editor {
    overflow: visible;
}

body.elementor-page-5764 .elementor-widget-text-editor p {
    margin-bottom: 15px;
}

body.elementor-page-5764 .elementor-widget-text-editor ul,
body.elementor-page-5764 .elementor-widget-text-editor ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

body.elementor-page-5764 .elementor-widget-text-editor li {
    margin-bottom: 8px;
}

/* Re-enable breadcrumbs from theme */
.spabest-single-page .woocommerce-breadcrumb {
    margin-bottom: 20px;
    font-size: 13px;
    color: #999;
}

.spabest-single-page .woocommerce-breadcrumb a {
    color: #006699;
}

/* Fix for the huge floating button from the screenshot */
div[data-elementor-type="wp-post"] .elementor-button {
    display: none !important;
}

/* Скрытие дублирующихся элементов WooCommerce */
.spabest-single-page .woocommerce-tabs,
.spabest-single-page .woocommerce-product-details__short-description,
.spabest-single-page .product_meta {
    display: none !important;
}

/* Исправление отображения контента товара - предотвращение дублирования */
.spabest-details-content p:empty,
.spabest-details-content div:empty {
    display: none;
}

/* Улучшение отображения характеристик - исправление дублирования */
.spabest-details-content {
    clear: both;
}

/* Скрытие дублирующихся секций "Чаша и корпус" */
.spabest-details-content h2 + h2,
.spabest-details-content h3 + h3 {
    display: none;
}

/* Исправление позиционирования элементов формы */
.spabest-inline-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spabest-inline-form .form-item {
    margin-bottom: 15px;
}

.spabest-submit-btn {
    align-self: flex-start;
    margin-top: 5px;
}

/* Улучшение отображения цены - правильное позиционирование */
.spabest-single-price-wrap {
    margin-top: 0;
    margin-bottom: 25px;
    padding-top: 0;
}

/* Исправление размера текста в атрибутах товара */
.spabest-single-meta-list .meta-row,
.spabest-single-tax-info .tax-row {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.spabest-single-meta-list .meta-row strong,
.spabest-single-tax-info .tax-row strong {
    font-weight: 400;
    color: #333;
}

/* Улучшение отображения категорий - правильный размер текста */
.spabest-single-tax-info .tax-row {
    font-size: 14px;
    margin-bottom: 10px;
}

/* Исправление отображения заголовка формы */
.spabest-order-form-container {
    margin-top: 30px;
}

.spabest-order-form-container h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Исправление отображения описания под заголовком формы */
.spabest-order-form-container > p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Feedback Form Section Styles */
.feedback-form-section {
    padding: 80px 0;
    background: #fff;
}

.feedback-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.feedback-form-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a3a5a;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.feedback-form-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
}

.feedback-contact-form {
    text-align: left;
    max-width: 100%;
}

.feedback-form-group {
    margin-bottom: 20px;
}

.feedback-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.feedback-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    background: #fff;
}

.feedback-form-control:focus {
    outline: none;
    border-color: #1a3a5a;
}

.feedback-form-control textarea {
    resize: vertical;
    min-height: 120px;
}

.feedback-submit-btn {
    background: #1a3a5a;
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    display: block;
    margin: 30px auto 0;
    text-align: center;
}

.feedback-submit-btn:hover {
    background: #2a4a6a;
}

/* Сообщения об успехе/ошибке */
.feedback-form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.feedback-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.feedback-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .feedback-form-title {
        font-size: 28px;
    }
    
    .feedback-form-description {
        font-size: 14px;
    }
    
    .feedback-submit-btn {
        width: 100%;
        padding: 14px 20px;
    }
}
