/**
 * Special Offers Section Styles
 * 
 * Styles for the special offers shortcode section
 * Based on The Iron Fairies Figma design
 * 
 * @package Nexter Child
 * @version 1.0.0
 */

/* Special Offers Container */
.special-offers {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.special-offers__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
}

/* Left Panel - Static Content */
.special-offers__content {
    background-color: #090000;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0px 30px 0px 60px;
}

.special-offers__text {
    display: flex;
    flex-direction: column;
    gap: 41px;
}

.special-offers__title {
    font-family: var(--font-primary);
    font-size: 64px !important;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin: 0;
    letter-spacing: 0;
}

.special-offers__description {
    margin-bottom: 30px;
}

.special-offers__description p {
    color: var(--color-text);
    margin: 0;
}

/* Right Panel - Sliding Content */
.special-offers__slider {
    overflow: hidden;
    position: relative;
}

.special-offers__track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.special-offers__slide {
    flex-shrink: 0;
    position: relative;
    height: 620px;
    width: 100%;
}

.special-offers__slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}

/* Slide Image */
.special-offers__image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.special-offers__image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.special-offers__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.4) 100%
    );
}

/* Slide Content */
.special-offers__slide-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Empty State */
.special-offers--empty {
    padding: 80px;
    text-align: center;
    background-color: #090000;
    color: var(--color-text);
}

.special-offers--empty p {
    font-family: var(--font-text);
    font-size: 18px;
    margin: 0;
}

/* Responsive Breakpoints */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .special-offers__container {
        min-height: 600px;
    }
    
    .special-offers__content {
        padding: 60px 0px;
    }
    
    .special-offers__title {
        font-size: 48px;
    }
    
    .special-offers__slide {
        width: 600px;
        height: 600px;
    }
    
    .special-offers__badge,
    .special-offers__slide-title {
        font-size: 28px;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .special-offers__container {
      display: flex;
        flex-direction: column;
        min-height: auto;
    }
    
    .special-offers__content {
        width: 100%;
        max-width: none;
        padding: 51px 0px 39px;
        min-height: 343px;
    }
    
    .special-offers__text {
        max-width: 342px;
        gap: 30px;
    }
    
    .special-offers__title {
        font-size: 28px !important;
        line-height: 32px;
        white-space: nowrap;
    }
    
    .special-offers__description {
        margin-bottom: 21px;
    }
    
    .special-offers__description p {
        width: 100%;
    }
    
    .special-offers__slider {
        width: 100%;
        max-width: none;
    }
    
    .special-offers__slide {
        width: 390px;
        height: 390px;
    }
    
    .special-offers__badge,
    .special-offers__slide-title {
        font-size: 24px;
    }
    
    .special-offers__cta {
        bottom: 50px;
        min-width: 200px;
        height: 40px;
        font-size: 14px;
        padding: 8px 18px;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .special-offers__content {
        padding: 40px 0px;
    }
    
    .special-offers__text {
        max-width: 300px;
        gap: 25px;
    }
    
    .special-offers__title {
        font-size: 24px;
        line-height: 28px;
    }
    
    .special-offers__slide {
        width: 320px;
        height: 320px;
    }
    
    .special-offers__badge,
    .special-offers__slide-title {
        font-size: 20px;
    }
}

/* Navigation Arrows - Component Styles Integration */
.special-offers .carousel-nav {
    justify-content: flex-start;
}

.special-offers .carousel-nav__btn {
    background-color: rgba(162, 141, 68, 0.9);
    border: 1px solid rgba(162, 141, 68, 0.3);
}

.special-offers .carousel-nav__btn:hover:not(.disabled) {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.special-offers .carousel-nav__btn.disabled {
    opacity: 0.3;
    background-color: rgba(162, 141, 68, 0.5);
}

@media (max-width: 767px) {
    .special-offers .carousel-nav {
        gap: 14px;
    }
}