﻿/* Responsive CSS for DFE Pharma Product Finder */

@media (max-width: 1366px) {
    .custom-card-option .form-check-label {
        font-size: 14px;
    }
    .custom-card-header .card-title {
        font-size: 17px;
    }
    .custom-card-header {
        padding: 15px;
    }
    .custom-card-option {
        padding: 5px 0;
    }
    .nav-tabs .nav-link {
        font-size: 17px;
        padding: 12px 15px 8px;
    }

    .custom-sub-header-title {
        font-size: 24px;
    }

    .filter-heading {
        font-size: 16px;
    }
    .custom-dot {
        width: 10px;
        height: 10px;
    }
    .filter-color-bar {
        height: 14px;
    }
    .custom-filter-btn {
        font-size: 16px;
    }
    .filter-svg {
        height: 60px;
    }
    .filter-icon {
        height: 60px;
    }
    .filter-icon-filled, .filter-icon-deselected {
        height: 60px;
    }
    .btn-filter-reset-go {
        padding: 8px 40px;
        font-size: 15px;
    }
    .custom-data-item {
        font-size: 14px;
    }
    .custom-data-item {
        height: 40px;
        padding: 8px 0;
    }
    .custom-properties-header {
        padding-top: 58px;
    }
    .custom-properties-header h4 {
        min-height: 175px;
        height: 204px;
    }
    .dfe-psd-add-to-cart-btn {
        padding: 8px 40px;
        font-size: 15px;
    }
    .dfe-filter-title {
        font-size: 17px;
    }
    .dfe-btn-cancel, .dfe-btn-apply, .dfe-psm-btn-ask-expert, .dfe-psm-btn-request-sample {
        padding: 8px 40px;
        font-size: 15px;
    }
    .dfe-psm-table tbody td {
        font-size: 14px;
        padding: 10px;
    }
    .custom-flow-dot {
        width: 18px;
        height: 10px;
    }
    .custom-product-name {
        font-size: 16px;
    }
}
@media (max-width: 1024px) {
    .custom-product-name {
        font-size: 15px;
    }
    .custom-data-item {
        height: 40px;
        padding: 5px 0;
        min-height: 40px;
    }
    .custom-properties-header {
        padding-top: 57px;
    }
    .custom-product-column {
        flex: 0 0 50%;
    }
}
/* ============================================
   TAB RESPONSIVE STYLES (Convert to Dropdown below 992px)
   ============================================ */

/* Hide tabs dropdown on desktop (above 992px) */
.custom-tabs-dropdown-wrapper {
    display: none;
}

