/**
 * Category Showcase Design System (Modular, Reusable Assets)
 * Available designs for 8+ Dubai Lifestyle Categories:
 * 1. Thematic 3-Slide Showcase (.cat-thematic-*)
 * 2. Non-Blocking Snap Ribbon (.cat-ribbon-*)
 * 3. Luxury Lifestyle Bento Grid (.cat-bento-*)
 * 4. Design Switcher Widget (.cat-tester-*)
 */

/* ==========================================================================
   1. THEMATIC HORIZONTAL SCROLL SHOWCASE (.cat-thematic-*)
   ========================================================================== */
/* Ensure GSAP pin-spacer and interactive elements allow pointer events and link navigation */
.pin-spacer,
.pin-spacer-catThematicSection,
.pin-spacer>.cat-thematic-section {
    pointer-events: auto !important;
}

.cat-thematic-section {
    position: relative;
    width: 100%;
    background: transparent;
    overflow: visible;
    pointer-events: auto !important;
}

.cat-thematic-sticky-wrap {
    position: relative;
    width: 100%;
    padding: 60px 0 70px;
    box-sizing: border-box;
    pointer-events: auto;
}

.cat-thematic-viewport,
.cat-thematic-track,
.cat-thematic-slide,
.cat-thematic-slide-inner,
.cat-thematic-hero,
.cat-thematic-cards-stack {
    pointer-events: auto;
}

@media (min-width: 992px) {
    .cat-thematic-section.is-pinned {
        position: relative;
    }

    .cat-thematic-sticky-wrap {
        padding: 40px 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }
}

.cat-thematic-header {
    margin-bottom: 28px;
}

.cat-thematic-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cat-thematic-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--habibi-gold, #c5a880);
}

.cat-thematic-progress {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.cat-thematic-progress-bar {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, #c5a880 0%, #e5c378 100%);
    box-shadow: 0 0 10px rgba(229, 195, 120, 0.5);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.cat-thematic-title {
    font-family: 'Antonio', sans-serif;
    font-size: clamp(34px, 4.8vw, 54px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.cat-thematic-title-gold {
    color: var(--habibi-gold, #c5a880);
    font-weight: 400;
    margin-left: 6px;
}

.cat-thematic-lead {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14.5px;
    margin: 0;
}

.cat-thematic-viewport {
    width: 100%;
    position: relative;
}

.cat-thematic-track {
    display: flex;
    gap: 30px;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px max(15px, calc((100vw - 1320px) / 2)) 20px;
    will-change: transform;
}

.cat-thematic-track::-webkit-scrollbar {
    display: none;
}

.cat-thematic-slide {
    flex: 0 0 min(1200px, calc(100vw - 40px));
    width: min(1200px, calc(100vw - 40px));
    scroll-snap-align: center;
    box-sizing: border-box;
}

h4.cat-thematic-card-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: calc(100% - 60px);
    font-size: 28px !Important;
}

@media (max-width: 991px) {
    .cat-thematic-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }
    .cat-thematic-viewport::-webkit-scrollbar {
        display: none;
    }
    .cat-thematic-track {
        gap: 16px;
        padding: 10px 16px 20px;
        width: max-content;
    }
    .cat-thematic-slide {
        flex: 0 0 calc(100vw - 32px);
        width: calc(100vw - 32px);
        max-width: 520px;
        scroll-snap-align: center;
    }
}

.cat-thematic-slide-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 22px;
    background: linear-gradient(145deg, rgba(22, 18, 14, 0.95) 0%, rgba(12, 11, 10, 0.98) 100%);
    border: 1px solid rgba(197, 168, 128, 0.22);
    border-radius: 28px;
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(197, 168, 128, 0.05);
    min-height: 650px;
}

@media (max-width: 991px) {
    .cat-thematic-slide-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 18px;
        gap: 16px;
        border-radius: 22px;
    }
}

/* Left Hero Column */
.cat-thematic-hero {
    border-radius: 20px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-height: 480px;
    border: 1px solid rgba(197, 168, 128, 0.18);
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    background: #12100e;
}

@media (max-width: 991px) {
    .cat-thematic-hero {
        min-height: 320px;
        padding: 24px 20px;
    }
}

.cat-thematic-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}



