/* ════════════════════════════════════════════════════════════════════════
   ULTRA-PREMIUM VEHICLE DETAIL PAGE STYLING (KING MOTORS)
   ════════════════════════════════════════════════════════════════════════ */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.detail-section {
    padding-top: 75px;
    padding-bottom: 80px;
    background: #F8FAFC;
    font-family: 'Jost', sans-serif;
    min-height: calc(100vh - 75px);
    color: #0F172A;
}

.detail-wrap {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    opacity: 0;
    animation: detailWrapFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes detailWrapFadeIn {
    to { opacity: 1; }
}

/* ─── BREADCRUMB BAR ─── */
.detail-breadcrumb-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.breadcrumb-links {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-links a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-links a:hover {
    color: #10B981;
}

.crumb-sep {
    color: #CBD5E1;
}

.crumb-current {
    color: #10B981;
    font-weight: 700;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background: #10B981;
    color: #FFFFFF;
    border-color: #10B981;
}

/* ─── MASTER HERO GRID (GALLERY + INFO) ─── */
.detail-master-grid {
    display: flex;
    gap: 36px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.04);
}

/* GALLERY CONTAINER */
.detail-gallery-container {
    flex: 0 0 54%;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* THUMBNAILS COLUMN (ONE BY ONE VERTICALLY) */
.detail-thumbs-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.detail-thumb {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: #F1F5F9;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.detail-thumb:hover {
    transform: translateX(4px) scale(1.05);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.2);
}

.detail-thumb:hover img {
    transform: scale(1.1);
}

.detail-thumb.active {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

/* MAIN IMAGE WRAPPER (BORDER RADIUS 10px & MARGIN LEFT 10px) */
.detail-main-img-wrap {
    flex: 1;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: radial-gradient(circle at center, #FFFFFF 0%, #F1F5F9 100%);
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.detail-main-img-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    pointer-events: none;
    z-index: 4;
}

.detail-main-img-wrap:hover::before {
    left: 140%;
}

.detail-main-img-wrap img,
#mainDetailImg {
    width: calc(100% - 10px);
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 10px; /* REQUIRED BORDER RADIUS */
    margin-left: 10px;   /* REQUIRED MARGIN LEFT */
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease, opacity 0.2s ease, box-shadow 0.4s ease;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.detail-main-img-wrap:hover img {
    transform: scale(1.04);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

.detail-main-img-wrap img.img-switching {
    opacity: 0.2;
    filter: blur(5px);
    transform: scale(0.96);
}

.detail-main-img-wrap img.zoomed-full {
    transform: scale(1.35);
    cursor: zoom-out;
}

.image-badge-tag {
    position: absolute;
    top: 16px;
    left: 24px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #10B981;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    z-index: 5;
}

.zoom-trigger-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 5;
}

.zoom-trigger-btn:hover {
    background: #10B981;
    transform: scale(1.1);
}

/* RIGHT INFO PANEL */
.detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-brand-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #10B981;
    background: rgba(16, 185, 129, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 8px;
}

.detail-name {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.detail-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.detail-price {
    font-size: 32px;
    font-weight: 800;
    color: #10B981;
    letter-spacing: -0.5px;
    animation: priceShimmer 3s infinite alternate;
}

@keyframes priceShimmer {
    0% { text-shadow: 0 0 0 rgba(16, 185, 129, 0); }
    100% { text-shadow: 0 0 12px rgba(16, 185, 129, 0.3); }
}

.detail-emi-badge {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #F1F5F9;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-group-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #64748B;
    text-transform: uppercase;
}

.detail-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-pill {
    padding: 8px 18px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.detail-pill:hover {
    border-color: #10B981;
    color: #10B981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.detail-pill.selected {
    background: #0F172A;
    color: #FFFFFF;
    border-color: #0F172A;
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* Color Accent Swatches */
.color-picker-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 2px #E2E8F0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.active {
    box-shadow: 0 0 0 3px #10B981;
    transform: scale(1.2);
}

.color-name-label {
    font-size: 12px;
    font-weight: 700;
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA ACTIONS */
.detail-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 10px;
}

.detail-book-btn {
    width: 100%;
    padding: 15px 0;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.detail-book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.secondary-btn-row {
    display: flex;
    gap: 12px;
}

.detail-wishlist-btn,
.detail-whatsapp-btn {
    flex: 1;
    padding: 12px 0;
    border-radius: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.detail-wishlist-btn {
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    color: #334155;
}

.detail-wishlist-btn:hover {
    background: #EFF6FF;
    border-color: #3B82F6;
    color: #2563EB;
    transform: translateY(-2px);
}

.detail-wishlist-btn.active {
    background: #FEF2F2;
    border-color: #EF4444;
    color: #DC2626;
}

.detail-wishlist-btn.active svg {
    fill: #EF4444;
    stroke: #EF4444;
    animation: heartPop 0.4s ease;
}

@keyframes heartPop {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.detail-whatsapp-btn {
    background: #25D366;
    border: none;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.detail-whatsapp-btn:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* ─── 1. KEY SPECIFICATIONS DASHBOARD ─── */
.detail-section-block {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.03);
}

.block-title {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.3px;
    margin-bottom: 20px;
}

.block-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #10B981;
    display: block;
    margin-bottom: 4px;
}

.spec-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.spec-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-4px);
    border-color: #10B981;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
}

.spec-card-icon {
    font-size: 26px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-card-body {
    display: flex;
    flex-direction: column;
}

.spec-card-val {
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
}

.spec-card-lbl {
    font-size: 11px;
    color: #64748B;
    margin-top: 2px;
}

/* ─── 2. INTERACTIVE FEATURE & TECHNICAL TABS ─── */
.tabs-header {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid #E2E8F0;
    margin-bottom: 24px;
    padding-bottom: 2px;
}

.tab-btn {
    padding: 10px 20px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #64748B;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -4px;
}

.tab-btn:hover {
    color: #10B981;
}

.tab-btn.active {
    color: #10B981;
    border-bottom-color: #10B981;
}

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

.feature-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
}

.feature-icon {
    font-size: 24px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
}

.specs-table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    font-size: 13px;
}

.s-label {
    color: #64748B;
    font-weight: 500;
}

.s-val {
    color: #0F172A;
    font-weight: 700;
}

.guarantee-box {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    padding: 28px;
    border-radius: 16px;
}

.guarantee-badge {
    color: #10B981;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.guarantee-box h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.guarantee-box p {
    font-size: 13.5px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.guarantee-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;

}

.guarantee-list li {
    font-size: 13px;
    font-weight: 600;
    color: #E2E8F0;
}

/* ─── 3. INTERACTIVE EMI & FINANCE CALCULATOR ─── */
.emi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.emi-live-output {
    text-align: right;
}

.emi-title-lbl {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #64748B;
}

.emi-amount {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #10B981;
}

.emi-body-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
}

.emi-sliders {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
}

.slider-info label {
    color: #475569;
}

.slider-val-disp {
    color: #10B981;
    font-weight: 700;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: #E2E8F0;
    outline: none;
    accent-color: #10B981;
    cursor: pointer;
}

.emi-summary-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.emi-summary-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
}

.summary-line.total {
    border-top: 1px solid #CBD5E1;
    padding-top: 10px;
    margin-top: 4px;
    color: #0F172A;
    font-size: 14px;
}

.apply-loan-btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 8px;
    border: none;
    background: #0F172A;
    color: #FFFFFF;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s ease;
}

.apply-loan-btn:hover {
    background: #10B981;
}

/* ─── 4. RECOMMENDED VEHICLES ─── */
.recs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-all-link {
    font-size: 13px;
    font-weight: 700;
    color: #10B981;
    text-decoration: none;
}

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

.rec-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border-color: #10B981;
}

