/* === HERO BANNER RESPONSIVE (DESKTOP & MOBILE) === */
.cw-hero-section {
    position: relative;
    background: #0a0a0a;
    width: 100%;
}

/* Desktop Hero (>= 992px) */
.cw-hero-desktop {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0a0a0a;
}

/* Fallback Gradient Hero (Sans image) */
.cw-hero-fallback {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: center;
    background-color: #0a0a0a;
}
@media (min-width: 992px) {
    .cw-hero-fallback {
        min-height: 420px;
    }
}

/* Mobile Hero (< 992px) : hauteur = hauteur de l'image, texte directement SUR la bannière */
.cw-hero-mobile {
    width: 100%;
    background: #0a0a0a;
}
.cw-hero-mobile-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.cw-hero-mobile-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.cw-hero-mobile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.12) 100%);
    pointer-events: none;
    z-index: 1;
}
.cw-hero-mobile-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 14px;
    max-width: 68%;
    line-height: normal;
}
.cw-hero-mobile-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    margin-bottom: 2px;
}
.cw-hero-mobile-nav a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
}
.cw-hero-mobile-nav .sep {
    color: rgba(255,255,255,.3);
    font-size: 8.5px;
}
.cw-hero-mobile-nav .curr {
    color: rgba(255,255,255,.9);
    font-weight: 600;
}
.cw-hero-mobile-eyebrow {
    font-size: 7.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light, #d4af37);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 2px;
}
.cw-hero-mobile-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(17px, 4.5vw, 24px);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 2px 0;
    letter-spacing: -0.3px;
}
.cw-hero-mobile-sub {
    font-size: 10px;
    color: rgba(255,255,255,.75);
    line-height: 1.25;
    margin: 0 0 2px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cw-hero-mobile-count {
    font-size: 9.5px;
    color: rgba(255,255,255,.65);
    margin: 0;
    white-space: nowrap;
}

/* === QUICK TABS BAR === */
.quick-tabs-bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,.06);
    position: sticky;
    top: 74px;
    z-index: 100;
}
.q-tab-btn {
    display: inline-block;
    padding: 14px 22px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    color: #777;
    border-bottom: 2px solid transparent;
    transition: all .2s ease;
}
.q-tab-btn:hover {
    color: var(--dark);
    background: rgba(0,0,0,.02);
}
.q-tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    font-weight: 700;
}

/* === SIDEBAR CONTAINER === */
.col-xl-2-5 {
    flex: 0 0 auto;
    width: 23%;
}
.col-xl-9-5 {
    flex: 0 0 auto;
    width: 77%;
}
@media (max-width: 1199px) {
    .col-xl-2-5, .col-xl-9-5 { width: 100%; }
}
.luxury-filter-sidebar {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.03);
    position: sticky;
    top: 130px;
}
.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    margin-bottom: 14px;
}
.filter-main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}
.active-pill-badge {
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}
.btn-reset-filters {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #dc2626;
    text-decoration: none;
    font-weight: 700;
    transition: opacity .2s;
}
.btn-reset-filters:hover {
    opacity: .8;
}

/* Accordion Group */
.filter-group {
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 14px 0;
}
.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.filter-group-hd {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    font-size: 11.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: color .2s;
}
.filter-group-hd:hover {
    color: var(--gold);
}
.acc-arrow {
    font-size: 10px;
    color: #999;
    transition: transform .25s ease;
}
.filter-group.is-collapsed .acc-arrow {
    transform: rotate(-90deg);
}
.filter-group.is-collapsed .filter-group-bd {
    display: none;
}
.filter-group-bd {
    margin-top: 12px;
}

/* === LUXURY FILTER ITEMS (REPLACES RADIOS) === */
.custom-filter-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lux-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
    margin: 0;
    font-size: 12px;
    color: #555;
    transition: all .2s ease;
    user-select: none;
}
.lux-filter-item input {
    display: none;
}
.lux-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    background: #fff;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    transition: all .2s ease;
}
.lux-filter-item:hover {
    background: #fbfaf8;
    color: var(--gold);
}
.lux-filter-item:hover .lux-indicator {
    border-color: var(--gold);
}
.lux-filter-item.is-selected {
    background: rgba(184,150,12,.08);
    color: var(--dark);
    font-weight: 600;
}
.lux-filter-item.is-selected .lux-indicator {
    border-color: var(--gold);
    background: var(--gold);
    box-shadow: inset 0 0 0 3px #fff;
}
.lux-label {
    flex-grow: 1;
    line-height: 1.3;
}
.lux-count {
    font-size: 10.5px;
    font-weight: 600;
    color: #aaa;
    background: #f3f3f1;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto;
}
.lux-filter-item.is-selected .lux-count {
    background: #ffffff;
    color: var(--gold);
}
.sub-cat {
    padding-left: 20px;
}
.subsub-cat {
    padding-left: 32px;
    font-size: 11px;
}

/* === SEARCHABLE BRANDS === */
.brand-search-box {
    position: relative;
    margin-bottom: 8px;
}
.brand-search-box i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #aaa;
}
.brand-search-box input {
    width: 100%;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 4px;
    padding: 6px 10px 6px 28px;
    font-size: 11.5px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    transition: border-color .2s;
    background: #fafaf8;
}
.brand-search-box input:focus {
    border-color: var(--gold);
    background: #fff;
}
.brand-scroll-list {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}
.brand-scroll-list::-webkit-scrollbar {
    width: 3.5px;
}
.brand-scroll-list::-webkit-scrollbar-thumb {
    background: #e2e2e0;
    border-radius: 3px;
}