.cat-thematic-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 12, 10, 0.15) 0%, rgba(14, 12, 10, 0.55) 45%, rgba(14, 12, 10, 0.96) 100%);
    z-index: 1;
    pointer-events: none;
}

.cat-thematic-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    pointer-events: auto;
}

.cat-thematic-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e5c378 0%, #c5a880 100%);
    color: #0b0b0e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    width: max-content;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(197, 168, 128, 0.3);
}

.cat-thematic-hero-title {
    font-family: 'Antonio', sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cat-thematic-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 18px;
    max-width: 480px;
}

.cat-thematic-hero-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--habibi-gold, #c5a880);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 700;
}

.cat-thematic-gold-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--habibi-gold, #c5a880);
    box-shadow: 0 0 8px var(--habibi-gold, #c5a880);
}

/* Right Stack Column */
.cat-thematic-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.cat-thematic-card {
    flex: 1;
    min-height: 220px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 24px;
    text-decoration: none;
    border: 1px solid rgba(197, 168, 128, 0.18);
    background: #141210;
    box-sizing: border-box;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    pointer-events: auto !important;
}

@media (max-width: 991px) {
    .cat-thematic-card {
        min-height: 180px;
        padding: 18px 20px;
    }
}

.cat-thematic-card:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: rgba(229, 195, 120, 0.65);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 25px rgba(197, 168, 128, 0.18);
}

.cat-thematic-card-img-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cat-thematic-card-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.cat-thematic-card:hover .cat-thematic-card-img {
    transform: scale(1.08);
}

.cat-thematic-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 12, 10, 0.2) 0%, rgba(14, 12, 10, 0.45) 35%, rgba(12, 10, 8, 0.94) 100%);
    transition: background 0.35s ease;
    pointer-events: none;
}

.cat-thematic-card:hover .cat-thematic-card-overlay {
    background: linear-gradient(180deg, rgba(14, 12, 10, 0.08) 0%, rgba(14, 12, 10, 0.35) 35%, rgba(12, 10, 8, 0.96) 100%);
}

/* Card Top Tag & Index */
.cat-thematic-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat-thematic-card-tag {
    color: var(--habibi-gold-light, #e5c378);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 11px;
    border-radius: 12px;
    background: rgba(14, 12, 10, 0.65);
    border: 1px solid rgba(197, 168, 128, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    display: none;
}

.cat-thematic-card-num {
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Antonio', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.cat-thematic-card:hover .cat-thematic-card-num {
    color: var(--habibi-gold-light, #e5c378);
}

/* Card Bottom Content */
.cat-thematic-card-bottom {
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

.cat-thematic-card-text {
    flex: 1;
    min-width: 0;
}

.cat-thematic-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 5px 0;
    letter-spacing: 0.2px;
    transition: color 0.25s ease;
}

.cat-thematic-card:hover .cat-thematic-card-title {
    color: var(--habibi-gold-light, #e5c378);
}

.cat-thematic-card-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-thematic-card-action {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-thematic-card:hover .cat-thematic-card-action {
    background: linear-gradient(135deg, #e5c378 0%, #c5a880 100%);
    color: #0b0b0e;
    border-color: transparent;
    transform: translate(3px, -3px);
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.4);
}


/* ==========================================================================
   2. NON-BLOCKING HORIZONTAL SNAP RIBBON (.cat-ribbon-*)
   ========================================================================== */
.cat-ribbon-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background: transparent;
}

.cat-ribbon-tag {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--theme-primary, #8f653b);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.cat-ribbon-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.cat-ribbon-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.cat-ribbon-btn-group {
    display: flex;
    gap: 8px;
}

.cat-ribbon-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cat-ribbon-arrow:hover {
    background: var(--theme-primary, #8f653b);
    border-color: var(--theme-primary, #8f653b);
    color: #0b0f19;
    transform: translateY(-2px);
}

.cat-ribbon-wrapper {
    width: 100%;
    overflow: visible;
}

.cat-ribbon-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    padding: 10px max(15px, calc((100vw - 1320px) / 2)) 30px;
    scrollbar-width: none;
}

.cat-ribbon-track.active-drag {
    cursor: grabbing;
    scroll-behavior: auto;
}

.cat-ribbon-track::-webkit-scrollbar {
    display: none;
}

.cat-ribbon-item {
    flex: 0 0 340px;
    scroll-snap-align: start;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .cat-ribbon-item {
        flex: 0 0 290px;
    }
}

.cat-ribbon-link-wrap {
    text-decoration: none;
    display: block;
    height: 100%;
}

.cat-ribbon-card {
    position: relative;
    height: 460px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #0d131f;
}

.cat-ribbon-item:hover .cat-ribbon-card {
    transform: translateY(-8px);
    border-color: rgba(179, 222, 79, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(179, 222, 79, 0.15);
}

.cat-ribbon-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cat-ribbon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-ribbon-item:hover .cat-ribbon-img {
    transform: scale(1.08);
}

.cat-ribbon-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 19, 31, 0.3) 0%, rgba(13, 19, 31, 0.75) 50%, rgba(13, 19, 31, 0.98) 100%);
}

.cat-ribbon-meta-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat-ribbon-badge-pill {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.cat-ribbon-count-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--theme-primary, #8f653b);
    color: #0b0f19;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-ribbon-info {
    position: relative;
    z-index: 2;
}

.cat-ribbon-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
}

.cat-ribbon-item-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 8px;
}

.cat-ribbon-item-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-ribbon-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 16px;
}

