/* ========== ОСНОВНЫЕ СТИЛИ ДЛЯ STOCK SLIDER ========== */
.stock-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    
    border-radius: var(--bs-border-radius) !important;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.stock-slider.owl-carousel {
    position: relative;
}

/* Очистка стилей owlCarousel */
.stock-slider .owl-stage-outer {
    overflow: hidden;
}

.stock-slider .owl-stage {
    display: flex !important;
}

.stock-slider .owl-item {
    width: 100% !important;
    flex-shrink: 0;
    min-height: 460px;
}

.stock-slider .item {
    width: 100%;
    height: 100%;
}

.stock-slider-wrapper .item {
    background-color: transparent;
}

/* Навигация owlCarousel */
.stock-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
}

.stock-slider .owl-prev,
.stock-slider .owl-next {
    width: 40px;
    height: 40px;
    background: rgba(42, 47, 53, 0.8) !important;
    color: white !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    transition: all 0.3s ease;
}

.stock-slider .owl-prev:hover,
.stock-slider .owl-next:hover {
    background: #2A2F35 !important;
    transform: scale(1.1);
}

/* Точки навигации */
.stock-slider .owl-dots {
    text-align: center;
    margin-top: 20px;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 10;
}

.stock-slider .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50%;
    margin: 0 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.stock-slider .owl-dot.active {
    background: #2A2F35 !important;
    transform: scale(1.2);
}

.stock-slider .owl-dot:hover {
    background: #2A2F35 !important;
}

/* ========== СТИЛИ ДЛЯ СЛАЙДА 1 - "Кнопка в подарок" ========== */
.modern-slider.slide-gift-button {
    width: 100%;
    max-width: 1200px;
    background: #fff;
   /* border-radius: var(--bs-border-radius) !important;*/
    overflow: hidden;
   /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);*/
    position: relative;
    opacity: 1;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    border-radius: var(--bs-border-radius) !important;
}

.slide-gift-button .slider-container {
    display: flex;
    position: relative;
    min-height: 460px;
}

/* Секция с изображением */
.slide-gift-button .image-section {
    flex: 1.2;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
    display: flex;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.5s ease;
}

.slide-gift-button .image-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: floatBackground 60s linear infinite;
    opacity: 0.3;
}

/* Фоновое изображение */
.slide-gift-button .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/image/slider/secondary/vdn22_4section_ff-8.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: blur(2px) grayscale(0.2);
    z-index: 1;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

/* Фон при открытой двери */
.slide-gift-button .image-section.door-open .background-image {
    opacity: 0.5;
    filter: blur(1px) grayscale(0);
}

/* Контейнер для поверхностной картинки */
.slide-gift-button .foreground-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slide-gift-button .foreground-image {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    animation: floatImage 4s ease-in-out infinite alternate;
}

/* Overlay для изображения */
.slide-gift-button .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  /*  opacity: 0;*/
    transition: opacity 0.3s ease;
    z-index: 3;
    padding-bottom: 40px;
}

.slide-gift-button .image-section:hover .image-overlay {
    opacity: 1;
    
}

.slide-gift-button .click-hint {
    background:#1f2328;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    min-width: 200px;
    justify-content: center;
}

.slide-gift-button .image-section:hover .click-hint:not(.door-open) {
  background:#16181b;
}

.slide-gift-button .click-hint.door-open {
    background: #4CAF50;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(20px);
    animation: hintPulse 1.5s infinite;
}

/* Плавающие иконки для декора */
.slide-gift-button .floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.slide-gift-button .floating-icon {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.1);
    animation: floatAround 20s linear infinite;
}

/* Секция с контентом */
.slide-gift-button .content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 40px 30px;
    z-index: 2;
}

.slide-gift-button .gift-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: var(--bs-border-radius) !important;
    margin-bottom: 30px;
    align-self: flex-start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.slide-gift-button .product-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.1;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.8s ease-out 0.3s forwards;
}

.slide-gift-button .product-subtitle {
    font-size: 18px;
    color: #2A2F35;
    margin-bottom: 0px;
    font-weight: 400;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.8s ease-out 0.5s forwards;
}

