/* =========================
   HERO SECTION
========================= */

.product-hero{
    padding:100px 0 60px;
    background:linear-gradient(135deg,#002B5B 0%,#0077C8 100%);
    text-align:center;
    color:#fff;
    position:relative;
    overflow:hidden;
}

.product-hero::before{
    content:'';
    position:absolute;
    width:450px;
    height:450px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    top:-200px;
    right:-150px;
}

.product-hero span{
    display:inline-block;
    font-size:12px;
    letter-spacing:3px;
    text-transform:uppercase;
    opacity:.85;
}

.product-hero h1{
    font-size:42px;
    font-weight:700;
    margin:15px 0;
    line-height:1.2;
}

.product-hero p{
    font-size:15px;
    max-width:600px;
    margin:auto;
    opacity:.9;
}

/* =========================
   PRODUCTS PAGE
========================= */

.products-page{
    padding:80px 0;
    background:#f5f8fc;
}

/* =========================
   FILTER SIDEBAR
========================= */

.sidebar-filter{
    background:rgba(255,255,255,.8);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.4);
    padding:25px;
    border-radius:22px;
    box-shadow:0 10px 40px rgba(0,0,0,.05);
    position:sticky;
    top:120px;
}

.sidebar-filter h1{
    font-size:15px;
    font-weight:600;
    color:#003B73;
    margin-bottom:15px;
}

.sidebar-filter ul{
    list-style:none;
    padding:0;
    margin:0;
}

.sidebar-filter li{
    padding:8px 0;
    font-size:14px;
    color:#555;
    cursor:pointer;
    transition:.3s;
}

.sidebar-filter li:hover{
    color:#0077C8;
    padding-left:5px;
}

.sidebar-filter hr{
    margin:20px 0;
    opacity:.08;
}

/* =========================
   COLOR CIRCLES
========================= */

.color-list{
    display:flex;
    gap:10px;
}

.color-list span{
    width:26px;
    height:26px;
    border-radius:50%;
    cursor:pointer;
    transition:.3s;
}

.color-list span:hover{
    transform:scale(1.15);
}

.white{
    background:#fff;
    border:1px solid #ddd;
}

.black{
    background:#111;
}

.blue{
    background:#0077C8;
}

.red{
    background:#ff3b30;
}

/* =========================
   PRODUCT CARD
========================= */

.product-card{
    background:#fff;
    border-radius:24px;
    padding:25px;
    display:flex;
    align-items:center;
    gap:30px;
    margin-bottom:25px;
    border:1px solid rgba(0,0,0,.05);
    box-shadow:0 15px 40px rgba(0,0,0,.05);
    transition:all .4s ease;
    overflow:hidden;
    position:relative;
}

