:root {
    --red: #e01b1b;
    --red-dark: #c40000;
    --red-light: #fff0f0;
    --green: #1db954;
    --orange: #f5a623;
    --blue: #1a73e8;
    --text: #1a1a1a;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f4f5f7;
    --white: #ffffff;
    --shadow: 0 2px 12px rgba(0,0,0,0.07);
    --radius: 10px;
}

body {
    background:#f4f5f7;
}

/* BREADCRUMB */
.breadcrumb-wrap {
    padding: 10px 0 6px;
}

.breadcrumb-item a {
    color: var(--muted);
    font-size: 12px;
}

.breadcrumb-item a:hover {
    color: var(--red);
}

.breadcrumb-item.active {
    color: var(--text);
    font-size: 12px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--muted);
}

/* GALLERY */
.gallery-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    position: relative;
}

.best-seller-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
}

.wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.main-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
}

.main-bike-img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.gal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid var(--border);
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.gal-prev {
    left: 8px;
}

.gal-next {
    right: 8px;
}

.view360 {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
}

.thumb-strip {
    margin-top: 12px;
}

.thumb-item {
    width: 68px;
    height: 50px;
    border-radius: 6px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--red);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-more {
    width: 68px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* DETAILS */
.car-title {
    font-size: 28px;
    font-weight: 700;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: var(--muted);
}

.stars {
    color: #f5a623;
}

.rating-count {
    color: var(--muted);
    font-size: 12px;
}

.trusted-badge {
    background: #e8fff0;
    color: var(--green);
    border: 1px solid #b2f0cd;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
}

.spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spec-tag::after {
    content: '•';
    margin-left: 8px;
}

.spec-tag:last-child::after {
    display: none;
}

.car-desc {
    color: #444;
    line-height: 1.6;
}

.feat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
}

.spec-icon-grid {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.spec-icon-item {
    flex: 1;
    min-width: 80px;
    text-align: center;
    padding: 14px 10px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* PRICE BOX */

.price-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.pr-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.onroad-price {
    color: var(--red);
    font-size: 22px;
    font-weight: 900;
}

.btn-book {
    display: block;
    background: var(--red);
    color: #fff;
    text-align: center;
    padding: 13px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.btn-offers {
    display: block;
    border: 2px solid var(--red);
    color: var(--red);
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    font-weight: 700;
}

/* TABS */

.tab-nav {
    background: #fff;
    border-radius: 10px 10px 0 0;
}

.tab-pill {
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
}

.tab-pill.active {
    color: var(--red);
    border-bottom: 2px solid var(--red);
}

/* OVERVIEW */

.ov-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    height: 100%;
}

.ov-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
}

.variant-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
}

.variant-card.active {
    border-color: var(--red);
    background: var(--red-light);
}

.emi-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.why-list {
    list-style: none;
    padding: 0;
}

.btn-view-specs {
    display: block;
    text-align: center;
    border: 2px solid var(--red);
    color: var(--red);
    padding: 10px;
    border-radius: 8px;
    margin-top: 14px;
}

/* =====================================
   PAGE BACKGROUND
===================================== */


main {
    background: transparent;
}

/* =====================================
   SPEC ICON GRID
===================================== */

.spec-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.spec-icon-item i {
    font-size: 20px;
    color: var(--red);
}

.spec-icon-item .sv {
    font-weight: 700;
    color: var(--text);
}

.spec-icon-item .sl {
    font-size: 12px;
    color: var(--muted);
}

/* =====================================
   PRICE BOX EXTRA
===================================== */

.onroad-label {
    font-weight: 700;
}