.slide-gift-button .divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 10px 0;
}

.slide-gift-button .offer-section {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.7s forwards;
}

.slide-gift-button .offer-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.slide-gift-button .price {
    font-size: 40px;
    font-weight: 700;
    color: #2A2F35;
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
}

.slide-gift-button .features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.9s forwards;
}

.slide-gift-button .feature {
    background: #f8f9fa;
    border-radius: var(--bs-border-radius) !important;
    padding: 12px 20px;
    font-size: 14px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.slide-gift-button .feature:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.slide-gift-button .feature i {
    margin-right: 8px;
    color: #1a1a2e;
}

/* ========== СТИЛИ ДЛЯ СЛАЙДА 2 - "Ключи дешево" ========== */
.modern-slider.slide-cheap-keys {
    width: 100%;
    max-width: 1200px;
    background: #fff;
    border-radius: var(--bs-border-radius) !important;
    overflow: hidden;
   /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);*/
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-cheap-keys .slider-container {
    display: flex;
    position: relative;
    height: 500px;
    min-height: 460px;
}

/* Секция с изображением */
.slide-cheap-keys .image-section {
    flex: 1.2;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
    display: flex;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.5s ease;
}

.slide-cheap-keys .image-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: floatBackground 60s linear infinite;
    opacity: 0.3;
}

/* Фоновое изображение */
.slide-cheap-keys .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: blur(2px) grayscale(0.2);
    z-index: 1;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

/* Контейнер для поверхностной картинки */
.slide-cheap-keys .foreground-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slide-cheap-keys .foreground-image {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    animation: floatImage 4s ease-in-out infinite alternate;
}

/* Overlay для изображения */
.slide-cheap-keys .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    padding-bottom: 40px;
}

.slide-cheap-keys .image-section:hover .image-overlay {
    opacity: 1;
}

.slide-cheap-keys .click-hint {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    min-width: 200px;
    justify-content: center;
}

.slide-cheap-keys .image-section:hover .click-hint:not(.door-open) {
    transform: translateY(0);
}

/* Плавающие иконки для декора */
.slide-cheap-keys .floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.slide-cheap-keys .floating-icon {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.1);
    animation: floatAround 20s linear infinite;
}

/* Секция с контентом */
.slide-cheap-keys .content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 40px 30px;
    z-index: 2;
}

.slide-cheap-keys .gift-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: var(--bs-border-radius) !important;
    margin-bottom: 30px;
    align-self: flex-start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.slide-cheap-keys .product-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.1;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.8s ease-out 0.3s forwards;
}

.slide-cheap-keys .product-subtitle {
    font-size: 18px;
    color: #2A2F35;
    margin-bottom: 0px;
    font-weight: 400;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.8s ease-out 0.5s forwards;
}

.slide-cheap-keys .divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 10px 0;
}

.slide-cheap-keys .offer-section {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.7s forwards;
}

.slide-cheap-keys .offer-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.slide-cheap-keys .price {
    font-size: 40px;
    font-weight: 700;
    color: #2A2F35;
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
}

.slide-cheap-keys .features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.9s forwards;
}

.slide-cheap-keys .feature {
    background: #f8f9fa;
    border-radius: var(--bs-border-radius) !important;
    padding: 12px 20px;
    font-size: 14px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.slide-cheap-keys .feature:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.slide-cheap-keys .feature i {
    margin-right: 8px;
    color: #1a1a2e;
}

/* ========== ОБЩИЕ АНИМАЦИИ ========== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatBackground {
    from { transform: rotate(0deg) translateX(0px); }
    to { transform: rotate(360deg) translateX(0px); }
}

@keyframes floatImage {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6); }
    100% { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

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

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAround {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 50px) rotate(90deg); }
    50% { transform: translate(50px, 100px) rotate(180deg); }
    75% { transform: translate(-50px, 50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Анимация для открытой двери (для слайда 1) */
@keyframes doorOpenPulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4),
                    inset 0 0 0 0 rgba(255, 255, 255, 0.1);
    }
    70% { 
        box-shadow: 0 0 0 20px rgba(46, 204, 113, 0),
                    inset 0 0 20px 10px rgba(255, 255, 255, 0.05);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0),
                    inset 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes doorOpenImage {
    0% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)) brightness(1);
    }
    50% { 
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7)) brightness(1.2);
    }
    100% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)) brightness(1);
    }
}