.cat-ribbon-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
}

.cat-ribbon-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.cat-ribbon-cta-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--theme-primary, #8f653b);
    color: #0b0f19;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.25s ease;
}

.cat-ribbon-item:hover .cat-ribbon-cta-icon {
    transform: rotate(45deg);
}


/* ==========================================================================
   3. LUXURY LIFESTYLE BENTO GRID (.cat-bento-*)
   ========================================================================== */
.cat-bento-section {
    position: relative;
    padding: 70px 0;
    background: transparent;
}

.cat-bento-subheading {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--theme-primary, #8f653b);
    margin-bottom: 8px;
}

.cat-bento-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.cat-bento-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin: 0 auto;
}

.cat-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

@media (max-width: 991px) {
    .cat-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cat-bento-grid {
        grid-template-columns: 1fr;
    }
}

.cat-bento-hero-1,
.cat-bento-hero-2 {
    grid-column: span 2;
    min-height: 450px;
}

.cat-bento-med {
    grid-column: span 1;
    min-height: 400px;
}

.cat-bento-wide {
    grid-column: span 2;
    min-height: 350px;
}

@media (max-width: 991px) {

    .cat-bento-hero-1,
    .cat-bento-hero-2,
    .cat-bento-wide {
        grid-column: span 2;
    }

    .cat-bento-med {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .cat-bento-hero-1,
    .cat-bento-hero-2,
    .cat-bento-med,
    .cat-bento-wide {
        grid-column: span 1;
        min-height: 280px;
    }
}

/* Mobile Animation On Scroll (AOS) Override Guarantee */
@media (max-width: 991px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        visibility: visible !important;
    }
}

.cat-bento-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s ease;
    background: #0d131f;
}

.cat-bento-item:hover {
    border-color: rgb(109 61 36 / 37%);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgb(110 56 28 / 37%);
}

.cat-bento-link {
    display: block;
    height: 100%;
    text-decoration: none;
    position: relative;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cat-bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-bento-item:hover .cat-bento-bg {
    transform: scale(1.08);
}

.cat-bento-content {
    position: relative;
    z-index: 2;
}

.cat-bento-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    backdrop-filter: blur(8px);
}

.cat-bento-title-lg {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.cat-bento-title-sm {
    font-size: 23px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cat-bento-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.cat-bento-tag {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
}

.cat-bento-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--theme-primary, #8f653b);
    font-size: 13px;
    font-weight: 600;
    transition: gap 0.2s ease;
}

.cat-bento-header {
    padding: 50px 0px 80px;
}

.cat-bento-item:hover .cat-bento-action {
    gap: 12px;
    color: #ffffff;
}

.cat-bento-action-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--theme-primary, #8f653b);
    font-size: 12px;
    font-weight: 600;
}

.cat-bento-wide-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .cat-bento-wide-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

