.extra-details-container {
    width: 1640px;
    margin: 0 auto;
    padding: 10px 0;
    font-family: 'Poppins', sans-serif;
}

/* Banner Section */
.banner-section {
    display: flex;
    gap: 10px;
    width: 1640px;
    margin-bottom: 10px;
}

.banner-left {
    width: 1030px;
    height: 600px;
    background: linear-gradient(13.02deg, #173158 7.25%, #E83161 89.94%);
    padding: 75px 60px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.banner-right {
    width: 600px;
    height: 600px;
    background: #ffffff;
    border: 1px solid #BAC2CD;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-img-box {
    width: 500px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.banner-title {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.3;
    max-width: 547px;
}

.banner-description {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 550px;
}

.banner-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: auto 0 0;
}

.btn-primary-custom {
    width: 210px;
    height: 60px;
    background-color: #E83161;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #FFFFFF !important;
    color: #183158 !important;
}

.btn-primary-custom:hover svg path {
    fill: #E73161 !important;
}

.link-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
}

.link-action span {
    color: #E83161;
}

/* Breadcrumb Section */
.breadcrumb-nav {
    font-size: 14px;
    color: #173158;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--nav-mega-top, 140px) !important;
    z-index: 950 !important;
    background: #ffffff !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    margin-top: 0 !important;
    margin-bottom: 60px !important;
    transition: top 0.3s ease-in-out !important;
}

@media (max-width: 767.98px) {
    .breadcrumb-nav {
        top: var(--nav-mega-top, 9.25rem) !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
}

/* Middle Section */
.middle-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.middle-left-text {
    font-size: 48px;
    font-weight: 600;
    color: #173158;
}

.middle-right-blocks {
    width: 620px;
    display: flex;
    gap: 20px;
}

.info-block {
    width: 300px;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #183158;
    font-weight: 500;
    font-size: 16px;
    border: 1px solid #BAC2CD;
}

/* Bottom Section */
.bottom-section {
    display: flex;
    width: 1640px;
    height: 820px;
    background: #F7F8F9;
    border-radius: 4px;
    overflow: hidden;
}

.bottom-left {
    width: 1040px;
    padding: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bottom-right {
    width: 600px;
    height: 820px;
    position: relative;
}

.bottom-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #173158;
    opacity: 0.3;
    pointer-events: none;
}

.bottom-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-title {
    font-size: 48px;
    font-weight: 600;
    color: #173158;
    margin-bottom: 25px;
    line-height: 1.2;
}

.bottom-subtitle {
    font-size: 36px;
    color: #173158;
    margin-bottom: 20px;
    line-height: 1.3;
    width: 645px;
    font-weight: 500;
}

.bottom-description {
    font-size: 16px;
    color: #173158;
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.6;
    font-weight: 400;
    width: 617px;
}

.btn-secondary-custom {
    width: 246px;
    height: 60px;
    background-color: #E83161;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: auto 0 0;
}

.btn-secondary-custom:hover {
    background-color: #173158 !important;
    color: #ffffff !important;
}

.btn-secondary-custom:hover svg path {
    fill: #E73161 !important;
}

/* SVG Background pattern for banner */
.banner-pattern {
    position: absolute;
    right: -1px;
    bottom: -1px;
    /* opacity: 0.2; */
    pointer-events: none;
}

/* Mobile Specific Styles */
@media (max-width: 711.98px) {
    .extra-details-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 0 !important;
    }

    .mobile-top-header {
        max-width: 323px;
        height: 40px;
        background-color: #173158;
        padding: 0 15px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-breadcrumb {
        max-width: 323px;
        font-size: 10px;
        color: #5D6F8A;
    }

    .mobile-breadcrumb a {
        color: #173158;
        text-decoration: none;
    }

    .mobile-breadcrumb .active {
        color: #E83161;
        margin: 0 5px;
    }

    .mobile-breadcrumb .sep {
        color: #173158;
        margin: 0 5px;
    }

    .mobile-banner-section {
        max-width: 322px;
        margin: 0 auto;
    }

    .mobile-banner-content-card {
        height: 248px;
        background: linear-gradient(13.02deg, #173158 7.25%, #E83161 89.94%);
        padding: 30px 20px;
        color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border: 1px solid #173158;
    }

    .mobile-banner-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .mobile-banner-subtitle {
        font-size: 12px;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .mobile-banner-desc {
        font-size: 12px;
        line-height: 1.5;
        opacity: 0.9;
        margin-bottom: 25px;
    }

    .mobile-catalogue-link {
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-banner-logo-card {
        height: 322px;
        background: #f7f8f9;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        padding-bottom: 60px;
        border: 1px solid #f7f8f9;
        border-top: none;
    }

    .mobile-banner-logo-card img {
        max-width: 60%;
        object-fit: contain;
    }

    .mobile-btn-join {
        width: 260px;
        height: 48px;
        background: #E83161;
        color: #ffffff;
        border: none;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s ease;
    }

    .mobile-btn-join:hover {
        background-color: #FFFFFF !important;
        color: #183158 !important;
    }

    .mobile-btn-join:hover svg path {
        fill: #E73161 !important;
    }

    /* Middle Section Mobile */
    .middle-section {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 10px;
        max-width: 322px;
        margin-left: auto;
        margin-right: auto;
    }

    .middle-left-text {
        font-size: 24px !important;
        font-weight: 600 !important;
        color: #152C50 !important;
    }

    .middle-right-blocks {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .info-block {
        width: 156px !important;
        height: 34px !important;
        font-size: 12px !important;
        padding: 0 10px;
        border: 1px solid #E2E8F0;
        background: transparent;
        color: #152C50;
    }

    /* Refined Mobile Bottom Section */
    .mobile-refined-section {
        width: 322px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    .mobile-refined-content {
        padding: 40px 20px;
        background: #F7F8F9;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mobile-refined-title {
        font-size: 36px !important;
        font-weight: 600 !important;
        color: #152C50;
        margin-bottom: 20px;
        line-height: 1.2;
        width: 260px;
    }

    .mobile-refined-subtitle {
        font-size: 18px !important;
        font-weight: 500 !important;
        color: #152C50;
        margin-bottom: 20px;
        line-height: 1.4;
        width: 255px;
    }

    .mobile-refined-desc {
        font-size: 12px !important;
        color: #666;
        margin-bottom: 30px;
        line-height: 1.5;
        width: 260px;
    }

    .mobile-refined-btn {
        width: 260px;
        height: 48px;
        background: #E83161;
        color: #ffffff;
        border: none;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s ease;
    }

    .mobile-refined-btn:hover {
        background-color: #173158 !important;
        color: #ffffff !important;
    }

    .mobile-refined-btn:hover svg path {
        fill: #E73161 !important;
    }

    .mobile-refined-image {
        width: 322px;
        height: 322px;
        background: #f7f8f9;
        margin-top: 0;
        position: relative;
    }

    .mobile-refined-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #173158;
        opacity: 0.3;
        pointer-events: none;
    }

    .mobile-refined-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Laptop Screen Overrides (992px to 1639.98px) */
@media (min-width: 992px) and (max-width: 1639.98px) {

    .extra-details-container,
    .banner-section,
    .bottom-section {
        width: 100% !important;
        max-width: 100% !important;
        /* padding-left: 40px !important; */
        /* padding-right: 40px !important; */
    }

    .extra-details-container {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    /* Hero Banner Laptop Adjustments */
    .banner-section {
        height: 500px !important;
        min-height: 500px !important;
        gap: 10px !important;
    }

    .banner-left {
        height: 500px !important;
        min-height: 500px !important;
        padding: 60px 45px !important;
        width: calc(62.8% - 6px) !important;
    }

    .banner-right {
        height: 500px !important;
        width: calc(37.2% - 4px) !important;
    }

    .banner-title {
        font-size: 44px !important;
        margin-bottom: 25px !important;
    }

    .banner-subtitle {
        font-size: 24px !important;
        margin-bottom: 20px !important;
        line-height: 1.2 !important;
    }

    .banner-description {
        font-size: 16px !important;
        margin-bottom: 30px !important;
        line-height: 1.4 !important;
        max-width: 500px !important;
    }

    .banner-actions {
        gap: 20px !important;
    }

    .btn-primary-custom {
        width: 180px !important;
        height: 52px !important;
        font-size: 15px !important;
    }

    .link-action {
        font-size: 16px !important;
    }

    /* Middle Section Laptop Overrides */
    .middle-left-text {
        font-size: 36px !important;
    }

    .middle-right-blocks {
        width: auto !important;
        gap: 15px !important;
    }

    .info-block {
        width: 200px !important;
        height: 44px !important;
        font-size: 14px !important;
    }

    /* Bottom Section Laptop Overrides */
    .bottom-section {
        height: 580px !important;
        gap: 10px !important;
        background: #F7F8F9 !important;
    }

    .bottom-left {
        width: calc(62.8% - 6px) !important;
        padding: 60px 45px !important;
        height: 580px !important;
    }

    .bottom-right {
        width: calc(37.2% - 4px) !important;
        height: 580px !important;
    }

    .bottom-title {
        font-size: 36px !important;
        margin-bottom: 20px !important;
    }

    .bottom-subtitle {
        font-size: 24px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
    }

    .bottom-description {
        font-size: 14px !important;
        margin-bottom: 25px !important;
        line-height: 1.5 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .btn-secondary-custom {
        width: 210px !important;
        height: 52px !important;
        font-size: 15px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Tablet Screen Overrides (768px to 991.98px)
   The `.extra-details-container`, `.banner-section`, and `.bottom-section`
   all use a fixed `width: 1640px` (banner: 1030 + 600 + 10 gap; bottom:
   1040 + 600). Tablet viewports clipped everything since the existing
   `(max-width: 767px)` rule stops at mobile and the laptop block starts
   at 992.

   Mobile <768 keeps the existing `(max-width: 767px)` rules, and laptop
   992–1639.98 keeps its own block. PC ≥1640 is not touched.
   ═══════════════════════════════════════════════════════════════════ */
/* ───────── Shift Breakpoint for Brand Extra Details Page (apply mobile until 712px, then tablet) ───────── */
@media (min-width: 712px) and (max-width: 767.98px) {

    /* Hide Mobile Layout */
    .d-md-none {
        display: none !important;
    }

    /* Show Tablet/Desktop Layout */
    .d-none.d-md-block {
        display: block !important;
    }

    .d-none.d-md-flex {
        display: flex !important;
    }

    .d-none.d-md-inline {
        display: inline !important;
    }
}

@media (min-width: 712px) and (max-width: 991.98px) {

    /* Containers: make fluid for the tablet range. */
    .extra-details-container,
    .banner-section,
    .bottom-section {
        width: 100% !important;
        max-width: 100% !important;
    }

    .extra-details-container {
        padding: 10px 24px !important;
    }

    .breadcrumb-nav {
        top: 85px !important;
    }

    /* Banner — release the fixed `1030 + 600 = 1640px` blocks into a
       fluid flex pair with a shorter height for tablet. */
    .banner-section {
        height: 360px !important;
        min-height: 360px !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    .banner-left {
        width: calc(50% - 5px) !important;
        height: 360px !important;
        padding: 28px 28px !important;
    }

    .banner-right {
        width: calc(50% - 5px) !important;
        height: 360px !important;
    }

    .banner-img-box {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        padding: 24px !important;
    }

    .banner-img-box img {
        max-width: 100% !important;
        max-height: 200px !important;
    }

    .banner-title {
        font-size: 30px !important;
        margin-bottom: 12px !important;
        line-height: 1.15 !important;
    }

    .banner-subtitle {
        font-size: 18px !important;
        margin-bottom: 12px !important;
        line-height: 1.25 !important;
        max-width: 100% !important;
    }

    .banner-description {
        font-size: 13px !important;
        margin-bottom: 22px !important;
        line-height: 1.45 !important;
        max-width: 100% !important;
    }

    .banner-actions {
        gap: 16px !important;
        flex-wrap: wrap !important;
    }

    .btn-primary-custom {
        width: 200px !important;
        height: 44px !important;
        font-size: 13px !important;
    }

    .link-action {
        font-size: 13px !important;
        margin-left: 0 !important;
    }

    /* Decorative banner pattern SVG — clamp so it doesn't dominate the
       narrower tablet card. */
    .banner-pattern svg {
        display: none;
        max-width: 260px !important;
        max-height: 260px !important;
        opacity: 0.45 !important;
    }

    /* Middle section — title + info blocks in a single row on tablet. */
    .middle-section {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
    }

    .middle-left-text {
        font-size: 28px !important;
        flex: 0 0 auto !important;
        line-height: 1.2 !important;
    }

    .middle-right-blocks {
        width: auto !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
        display: flex !important;
        flex-direction: row !important;
    }

    .info-block {
        width: 190px !important;
        flex: 0 1 190px !important;
        min-width: 160px !important;
        height: 44px !important;
        font-size: 14px !important;
        padding: 0 12px !important;
    }

    /* Bottom section — release the fixed `1040 + 600 = 1640px` blocks
       into a fluid pair with shorter height for tablet. */
    .bottom-section {
        height: auto !important;
        min-height: 460px !important;
        gap: 10px !important;
    }

    .bottom-left {
        width: calc(50% - 5px) !important;
        height: auto !important;
        min-height: 460px !important;
        padding: 36px 32px !important;
    }

    .bottom-right {
        width: calc(50% - 5px) !important;
        height: auto !important;
        min-height: 460px !important;
    }

    .bottom-right img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .bottom-title {
        font-size: 28px !important;
        margin-bottom: 14px !important;
        line-height: 1.2 !important;
    }

    .bottom-subtitle {
        font-size: 18px !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .bottom-description {
        font-size: 13px !important;
        margin-bottom: 22px !important;
        line-height: 1.55 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .btn-secondary-custom {
        width: 200px !important;
        height: 44px !important;
        font-size: 13px !important;
    }
}

/* ──────────────────────────────────────────
   Filter Dropdowns & Modals Styles
   ────────────────────────────────────────── */
.cat-filter-dropdown-wrap {
    position: relative;
    display: inline-block;
}

/* Toggle element borders and interaction */
.cat-filter-toggle {
    transition: border-color 0.2s, background-color 0.2s;
}

.cat-filter-toggle:hover,
.cat-filter-toggle.is-open {
    border-color: #BAC2CD !important;
}

.cat-filter-toggle.is-open {
    border-bottom-color: transparent !important;
    z-index: 601;
}

/* Toggle icon behavior (+ / -) */
.cat-filter-toggle .cat-filter-icon {
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.cat-filter-toggle .cat-icon-minus {
    display: none;
}

.cat-filter-toggle.is-open .cat-icon-plus {
    display: none;
}

.cat-filter-toggle.is-open .cat-icon-minus {
    display: inline-block;
}

/* Mobile plus icon rotating to close cross */
.cat-filter-toggle.is-open .cat-filter-icon:not(.cat-icon-minus):not(.cat-icon-plus) {
    transform: rotate(45deg);
}

/* Dropdown Menu Panel */
.cat-filter-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 100%;
    background: #fff;
    border: 1px solid #BAC2CD;
    border-top: none;
    border-radius: 0 !important;
    z-index: 600;
}

/* Selected Count & Reset Header */
.cat-fdd-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #F7F8F9;
    margin: 12px 16px 8px;
    border-bottom: none;
}

.cat-fdd-count-text {
    font-size: 14px;
    color: #183158;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.cat-fdd-count {
    font-weight: 500;
    color: #E83161;
    font-size: 16px;
    margin-right: 2px;
}

.cat-fdd-reset {
    font-size: 14px;
    font-weight: 500;
    color: #E83161;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.cat-fdd-reset:hover {
    text-decoration: underline;
}

/* Options List Scrollbox */
.cat-fdd-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 4px 0 6px;
}

.cat-fdd-list::-webkit-scrollbar {
    width: 4px;
}

.cat-fdd-list::-webkit-scrollbar-track {
    background: #F7F8F9;
}

.cat-fdd-list::-webkit-scrollbar-thumb {
    background: #BAC2CD;
}

/* Individual Option Item */
.cat-fdd-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 16px;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
    transition: background 0.12s;
}

.cat-fdd-item:hover {
    background: #F7F8F9;
}

.cat-fdd-item:hover .cat-fdd-item-label {
    color: #E83161;
}

/* Hide native checkbox */
.cat-fdd-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Custom Checkbox Design */
.cat-fdd-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1.5px solid #BAC2CD;
    background: #fff;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.cat-fdd-checkbox:checked+.cat-fdd-box {
    background: #fff;
    border-color: #E83161;
}

.cat-fdd-checkbox:checked+.cat-fdd-box::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #E83161;
}

.cat-fdd-item-label {
    font-size: 14px;
    color: #183158;
    font-family: 'Poppins', sans-serif;
    transition: color 0.15s;
    line-height: 1.45;
    flex: 1;
    min-width: 0;
}

/* Responsive Overrides */
@media (max-width: 767.98px) {
    .cat-filter-dropdown-menu {
        width: 100%;
        min-width: 100%;
        left: 0;
        right: auto;
    }

    /* Mobile Categories dropdown: extends right to cover Categories + Brands full row width */
    .cat-filter-dropdown-wrap:has([data-filter-type="category_id"]) .cat-filter-dropdown-menu {
        left: 0;
        right: auto;
        width: 322px;
        min-width: unset;
    }

    /* Mobile Brands dropdown: extends left to cover Categories + Brands full row width */
    .cat-filter-dropdown-wrap:has([data-filter-type="brand_id"]) .cat-filter-dropdown-menu {
        left: -166px;
        right: auto;
        width: 322px;
        min-width: unset;
    }
}