.rec-img-wrap {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.rec-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rec-card:hover .rec-img-wrap img {
    transform: scale(1.08);
}

.rec-year {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.75);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.rec-info {
    padding: 14px 16px;
}

.rec-name {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.rec-price {
    font-size: 15px;
    font-weight: 800;
    color: #10B981;
    margin-bottom: 4px;
}

.rec-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.rec-meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: #64748B;
    font-family: 'Jost', sans-serif;
}

.rec-meta-item svg {
    color: #10B981;
    flex-shrink: 0;
}

.rec-meta-dot {
    font-size: 12px;
    color: #CBD5E1;
}

/* ─── TEST DRIVE MODAL ─── */
.test-drive-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.test-drive-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.test-drive-modal {
    background: #FFFFFF;
    border-radius: 24px;
    width: 90%;
    max-width: 540px;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.test-drive-modal-overlay.open .test-drive-modal {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F1F5F9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

.modal-header {
    margin-bottom: 24px;
}

.modal-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #10B981;
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin-top: 4px;
}

.modal-sub {
    font-size: 13px;
    color: #64748B;
    margin-top: 4px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #475569;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #10B981;
}

.modal-submit-btn {
    padding: 14px 0;
    border-radius: 10px;
    border: none;
    background: #10B981;
    color: #FFFFFF;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    transition: background 0.2s ease;
}

.modal-submit-btn:hover {
    background: #059669;
}

.modal-success-msg {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #10B981;
    color: #FFFFFF;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

/* ─── SHIMMER SKELETON LOADER ─── */
.skeleton-wrap {
    display: flex;
    width: 100%;
    gap: 30px;
}

.skeleton-img {
    flex: 0 0 54%;
    height: 440px;
    background: #E2E8F0;
    border-radius: 16px;
}

.skeleton-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skeleton-box {
    background: #E2E8F0;
    border-radius: 8px;
}

/* ─── RESPONSIVE SYSTEM ─── */
@media (max-width: 1024px) {
    .detail-master-grid {
        flex-direction: column;
    }
    
    .detail-gallery-container {
        flex: none;
        width: 100%;
    }
    
    .spec-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .emi-body-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .detail-section { padding-top: 60px; }
    .detail-wrap { padding: 0 14px; gap: 20px; }
    
    .detail-gallery-container {
        flex-direction: column-reverse; /* Thumbnails under main image on mobile */
    }
    
    .detail-thumbs-col {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 4px;
    }
    
    .detail-thumb {
        width: 60px;
        height: 60px;
    }
    
    .detail-main-img-wrap {
        min-height: 280px;
        width: 100%;
    }
    
    .detail-main-img-wrap img,
    #mainDetailImg {
        width: 100%;
        margin-left: 0; /* Reset margin on mobile stack */
    }
    
    .spec-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .specs-table-grid,
    .recs-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
}