/* AroraShop Product Catalog — 6-Column Responsive PlaySultan Style (#121212 Theme) */

.gczbd-catalog {
    background: #121212 !important;
    min-height: 70vh;
    padding: 24px 0 60px;
}

.gczbd-catalog-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ── Top Header & Controls ── */
.gczbd-catalog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.gczbd-catalog-header__left {
    flex: 1;
    min-width: 240px;
}

.gczbd-catalog-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gczbd-catalog-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
    margin: 0;
    line-height: 1.15;
}

.gczbd-catalog-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(21, 180, 139, 0.12);
    border: 1px solid rgba(21, 180, 139, 0.3);
    color: #15b48b;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.gczbd-catalog-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 5px 0 0 0;
}

/* Right Filter Controls (Search, Region, Sort) */
.gczbd-catalog-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gczbd-catalog-search-box {
    display: flex;
    align-items: center;
    position: relative;
    min-width: 210px;
    max-width: 260px;
    flex: 1;
}

.gczbd-catalog-search-box .gczbd-search-icon {
    position: absolute;
    left: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.gczbd-catalog-search-box input {
    width: 100%;
    padding: 8px 32px 8px 34px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9999px;
    color: #ffffff;
    font-size: 12.5px;
    outline: none;
    transition: all 0.2s ease;
}

.gczbd-catalog-search-box input:focus {
    background: #222222;
    border-color: #15b48b;
    box-shadow: 0 0 0 3px rgba(21, 180, 139, 0.15);
}

.gczbd-catalog-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.gczbd-search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.gczbd-search-clear:hover {
    color: #ffffff;
}

.gczbd-catalog-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9999px;
    color: #e5e5e5;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    min-height: 38px;
    transition: all 0.2s ease;
}

.gczbd-catalog-filter-btn:hover {
    border-color: rgba(21, 180, 139, 0.35);
    background: #222222;
}

.gczbd-catalog-filter-btn i {
    color: #a3a3a3;
    font-size: 12px;
}

.gczbd-catalog-filter-btn select {
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    font-size: 12.5px;
    cursor: pointer;
    outline: none;
    padding-right: 4px;
}

.gczbd-catalog-filter-btn select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* ── Sleek Single-Row Horizontal Category Rail with Scroll Chevrons ── */
.gczbd-catalog-cat-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    width: 100%;
}

.gczbd-cat-nav-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    z-index: 2;
    padding: 0;
}

.gczbd-cat-nav-btn:hover {
    background: #242424;
    border-color: #15b48b;
    color: #15b48b;
    box-shadow: none;
}

.hp-products-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px;
    flex: 1;
}

.hp-products-filters::-webkit-scrollbar {
    display: none;
}

.hp-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #a3a3a3;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.hp-filter-pill i {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.6);
}

.hp-filter-pill__icon-img {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
}

.hp-filter-pill .hp-pill-count {
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.2s ease;
}

.hp-filter-pill:hover {
    background: #242424;
    color: #ffffff;
    border-color: rgba(21, 180, 139, 0.35);
}

.hp-filter-pill.active {
    background: #15b48b !important;
    border-color: #15b48b !important;
    color: #ffffff !important;
    box-shadow: 0 2px 14px rgba(21, 180, 139, 0.35) !important;
}

.hp-filter-pill.active i {
    color: #ffffff !important;
}

.hp-filter-pill.active .hp-pill-count {
    background: rgba(0, 0, 0, 0.25) !important;
    color: #ffffff !important;
}

/* ── 6-Column Compact Product Grid (PlaySultan Style) ── */
.gczbd-catalog-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    transition: opacity 0.2s ease;
}

