@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Tajawal:wght@400;500;700&display=swap');

.gulf-carousel-wrapper-e7d2cf1a {
    font-family: 'Tajawal', sans-serif;
    background-color: #fdfaf5;
    background-image: radial-gradient(#d4af37 1px, transparent 1px);
    background-size: 24px 24px;
    padding: 50px 20px;
    border-top: 3px solid #d4af37;
    border-bottom: 3px solid #d4af37;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.gulf-carousel-title-e7d2cf1a {
    text-align: center;
    font-family: 'Amiri', serif;
    color: #1a1a1a;
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
}

/* ===== INNER ROW (desktop: arrows on sides) ===== */
.gulf-carousel-inner-e7d2cf1a {
    display: flex;
    align-items: center;
    position: relative;
    gap: 15px;
}

/* ===== CONTAINER ===== */
.gulf-marquee-container-e7d2cf1a {
    flex: 1;
    overflow-x: auto;
    white-space: nowrap;
    padding: 15px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
.gulf-marquee-container-e7d2cf1a:active { cursor: grabbing; }
.gulf-marquee-container-e7d2cf1a::-webkit-scrollbar { display: none; }

/* ===== TRACK ===== */
.gulf-marquee-track-e7d2cf1a {
    display: inline-flex;
    gap: 20px;
    padding: 0 10px;
}

.gulf-marquee-track-e7d2cf1a.is-autoplay {
    animation: marquee-e7d2cf1a 25s linear infinite;
}
.gulf-marquee-container-e7d2cf1a:hover .gulf-marquee-track-e7d2cf1a.is-autoplay,
.gulf-marquee-container-e7d2cf1a:active .gulf-marquee-track-e7d2cf1a.is-autoplay {
    animation-play-state: paused;
}

@keyframes marquee-e7d2cf1a {
    0%   { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* ===== CARD ===== */
.gulf-card-e7d2cf1a {
    display: inline-block;
    flex-shrink: 0;
    background: #fff;
    border: 2px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    white-space: normal;
    text-align: center;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    /* width is set dynamically via JS based on ppv */
}
.gulf-card-e7d2cf1a:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
}
.gulf-card-inner-e7d2cf1a a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.gulf-img-wrapper-e7d2cf1a {
    width: 100%;
    height: 180px;
    border-bottom: 2px solid #f0e6d2;
    overflow: hidden;
}
.gulf-img-e7d2cf1a {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gulf-card-e7d2cf1a:hover .gulf-img-e7d2cf1a { transform: scale(1.05); }
.gulf-card-content-e7d2cf1a { padding: 20px; }
.gulf-card-title-e7d2cf1a {
    font-size: 16px;
    color: #2c3e50;
    margin: 0 0 10px;
    font-weight: 700;
    font-family: 'Amiri', serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gulf-card-price-e7d2cf1a {
    color: #d4af37;
    font-size: 16px;
    font-weight: 700;
}
.gulf-card-price-e7d2cf1a del {
    color: #a0a0a0;
    font-size: 13px;
    margin-right: 6px;
}

/* ===== NAV BUTTONS ===== */
.gulf-nav-btn-e7d2cf1a {
    background: #fff;
    border: 2px solid #d4af37;
    color: #d4af37;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
    padding: 0;
}

.gulf-nav-btn-e7d2cf1a svg {
    fill: #d4af37;
    transition: all 0.3s ease;
    display: block;
}

.gulf-nav-btn-e7d2cf1a:hover {
    background: #d4af37;
    color: #fff;
}

.gulf-nav-btn-e7d2cf1a:hover svg {
    fill: #fff;
}

/* ===== DESKTOP: hide mobile arrows row ===== */
.gulf-mobile-arrows-e7d2cf1a {
    display: none;
}

/* ===== DESKTOP: hide arrows if disabled ===== */
.hide-arrows-desktop .gulf-carousel-inner-e7d2cf1a .gulf-nav-btn-e7d2cf1a {
    display: none !important;
}

/* ===== TABLET (768px – 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .gulf-carousel-title-e7d2cf1a { font-size: 28px; }
}

/* ===== MOBILE (max 767px) ===== */
@media (max-width: 767px) {
    .gulf-carousel-wrapper-e7d2cf1a {
        padding: 30px 10px 20px;
    }
    .gulf-carousel-title-e7d2cf1a {
        font-size: 22px;
        margin-bottom: 16px;
    }

    /* Hide side arrows on mobile */
    .gulf-carousel-inner-e7d2cf1a .gulf-nav-btn-e7d2cf1a {
        display: none !important;
    }

    /* Show bottom arrows row */
    .gulf-mobile-arrows-e7d2cf1a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 16px;
    }

    /* Hide bottom arrows if mobile arrows disabled */
    .hide-arrows-mobile .gulf-mobile-arrows-e7d2cf1a {
        display: none !important;
    }

    .gulf-nav-btn-e7d2cf1a {
        width: 36px;
        height: 36px;
    }

    .gulf-marquee-track-e7d2cf1a {
        gap: 12px;
        padding: 0 5px;
    }
}
