
/* Include all the CSS from the original file here */
.cifa-comparison-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scroll animation */
html {
    scroll-behavior: smooth;
}

.cifa-comparison-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.cifa-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.cifa-logo {
    font-size: 3rem;
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 10px;
}

.cifa-subtitle {
    color: #666;
    font-size: 1.2rem;
}

.cifa-main-content {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cifa-products-grid {
    flex: 7;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 10px 0;
    align-items: start;
}

.cifa-product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: cardSlideIn 0.6s ease-out both;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.cifa-product-card.hidden {
    opacity: 0;
    transform: translateY(15px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: none !important;
}

.cifa-product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.cifa-compare-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cifa-toggle-switch {
    position: relative;
    width: 45px;
    height: 22px;
    background: #ddd;
    border-radius: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cifa-toggle-switch.active {
    background: #e67e22;
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

.cifa-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cifa-toggle-switch.active::after {
    transform: translateX(23px);
}

.cifa-toggle-label {
    font-size: 10px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.cifa-product-image {
    width: 100%;
    height: 220px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.cifa-truck-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.cifa-truck-image:hover {
    transform: scale(1.05);
}

.cifa-product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.cifa-product-code {
    background: #e67e22;
    color: white;
    padding: 14px 24px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(230, 126, 34, 0.2);
    border: none;
    width: 100%;
    max-width: 200px;
}

.cifa-product-code:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.4);
}

.cifa-filters-sidebar {
    flex: 3;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
    max-width: 320px;
}

.cifa-filters-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 25px;
    text-align: center;
}

.cifa-filter-group {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.cifa-filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cifa-filter-group-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cifa-filter-count {
    background: #e67e22;
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cifa-filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.cifa-filter-option:hover {
    background: #e9ecef;
    padding-left: 8px;
}

.cifa-filter-label {
    color: #666;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
}

.cifa-slider-container {
    margin: 15px 0;
}

.cifa-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.cifa-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e67e22;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.cifa-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cifa-compare-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.cifa-compare-section.show {
    transform: translateY(0);
}

.cifa-compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cifa-compare-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e67e22;
}

.cifa-selected-items {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cifa-selected-item {
    background: #e67e22;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    animation: slideInUp 0.3s ease-out;
}

.cifa-remove-item {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cifa-remove-item:hover {
    background: rgba(255,255,255,0.2);
}

.cifa-compare-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cifa-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cifa-btn-primary {
    background: #e67e22;
    color: white;
}

.cifa-btn-primary:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

.cifa-btn-secondary {
    background: #6c757d;
    color: white;
}

.cifa-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.cifa-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cifa-modal.show {
    opacity: 1;
    visibility: visible;
}

.cifa-modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.cifa-modal.show .cifa-modal-content {
    transform: scale(1);
}

.cifa-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.cifa-modal-close:hover {
    color: #e67e22;
    transform: scale(1.1);
}

.cifa-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.cifa-comparison-table th,
.cifa-comparison-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.cifa-comparison-table th {
    background: #e67e22;
    color: white;
    font-weight: 600;
}

.cifa-comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.cifa-comparison-table tr:hover {
    background: #e9ecef;
}


.cifa-no-products-message {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    margin: 40px auto;
    max-width: 700px;
    border: 2px solid #e67e22;
    position: relative;
    overflow: hidden;
}

.cifa-no-products-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #d35400, #e67e22);
}

.cifa-no-products-title {
    font-size: 3rem;
    color: #e67e22;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
}

.cifa-no-products-description {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cifa-no-products-actions {
    margin-top: 30px;
}

.cifa-btn {
    padding: 18px 35px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cifa-btn-primary {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    border: 2px solid transparent;
}

.cifa-btn-primary:hover {
    background: linear-gradient(135deg, #d35400, #c0392b);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.5);
    border-color: #e67e22;
}

/******Category-design***************/

/* .cifa-results-info {
    display: none;
} */

.cifa-product-info {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 0px;
}

.cifa-product-code {
    background: #e67e22;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(230, 126, 34, 0.2);
    border: none;
    width: 100% !important;
    padding-top: var(--space-xs) !important;
    padding-bottom: var(--space-xs) !important;
    padding-left: var(--space-xs) !important;
    padding-right: var(--space-xs) !important;
    font-size: calc(var(--text-xs)*1.3) !important;
    max-width: 100% !important;
    border-radius: 0px !important;
    font-weight: 700;
    min-height: 80px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cifa-compare-toggle {
    position: static;
    display: flex;
    flex-flow: nowrap;
    align-items: center;
    justify-content: end;
    align-self: flex-end;
}

.cifa-toggle-label {
    font-size: var(--text-s);
    font-family: PT Sans, sans-serif;
    color: var(--black);
    font-weight: 700 !important;
    text-transform: capitalize;
}

.cifa-toggle-switch {
    position: relative;
    width: 62px;
    height: 28px;
    background: #ddd;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cifa-toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    top: 4px;
    left: 4px;
    bottom: 4px;
}

.cifa-toggle-switch.active::after {
    transform: translateX(34px);
}

.cifa-product-card {
    background: white;
    border-radius: 0px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: cardSlideIn 0.6s ease-out both;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-xs);
    padding-top: var(--space-xs);
    padding-right: var(--space-xs);
    padding-left: var(--space-xs);
    padding-bottom: var(--space-xs);
    align-items: center;
}

.cifa-product-image {
    width: 100%;
    height: 100%;
    max-height: 200px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 0px;
}

.cifa-comparison-container {
    background-color: transparent;
}

.cifa-products-grid {
    flex: 7;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0px;
    align-items: start;
}

/* .cifa-results-counter {
    position: absolute;
} */

.cifa-main-content {
    animation: fadeInUp 0.8s ease-out 0.2s both;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

.cifa-filters-sidebar {
    flex: 3;
    background: #f8f9fa;
    border-radius: 0px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xs);
    padding-left: var(--space-xs);
    padding-right: var(--space-xs);
    width: 100%;
    max-width: 100%;
}

/***********filter**********/

.cifa-filter-label {
    color: var(--black);
    font-weight: 700 !important;
    cursor: pointer;
    flex: 1;
    font-size: calc(var(
    --text-xs)*1.4);
    font-family: PT Sans, sans-serif;
}

.cifa-filter-group {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    background-color: var(--white);
    padding-top: var(--space-s);
    padding-bottom: var(--space-s);
    padding-left: var(--space-s);
    padding-right: var(--space-s);
}

.cifa-filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    transition: all 0.3s ease;
    border-radius: 0px;
    border-bottom: 1px solid var(--black);
}

.cifa-filter-option:hover {
    background: var(--white);
    padding-left: 0px;
}

.fa-filter:before {
    content: "\f0b0";
    font-size: var(--text-xl);
}

.cifa-filters-title {
    font-size: var(--text-m);
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Exo';
}

.cifa-filter-group-title {
    font-size: var(--text-m);
    border-bottom: 1px solid var(--black);
    font-family: 'Exo';
    font-weight: 800;
}

.cifa-filter-count {
    background: transparent;
    color: var(--black);
    font-size: var(--text-m);
    font-family: 'Exo';
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cifa-slider-container span {
    font-size: var(--text-xs);
    font-weight: 500;
}
/************************************/

/**************Compare-model*********/

.cifa-modal-content h2 {
    display: none;
}

.cifa-modal-content .cifa-comparison-header {
    display: flex;
    flex-flow: column;
    gap: var(--space-l);
}

.cifa-modal-content .cifa-comparison-scroll-container {
    padding-top: var(--space-s);
    border-top: 1px solid var(--black-trans-30);
}

.cifa-comparison-table-horizontal thead tr {
    background-color: var(--black);
    color: var(--white);
    /*font-size: var(--text-s);*/
    text-align: right;
    /*font-weight: 400 !important;*/
    line-height: 1.3;
}

/*.cifa-comparison-table-horizontal .cifa-spec-column {
    align-items: flex-start !important;
    justify-content: end !important;
    display: flex;
    border: 0px !important;
    margin: 0px !important;
    padding: var(--space-xs);
}*/

.cifa-comparison-table-horizontal tr:nth-child(even) {
  background-color: var(--base);
}

.cifa-comparison-table-horizontal .cifa-spec-cell, 
    .cifa-comparison-table-horizontal .cifa-product-cell {
    font-size: var(--text-xs);
    text-align: right;
    padding: var(--space-xs)
}

.cifa-comparison-table-horizontal .cifa-spec-column,
.cifa-comparison-table-horizontal .cifa-product-column {
    font-size: var(--text-xs);
    padding: var(--space-xs);
}

.cifa-comparison-table-horizontal .cifa-product-cell a {
    background-color: var(--black);
    padding-top: calc(var(--space-s)/1.5);
    padding-bottom: calc(var(--space-s)/1.5);
    padding-left: var(--space-l);
    padding-right: var(--space-l);
    border-radius: var(--radius-xl);
    color: var(--white);
}

.cifa-comparison-table-horizontal .cifa-product-cell a:hover {
    background-color: var(--primary);
}

.cifa-comparison-table-horizontal tbody tr:last-child {
  background: none !important;
}

.cifa-modal-content .cifa-modal-close {
    font-size: var(--text-xxl);
}

.cifa-compare-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.cifa-compare-section .cifa-compare-header,
.cifa-compare-section .cifa-selected-items {
    margin: 0px;
}

.cifa-compare-section .cifa-compare-header {
    display: none;
}

.cifa-compare-section .cifa-btn {
    white-space: nowrap;
}

/************************************/

/*************Single-product*********/

.ci-product-name a {
    color: var(--primary);
}

.ci-hero-section__product-name {
    font-size: var(--h2) !important;
    color: var(--secondary);
}

.ci-hero-section__inner-wrapper {
    row-gap: var(--space-xs);
}

.cifa-slider {
    width: 100%;
    max-width: 100% !important;
    height: 100vh !important;
    border-radius: 0px !important;
    background: var(--base);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin-top: var(--space-l) !important;
    position: relative;
}

.swiper-slide {
    display: flex !important;
    flex-shrink: 0;
    height: 100%;
    position: relative;
    transition-property: transform;
    width: 100%
}

.cifa-slider img {
    width: 100%;
    height: auto;
    border-radius: 0px !important;
    object-fit: cover;
    display: block;
}

.ci-hero-section__inner-wrapper {
    row-gap: var(--space-s) !important;
}

.cifa-slider .swiper-pagination {
    display: none;
}

.cifa-slider .swiper-button-prev,
.cifa-slider .swiper-button-next {
    color: var(--black) !important;
    width: 35px !important;
    height: 35px !important;
}
/***********************************/


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cifa-filters-sidebar {
        flex: 4;
        max-width: 300px;
        padding: 15px;
    }
    
    .cifa-products-grid {
        flex: 6;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    .cifa-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .cifa-main-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .cifa-filters-sidebar {
        flex: none;
        max-width: 100%;
        position: relative;
        top: auto;
        order: 1;
        padding: 15px;
    }
    
    .cifa-products-grid {
        flex: none;
        order: 2;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .cifa-products-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .cifa-compare-section {
        padding: 12px;
    }
    
    .cifa-selected-items {
        justify-content: center;
    }
    
    .cifa-filters-sidebar {
        padding: 12px;
    }
    
    .cifa-product-info {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .cifa-comparison-container {
        padding: 10px;
    }
    
    .cifa-products-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .cifa-product-card {
        border-radius: 10px;
    }
    
    .cifa-product-info {
        padding: 15px;
    }
}

/**************cetegory-responsive***************/
@media (max-width: 991px) {
    .cifa-main-content {
    animation: fadeInUp 0.8s ease-out 0.2s both;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    }

    .cifa-product-info {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 0px !important;
    }
}
/************************************************/

/*****************single-product-Responsive*****************/

@media (max-width: 991px) {

    .cifa-slider {
    width: 100%;
    max-width: 100% !important;
    height: 50vh !important;
    border-radius: 0px !important;
    background: var(--base);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin-top: var(--space-l) !important;
    position: relative;
    }

    .ci-product-info__inner-wrapper {
        display: grid;
        align-items: initial;
        grid-template-columns: var(--grid-1) !important;
        grid-gap: var(--space-xl);
        align-items: flex-start
    }

    .ci-product-info__left-col {
    align-items: flex-start !important;
    justify-content: space-between;
    position: relative;
    row-gap: var(--space-m)
    }

    .ci-product-info__prod-name {
    text-align: left !important;
    }
}

@media (max-width: 767px) {

    .ci-hero-section__product-name {
    font-size: var(--h3) !important;
    color: var(--secondary);
    }

    .ci-product-about__prod-wrap {
    display: flex;
    flex-direction: column;
    align-items: self-start !important;
    row-gap: var(--space-s)
    }

    .ci-product-about__left-col {
    display: grid;
    align-items: initial;
    grid-template-columns: var(--grid-1) !important;
    grid-gap: var(--space-l);
    align-items: self-start;
    justify-content: left;
    }

    .cifa-slider {
    width: 100%;
    max-width: 100% !important;
    height: 30vh !important;
    border-radius: 0px !important;
    background: var(--base);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin-top: var(--space-l) !important;
    position: relative;
    }

    .ci-hero-section__inner-wrapper {
    row-gap: var(--space-xs) !important;
}
}
/*********************************************/


/************Compare-responsive***************/

@media (max-width: 767px) {
    .cifa-compare-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: var(--space-xs);
    }

    .cifa-selected-items {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: center;
    }

    .cifa-selected-item {
    background: #e67e22;
    color: white;
    padding: 5px 6px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0px;
    font-size: 0.9rem;
    animation: slideInUp 0.3s ease-out;
    }

    .cifa-selected-items {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: center;
    gap: calc(var(--space-xs)/3);
    column-gap: calc(var(--space-xs)/3) !important;
    }
}

/* AJAX Loading Styles */
.cifa-products-grid.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.cifa-products-grid.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.cifa-products-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: cifa-spin 1s linear infinite;
    z-index: 11;
}

@keyframes cifa-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Error Message Styles */
.cifa-error-message {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.cifa-error-icon {
    margin-bottom: 20px;
}

.cifa-error-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 15px;
}

.cifa-error-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.cifa-error-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Range Slider Styles */
.cifa-range-slider-container {
    position: relative;
    height: 20px;
    margin: 10px 0;
}

.cifa-range-slider {
    position: absolute;
    width: 100%;
    height: 20px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
}

.cifa-range-slider::-webkit-slider-track {
    width: 100%;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.cifa-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cifa-range-slider::-moz-range-track {
    width: 100%;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    border: none;
}

.cifa-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Range slider track background */
.cifa-range-slider-container::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    z-index: 1;
}

/* Active range highlight */
.cifa-range-slider-container::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 4px;
    background: #ff6b35;
    border-radius: 2px;
    z-index: 1;
    opacity: 0.3;
}

/**************************************/