.gczbd-catalog-card {
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.gczbd-catalog-card:hover {
    transform: translateY(-5px);
    border-color: #15b48b !important;
    box-shadow: none !important;
}

.gczbd-catalog-card__media {
    position: relative;
    aspect-ratio: 1 / 1 !important;
    background: #121212;
    overflow: hidden;
}

.gczbd-catalog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.gczbd-catalog-card:hover .gczbd-catalog-card__media img {
    transform: scale(1.06);
}

.gczbd-catalog-card__flag {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 18px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    background: rgba(26, 26, 26, 0.9) !important;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gczbd-catalog-card__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gczbd-catalog-card__flag i {
    font-size: 0.7rem;
    color: #a3a3a3;
}

.gczbd-catalog-card__body {
    padding: 10px 8px 12px !important;
    background: #1a1a1a !important;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.gczbd-catalog-card__title {
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em;
    transition: color 0.2s ease;
}

.gczbd-catalog-card:hover .gczbd-catalog-card__title {
    color: #15b48b !important;
}

/* ── No Products Fallback ── */
.hp-no-products {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
    grid-column: 1 / -1;
}

.hp-no-products i {
    font-size: 34px;
    margin-bottom: 12px;
    opacity: 0.4;
    color: #15b48b;
}

.hp-no-products p {
    font-size: 14.5px;
    margin: 0;
}

/* ── Category Pill Style Pagination (Matching Top Category Pills) ── */
.gczbd-catalog-pagination {
    margin-top: 40px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gczbd-catalog-pagination .pagination-section {
    display: inline-flex;
    justify-content: center;
}

.gczbd-catalog-pagination .pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    list-style: none;
}

.gczbd-catalog-pagination .page-item {
    margin: 0;
    list-style: none;
}

.gczbd-catalog-pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    border-radius: 9999px;
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    color: #a3a3a3 !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.gczbd-catalog-pagination .page-item .page-link::after {
    display: none !important;
}

.gczbd-catalog-pagination .page-item .page-link i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.gczbd-catalog-pagination .page-item:not(.active) .page-link:not(.disabled-link):hover {
    background: #242424 !important;
    color: #ffffff !important;
    border-color: rgba(21, 180, 139, 0.35) !important;
    transform: translateY(-2px);
}

.gczbd-catalog-pagination .page-item:not(.active) .page-link:not(.disabled-link):hover i {
    color: #ffffff;
}

.gczbd-catalog-pagination .page-item.active .page-link {
    background: #15b48b !important;
    border-color: #15b48b !important;
    color: #ffffff !important;
    box-shadow: 0 2px 14px rgba(21, 180, 139, 0.35) !important;
    transform: translateY(-1px);
}

.gczbd-catalog-pagination .page-item.active .page-link i {
    color: #ffffff !important;
}

.gczbd-catalog-pagination .page-item .page-link.disabled-link {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* ── Responsive Grid Breakpoints ── */
@media (max-width: 1279px) {
    .gczbd-catalog-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 13px !important;
    }
}

@media (max-width: 1059px) {
    .gczbd-catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 819px) {
    .gczbd-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .gczbd-catalog-title {
        font-size: 22px;
    }
}

@media (max-width: 579px) {
    .gczbd-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .gczbd-catalog-header {
        gap: 14px;
    }

    .gczbd-catalog-controls {
        width: 100%;
    }

    .gczbd-catalog-search-box {
        min-width: 100%;
        max-width: 100%;
    }

    .gczbd-catalog-filter-btn {
        flex: 1;
        justify-content: center;
    }

    .gczbd-catalog-card__title {
        font-size: 0.76rem !important;
    }

    .gczbd-catalog-card__body {
        padding: 8px 6px 10px !important;
        min-height: 48px;
    }

    .gczbd-cat-nav-btn {
        display: none !important;
    }
}

/* ── Mega menu & region switcher styles retained ── */
.gczbd-mega-menu {
    width: min(920px, 92vw) !important;
    padding: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65) !important;
}

.gczbd-mega-menu__inner {
    display: grid;
    grid-template-columns: 1.6fr 0.6fr;
    gap: 0;
    min-height: 320px;
}

.gczbd-mega-menu__label {
    color: #a3a3a3;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.gczbd-mega-menu__categories {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.gczbd-mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-height: 280px;
    overflow: auto;
}

.gczbd-mega-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    color: #e5e5e5;
    transition: background 0.2s, border-color 0.2s;
}

.gczbd-mega-cat:hover,
.gczbd-mega-cat.is-active {
    background: rgba(21, 180, 139, 0.1);
    border-color: rgba(21, 180, 139, 0.35);
}

.gczbd-mega-cat__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.gczbd-mega-cat__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gczbd-mega-cat__text {
    flex: 1;
    min-width: 0;
}

