
.popup_items__list-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
    z-index: 99999999;
}

.popup_items__list-overlay.active {
    display: flex;
}

.popup_items__list-container {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.popup_items__close-btn {
    position: absolute;
    top: 16px;
    z-index: 20;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

[dir="ltr"] .popup_items__close-btn {
    right: 16px;
}

[dir="rtl"] .popup_items__close-btn {
    left: 16px;
}

.popup_items__close-btn:hover {
    background: #f3f4f6;
}

.popup_items__slider-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.popup_items__slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.7s ease-in-out;
}

[dir="ltr"] .popup_items__slider-wrapper {
    transform-origin: left;
}

[dir="rtl"] .popup_items__slider-wrapper {
    transform-origin: right;
    direction: ltr;
}

.popup_items__slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.popup_items__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2) 50%, transparent);
}

.popup_items__nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.popup_items__nav-btn:hover {
    background: white;
}

.popup_items__nav-btn.prev {
    left: 16px;
}

.popup_items__nav-btn.next {
    right: 16px;
}

[dir="rtl"] .popup_items__nav-btn.prev {
    left: auto;
    right: 16px;
}

[dir="rtl"] .popup_items__nav-btn.next {
    right: auto;
    left: 16px;
}

[dir="rtl"] .popup_items__nav-btn.prev svg {
    transform: rotate(180deg);
}

[dir="rtl"] .popup_items__nav-btn.next svg {
    transform: rotate(180deg);
}

.cta-container {
    padding: 10px 15px;
    background: white;
}

.cta-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    max-height: 300px;
    overflow-y: auto;
}

.cta-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1 1 30%;
}

.cta-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 18px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 0 0;
    overflow: hidden;
    background: #ffa22e;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    transition: background 0.2s;
}

.cta-text {
    display: flex;
    flex: 1 1 auto;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.cta-btn .cta-icon {
    background-color: #ec8d10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
}

.cta-btn svg {
    width: 30px;
    height: 30px;
    transition: transform 0.2s;
    background: #b16d11;
    border-radius: 100%;
}

[dir="ltr"] .cta-btn:hover svg {
    transform: scale(1.1);
}

[dir="rtl"] .cta-btn:hover svg {
    transform: scale(-1.1);
}

[dir="rtl"] .cta-btn svg {
    transform: rotate(180deg);
}

.cta-btn:hover {
    background: #ec8d10;
}

.dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 32px;
    background: #ab9261;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .cta-item{
        width: 100%;
        flex: none;
    }

    .popup_items__slider-container {
        height: 300px;
    }
}
