.winter-slider-section {
    width: 100%;
    height: 570px;
    margin: 60px 0 160px;
    position: relative;
    font-family: "Monserrat", Sans-serif !important;
}

.winter-slide-left-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 2;
    background-color: #F5F5F5A6;
}

.winter-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

.winter-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out, visibility 0.6s;
}

.winter-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.winter-slide-background {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Текстът остава само в лявата половина (не върху снимката) */
.winter-slide-view-container {
    position: relative;
    width: 50%;
    max-width: 50%;
    margin: 0;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: max(30px, calc((100% - min(1348px, 100%)) / 2));
    padding-right: 24px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    z-index: 3;
    min-width: 0;
}

.winter-slide-content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 40px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.winter-slide-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.winter-slide-counter {
    position: relative;
    font-size: 18px;
    font-weight: 400;
    color: #2f2f2f;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    max-width: 100%;
}

.winter-slide-counter-current {
    font-size: 18px;
    font-weight: 500;
}

.winter-slide-counter-line {
    position: relative;
    flex: 1 1 auto;
    min-width: 48px;
    max-width: 220px;
    height: 2px;
    background:rgba(194, 194, 194, 0.5);
    overflow: hidden;
}

.winter-slide-counter-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #2f2f2f;
    transition: width 0.3s ease;
}

.winter-slide-counter-total {
    font-size: 18px;
    font-weight: 300;
}

.winter-slide-title {
    font-size: 30px;
    font-weight: 400;
    line-height: 42px;
    color: #2f2f2f;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.winter-slide-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 29px;
    color: #2f2f2f;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.winter-slider-buttons-container {
    position: absolute;
    bottom: -95px;
    width: 100%;
}

.winter-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #D1C5B526;
    z-index: 1;
    border-radius-bottom-right: 6px;
}

.winter-slide-buttons {
    position: relative;
    width: 50%;
    max-width: 50%;
    margin: 0;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: max(30px, calc((100% - min(1348px, 100%)) / 2));
    padding-right: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    min-width: 0;
}

.winter-slide-button {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #2f2f2f;
    background: transparent;
    color: #2f2f2f;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    border-radius: 6px;
}

.winter-slide-button.button-secondary {
    background: #2F2F2F;
    color: #FFFFFF;
}

.winter-slide-button.button-primary:hover,
.winter-slide-button.button-secondary:hover {
    background: #D1C5B5;
    color: #2F2F2F;
    border: 1px solid #D1C5B5;
}

.winter-slider-navigation {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: clamp(6px, 1.5vw, 10px);
}

.winter-slider-nav-button {
    background: transparent;
    border: 1px solid transparent;
    color: #2F2F2F;
    font-size: clamp(14px, 2.2vw, 18px);
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 15px);
    padding: 4px clamp(10px, 2vw, 20px);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
    min-width: 0;
    flex-shrink: 1;
}

.winter-slider-nav-button:focus {
    border: 1px solid #2F2F2F;
    background: #FFFFFF;
    color: #2F2F2F
}
.winter-slider-nav-button .arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.winter-slider-nav-button .arrow img {
    display: block;
    width: auto;
    height: clamp(32px, 5vw, 48px);
}

.winter-slider-nav-button.prev {
    flex: 0 1 auto;
    flex-direction: row;
    background: #D1C5B559;
    box-shadow: none;
}
.winter-slider-nav-button:hover.prev {
    border: 1px solid #2F2F2F;
}

.winter-slider-nav-button.next {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: row-reverse;
    text-align: right;
}
.winter-slider-nav-button:hover.next {
    border: 1px solid #2F2F2F;
    background: #FFFFFF;
    color: #2F2F2F;
}

.winter-slider-nav-text {
    display: flex;
    gap: clamp(4px, 1vw, 8px);
    min-width: 0;
    align-items: center;
}

.winter-slider-nav-button.next .winter-slider-nav-text {
    flex: 1 1 auto;
    overflow: hidden;
}

.winter-slider-nav-label {
    font-size: inherit;
    color: #2F2F2F;
    flex-shrink: 0;
}
.hotel-slider-navigation .winter-slider-nav-button.next .winter-slider-nav-text {
    font-weight: 500 !important;
}

.winter-slider-nav-title {
    font-size: inherit;
    font-weight: 300;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1024px) {
    .winter-slide-content {
        padding: 0 40px;
    }
    
    .winter-slide-title {
        font-size: 26px;
    }
    
    .winter-slide-description {
        font-size: 16px;
    }
    
    .winter-slider-navigation {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .winter-slider-section {
        height: auto;
        margin: 30px 0 60px;
    }
    
    .winter-slider-wrapper {
        height: auto;
    }
    
    .winter-slide {
        position: static;
        height: auto;
        display: none;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
    }
    
    .winter-slide.active {
        display: flex;
    }
    
    .winter-slide-background {
        position: relative;
        left: 0;
        width: 100%;
        height: 350px;
        order: 2;
    }
    
    .winter-slide-left-panel {
        display: none;
    }
    
    .winter-slide-counter {
        justify-content: center;
        width: 100%;
    }
    
    .winter-slide-counter-line {
        flex: 1;
        min-width: 0;
        width: auto;
    }
    
    .winter-slide-counter-line-fill {
        background: #A8875E;
    }
    
    .winter-slide-view-container {
        position: relative;
        order: 1;
        background: #fff;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px 14px;
        box-sizing: border-box;
    }
    
    .winter-slide-content {
        padding: 0;
        height: auto;
        max-width: 100%;
        gap: 30px;
    }
    
    .winter-slide-main-content {
        text-align: center;
        gap: 20px;
    }
    
    .winter-slide-title {
        font-size: 30px;
        line-height: 34px;
        font-weight: 300;
    }
    
    .winter-slide-description {
        font-size: 16px;
        line-height: 26px;
    }
    
    .winter-slider-navigation {
        margin-top: 0;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }
    
    .winter-slider-nav-button {
        width: 70px !important;
        height: 50px;
        justify-content: center;
        padding: 10px;
        border-radius: 10px;
        border: none;
        flex: 0 0 70px;
    }

    .winter-slider-nav-button.prev {
        flex: 0 0 70px;
    }

    .winter-slider-nav-button.next {
        flex: 0 0 70px;
    }

    .winter-slider-nav-button .arrow img {
        height: 46px;
    }
    
    .winter-slider-nav-text,
    .winter-slider-nav-label,
    .winter-slider-nav-title {
        display: none;
    }
    
    .winter-slider-buttons-container {
        position: static;
        order: 3;
        bottom: auto;
        background: #fff;
        padding: 0 14px 30px;
        margin-top:20px;
    }
    
    .winter-slider-overlay {
        display: none;
    }
    
    .winter-slide-buttons {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        padding: 0;
        margin: 0;
        align-items: stretch;
    }
    
    .winter-slide-button {
        text-align: center;
        width: 100%;
        max-width: none;
        padding: 16px 20px;
        font-size: 16px;
        font-weight: 300;
        text-transform: uppercase;
    }
    
    .winter-slide-button.button-primary {
        background: #FFFFFF;
        border: 1px solid #2F2F2F;
        color: #2F2F2F;
    }
    
    .winter-slide-button.button-secondary {
        background: #2F2F2F;
        border: 1px solid #2F2F2F;
        color: #FFFFFF;
    }
}
