/* === Шрифты === */
@font-face {
    font-family: "Evolventa";
    src: url("https://pandapremiumplus.ru/wp-content/themes/main/assets/fonts/ofont.ru_Evolventa.ttf");
}

@font-face {
    font-family: "Discovery";
    src: url("https://pandapremiumplus.ru/wp-content/themes/main/assets/fonts/ofont.ru_Discovery.ttf");
}

@font-face {
    font-family: "Spectral";
    src: url("https://pandapremiumplus.ru/wp-content/themes/main/assets/fonts/ofont.ru_Spectral.ttf");
}

/* === Базовые стили === */
body {
    margin: 0;
    font-family: 'Evolventa', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: #fff;
}

.Discovery { font-family: 'Discovery'; }
.Spectral { 
    color: white;
    font-family: 'Spectral'; 
}
.Evolventa { 
    color: white;
    font-family: 'Evolventa'; 
}

/* === Шапка === */
.header__logo {
    padding-top: 10px;
    width: 100px;
}

.header__menu {
    color: #000;
}
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.preloader-progress {
    width: 300px;
    max-width: 90%;
}

.progress-bar {
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #98C6BB;
    transition: width 0.3s ease;
}

.loading-text {
    text-align: center;
    margin-top: 15px;
    font-family: 'Evolventa';
    color: #333;
    font-size: 18px;
}

.loading-text span {
    color: #98C6BB;
}
/* === Баннер === */
.full-width-block {
    min-height: 50px;
    width: 100%;
    text-align: center;
    background-color: #98C6BB;
    color: white;
    margin: 25px 0;
    padding: 10px 0;
}

.full-width-block h1 {
    margin: 0;
    font-weight: normal;
}

/* === Логотип компании === */
.logo-company {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 40px;
}

.logo-company img {
    height: 225px;
    width: 400px;
    object-fit: contain;
}

/* === Галерея === */
.container-main {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #f5f5f5;
    margin: 20px 0;
}

.scroller {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    height: 100%;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.scroller img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scroller img.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* === Основной слайдер === */
.main {
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('https://pandapremiumplus.ru/wp-content/themes/main/assets/gallery/back-scroll.png');
    background-size: 100% 100%;
}

.simple-slider {
    position: relative;
    width: 40%;
    margin: 0 auto;
}

.item {
    display: none;
    max-width: 100%;
    margin: 0 auto;
}

.item.active {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Кнопки слайдера */
#prevBtn,
#nextBtn {
    position: absolute;
    top: 50%;
    width: 70px;
    height: 70px;
    transform: translateY(-50%);
    font-size: 50px;
    background: #B7B7B7;
    color: black;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}
.about-link-main{
	
}
.about-link-main {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #FFD600 0%, #FF9900 100%);
    color: black;
    border: none;
    border-radius: 50px;
    padding: 15px 60px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.about-link-main:hover {
    background: linear-gradient(180deg, #FFE44D 0%, #FFB033 100%);
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}
/* === Блок "О нас" === */
.about {
    width: 100%;
    min-height: 600px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 50%;
    text-align: left;
    font-family: 'Discovery';
    font-size: 36px;
    position: relative;
    padding: 80px 65px 25px 65px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: pre-line;
}

.about::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-image: var(--about-background);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 100%;
    z-index: -1;
}

.aboutBorder {
    border: 2px solid #000;
    border-radius: 50px;
    padding: 35px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

#aboutText {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.about-link{
    position: relative;
    background-color: transparent;
    font-family: 'Evolventa';
    font-size: 24px;
    margin: 30px 0 0 auto;
    padding: 10px 60px;
    border: 2px solid #343433;
    border-radius: 25px;
    color: #723720;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-link:hover {
    background: rgba(0,0,0,0.05);
    text-decoration: none;
}
/* Стили для блока вопросов */
/* ====================== АНИМАЦИИ ====================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotateToggle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(45deg);
    }
}

@keyframes rotateToggleBack {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(0deg);
    }
}

/* ====================== СТИЛИ FAQ ====================== */
.product-faq-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.product-faq-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 152, 188, 0.3), transparent);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.4s ease-out;
}

.faq-main-title {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #2c3e50, #4F98BC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.faq-main-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4F98BC, #98C6BB);
    border-radius: 2px;
}

.faq-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.product-faq {
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.faq-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
    opacity: 0;
    transform-origin: center;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-item:nth-child(8) { animation-delay: 0.8s; }
.faq-item:nth-child(9) { animation-delay: 0.9s; }

.faq-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 152, 188, 0.15);
    border-color: rgba(79, 152, 188, 0.2);
}

