/**
 * Offer Slider Widget Styles
 */

.agadir-offer-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    text-transform: none;
}

/* Header */
.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.offer-header-left {
    display: flex;
    gap: 50px;
    align-items: center;
}

.offer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    margin: 0;
    white-space: nowrap;
}

.offer-price-inline {
    display: flex;
    gap: 5px;
    align-items: center;
    white-space: nowrap;
}

.offer-price-inline .price-label {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 10px;
    color: #000000;
    opacity: 0.5;
}

.offer-price-inline .price-value {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    color: #ff5e00;
}

/* Tags */
.offer-tags {
    display: flex;
    gap: 10px;
    align-items: center;
}

.offer-tag {
    padding: 5px 10px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 10px;
    white-space: nowrap;
    text-transform: uppercase;
}

.offer-tag-filled {
    background-color: #ff5e00;
    color: #ffffff;
}

.offer-tag-outlined {
    background-color: transparent;
    border: 1px solid #ff5e00;
    color: #ff5e00;
}

/* Slider */
.agadir-offer-slider {
    width: 100%;
    height: 400px;
    overflow: visible;
}

.agadir-offer-slider .swiper-wrapper {
    height: 100%;
}

.agadir-offer-slider .swiper-slide {
    height: auto;
}

/* Slide Link */
.slide-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Slide Card */
.slide-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-bottom: 1px solid #d0d0d0;
}

.slide-card:not(last-of-type) {
    padding-right: 20px;
}

.slide-image {
    width: 100%;
    flex: 1;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    position: relative;
}

.slide-image img {
    width: 100%;
    height: 100% !important;
    position: absolute;
    object-fit: cover;
    object-position: center;
    transition: transform 0.2s ease-in-out;
}

.slide-content {
    background-color: white !important;
    border-right: 1px solid #f6f6f6;
    border-left: 1px solid #f6f6f6;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.slide-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.4em;
    color: #000000;
    margin: 0;
    transition: font-size 0.2s ease-in-out;
}

.slide-description {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #000000;
    margin: 0;
}

/* Decorator */
.slide-decorator {
    position: absolute;
    bottom: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background-color: #ff5e00;
    border-radius: 50%;
}

/* Hover Effects */
.slide-card-link:hover .slide-image img,
.slide-card:hover .slide-image img {
    transform: scale(1.1);
}

.slide-card-link:hover .slide-title,
.slide-card:hover .slide-title {
    font-size: 1.6em !important;
}

/* Footer */
.offer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

/* Footer Price */
.offer-price-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.offer-price-footer .price-label {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 10px;
    color: #000000;
    opacity: 0.5;
}

.offer-price-footer .price-value {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    color: #ff5e00;
}

/* WhatsApp Button */
.whatsapp-button {
    display: flex;
    align-items: center;
    gap: 0.2em;
    background-color: #25D366;
    color: #ffffff;
    padding: 0.5em 1em;
    border-radius: 80px;
    text-decoration: none;
    font-family: var( --e-global-typography-5d167aa-font-family ), Sans-serif;
    font-weight: 700;
    font-size: 1em;
    letter-spacing: -0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .agadir-offer-slider-wrapper {
        max-width: 100%;
    }
    
    .offer-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .offer-tags {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .offer-header-left {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .offer-title {
        font-size: 20px;
    }
    
    .slide-card {
        padding-right: 10px;
    }

    .offer-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .whatsapp-button {
        width: 100%;
        justify-content: center;
    }
}