.cat-bento-btn-gold {
    background: var(--theme-primary, #8f653b);
    color: #0b0f19;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 20px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cat-bento-item:hover .cat-bento-btn-gold {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 222, 79, 0.35);
}

/* ==========================================================================
   5. FULLSCREEN CATEGORY SHOWCASE (SHOP DIRECTORY)
   ========================================================================== */
.shop-showcase-fullscreen {
    width: 100%;
    max-width: 100%;
    padding: 30px 100px 80px;
    box-sizing: border-box;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .shop-showcase-fullscreen {
        padding: 30px 60px 70px;
    }
}

@media (max-width: 991px) {
    .shop-showcase-fullscreen {
        padding: 20px 30px 50px;
    }
}

@media (max-width: 576px) {
    .shop-showcase-fullscreen {
        padding: 15px 15px 35px;
    }
}

/* Category Hero Header Box */
.bb-category-hero-box {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.7) 0%, rgba(13, 19, 31, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 32px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bb-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--habibi-gold, #c5a880);
}

.bb-cat-hero-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.bb-cat-hero-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.75);
}

.btn-all-shops {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-all-shops:hover {
    background: var(--habibi-gold, #c5a880);
    border-color: var(--habibi-gold, #c5a880);
    color: #0b0f19;
    transform: translateY(-2px);
}

/* ==========================================================================
   TOP 8 SERVICES SHOPS SELECTOR (COMPACT DESKTOP 8-COLUMN GRID)
   ========================================================================== */
.shop-services-section {
    padding: 16px 0 20px;
    background: transparent;
}

.shop-services-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    width: 100%;
}

@media (max-width: 1280px) {
    .shop-services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .shop-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.shop-service-card {
    position: relative;
    height: 112px;
    border-radius: 14px;
    overflow: hidden;
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.shop-service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 195, 120, 0.6);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), 0 0 18px rgba(197, 168, 128, 0.2);
}

.shop-service-card.is-active {
    border: 2px solid #e5c378;
    background: #181512;
    box-shadow: 0 0 0 1px rgba(229, 195, 120, 0.4), 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 24px rgba(229, 195, 120, 0.35);
    transform: translateY(-2px);
}

.shop-service-card.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12%;
    right: 12%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #c5a880 0%, #e5c378 50%, #c5a880 100%);
    box-shadow: 0 0 8px #e5c378;
    z-index: 3;
}

.shop-service-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.44;
    transition: opacity 0.35s ease, transform 0.5s ease;
    z-index: 0;
}

.shop-service-card:hover .shop-service-bg {
    opacity: 0.62;
    transform: scale(1.08);
}

.shop-service-card.is-active .shop-service-bg {
    opacity: 0.55;
    transform: scale(1.04);
}

.shop-service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.62) 55%, rgba(0, 0, 0, 0.82) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.shop-service-card:hover .shop-service-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.48) 55%, rgba(0, 0, 0, 0.72) 100%);
}

.shop-service-card.is-active .shop-service-overlay {
    background: linear-gradient(180deg, rgba(25, 18, 10, 0.35) 0%, rgba(15, 12, 8, 0.72) 60%, rgba(10, 8, 5, 0.88) 100%);
}

.shop-service-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 0 4px;
}

.shop-service-name {
    font-size: clamp(13.5px, 1.1vw, 15.5px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
    text-align: center;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.shop-service-card:hover .shop-service-name {
    color: #fff9ea;
}

.shop-service-card.is-active .shop-service-name {
    color: #fffaf0;
    font-weight: 800;
    text-shadow: 0 0 16px rgba(229, 195, 120, 0.45), 0 2px 8px rgba(0, 0, 0, 0.95);
}

.shop-service-active-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #120e0a;
    background: linear-gradient(135deg, #e5c378 0%, #c5a880 100%);
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 0 10px rgba(229, 195, 120, 0.4);
    line-height: 1.2;
}

.shop-service-active-indicator .active-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #120e0a;
}

/* Shop Main Categories Selector Bar */
.bb-main-categories-bar {
    display: block;
    width: 100%;
}

.bb-main-categories-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px;
}

.bb-main-categories-selector::-webkit-scrollbar {
    display: none;
}

.btn-main-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
}

.btn-main-category-pill:hover {
    color: #ffffff;
    background: rgba(197, 168, 128, 0.2);
    border-color: rgba(197, 168, 128, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn-main-category-pill.active {
    color: #120e0a;
    background: linear-gradient(135deg, #e5c378 0%, #c5a880 100%);
    border-color: #e5c378;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(197, 168, 128, 0.4);
    transform: translateY(-1px);
}

.btn-main-category-pill .pill-icon {
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-main-category-pill .pill-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
}