.faq-item:hover:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(79, 152, 188, 0.1),
        transparent
    );
    animation: shimmer 2s infinite;
}

.faq-item.active {
    border-color: #4F98BC;
    background: linear-gradient(135deg, #ffffff 0%, #f8fdff 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(79, 152, 188, 0.2);
}

.faq-item.active .faq-question {
    color: #2c3e50;
}

.faq-question {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: #333;
    margin: 0;
    padding-right: 40px;
    transition: color 0.3s ease;
}

.faq-question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4F98BC, #6ab7d8);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 152, 188, 0.3);
    transition: all 0.3s ease;
}

.faq-item:hover .faq-question-number {
    animation: pulse 1s infinite;
    background: linear-gradient(135deg, #98C6BB, #4F98BC);
}

.faq-question-text {
    flex-grow: 1;
    line-height: 1.5;
}

.faq-toggle {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f0f7ff, #e3f2fd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #4F98BC;
    font-size: 20px;
    font-weight: 300;
    box-shadow: 0 4px 10px rgba(79, 152, 188, 0.2);
}

.faq-item.active .faq-toggle {
    background: linear-gradient(135deg, #4F98BC, #6ab7d8);
    color: white;
    animation: rotateToggle 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.faq-item:not(.active) .faq-toggle {
    animation: rotateToggleBack 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.faq-answer-content {
    padding-top: 25px;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
    border-top: 1px solid rgba(79, 152, 188, 0.2);
    margin-top: 25px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease 0.2s;
}

.faq-item.active .faq-answer-content {
    opacity: 1;
    transform: translateY(0);
    animation: slideInRight 0.5s ease-out 0.2s both;
}

/* Индикатор цветового акцента */
.faq-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #4F98BC, #98C6BB);
    border-radius: 20px 0 0 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active:after {
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .faq-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-faq-section {
        padding: 40px 15px;
    }
    
    .faq-main-title {
        font-size: 32px;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .faq-item {
        padding: 25px;
    }
    
    .faq-question {
        font-size: 16px;
        padding-right: 35px;
    }
    
    .faq-question-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 15px;
    }
    
    .faq-toggle {
        right: 25px;
        top: 25px;
        width: 24px;
        height: 24px;
        font-size: 18px;
    }
    
    .faq-answer-content {
        font-size: 15px;
        padding-top: 20px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .faq-main-title {
        font-size: 28px;
    }
    
    .faq-subtitle {
        font-size: 16px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-question {
        font-size: 15px;
    }
    
    .faq-question-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
        margin-right: 12px;
    }
}

/* Эффект загрузки для новых вопросов */
.faq-item.loading {
    position: relative;
    overflow: hidden;
}

.faq-item.loading:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 1.5s infinite;
}
/* === Иконки преимуществ === */
.icon-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
    padding: 40px;
    margin: 20px 0;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.icon-text {
    font-family: 'Discovery';
    font-size: 28px;
    margin: 0;
    color: #333;
}

/* === Корзина === */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 600px;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.cart.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.close-cart {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    padding: 5px;
}

.close-cart:hover {
    color: #ff0000;
}

.cart-content {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

#cartItems {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-image {
    width: 80px;
    object-fit: cover;
    border-radius: 8px;
}

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

.quantity-button {
    background-color: #98C6BB;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-button:hover {
    background-color: #7aa89d;
}

.quantity {
    font-size: 16px;
    min-width: 30px;
    text-align: center;
}

.button-cart {
    color: white;
    height: 40px;
    border: none;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    margin-top: 20px;
    transition: opacity 0.3s ease;
}

.button-cart:hover {
    opacity: 0.9;
}

.clear-cart {
    background-color: #ff4d4d;
}

.buy-cart {
    background-color: #98c6bb;
}
.cart-toggle {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    font-size: 24px;
}

.cart-toggle:focus {
    outline: none;
}
/* === Модальное окно заказа === */
.cart-modal {
    display: none;                    /* скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    padding: 20px 10px;               /* отступы сверху/снизу и по бокам */
    box-sizing: border-box;
    overflow-y: auto;                 /* позволяет прокручивать оверлей, если модалка не помещается */
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
}

/* Центрирующий контейнер внутри оверлея (нужен для правильного поведения) */
.cart-modal .modal-wrapper {
    display: flex;
    align-items: flex-start;          /* на мобильных — начинать сверху */
    justify-content: center;
    min-height: 100%;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Само модальное окно */
.modal-content {
    position: relative;
    background: white;
    padding: 25px;
    width: 100%;
    max-height: 90vh;                 /* не выше 90% экрана */
    overflow-y: auto;                 /* внутренняя прокрутка при большом контенте */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    margin-top: 20px;                 /* дополнительный отступ сверху на мобильных */
}

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

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Валидация */
.validation-error {
    color: #ff4444;
    font-size: 12px;
    display: none;
    margin-top: 5px;
}

input:invalid,
textarea:invalid {
    border-color: #ff4444 !important;
}

input:invalid + .validation-error,
textarea:invalid + .validation-error {
    display: block;
}

/* === Уведомления === */
.notification-popup {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #98C6BB;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10001;
}

.popup-content {
    position: relative;
}

.close-popup {
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    background: none;
    border: none;
}

#notificationText strong {
    font-size: 24px;
    letter-spacing: 1px;
    color: #2c3e50;
    display: block;
    margin-bottom: 10px;
}

/* === Адаптивность === */
@media (max-width: 1700px) {
    .about {
        font-size: 30px;
    }
}

@media (max-width: 1225px) {
    .about {
        font-size: 28px;
        padding: 60px 40px;
    }
    .simple-slider {
        width: 90%;
    }
}

@media (max-width: 992px) {
    .logo-company img {
        width: 300px;
        height: auto;
    }
    .scroller img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .main {
        height: 400px;
    }

    .about {
        font-size: 24px;
        padding: 40px 20px;
        min-height: 400px;
    }

    .aboutBorder {
        padding: 15px 30px;
    }

    .about-link {
        font-size: 18px;
        padding: 8px 30px;
    }

    .icon-section {
        padding: 20px;
        gap: 20px;
    }

    .icon-item {
        gap: 25px;
    }

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

    .icon-text {
        font-size: 20px;
    }

    .cart {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    #prevBtn,
    #nextBtn {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }

    .about {
        font-size: 20px;
        padding: 20px 15px;
    }

    .about-link {
        font-size: 16px;
        padding: 6px 20px;
    }

    .icon-text {
        font-size: 18px;
    }

    .modal-content {
        padding: 15px;
    }
	.full-width-block h1{
		font-size:20px;
	}
}

/* === Вспомогательные элементы === */
.hrLast {
    height: 2px;
    background-color: #6A6A6A;
    margin-bottom: 40px;
}

.hp-field {
    display: none !important;
}
.footer__ofer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Позволяет элементам переноситься на новую строку на мобильных */
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 60px; /* Увеличиваем расстояние между пунктами */
  font-size: 25px;
  margin-bottom: 40px;
}

/* Адаптив для планшетов */
@media (max-width: 768px) {
  .footer__ofer {
    gap: 30px; /* Немного уменьшаем расстояние на планшетах */
  }
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
  .footer__ofer {
    gap: 20px; /* Еще уменьшаем расстояние на мобильных */
  }
}

/* Если на мобильных нужно сделать вертикальное расположение */
@media (max-width: 360px) {
  .footer__ofer {
    flex-direction: column; /* Вертикальное расположение */
    gap: 15px; /* Вертикальный отступ между пунктами */
    text-align: center; /* Выравниваем текст по центру */
  }
}

.footer__ofer_link {
  text-decoration: none;
  white-space: nowrap; /* Запрещаем перенос текста внутри ссылок */
}

/* Адаптив для мобильных - разрешаем перенос текста */
@media (max-width: 480px) {
  .footer__ofer_link {
    white-space: normal; /* Разрешаем перенос текста */
    text-align: center;
  }
}
/* Адаптация под десктоп */
@media (min-width: 769px) {
    .cart-modal .modal-wrapper {
        align-items: center;          /* на больших экранах — по центру вертикали */
    }
    
    .modal-content {
        margin-top: 0;                /* убираем лишний отступ сверху */
    }
    
    .cart-modal {
        padding: 40px 10px;
        overflow-y: hidden;           /* на десктопе скролл оверлея не нужен */
    }
}

/* Мелкие улучшения для мобильных */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        margin-top: 10px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px !important;   /* предотвращаем зум на iOS */
    }
}
/* Стили для pop-up - безопасная интеграция */
#specialOfferPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: inherit;
}

#specialOfferPopup .popup-container {
    width: 90%;
    max-width: 420px;
    animation: popupSlideIn 0.5s ease;
}