/* Show tabs dropdown on tablet and mobile (below 992px) */
@media (max-width: 991.98px) {
    /* Hide regular tabs */
    .custom-tabs-section .nav-tabs {
        display: none !important;
    }

    /* Show dropdown wrapper */
    .custom-tabs-dropdown-wrapper {
        display: block;
        margin-bottom: 20px;
    }

    /* Dropdown button styling */
    .custom-tabs-dropdown-btn {
        width: 100%;
        padding: 14px 20px;
        background-color: var(--tab-selected-bg, #31576E);
        color: white;
        border: none;
        border-radius: 8px;
        font-family: "Arimo", sans-serif;
        font-weight: 700;
        font-size: 18px;
        text-align: left;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

        .custom-tabs-dropdown-btn:hover {
            background-color: #2a4a5f;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .custom-tabs-dropdown-btn:focus {
            outline: 2px solid rgba(49, 87, 110, 0.3);
            outline-offset: 2px;
        }

        .custom-tabs-dropdown-btn i {
            transition: transform 0.3s ease;
            font-size: 14px;
        }

        .custom-tabs-dropdown-btn.open i {
            transform: rotate(180deg);
        }

    /* Dropdown menu styling */
    .custom-tabs-dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        margin-top: 8px;
        z-index: 1000;
        overflow: hidden;
    }

        .custom-tabs-dropdown-menu.show {
            display: block;
        }

    .custom-tabs-dropdown-item {
        padding: 14px 20px;
        font-family: "Arimo", sans-serif;
        font-weight: 700;
        font-size: 18px;
        color: var(--tab-deselected-text, #707070);
        background-color: var(--tab-deselected-bg, #EFEDED);
        cursor: pointer;
        transition: all 0.3s ease;
        border-bottom: 1px solid #e9ecef;
        pointer-events: auto;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        position: relative;
        z-index: 1001;
    }

        .custom-tabs-dropdown-item:last-child {
            border-bottom: none;
        }

        .custom-tabs-dropdown-item:hover {
            background-color: #f8f9fa;
            color: var(--tab-selected-bg, #31576E);
        }

        .custom-tabs-dropdown-item.active {
            background-color: var(--tab-selected-bg, #31576E);
            color: white;
        }

    /* Position relative for dropdown */
    .custom-tabs-dropdown-container {
        position: relative;
    }

    /* Remove border-bottom from border-btm-row on mobile */
    .border-btm-row {
        border-bottom: none !important;
    }
}

/* ============================================
   FILTER BUTTON RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991.98px) {
    .custom-filters-toggle {
        margin-top: 0;
        width: 100%;
        justify-content: flex-end;
    }

    .custom-filter-btn {
        padding: 10px 20px;
        border-radius: 25px;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }



        .custom-filter-btn span {
            display: flex;
            align-items: center;
            gap: 6px;
        }



    .custom-filter-arrow-img {
        width: 12px;
        height: 12px;
        transition: transform 0.3s ease;
    }

    .custom-filter-btn[aria-expanded="true"] .custom-filter-arrow-img {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .custom-filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* ============================================
   FILTER ICONS RESPONSIVE STYLES
   ============================================ */

/* Hide scroll arrows on desktop (default) */
.filter-scroll-btn {
    display: none;
}

/* Horizontal scrollable filter container for mobile */
@media (max-width: 991.98px) {
    /* Filter Container Wrapper */
    .filter-container-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .filter-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding: 15px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #F04E38 #f0f0f0;
        scroll-behavior: smooth;
        scroll-padding-left: 50px;
        scroll-padding-right: 0;
        /* Force scroll to start */
        scroll-snap-type: x mandatory;
        /* Ensure container starts at position 0 */
        direction: ltr;
    }

        /* Ensure first filter is visible - add margin to first child */
        .filter-container .filter-section:first-child {
            margin-left: 50px;
            scroll-margin-left: 50px;
            min-width: 140px;
            /* Ensure first filter snaps to start */
            scroll-snap-align: start;
        }

        /* Ensure all filter sections snap properly */
        .filter-container .filter-section {
            scroll-snap-align: start;
        }

            /* Ensure last filter is visible - add margin to last child */
            .filter-container .filter-section:last-child {
                margin-right: 0;
                scroll-margin-right: 0;
            }

    /* Scroll Arrow Buttons */
    .filter-scroll-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
        border: 2px solid #F04E38;
        border-radius: 50%;
        color: #F04E38;
        font-size: 16px;
        cursor: pointer;
        z-index: 15;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        opacity: 1;
        pointer-events: all;
    }

    /* Show arrows on touch devices */
    @media (hover: none) and (pointer: coarse) {
        .filter-scroll-btn {
            opacity: 1;
        }
    }

    .filter-scroll-btn:hover {
        background: #F04E38;
        color: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 4px 12px rgba(240, 78, 56, 0.4);
    }

    .filter-scroll-btn:active {
        transform: translateY(-50%) scale(0.95);
    }

    .filter-scroll-left {
        left: 2px;
        z-index: 15;
    }

    .filter-scroll-right {
        right: 2px;
        z-index: 15;
    }

    /* Ensure first filter is not hidden behind arrow */
    .filter-container .filter-section:first-child {
        position: relative;
        z-index: 1;
    }



    .filter-scroll-btn.hidden {
        display: none;
    }

    /* Custom scrollbar for webkit browsers */
    .filter-container::-webkit-scrollbar {
        height: 6px;
    }

    .filter-container::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 10px;
    }

    .filter-container::-webkit-scrollbar-thumb {
        background: #F04E38;
        border-radius: 10px;
    }

        .filter-container::-webkit-scrollbar-thumb:hover {
            background: #d43e2a;
        }

    .filter-section {
        flex: 0 0 auto;
        min-width: 140px;
        max-width: 160px;
        width: 140px;
        padding: 15px 12px;
        border-radius: 12px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 2px solid transparent;
    }

        .filter-section:hover {
            border-color: rgba(240, 78, 56, 0.3);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        }

        .filter-section:active {
            transform: scale(0.95);
        }

        .filter-section.active {
            box-shadow: 0 4px 16px rgba(49, 164, 160, 0.3);
            transform: translateY(-4px);
        }

    .filter-icon {
        height: 55px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .filter-svg {
        height: 55px;
        max-width: 100%;
        object-fit: contain;
    }

    /* Icon toggle for all filters - responsive */
    .filter-icon-filled,
    .filter-icon-deselected {
        height: 55px;
    }

    /* Grayout text when deselected - responsive */
    .filter-section.deselected .filter-heading {
        color: #999 !important;
        opacity: 0.5;
    }

    .filter-heading {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.3;
        text-align: center;
        font-weight: 600;
        color: #4C7189;
    }

    .filter-color-bar {
        height: 18px;
        border-radius: 9px;
        width: 100%;
    }

    /* Ensure first and last filters are visible */
    .filter-container {
        scroll-snap-type: x mandatory;
    }

    .filter-section {
        scroll-snap-align: start;
    }

    /* Add subtle gradient fade on edges */
    .filter-container-wrapper::before,
    .filter-container-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 30px;
        pointer-events: none;
        z-index: 5;
    }

    .filter-container-wrapper::before {
        left: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.95), transparent);
    }

    .filter-container-wrapper::after {
        right: 0;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.95), transparent);
    }
}