@keyframes hintPulse {
    0% { box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4); }
    50% { box-shadow: 0 5px 25px rgba(46, 204, 113, 0.8); }
    100% { box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4); }
}

/* ========== МЕДИА-ЗАПРОСЫ ========== */
@media (max-width: 768px) {
    /* Общие стили для мобильных */
    .stock-slider .modern-slider .slider-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .stock-slider .owl-nav {
        display: none;
    }
    
    .stock-slider .owl-dots {
        position: relative;
        bottom: auto;
        margin-top: 15px;
    }
    
    .stock-slider .owl-item {
        min-height: auto;
    }
    
    /* Слайд 1 на мобильных */
    .slide-gift-button .slider-container,
    .slide-cheap-keys .slider-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .slide-gift-button .foreground-image,
    .slide-cheap-keys .foreground-image {
        max-width: 80%;
        max-height: 80%;
    }
    
    .slide-gift-button .content-section,
    .slide-cheap-keys .content-section {
        padding: 40px 30px;
    }
    
    .slide-gift-button .product-title,
    .slide-cheap-keys .product-title {
        font-size: 40px;
    }
    
    .slide-gift-button .image-section,
    .slide-cheap-keys .image-section {
        min-height: 500px;
    }

    #StockSlider .item{
        display: block;
    }
}

@media (max-width: 991.98px) {
    .slide-gift-button .product-title,
    .slide-cheap-keys .product-title {
        font-size: 32px;
    }
    
    .slide-gift-button .product-subtitle,
    .slide-cheap-keys .product-subtitle {
        font-size: 16px;
    }
    
    .slide-gift-button .content-section,
    .slide-cheap-keys .content-section {
        padding: 30px 20px;
    }
    
    .slide-gift-button .feature,
    .slide-cheap-keys .feature {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .slide-gift-button .foreground-image,
    .slide-cheap-keys .foreground-image {
        max-width: 60%;
        max-height: 60%;
        top: 100px;
        position: relative;
    }
    
    .slide-gift-button .click-hint,
    .slide-cheap-keys .click-hint {
        font-size: 11px;
        padding: 8px 15px;
        min-width: 184px;
        position: absolute;
        top: 13px;
    }
    
    .slide-gift-button .image-section,
    .slide-cheap-keys .image-section {
        min-height: 500px;
    }
}

/******************************************************************************************************/
/* Стили для слайда "Ключи дешево" */
/* ========== НОВЫЙ ДИЗАЙН ДЛЯ СЛАЙДА 500px ========== */
.modern-slider.slide-keys-minimal {
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--bs-border-radius) !important;
    overflow: hidden;
    position: relative;
   /* height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;*/
    min-height: 460px;
    height: auto;


    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-keys-minimal .slider-container-minimal {
    position: relative;
    width: 100%;
    height: 100%;
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    overflow: hidden;
}

/* Фоновые ключи - минималистичные */
.keys-bg-minimal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px !important;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.key-float-minimal {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    opacity: 0.15;
    animation-duration: 35s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    will-change: transform;
    
    /* Фиксированный размер */
    width: 90% !important;
    height: 90px !important;
}

.key-float-minimal:hover {
    transform: scale(1.8) !important;
    z-index: 10 !important;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3)) brightness(1.1);
    opacity: 0.8;
    animation-playState: paused;
}

.key-float-minimal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.key-float-minimal:hover img {
    transform: scale(1.1) rotate(5deg);
}

/* Основная компоновка */
.key-layout-minimal {
    position: relative;
    z-index: 2;
    height: 500px !important;
    padding: 30px 35px;
    display: grid;
    grid-template-columns: 0.9fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    box-sizing: border-box;
}