.save-chip {
    display: inline-block;
    background: #e8fff0;
    color: #1db954;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.price-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-link {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

/* =====================================
   OVERVIEW SECTION
===================================== */

.spec-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-cell {
    display: flex;
    gap: 10px;
    align-items: center;
}

.spec-cell i {
    color: var(--red);
    width: 20px;
}

.sc-label {
    font-size: 12px;
    color: var(--muted);
}

.sc-val {
    font-size: 13px;
    font-weight: 600;
}

/* =====================================
   FEATURES LIST
===================================== */

.feat-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feat-check li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.feat-check i {
    color: var(--green);
    margin-top: 2px;
}

.ov-desc {
    color: #555;
    line-height: 1.7;
}

/* =====================================
   VARIANTS
===================================== */

.variant-card {
    display: flex;
    align-items: center;
    gap: 10px;
}

.variant-card img {
    width: 65px;
    height: 45px;
    object-fit: contain;
}

.vc-name {
    font-size: 13px;
    font-weight: 700;
}

.vc-price,
.vc-onroad {
    font-size: 11px;
    color: var(--muted);
}

.vc-check {
    margin-left: auto;
    color: var(--green);
    font-size: 18px;
}

/* =====================================
   EMI
===================================== */

.emi-result {
    text-align: center;
    padding: 12px 0;
}

.emi-label {
    font-size: 12px;
    color: var(--muted);
}

.emi-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--red);
}

.btn-calc {
    width: 100%;
    border: none;
    background: var(--red);
    color: #fff;
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
}

/* =====================================
   WHY CHOOSE
===================================== */

.why-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.why-ico {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--red-light);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-title {
    font-size: 14px;
    font-weight: 700;
}

.why-sub {
    font-size: 12px;
    color: var(--muted);
}

.btn-book:hover,
.btn-calc:hover {
    background: var(--red-dark);
    color: #fff;
}

.btn-offers:hover,
.btn-view-specs:hover {
    background: var(--red);
    color: #fff;
}

.gal-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.wishlist-btn:hover {
    color: var(--red);
}

.variant-card:hover {
    border-color: var(--red);
    cursor: pointer;
}

.price-column {
    position: sticky;
    top: 68px;
    align-self: flex-start;
}

.tab-content-block { display: none; }
.tab-content-block.active { display: block; }
.tab-pill { cursor: pointer; }

.tab-content-block {
    background: #fff;
    margin-top: 12px;
    padding: 20px;
    border-radius: 12px;

    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);

    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.tab-content-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
    border-left-color: var(--primary-dark);
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    transition: all 0.25s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.spec-tag {
    background: #fff;
    border: 1px solid #eee;
    color: #333;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.spec-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 6px 16px rgba(224, 27, 27, 0.15);
}

.spec-tag::after {
    content: none !important;
}

.car-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;

    width: 100%;
    min-width: 0;

    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.custom-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    background: linear-gradient(135deg,#dc3545,#ff6b35);
    padding: 12px 18px;
    border-radius: 12px;

    margin: 15px 0 25px 0 !important;
}

.custom-breadcrumb a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.custom-breadcrumb span{
    color:#fff;
}

.custom-breadcrumb .active{
    background:#fff;
    color:#dc3545;
    padding:5px 12px;
    border-radius:20px;
    font-weight:700;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .price-column {
        position: static;
    }
}

@media (max-width: 767px) {
    .car-title {
        font-size: 22px;
    }

    .tab-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }


    .gallery-box,
    .price-box,
    .ov-card,
    .emi-card {
        padding: 15px;
    }

    .spec-icon-item {
        min-width: 33.33%;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .onroad-price {
        font-size: 18px;
    }

    .price-box {
        padding: 14px;
    }
}


/* ==========================
   ENQUIRY MODAL
========================== */
.custom-modal-width{
    max-width: 420px;
}

.modal-dialog {
    max-width: 430px;
}