.product-card::before{
    content:'';
    position:absolute;
    width:100%;
    height:4px;
    top:0;
    left:0;
    background:linear-gradient(90deg,#0077C8,#00c6ff);
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 50px rgba(0,119,200,.12);
}

.product-image{
    width:220px;
    flex-shrink:0;
}

.product-image img{
    width:100%;
    transition:.5s;
}

.product-card:hover .product-image img{
    transform:scale(1.05);
}

/* =========================
   PRODUCT INFO
========================= */

.brand{
    display:inline-block;
    font-size:11px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#0077C8;
    font-weight:600;
}

.product-info h2{
    font-size:28px;
    font-weight:700;
    color:#003B73;
    margin:8px 0 10px;
}

.product-info p{
    font-size:14px;
    line-height:1.8;
    color:#6b7280;
    max-width:550px;
}

.product-price{
    font-size:24px;
    font-weight:700;
    color:#0077C8;
    margin:18px 0;
}

/* =========================
   BUTTON
========================= */

.product-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 26px;
    border-radius:50px;
    background:linear-gradient(135deg,#0077C8,#00a8ff);
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.product-btn:hover{
    transform:translateY(-2px);
    color:#fff;
    box-shadow:0 10px 25px rgba(0,119,200,.25);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .product-card{
        flex-direction:column;
        text-align:center;
    }

    .product-image{
        width:180px;
    }

    .product-info h2{
        font-size:24px;
    }

    .product-hero h1{
        font-size:32px;
    }

    .sidebar-filter{
        margin-bottom:30px;
        position:relative;
        top:auto;
    }

}

@media(max-width:576px){

    .product-card{
        padding:20px;
    }

    .product-info h2{
        font-size:22px;
    }

    .product-price{
        font-size:20px;
    }

}

.product-hero{
    position:relative;
    min-height:550px;
    background:url('../images/producthero.webp') center center no-repeat;
    background-size:contain;
    background-color:#041a32;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.product-hero{
    position: relative;
    overflow: hidden;
}

/* Left Top Circle */
.product-hero::before{
    content:'';
    position:absolute;
    width:600px;
    height:600px;
    background:rgba(0, 64, 128, 0.45);
    border-radius:50%;
    top:-120px;
    left:-220px;
    z-index:1;
}

/* Right Bottom Circle */
.product-hero::after{
    content:'';
    position:absolute;
    width:600px;
    height:600px;
    background:rgba(0, 64, 128, 0.45);
    border-radius:50%;
    bottom:-250px;
    right:-250px;
    z-index:1;
}

.product-hero .container{
    position:relative;
    z-index:2;
}


.product-hero .container{
    position:relative;
    z-index:2;
}

.product-hero span{
    display:inline-block;
    color:#fff;
    font-size:13px;
    letter-spacing:3px;
    text-transform:uppercase;
}

.product-hero h1{
    color:#fff;
    font-size:52px;
    font-weight:700;
    margin:15px 0;
}

.product-hero p{
    color:rgba(255,255,255,.9);
    font-size:16px;
    max-width:650px;
    margin:auto;
}
/* SIDEBAR */

.sidebar-filter{
    background:#fff;
    padding:30px;
    border-radius:25px;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.brand-filter{
    list-style:none;
    padding:0;
    margin:0;
}

.brand-filter li{
    padding:12px 18px;
    margin-bottom:10px;
    border-radius:12px;
    font-size:14px;
    cursor:pointer;
    transition:.3s;
}

.brand-filter li:hover,
.brand-filter li.active{
    background:#0077C8;
    color:#fff;
}

.test-drive-box{
    margin-top:25px;
    padding:25px;
    border-radius:20px;
    background:linear-gradient(135deg,#003B73,#0077C8);
    color:#fff;
}

.sidebar-drive-btn{
    display:block;
    text-align:center;
    margin-top:15px;
    padding:12px;
    border-radius:50px;
    background:#fff;
    color:#003B73;
    font-weight:600;
    text-decoration:none;
}

/* PRODUCT CARD */

.product-card{
    background:#fff;
    border-radius:25px;
    padding:30px;
    display:flex;
    gap:35px;
    align-items:center;
    margin-bottom:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.06);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-5px);
}

.product-image{
    width:240px;
}

.product-image img{
    width:100%;
}

.product-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
}

.product-badge{
    background:#EAF7FF;
    color:#0077C8;
    padding:8px 15px;
    border-radius:50px;
    font-size:12px;
    font-weight:600;
}

.brand{
    font-size:12px;
    letter-spacing:2px;
    color:#00a3ff;
    font-weight:700;
}

.product-info h2{
    font-size:34px;
    margin-top:8px;
    color:#003B73;
}

.product-info p{
    margin:15px 0;
    line-height:1.8;
    color:#6d7d8b;
}

.product-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:20px;
}

.product-price{
    font-size:30px;
    font-weight:700;
    color:#003B73;
}

.product-actions{
    display:flex;
    gap:15px;
}

.product-btn{
    padding:12px 28px;
    border-radius:50px;
    background:#0077C8;
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.test-drive-btn{
    padding:12px 28px;
    border-radius:50px;
    border:2px solid #0077C8;
    color:#0077C8;
    text-decoration:none;
    font-weight:600;
}

@media(max-width:991px){

    .product-card{
        flex-direction:column;
        text-align:center;
    }

    .product-header,
    .product-bottom{
        flex-direction:column;
        gap:15px;
    }

    .product-image{
        width:200px;
    }

}

.product-actions{
    display:flex;
    gap:15px;
    margin-top:20px;
    flex-wrap:wrap;
}

.product-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 28px;
    border-radius:50px;
    background:linear-gradient(135deg,#0077C8,#00a8ff);
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:.3s;
    min-width:150px;
}

.product-btn:hover{
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,119,200,.25);
}