/* Левая часть: Цена */
.price-section-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
    justify-content: center;
}

.price-container-minimal {
    text-align: center;
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.price-big-minimal {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.price-number-minimal {
    font-size: 75px;
    font-weight: 900;
    color: #ffd700;
    line-height: 0.8;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.price-currency-minimal {
    font-size: 32px;
    font-weight: 700;
    color: #ffd700;
}

.price-label-minimal {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 5px;
}

.price-subtitle-minimal {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.price-badge-minimal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

/* Центральная часть: Информация */
.info-section-minimal {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
}

.title-minimal {
    color: white;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-accent-minimal {
    color: #60a5fa;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.comparison-minimal {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-item-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.comparison-label-minimal {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.comparison-value-old {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: 600;
    text-decoration: line-through;
}

.comparison-value-new {
    color: #ffd700;
    font-size: 22px;
    font-weight: 700;
    animation: subtlePulse 2s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

.features-minimal {
    margin-top: 15px;
}

.feature-minimal {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.feature-minimal i {
    color: #60a5fa;
    font-size: 14px;
}

/* Правая часть: Действие */
.action-section-minimal {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}

.types-container-minimal {
    margin-bottom: 20px;
}

.types-title-minimal {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}

.types-grid-minimal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.type-item-minimal {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: white;
    font-size: 13px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.type-item-minimal:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.2);
    transform: translateY(-1px);
}

.type-item-minimal i {
    color: #60a5fa;
    font-size: 14px;
}

.cta-container-minimal {
    text-align: center;
}

.btn-cta-minimal {
   
    color: white;
    border: none;
    padding: 16px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;

    position: relative;
    overflow: hidden;

    background: #4CAF50;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    animation: hintPulse 1.5s infinite;
}



.btn-cta-minimal:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.4);
}

.btn-cta-minimal:active {
    transform: translateY(0);
}

.btn-price-minimal {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 14px;
    margin-left: 8px;
    font-weight: bold;
}

.cta-note-minimal {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.3;
}

/* Декоративные элементы */
.decor-minimal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    pointer-events: none;
    z-index: 1;
}

.decor-circle-minimal {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.05) 0%, transparent 70%);
    animation: decorFloatMinimal 20s linear infinite;
}

.decor-1 {
    width: 150px;
    height: 150px;
    top: -75px;
    right: -75px;
}

.decor-2 {
    width: 100px;
    height: 100px;
    bottom: -50px;
    left: -50px;
    animation-delay: -10s;
}

@keyframes decorFloatMinimal {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(10px, 10px) rotate(90deg);
    }
}

/* Анимации для ключей */
@keyframes keyFloatMinimal1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(0%);
    }
    25% {
        transform: translate(-50%, -50%) rotate(90deg) translateX(8%) translateY(-4%);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(0%) translateY(-6%);
    }
    75% {
        transform: translate(-50%, -50%) rotate(270deg) translateX(-8%) translateY(-4%);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(0%);
    }
}

@keyframes keyFloatMinimal2 {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(-10%);
    }
    50% {
        transform: translate(-50%, -50%) rotate(10deg) translateX(10%);
    }
}

@keyframes keyFloatMinimal3 {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) translateY(-8%);
    }
    50% {
        transform: translate(-50%, -50%) rotate(-5deg) translateY(8%);
    }
}

/* Медиа-запросы */
@media (max-width: 1200px) {
    .key-layout-minimal {
        padding: 25px 30px;
        gap: 25px;
    }
    
    .price-number-minimal {
        font-size: 65px;
    }
    
    .title-minimal {
        font-size: 26px;
    }
}