#specialOfferPopup .popup-content {
    background: linear-gradient(135deg, #98C6BB, #ffffff); /* Изменен на #98C6BB */
    border-radius: 20px;
    padding: 30px;
    color: #2c3e50; /* Темный текст для контраста */
    position: relative;
    box-shadow: 0 10px 40px rgba(152, 198, 187, 0.3); /* Изменен цвет тени */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#specialOfferPopup .popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(79, 152, 188, 0.2); /* #4F98BC с прозрачностью */
    border: none;
    border-radius: 50%;
    color: #4F98BC; /* Изменен цвет текста */
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: all 0.3s ease;
}

#specialOfferPopup .popup-close:hover {
    background: rgba(79, 152, 188, 0.3); /* #4F98BC с прозрачностью */
    transform: rotate(90deg);
}

#specialOfferPopup .offer-badge {
    background: linear-gradient(180deg, #4F98BC 0%, #3a7a9e 100%); /* Изменен на #4F98BC */
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white; /* Белый текст на синем фоне */
    box-shadow: 0 4px 12px rgba(79, 152, 188, 0.3); /* Изменен цвет тени */
}
.offer-bage{
	background: #4791B5;
}
.offer-text{
	color:white;
}
#specialOfferPopup .popup-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
    color: #2c3e50; /* Темный цвет вместо градиента */
}