.gczbd-mega-cat__text strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
}

.gczbd-mega-cat__text small {
    color: #a3a3a3;
    font-size: 0.7rem;
}

.gczbd-mega-cat__arrow {
    font-size: 0.65rem;
    color: #6b7280;
}

.gczbd-mega-menu__regions {
    padding: 20px;
}

.gczbd-mega-region-panels {
    max-height: 280px;
    overflow: auto;
}

.gczbd-mega-region-panel[hidden] {
    display: none !important;
}

.gczbd-mega-region-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #e5e5e5;
    transition: background 0.2s;
}

.gczbd-mega-region-item:hover {
    background: rgba(21, 180, 139, 0.1);
}

.gczbd-mega-region-item__flag {
    width: 28px;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #121212;
    flex-shrink: 0;
}

.gczbd-mega-region-item__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gczbd-mega-region-item__text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}

.gczbd-mega-region-item__text small {
    color: #a3a3a3;
    font-size: 0.72rem;
}

/* ── Product hero region switcher ── */
.gczbd-region-switcher {
    position: relative;
    display: inline-flex;
}

.gczbd-region-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.gczbd-region-switcher__toggle img {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
}

.gczbd-region-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    z-index: 20;
    padding: 6px;
    display: none;
}

.gczbd-region-switcher.is-open .gczbd-region-switcher__menu {
    display: block;
}

.gczbd-region-switcher__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #e5e5e5;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.gczbd-region-switcher__option:hover,
.gczbd-region-switcher__option.is-active {
    background: rgba(21, 180, 139, 0.12);
    color: #15b48b;
}

.gczbd-region-switcher__option img {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
}

/* ── Light Mode Theme Overrides ── */
html[data-theme="light"] .gczbd-catalog {
    background: #F6F8F9 !important;
}

html[data-theme="light"] .gczbd-catalog-title {
    color: #0f172a !important;
}

html[data-theme="light"] .gczbd-catalog-subtitle {
    color: #64748b !important;
}

html[data-theme="light"] .gczbd-cat-nav-btn {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #374151 !important;
}

html[data-theme="light"] .gczbd-cat-nav-btn:hover {
    border-color: #15b48b !important;
    color: #15b48b !important;
}

html[data-theme="light"] .hp-filter-pill {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #374151 !important;
}

html[data-theme="light"] .hp-filter-pill i {
    color: #64748b !important;
}

html[data-theme="light"] .hp-filter-pill .hp-pill-count {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #475569 !important;
}

html[data-theme="light"] .hp-filter-pill:hover {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

html[data-theme="light"] .hp-filter-pill.active {
    background: #15b48b !important;
    border-color: #15b48b !important;
    color: #ffffff !important;
}

html[data-theme="light"] .hp-filter-pill.active i {
    color: #ffffff !important;
}

html[data-theme="light"] .hp-filter-pill.active .hp-pill-count {
    background: rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
}

html[data-theme="light"] .gczbd-catalog-search-box input {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #1c1c1c !important;
}

html[data-theme="light"] .gczbd-catalog-search-box input:focus {
    border-color: #15b48b !important;
}

html[data-theme="light"] .gczbd-catalog-search-box .gczbd-search-icon {
    color: rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="light"] .gczbd-search-clear {
    color: rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="light"] .gczbd-catalog-filter-btn {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #1c1c1c !important;
}

html[data-theme="light"] .gczbd-catalog-filter-btn i {
    color: rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="light"] .gczbd-catalog-filter-btn select option {
    background: #ffffff !important;
    color: #1c1c1c !important;
}

html[data-theme="light"] .gczbd-catalog-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .gczbd-catalog-card:hover {
    border-color: #15b48b !important;
    box-shadow: none !important;
}

html[data-theme="light"] .gczbd-catalog-card__media {
    background: #F6F8F9 !important;
}

html[data-theme="light"] .gczbd-catalog-card__body {
    background: #ffffff !important;
}

html[data-theme="light"] .gczbd-catalog-card__title {
    color: #1c1c1c !important;
}

html[data-theme="light"] .gczbd-catalog-card__flag {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .gczbd-catalog-card__flag i {
    color: rgba(0, 0, 0, 0.45) !important;
}
