/* =========================================
GLOBAL
========================================= */

.compare-hero,
.compare-section,
.compare-showcase,
.compare-options,
.compare-cta{
    background:#f6f6f6;
}

.compare-hero{
    padding:160px 0 60px;
}

.compare-hero h1{
    font-size:72px;
    font-weight:600;
    line-height:1.1;
    color:#111;
    margin-bottom:20px;
    letter-spacing:-2px;
}

.compare-hero p{
    max-width:700px;
    margin:auto;
    font-size:22px;
    color:#666;
}

/* =========================================
MODEL SELECTOR
========================================= */

.compare-sticky{
    position:sticky;
    top:80px;
    z-index:100;
    background:#f6f6f6;
    padding-bottom:30px;
}

.model-selector-row{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.selector-card{
    background:#fff;
    border:1px solid #e9e9e9;
    border-radius:20px;
    padding:20px 25px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    transition:.3s;
    cursor:pointer;
}

.selector-card:hover{
    transform:translateY(-3px);
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.selector-card img{
    width:70px;
}

.selector-info{
    flex:1;
    margin-left:15px;
}

.selector-info h5{
    margin:0;
    font-size:18px;
    font-weight:600;
}

.selector-info span{
    font-size:14px;
    color:#777;
}

.selector-card.empty{
    justify-content:center;
    gap:12px;
}

/* =========================================
SHOWCASE
========================================= */

.compare-showcase{
    padding:40px 0 80px;
}

.showcase-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.showcase-item{
    text-align:center;
}

.showcase-item img{
    width:100%;
    max-width:420px;
    transition:.4s;
}

.showcase-item:hover img{
    transform:scale(1.03);
}

.showcase-item a{
    display:inline-block;
    margin-top:25px;
    text-decoration:none;
    color:#111;
    font-weight:500;
    border-bottom:1px solid #111;
}

.showcase-item.disabled{
    opacity:.25;
}

/* =========================================
TOGGLE
========================================= */

.compare-options{
    padding-bottom:50px;
}

.highlight-toggle{
    display:inline-flex;
    align-items:center;
    gap:15px;
    background:#fff;
    padding:16px 24px;
    border-radius:16px;
    border:1px solid #e8e8e8;
    font-weight:500;
}

.highlight-toggle input{
    width:20px;
    height:20px;
}

/* =========================================
COMPARE SECTIONS
========================================= */

.compare-section{
    padding:0 0 40px;
}

.section-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:25px 0;
    border-bottom:1px solid #ddd;
    margin-bottom:10px;
}

.section-header h2{
    margin:0;
    font-size:42px;
    font-weight:500;
    color:#111;
}

/* =========================================
ROWS
========================================= */

.compare-row{
    display:grid;
    grid-template-columns:
    280px
    1fr
    1fr
    1fr;

    padding:35px 0;

    border-bottom:1px solid #ececec;
}

.feature-name{
    font-size:20px;
    font-weight:500;
    color:#111;
}

.feature-value{
    font-size:20px;
    color:#444;
    line-height:1.6;
}

/* =========================================
YES / NO ICONS
========================================= */

.yes{
    color:#00b86b;
    font-size:24px;
}

.no{
    color:#ff4d4f;
    font-size:24px;
}

/* =========================================
CTA
========================================= */

.compare-cta{
    padding:100px 0;
}

.cta-box{
    background:#111;
    color:#fff;
    border-radius:40px;
    padding:80px;
    text-align:center;
}

.cta-box h2{
    font-size:56px;
    margin-bottom:20px;
    font-weight:600;
}

.cta-box p{
    max-width:700px;
    margin:auto;
    font-size:20px;
    color:#cfcfcf;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:40px;
}

.btn-primary{
    background:#fff;
    color:#111;
    padding:16px 36px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.25);
    color:#fff;
    padding:16px 36px;
    border-radius:50px;
    text-decoration:none;
}

/* =========================================
HOVER EFFECTS
========================================= */

.compare-row:hover{
    background:#fafafa;
}

.compare-row:hover .feature-name{
    color:#000;
}

/* =========================================
SCROLLBAR
========================================= */

::-webkit-scrollbar{
    width:8px;
    height:8px;
}

::-webkit-scrollbar-thumb{
    background:#ccc;
    border-radius:10px;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:1200px){

    .compare-row{
        grid-template-columns:
        220px
        1fr
        1fr
        1fr;
    }

    .compare-hero h1{
        font-size:56px;
    }
}

@media(max-width:991px){

    .model-selector-row{
        grid-template-columns:1fr;
    }

    .showcase-grid{
        grid-template-columns:1fr;
    }

    .compare-row{
        min-width:900px;
    }

    .compare-section{
        overflow-x:auto;
    }

    .cta-box{
        padding:50px 30px;
    }

    .cta-box h2{
        font-size:38px;
    }
}

@media(max-width:768px){

    .compare-hero{
        padding:90px 0 50px;
    }

    .compare-hero h1{
        font-size:42px;
    }

    .compare-hero p{
        font-size:17px;
    }

    .section-header h2{
        font-size:30px;
    }

    .feature-name{
        font-size:17px;
    }

    .feature-value{
        font-size:16px;
    }
}

.model-dropdown{
    position:relative;
}

.dropdown-toggle-btn{
    width:100%;
    border:none;
    background:#fff;
}

.dropdown-menu-custom{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    border-radius:16px;
    box-shadow:0 20px 40px rgba(0,0,0,.12);
    margin-top:10px;
    display:none;
    overflow:hidden;
    z-index:999;
}

.model-dropdown.active .dropdown-menu-custom{
    display:block;
}

.dropdown-item-model{
    padding:15px 20px;
    cursor:pointer;
    transition:.3s;
}

.dropdown-item-model:hover{
    background:#f5f5f5;
}

.section-header{
    cursor:pointer;
}

.dropdown-item-model{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px;
    cursor:pointer;
    position:relative;
}

.dropdown-item-model img{
    width:60px;
    height:60px;
    object-fit:contain;
}

.selected-icon{
    margin-left:auto;
    opacity:0;
    color:#00c853;
}

.dropdown-item-model.selected .selected-icon{
    opacity:1;
}

.dropdown-item-model.selected{
    background:#f4f8ff;
}