#specialOfferPopup .offer-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: linear-gradient(60deg, #FDAC3D, #D07A05);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

#specialOfferPopup .offer-item:hover {
    transform: translateX(5px);
    opacity: 0.9;
}

#specialOfferPopup .offer-icon {
    width: 40px;
    height: 40px;
/*     background: linear-gradient(180deg, #4F98BC 0%, #3a7a9e 100%); /* Изменен на #4F98BC */
	background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    flex-shrink: 0;
    color: white; /* Белые иконки на синем фоне */
}

#specialOfferPopup .highlight {
    font-weight: bold;
}

#specialOfferPopup .popup-action-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(180deg, #4F98BC 0%, #3a7a9e 100%); /* Изменен на #4F98BC */
    border: none;
    border-radius: 12px;
    color: white; /* Белый текст на синем фоне */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(79, 152, 188, 0.4); /* Изменен цвет тени */
    position: relative;
    overflow: hidden;
    animation: pulseBtn 2s infinite;
	letter-spacing: 2px;
}

#specialOfferPopup .popup-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 152, 188, 0.6); /* Изменен цвет тени */
}

#specialOfferPopup .popup-action-btn:active {
    transform: translateY(-1px);
}

#specialOfferPopup .popup-action-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    border-radius: 12px;
}

#specialOfferPopup .popup-timer {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.8;
    color: #4F98BC; /* Изменен цвет текста */
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulseBtn {
    0% {
        box-shadow: 0 6px 20px rgba(79, 152, 188, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(79, 152, 188, 0.7);
    }
    100% {
        box-shadow: 0 6px 20px rgba(79, 152, 188, 0.4);
    }
}

@media (max-width: 480px) {
    #specialOfferPopup .popup-content {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    #specialOfferPopup .popup-title {
        font-size: 24px;
    }
    
    #specialOfferPopup .offer-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
.acf-field-select .acf-input select option {
    padding-left: 30px;
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 18px 18px;
}

/*куки*/
.gdpr-cb-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgb(182, 218, 210);    
    color: #2c3e50;                
    padding: 14px 20px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.5);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 14.5px;
    line-height: 1.4;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  .gdpr-cb-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }

  .gdpr-cb-text {
    max-width: 520px;
  }

  .gdpr-cb-link {
    color: black;                
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .gdpr-cb-link:hover,
  .gdpr-cb-link:focus {
    color: black;
  }

  .gdpr-cb-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .gdpr-cb-btn {
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 0;
    white-space: nowrap;
  }

  .gdpr-cb-accept {
    background: rgb(152, 198, 187);           /* основной цвет кнопки */
    color: white;
  }

  .gdpr-cb-accept:hover,
  .gdpr-cb-accept:focus {
    background: rgb(130, 175, 164);           /* более тёмный при наведении */
    transform: translateY(-1px);
  }

  .gdpr-cb-reject {
    background: transparent;
    color: #93C5FD;                /* тот же светло-синий, что и ссылка */
    border: 1px solid #334155;     /* серо-синяя рамка */
  }

  .gdpr-cb-reject:hover,
  .gdpr-cb-reject:focus {
    background: rgba(30, 64, 175, 0.12);  /* лёгкий оттенок основного цвета */
    border-color: #60A5FA;
  }

  @media (max-width: 560px) {
    .gdpr-cb-banner {
      flex-direction: column;
      padding: 18px 16px;
      gap: 16px;
    }
  }