.test-drive-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 28px;
    border-radius:50px;
    background:#fff;
    /* border:2px solid #f5a000; */
    color:#f5a000;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:.3s;
    min-width:170px;
}

.test-drive-btn:hover{
    background:#f5a000;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(245,160,0,.25);
}

.sidebar-filter{
    background:#fff;
    padding:25px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.brand-item{
    margin-bottom:15px;
}

.brand-btn{
    width:100%;
    border:none;
    background:#f5f8fc;
    padding:12px 15px;
    border-radius:12px;
    text-align:left;
    font-weight:600;
    color:#003B73;
}

.form-select{
    border-radius:12px;
    height:48px;
}

.color-filter{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.color{
    width:30px;
    height:30px;
    border-radius:50%;
    cursor:pointer;
    border:2px solid #ddd;
}

.white{ background:#fff; }
.black{ background:#000; }
.blue{ background:#0077C8; }
.red{ background:red; }
.grey{ background:grey; }

.filter-group{
    margin-bottom:30px;
}

.filter-group h5{
    font-size:20px;
    font-weight:600;
    color:#003B73;
    margin-bottom:15px;
}

.range-value{
    font-weight:600;
    color:#0077C8;
    margin-bottom:10px;
}

.custom-range{
    width:100%;
    appearance:none;
    height:8px;
    border-radius:20px;
    background:#dfe8f0;
    outline:none;
}

.custom-range::-webkit-slider-thumb{
    appearance:none;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#0077C8;
    cursor:pointer;
    border:3px solid #fff;
    box-shadow:0 3px 10px rgba(0,119,200,.3);
}

.custom-range::-moz-range-thumb{
    width:22px;
    height:22px;
    border-radius:50%;
    background:#0077C8;
    cursor:pointer;
    border:none;
}

.brand-item{
    margin-bottom:15px;
}

.brand-btn{
    width:100%;
    border:none;
    background:#f5f7fa;
    padding:14px 18px;
    border-radius:12px;
    text-align:left;
    font-weight:600;
    color:#003B73;
}

.variant-list{
    padding:10px 0 0 15px;
}

.variant-item{
    display:block;
    padding:10px 15px;
    margin-bottom:8px;
    background:#fff;
    border-radius:10px;
    color:#555;
    text-decoration:none;
    transition:.3s;
}

.variant-item:hover{
    background:#0077C8;
    color:#fff;
}

/* ===================================
   MOBILE VIEW
=================================== */

@media (max-width: 991px){

    .products-page{
        padding:30px 0;
    }

    /* Sidebar */

    .sidebar-filter{
        margin-bottom:25px;
        position:relative;
        top:auto;
        padding:20px;
    }

    .sidebar-filter h4{
        font-size:22px;
        margin-bottom:20px;
    }

    /* Brand Buttons */

    .brand-btn{
        padding:15px;
        font-size:15px;
    }

    .variant-list{
        padding-left:0;
        margin-top:10px;
    }

    .variant-item{
        padding:12px 15px;
        font-size:14px;
    }

    /* Filters */

    .filter-group{
        margin-bottom:25px;
    }

    .filter-group h5{
        font-size:18px;
    }

    /* Colors */

    .color-filter{
        gap:12px;
    }

    .color{
        width:35px;
        height:35px;
    }

    /* Product Card */

    .product-card{
        flex-direction:column;
        text-align:center;
        padding:20px;
        gap:20px;
    }

    .product-image{
        width:180px;
        margin:auto;
    }

    .product-info{
        width:100%;
    }

    .product-info h2{
        font-size:26px;
    }

    .product-info p{
        max-width:100%;
        font-size:14px;
    }

    .product-price{
        font-size:24px;
        margin:15px 0;
    }

    /* Buttons */

    .product-actions{
        flex-direction:column;
        width:100%;
        gap:10px;
    }

    .product-btn,
    .test-drive-btn{
        width:100%;
        min-width:100%;
        height:50px;
    }

    /* Hero */

    .product-hero{
        min-height:260px;
        background-size:cover;
        background-position:center;
    }

    .product-hero h1{
        font-size:32px;
    }

}

/* Extra Small Devices */

@media (max-width:576px){

    .products-page{
        padding:20px 0;
    }

    .sidebar-filter{
        padding:15px;
        border-radius:15px;
    }

    .product-card{
        padding:15px;
        border-radius:18px;
    }

    .product-image{
        width:150px;
    }

    .product-info h2{
        font-size:22px;
    }

    .product-price{
        font-size:20px;
    }

    .brand{
        font-size:11px;
    }

    .filter-group h5{
        font-size:16px;
    }

    .range-value{
        font-size:14px;
    }

    .sidebar-drive-btn{
        width:100%;
    }
}

@media(max-width:991px){

    .product-hero{
        min-height:180px;
        padding:0;
        background-size:cover;
        background-position:center center;
        margin-top:80px; /* if navbar is fixed */
    }

}

@media(max-width:576px){

    .products-page .container{
        padding-left:12px;
        padding-right:12px;
    }

    .row{
        margin-left:0;
        margin-right:0;
    }

}

@media (max-width:576px){

    .product-hero::before,
    .product-hero::after{
        display:none !important;
        content:none;
    }

}

@media (max-width: 991px){

    .product-hero{
        min-height:160px;
        height:160px;
        background-size:cover;
        background-position:center;
    }

    .product-hero::before,
    .product-hero::after{
        display:none !important;
        content:none;
    }

}
.sidebar-filter{
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    position:sticky;
    top:100px;
}

.sidebar-filter h1{
    font-size:28px;
    font-weight:700;
    margin-bottom:25px;
}

.filter-group{
    margin-bottom:30px;
}

.filter-group h5{
    font-size:16px;
    font-weight:600;
    margin-bottom:15px;
}

.range-value{
    font-size:14px;
    font-weight:600;
    margin-bottom:12px;
    color:#000000;
}

.custom-range{
    width:100%;
    appearance:none;
    height:8px;
    border-radius:20px;
    background:#d1d5db;
    outline:none;
}

.custom-range::-webkit-slider-thumb{
    appearance:none;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#000000;
    cursor:pointer;
}

.apply-btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    background:#000000;
    color:#fff;
    font-weight:600;
    margin-top:20px;
}

.apply-btn:hover{
    transform:translateY(-2px);
}

@media(max-width:768px){
    .sidebar-filter{
        position:static;
        margin-bottom:30px;
        padding:20px;
    }
}


/* FILTER SIDEBAR */
.sidebar-filter {
    background: #ffffff;
    border-radius: 28px;
    padding: 38px 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-filter h1 {
    font-size: 46px;
    font-weight: 800;
    color: #0d4a86;
    margin-bottom: 35px;
    line-height: 1;
}

/* FILTER GROUP */
.filter-group {
    margin-bottom: 42px;
}

.filter-group h5 {
    font-size: 18px;
    font-weight: 700;
    color: #0d4a86;
    margin-bottom: 18px;
}

/* MODEL DROPDOWN */
.model-dropdown {
    width: 100%;
    height: 52px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 17px;
    background: #fff;
    outline: none;
    transition: 0.3s;
}

.model-dropdown:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

/* RADIO BUTTONS */
.filter-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 16px;
    margin-bottom: 12px;
    font-size: 17px;
    color: #243746;
    cursor: pointer;
}

.filter-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #000000;
    cursor: pointer;
}

/* RANGE TEXT */
.range-value {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 18px;
}

/* RANGE SLIDER */
.custom-range {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    height: 8px;
    background: #d1d5db;
    border-radius: 999px;
    outline: none;
}

/* Chrome Thumb */
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #000000;
    border: 4px solid white;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    cursor: pointer;
}

/* Firefox Thumb */
.custom-range::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #000000;
    border: 4px solid white;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 991px) {
    .sidebar-filter {
        position: static;
        margin-bottom: 30px;
        padding: 25px;
    }

    .sidebar-filter h1 {
        font-size: 34px;
    }

    .filter-group label {
        display: block;
        margin-right: 0;
    }
}

.model-dropdown {
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #d1d5db;
    border-radius: 16px;
    background: #fff;
    color: #1f2937;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    line-height: 56px;
}

.model-dropdown option {
    font-size: 15px;
    padding: 10px;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #000000;
}

.filter-actions{
    margin-top:30px;
}

.reset-btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:14px;
    background:#00a3ff;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.reset-btn:hover{
    transform:translateY(-2px);
}