@media (max-width: 768px) {
    .filter-container {
        padding: 12px 0;
        gap: 10px;
        scroll-padding-left: 45px;
    }

        /* Ensure first filter visible */
        .filter-container .filter-section:first-child {
            margin-left: 45px;
            scroll-margin-left: 45px;
        }

    .filter-scroll-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .filter-scroll-left {
        left: 3px;
    }

    .filter-scroll-right {
        right: 3px;
    }

    .filter-section {
        min-width: 130px;
        max-width: 150px;
        width: 130px;
        padding: 12px 10px;
    }

    .filter-icon {
        height: 50px;
        margin-bottom: 10px;
    }

    .filter-svg {
        height: 50px;
    }

    .filter-heading {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .filter-color-bar {
        height: 16px;
    }
    .custom-properties-header h4 {
        min-height: 168px;
        height: 176px;
        padding: 0;
    }
    .custom-properties-header {
        padding: 20px 10px 10px;
    }
    .custom-property-item {
        min-height: 40px;
    }
    .custom-product-column {
        padding: 15px 0 0;
    }
}
@media (max-width: 767px) {
    .custom-properties-header h4 {
        height: 115px;
        padding-left: 0;
        min-height: 175px;
    }
    .custom-product-image-container {
        height: 150px;
    }
    .custom-product-name {
        font-size: 14px;
    }
}
@media (max-width: 576px) {
    .filter-container {
        padding: 10px 0;
        gap: 8px;
        scroll-padding-left: 40px;
    }

        /* Ensure first filter visible */
        .filter-container .filter-section:first-child {
            margin-left: 300px;
            scroll-margin-left: 0;
        }

    .filter-scroll-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .filter-scroll-left {
        left: 2px;
    }

    .filter-scroll-right {
        right: 2px;
    }

    .filter-section {
        min-width: 120px;
        max-width: 140px;
        width: 120px;
        padding: 10px 8px;
    }

    .filter-icon {
        height: 45px;
        margin-bottom: 8px;
    }

    .filter-svg {
        height: 45px;
    }

    .filter-heading {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .filter-color-bar {
        height: 14px;
    }

    .custom-data-item {
        min-height: 35px;
        height: 35px;
        font-size: 11px;
    }

    .custom-properties-header {
        padding-left: 10px;
    }

    .custom-property-item {
        min-height: 35px;
        height: 35px;
    }
}
}

/* Make filter container position relative for scroll indicators */
@media (max-width: 991.98px) {
    .custom-filter-section {
        position: relative;
    }

    .filter-container {
        position: relative;
    }
}

/* ============================================
   VERTICAL TOGGLE RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991.98px) {
    .custom-filter-section .row {
        flex-direction: column;
    }

    .custom-filter-section .col-lg-10,
    .custom-filter-section .col-lg-2 {
        width: 100%;
        max-width: 100%;
    }

    .custom-vertical-toggle {
        margin-top: 20px;
        padding: 15px 0;
    }
}

/* ============================================
   CARDS SECTION RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .custom-content-container {
        padding: 20px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .custom-cards-section {
        padding: 15px 0;
        max-width: 100%;
        overflow-x: hidden;
    }

    .custom-cards-row {
        margin: 0;
        max-width: 100%;
    }

        .custom-cards-row .col-lg-4 {
            margin-bottom: 20px;
            max-width: 100%;
            padding-left: 15px;
            padding-right: 15px;
        }

    .custom-card {
        max-width: 100%;
        overflow: hidden;
    }

    .custom-card-body {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .custom-content-container {
        padding: 15px;
    }

    .custom-card-header {
        padding: 15px;
    }

        .custom-card-header .card-title {
            font-size: 18px;
        }

    .custom-card-body {
        padding: 15px;
    }

    .custom-card {
        max-width: 100%;
        overflow: hidden;
    }

    .custom-card-option {
        min-width: 0;
        overflow: hidden;
    }

        .custom-card-option .form-check {
            min-width: 0;
            flex: 1 1 auto;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        .custom-card-option .form-check-input {
            margin-top: 0;
            align-self: center;
        }

        .custom-card-option .form-check-label {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            align-self: center;
        }

    .custom-process-dots {
        gap: 8px;
        flex-shrink: 0;
        align-items: center;
        align-self: center;
    }

    .custom-info-icon {
        flex-shrink: 0;
        align-self: center;
    }
}

@media (max-width: 576px) {
    .custom-content-container {
        padding: 10px;
    }

    .custom-card-header {
        padding: 12px;
    }

        .custom-card-header .card-title {
            font-size: 16px;
        }

    .custom-card-body {
        padding: 12px;
    }

    .custom-card-option {
        padding: 6px 0;
        min-width: 0;
        overflow: hidden;
    }

        .custom-card-option .form-check-label {
            font-size: 14px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 100%;
        }

        .custom-card-option .form-check {
            min-width: 0;
            flex: 1 1 auto;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        .custom-card-option .form-check-input {
            margin-top: 0;
            align-self: center;
        }

        .custom-card-option .form-check-label {
            align-self: center;
        }

    .custom-process-dots {
        gap: 10px;
        flex-shrink: 0;
        align-items: center;
        align-self: center;
    }

    .custom-info-icon {
        font-size: 14px;
        flex-shrink: 0;
        align-self: center;
    }
}

/* ============================================
   SUB HEADER RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .custom-sub-header {
        padding: 20px 0;
    }

        .custom-sub-header .row {
            flex-direction: column;
            align-items: flex-start !important;
        }

        .custom-sub-header .col-md-6 {
            width: 100%;
            max-width: 100%;
        }

            .custom-sub-header .col-md-6.text-end {
                text-align: left !important;
                margin-top: 15px;
            }

    .custom-sub-header-title {
        font-size: 20px;
    }

    .custom-filters-toggle {
        margin-top: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .custom-sub-header {
        padding: 15px 0;
    }

    .custom-sub-header-title {
        font-size: 18px;
    }

    .custom-filter-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .custom-sub-header {
        padding: 12px 0;
    }

    .custom-sub-header-title {
        font-size: 16px;
    }

    .custom-filter-btn {
        font-size: 13px;
        padding: 7px 14px;
        justify-content: center;
    }
}

/* ============================================
   RESET BUTTON RESPONSIVE
   ============================================ */

@media (max-width: 576px) {
    .filter-reset-rgt-flex {
        justify-content: center;
        margin-top: 20px;
    }

    .btn-filter-reset-go {
        width: 100%;
        max-width: 300px;
        padding: 12px 40px;
    }
}

/* ============================================
   ADVANCED FILTER MODULE RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
    .dfe-filter-column {
        padding: 18px;
    }

    .dfe-filter-title {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .dfe-advanced-filter-wrapper {
        padding: 25px 15px;
    }

    .dfe-filter-column {
        padding: 18px;
        margin-bottom: 20px;
    }

    .dfe-filter-row {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .dfe-advanced-filter-wrapper {
        padding: 20px 10px;
    }

    .dfe-filter-column {
        padding: 15px;
        margin-bottom: 15px;
    }

    .dfe-filter-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .dfe-range-input {
        width: 55px;
        height: 30px;
        font-size: 11px;
    }

    .dfe-filter-actions {
        flex-direction: column;
        gap: 10px;
        padding: 15px 10px 0;
    }

    .dfe-btn-cancel,
    .dfe-btn-apply {
        width: 100%;
        justify-content: center;
    }

    .dfe-range-group {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .dfe-advanced-filter-wrapper {
        padding: 15px 8px;
    }

    .dfe-filter-column {
        padding: 12px;
        margin-bottom: 12px;
    }

    .dfe-filter-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .dfe-checkbox-group .form-check-label {
        font-size: 13px;
    }

    .dfe-range-input {
        width: 50px;
        height: 28px;
        font-size: 10px;
    }

    .dfe-range-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .dfe-range-inputs {
        width: 100%;
        justify-content: flex-start;
    }

    .dfe-filter-actions {
        padding: 12px 8px 0;
    }

    .dfe-btn-cancel,
    .dfe-btn-apply {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* ============================================
   COMPARISON TABS RESPONSIVE DROPDOWN STYLES
   ============================================ */

/* Hide comparison tabs dropdown on desktop (above 992px) */
.custom-comparison-tabs-section .custom-comparison-tabs-dropdown {
    display: none !important;
}

@media (min-width: 992px) {
    .custom-comparison-tabs-section .custom-tabs-dropdown-wrapper.custom-comparison-tabs-dropdown,
    .custom-comparison-tabs-section .custom-comparison-tabs-dropdown {
        display: none !important;
    }
    .custom-comparison-tabs-section .nav-tabs {
        display: flex !important;
    }
}

/* Hide dropdown when no visible tabs */
.custom-comparison-tabs-dropdown.no-visible-tabs {
    display: none !important;
}

    /* Show comparison tabs dropdown on tablet and mobile (below 992px) */
@media (max-width: 991.98px) {
    /* Hide regular comparison tabs */
    .custom-comparison-tabs-section .nav-tabs {
        display: none !important;
    }

    /* Show comparison dropdown wrapper */
    .custom-comparison-tabs-section .custom-comparison-tabs-dropdown {
        display: block !important;
        margin-bottom: 20px;
    }

    /* Comparison dropdown button styling */
    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-btn {
        width: 100%;
        padding: 14px 20px;
        background-color: var(--tab-selected-bg, #31576E);
        color: white;
        border: none;
        border-radius: 8px;
        font-family: "Arimo", sans-serif;
        font-weight: 700;
        font-size: 18px;
        text-align: left;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-btn:hover {
        background-color: #2a4a5f;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-btn:focus {
        outline: 2px solid rgba(49, 87, 110, 0.3);
        outline-offset: 2px;
    }

    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-btn i {
        transition: transform 0.3s ease;
        font-size: 14px;
    }

    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-btn.open i {
        transform: rotate(180deg);
    }

    /* Comparison dropdown menu styling */
    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        margin-top: 8px;
        z-index: 1000;
        overflow: hidden;
    }

    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-menu.show {
        display: block;
    }

    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-item {
        padding: 14px 20px;
        font-family: "Arimo", sans-serif;
        font-weight: 700;
        font-size: 18px;
        color: var(--tab-deselected-text, #707070);
        background-color: var(--tab-deselected-bg, #EFEDED);
        cursor: pointer;
        transition: all 0.3s ease;
        border-bottom: 1px solid #e9ecef;
        pointer-events: auto;
        user-select: none;
    }

    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-item:last-child {
        border-bottom: none;
    }

    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-item:hover {
        background-color: #f8f9fa;
        color: var(--tab-selected-bg, #31576E);
    }

    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-item.active {
        background-color: var(--tab-selected-bg, #31576E);
        color: white;
    }

    /* Position relative for comparison dropdown */
    .custom-comparison-tabs-dropdown .custom-tabs-dropdown-container {
        position: relative;
    }

    /* Remove border-bottom from border-btm-row on mobile for comparison tabs */
    .custom-comparison-tabs-section .border-btm-row {
        border-bottom: none !important;
    }
}
@media (max-width: 460px) {
    .custom-product-column {
        flex: 0 0 100%;
    }
}