.enquiry-modal {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.enquiry-modal .modal-header {
    background: linear-gradient(135deg, #111827, #dc2626);
    color: #fff;
    padding: 15px 20px;
}

.enquiry-modal .modal-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.enquiry-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.enquiry-modal .modal-body {
    padding: 18px 20px;
}

.enquiry-modal .modal-footer {
    padding: 0 20px 20px;
    border-top: none;
}

.custom-input {
    height: 44px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    font-size: 14px;
    padding: 10px 14px;
    transition: all .3s ease;
}

textarea.custom-input {
    height: 90px;
    resize: none;
    padding-top: 12px;
}

.custom-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 0.15rem rgba(220,38,38,.15);
}

.submit-btn {
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 8px;
    height: 44px;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s ease;
}

.submit-btn:hover {
    background: #b91c1c;
    color: #fff;
}

.submit-btn:focus {
    box-shadow: none;
}

.btn-danger {
    background: #dc2626;
    border-color: #dc2626;
    font-weight: 600;
}

#responseMsg .alert {
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 14px;
    border-radius: 8px;
}

/* Reduce Bootstrap spacing */
.enquiry-modal .mb-2,
.enquiry-modal .mb-3 {
    margin-bottom: 12px !important;
}

.more-images{
    width:70px;
    height:70px;
    border-radius:10px;
    background:#f5f5f5;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-weight:600;
    color:#333;
}

.more-images{
    width:70px;
    height:70px;
    border-radius:10px;
    background:#111;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-weight:600;
    cursor:pointer;
}

.f-carousel__thumbs .f-thumb {
    width: 90px !important;
    height: 60px !important;
    border-radius: 6px;
    overflow: hidden;
}



.f-carousel__thumbs .f-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.overview-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.overview-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:10px;
    padding:15px;
}

.overview-card span{
    display:block;
    font-size:13px;
    color:#777;
    margin-bottom:6px;
}

.overview-card strong{
    font-size:16px;
    color:#222;
    font-weight:600;
}

.spec-table{
    border:1px solid #ececec;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
}

.spec-row{
    display:flex;
    justify-content:space-between;
    padding:14px 16px;
    border-bottom:1px solid #f3f3f3;
}

.spec-row:last-child{
    border-bottom:none;
}

.spec-label{
    width:45%;
    font-weight:600;
    color:#222;
}

.spec-value{
    width:55%;
    text-align:right;
    color:#666;
}

@media(max-width:768px){

    .overview-grid{
        grid-template-columns:1fr;
    }

    .spec-row{
        flex-direction:column;
        gap:5px;
    }

    .spec-label,
    .spec-value{
        width:100%;
        text-align:left;
    }
}

.specifications-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.gallery-item{
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    cursor: pointer;
    transition: all .3s ease;
}

.gallery-item:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.gallery-img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-btn{
    background:#fff !important;
    color:var(--primary) !important;
    border:4px solid var(--primary) !important;
    padding:12px 28px !important;
    border-radius:50px !important;
    font-size:15px !important;
    font-weight:600 !important;
    cursor:pointer !important;
    transition:all .3s ease;
}

.gallery-btn:hover{
    background:var(--primary) !important;
    color:#fff !important;
    transform:translateY(-2px);
}

.lightbox-prev,
.lightbox-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:42px;
    color:#fff;
    cursor:pointer;
    user-select:none;
    padding:15px;
    z-index:1001;
}

.lightbox-prev{
    left:20px;
}

.lightbox-next{
    right:20px;
}

.lightbox-prev:hover,
.lightbox-next:hover{
    color:var(--primary);
}

@media (max-width: 767px){
    .gallery-img{
        height: 140px;
    }
}

.no-gallery{
    background: #f8f9fa;
    border-radius: 12px;
    color: #6c757d;
}

@media(max-width:991px){
    .specifications-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:767px){
    .specifications-grid{
        grid-template-columns:1fr;
    }
}
/* ==========================
   MOBILE
========================== */

@media (max-width: 576px) {

    .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }

    .enquiry-modal .modal-header {
        padding: 12px 15px;
    }

    .enquiry-modal .modal-title {
        font-size: 18px;
    }

    .enquiry-modal .modal-body {
        padding: 15px;
    }

    .enquiry-modal .modal-footer {
        padding: 0 15px 15px;
    }

    .custom-input {
        height: 42px;
        font-size: 14px;
    }

    textarea.custom-input {
        height: 80px;
    }

    .submit-btn {
        height: 42px;
        font-size: 14px;
    }
}