/* === PRICE FILTER CHIPS & INPUTS === */
.quick-price-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.price-chip {
    background: #fafaf8;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 4px;
    padding: 6px 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #666;
    cursor: pointer;
    transition: all .2s;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}
.price-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: #ffffff;
}
.price-chip.active {
    background: var(--dark);
    color: #ffffff;
    border-color: var(--dark);
}
.price-input-wrap {
    position: relative;
}
.price-input-label {
    position: absolute;
    top: 3px;
    left: 8px;
    font-size: 8px;
    text-transform: uppercase;
    color: #aaa;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.price-field {
    width: 100%;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 4px;
    padding: 16px 32px 5px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    outline: none;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    transition: border-color .2s;
}
.price-field:focus {
    border-color: var(--gold);
}
.price-curr {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #aaa;
    font-weight: 600;
}
.btn-apply-price {
    width: 100%;
    background: var(--dark);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 9px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-apply-price:hover {
    background: var(--gold);
}

/* === ACTIVE FILTERS BAR === */
.active-filters-bar {
    background: #fafaf8;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 6px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.active-bar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #777;
    text-transform: uppercase;
}
.active-tag-chip {
    background: #ffffff;
    border: 1px solid rgba(184,150,12,.3);
    color: var(--dark);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all .2s;
}
.active-tag-chip strong {
    color: var(--gold);
}
.active-tag-chip i {
    font-size: 10px;
    color: #aaa;
    transition: color .2s;
}
.active-tag-chip:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}
.active-tag-chip:hover strong, .active-tag-chip:hover i {
    color: #fff;
}
.btn-clear-all-chips {
    font-size: 11px;
    color: #dc2626;
    text-decoration: underline;
    font-weight: 600;
    margin-left: auto;
    cursor: pointer;
}

/* === TOOLBAR & SORTING === */
.catalogue-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 14px;
}
.results-info {
    font-size: 12.5px;
    color: #777;
}
.sorting-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sort-label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
}
.luxury-sort-select {
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 4px;
    padding: 8px 30px 8px 12px;
    font-size: 12px;
    outline: none;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color .2s;
}
.luxury-sort-select:focus {
    border-color: var(--gold);
}

/* === EMPTY STATE === */
.empty-state-box {
    text-align: center;
    padding: 70px 20px;
    background: #fafaf8;
    border-radius: 8px;
    border: 1px dashed rgba(0,0,0,.1);
}
.empty-state-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold);
    margin: 0 auto 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.empty-state-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}
.empty-state-text {
    font-size: 13px;
    color: #777;
    margin-bottom: 24px;
}

/* === MOBILE TOGGLE BUTTON === */
.btn-mobile-filter {
    width: 100%;
    background: var(--dark);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
}
.filter-count-badge {
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .luxury-filter-sidebar {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1050;
        top: 0;
        border-radius: 0;
        overflow-y: auto;
        padding: 24px;
    }
    .luxury-filter-sidebar.mobile-open {
        display: block;
    }
}

/* ==========================================================================
   PAGINATION MODERNE HAUTE HORLOGERIE
   ========================================================================== */
.luxury-pagination-wrap {
    width: 100%;
}

.lux-pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
}

/* --- Progress Bar & Status --- */
.lux-pagination-status {
    width: 100%;
    max-width: 520px;
    margin-bottom: 22px;
}

.lux-status-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 9px;
    font-weight: 500;
}

.lux-status-text strong {
    color: #111111;
    font-weight: 700;
}

.lux-status-badge {
    background: rgba(184, 150, 12, 0.1);
    color: #b8960c;
    border: 1px solid rgba(184, 150, 12, 0.25);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.lux-progress-track {
    width: 100%;
    height: 3px;
    background: #eae8e3;
    border-radius: 4px;
    overflow: hidden;
}

.lux-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #b8960c, #d4af37);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Controls Cluster --- */
.lux-pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* --- Navigation Buttons (Précédent / Suivant) --- */
.lux-btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.lux-btn-nav:hover:not(.is-disabled) {
    background: #111111;
    color: #ffffff !important;
    border-color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.lux-btn-nav:hover:not(.is-disabled) i {
    color: #d4af37;
}

.lux-btn-nav.is-disabled {
    background: #fbfbfb;
    border-color: rgba(0, 0, 0, 0.05);
    color: #b5b5b5 !important;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

/* --- Numbers Cluster --- */
.lux-page-numbers-cluster {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- Page Number Pills --- */
.lux-num-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #2b2b2b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.lux-num-pill:hover:not(.is-active):not(.is-ellipsis) {
    border-color: #b8960c;
    color: #b8960c !important;
    background: #fdfcf9;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(184, 150, 12, 0.16);
}

.lux-num-pill.is-active {
    background: #111111;
    color: #ffffff !important;
    border-color: #111111;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(212, 175, 55, 0.5);
    transform: scale(1.06);
    cursor: default;
}

.lux-num-pill.is-ellipsis {
    width: 32px;
    height: 44px;
    border: none;
    background: transparent;
    box-shadow: none;
    color: #999;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: default;
}

/* --- Mobile Responsive Rules --- */
@media (max-width: 575px) {
    .lux-pagination-status {
        margin-bottom: 16px;
    }
    .lux-status-text {
        font-size: 9.5px;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .lux-btn-nav {
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 50%;
    }
    .lux-num-pill {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }
    .lux-page-numbers-cluster {
        gap: 4px;
    }
    .lux-pagination-controls {
        gap: 5px;
    }
}