@media (max-width: 992px) {
    .key-layout-minimal {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        height: auto;
        min-height: 500px;
    }
    
    .price-section-minimal,
    .info-section-minimal,
    .action-section-minimal {
        height: auto;
        padding: 10px 0;
    }
    
    .price-section-minimal {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .price-container-minimal {
        text-align: left;
    }
    
    .price-big-minimal {
        justify-content: flex-start;
    }
    
    .title-minimal {
        font-size: 24px;
        text-align: center;
    }
    
    .comparison-minimal {
        margin: 15px 0;
    }
    
    .types-grid-minimal {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .btn-cta-minimal {
        padding: 14px 20px;
    }
}

@media (max-width: 768px) {
    .key-layout-minimal {
        padding: 15px;
        gap: 15px;
    }
    
    .price-number-minimal {
        font-size: 55px;
    }
    
    .price-currency-minimal {
        font-size: 28px;
    }
    
    .title-minimal {
        font-size: 22px;
    }
    
    .comparison-value-new {
        font-size: 20px;
    }
    
    .comparison-value-old {
        font-size: 16px;
    }
    
    .types-grid-minimal {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .type-item-minimal {
        padding: 8px;
        font-size: 12px;
    }
    
    .btn-cta-minimal {
        font-size: 15px;
        padding: 12px 18px;
    }
    
    .key-float-minimal {
        width: 25px !important;
        height: 25px !important;
        opacity: 0.1;
    }
}

@media (max-width: 480px) {
    .price-section-minimal {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .price-big-minimal {
        justify-content: center;
    }
    
    .price-number-minimal {
        font-size: 50px;
    }
    
    .title-minimal {
        font-size: 20px;
    }
    
    .feature-minimal {
        font-size: 13px;
    }
    
    .key-float-minimal {
        width: 20px !important;
        height: 20px !important;
        opacity: 0.08;
    }
}

/* Гарантируем строгую высоту 500px */
.slide-keys-minimal,
.slider-container-minimal,
.keys-bg-minimal,
.key-layout-minimal {
 /*   max-height: 500px !important;
    overflow: hidden;*/
}
/*
.owl-item .slide-keys-minimal {
    height: 500px !important;
}
*/
/* Дополнительные стили для работающих ключей */
.key-float-simple {
    position: absolute !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    will-change: transform, left, top !important;
    transform-origin: center !important;
}

.keys-bg-minimal {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 500px !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
}


/* <!-- Плавающие иконки для декора (как в первом слайде) --> */
.slide-keys-minimal .floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.slide-keys-minimal .floating-icon {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.1); /* Прозрачный белый для темного фона */
    animation: floatAround 20s linear infinite;
}

/********************************************************/
/* ========== МОБИЛЬНАЯ ВЕРСИЯ СЛАЙДА "КЛЮЧИ ДЕШЕВО" ========== */
@media (max-width: 768px) {
    .modern-slider.slide-keys-minimal {
        min-height: auto !important;
        height: auto !important;
    }

    .slide-keys-minimal .slider-container-minimal {
        /*min-height: auto !important;
        height: auto !important;
        max-height: none !important;*/
        height: 1060px !important;
        max-height: 1060px !important;
    }

    .slide-keys-minimal .key-layout-minimal {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px;
        padding: 20px;
        height: auto;
        min-height: auto;
        max-height: none !important;
    }

    /* Фоновые ключи - скрываем или уменьшаем на мобильных */
    .keys-bg-minimal {
        display: none;
    }

    /* Левая часть: Цена - центрируем */
    .price-section-minimal {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
    }

    .price-container-minimal {
        width: 100%;
    }

    .price-big-minimal {
        justify-content: center;
    }

    .price-number-minimal {
        font-size: 60px;
    }

    .price-currency-minimal {
        font-size: 28px;
    }

    .price-badge-minimal {
        margin-top: 10px;
        align-self: center;
    }

    /* Центральная часть: Информация */
    .info-section-minimal {
        padding: 0;
    }

    .title-minimal {
        font-size: 24px;
        text-align: center;
        margin-bottom: 15px;
    }

    .comparison-minimal {
        margin: 15px 0;
        padding: 12px;
    }

    .comparison-item-minimal {
        padding: 6px 0;
    }

    .comparison-value-new {
        font-size: 18px;
    }

    .comparison-value-old {
        font-size: 16px;
    }

    .features-minimal {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 15px;
    }

    .feature-minimal {
        font-size: 13px;
        padding: 5px 0;
    }

    /* Правая часть: Действие */
    .action-section-minimal {
        gap: 20px;
    }

    .types-container-minimal {
        margin-bottom: 0;
    }

    .types-title-minimal {
        text-align: center;
        margin-bottom: 15px;
        font-size: 16px;
    }

    .types-grid-minimal {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .type-item-minimal {
        padding: 8px;
        font-size: 12px;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .type-item-minimal i {
        font-size: 16px;
    }

    .cta-container-minimal {
        margin-top: 10px;
    }

    .btn-cta-minimal {
        padding: 14px 20px;
        font-size: 16px;
        width: 100%;
    }

    .cta-note-minimal {
        font-size: 11px;
        margin-top: 8px;
    }

    /* Декоративные элементы */
    .decor-minimal {
        display: none;
    }

    /* Плавающие иконки - уменьшаем количество */
    .floating-icons {
        display: none;
    }

    /* Специальные стили для очень маленьких экранов */
    @media (max-width: 480px) {
        .key-layout-minimal {
            padding: 15px;
            gap: 15px;
            height: 1060px;
        }

        .price-number-minimal {
            font-size: 50px;
        }

        .price-currency-minimal {
            font-size: 24px;
        }

        .title-minimal {
            font-size: 22px;
        }

        .types-grid-minimal {
            grid-template-columns: repeat(2, 1fr);
        }

        .type-item-minimal {
            font-size: 11px;
            padding: 6px;
        }

        .btn-cta-minimal {
            padding: 12px 16px;
            font-size: 14px;
        }

        .comparison-minimal {
            padding: 10px;
        }

        .comparison-value-new {
            font-size: 16px;
        }

        .comparison-value-old {
            font-size: 14px;
        }

        .comparison-label-minimal {
            font-size: 12px;
        }
    }

    /* Горизонтальная ориентация на мобильных */
    @media (max-width: 768px) and (orientation: landscape) {
        .key-layout-minimal {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto;
            
        }

        .price-section-minimal {
            grid-column: 1 / 2;
            grid-row: 1 / 2;
        }

        .info-section-minimal {
            grid-column: 2 / 3;
            grid-row: 1 / 2;
        }

        .action-section-minimal {
            grid-column: 1 / 3;
            grid-row: 2 / 3;
            flex-direction: row;
            gap: 20px;
        }

        .types-container-minimal {
            flex: 1;
            margin-bottom: 0;
        }

        .cta-container-minimal {
            flex: 1;
            margin-top: 0;
        }

        .types-grid-minimal {
            grid-template-columns: repeat(3, 1fr);
        }
    }
}

/* Дополнительные медиа-запросы для планшетов */
@media (min-width: 769px) and (max-width: 992px) {
    .key-layout-minimal {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        padding: 20px;
        gap: 20px;
    }

    .price-section-minimal {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        flex-direction: column;
        justify-content: center;
    }

    .info-section-minimal {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .action-section-minimal {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    .types-grid-minimal {
        grid-template-columns: repeat(5, 1fr);
    }

    .keys-bg-minimal .key-float-minimal {
        opacity: 0.08;
        transform: scale(0.7);
    }
}

/* Анимации для мобильных */
@keyframes mobileFloat {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* Улучшаем доступность на мобильных */
@media (max-width: 768px) {
    .type-item-minimal,
    .btn-cta-minimal,
    .feature-minimal {
        min-height: 44px; /* Минимальная высота для удобного тапа */
        display: flex;
        align-items: center;
    }

    .btn-cta-minimal {
        touch-action: manipulation;
    }

    /* Убираем hover-эффекты на тач-устройствах */
    .type-item-minimal:active,
    .btn-cta-minimal:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Оптимизация производительности на мобильных */
@media (max-width: 768px) {
    .slide-keys-minimal {
        will-change: transform;
        backface-visibility: hidden;
        transform: translateZ(0);
    }

    .key-float-minimal {
        animation: none !important;
        display: none !important;
    }
}

/* Поддержка темной темы на мобильных */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .modern-slider.slide-keys-minimal {
        background: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 100%);
    }

    .type-item-minimal {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .comparison-minimal {
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.08);
    }
}