/* public/css/modeldetails.css */
/* Model Details Specific Page Styles */

:root {
    --dark-bg: #000000;
    --primary-red: #DC2626;
    --accent-red: #EF4444;
    --dark-red: #991B1B;
    --card-bg: #0d0d0d;
    --card-bg-elevated: #141414;
    --text-muted: #d1d5db;
    --text-light: #FFFFFF;
    --border-color: rgba(255, 255, 255, 0.08);
}

/* Global Anchor Offsets for Smooth In-Page Scrolling */
html {
    scroll-behavior: smooth;
}

#key-specifications,
#variants,
#colors,
#about,
#specifications,
#available-on,
#faq,
#review-video,
.spec-item-block {
    scroll-margin-top: 140px;
}

/* Sleek Centered Floating Pill Sub Navigation */
.model-subnav-wrapper {
    position: sticky;
    top: 15px;
    z-index: 90;
    background: rgba(12, 12, 12, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    margin: 1.5rem auto 2.5rem auto;
    max-width: fit-content;
    width: fit-content;
    padding: 0.3rem 0.45rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: top 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

.model-subnav {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    gap: 0.25rem;
    padding: 0.1rem 0.2rem;
    max-width: 100%;
}

.model-subnav::-webkit-scrollbar {
    display: none;
}

.model-subnav-car-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.55rem;
    margin-right: 0.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
}

.model-subnav-car-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: #DC2626;
    transform: scale(1.04);
}

.model-subnav-car-img {
    height: 22px;
    width: 36px;
    object-fit: contain;
    display: block;
}

.model-subnav-tab {
    font-family: 'Lexend', sans-serif !important;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    color: #d1d5db;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.model-subnav-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.model-subnav-tab.subnav-active {
    color: #ffffff !important;
    background: #DC2626 !important;
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35) !important;
}

/* Mobile Responsive Subnavbar & Headings Optimization */
@media (max-width: 768px) {
    .model-subnav-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 1.25rem auto 1.75rem auto !important;
        padding: 0.3rem 0.6rem !important;
        border-radius: 9999px !important;
        box-sizing: border-box !important;
    }

    .model-subnav {
        justify-content: flex-start !important;
        padding: 0.1rem 0.2rem !important;
        gap: 0.25rem !important;
    }

    .model-subnav-tab {
        padding: 0.38rem 0.75rem !important;
        font-size: 0.76rem !important;
    }

    .model-subnav-car-btn {
        padding: 0.15rem 0.4rem !important;
        margin-right: 0.2rem !important;
    }

    .model-subnav-car-img {
        height: 18px !important;
        width: 30px !important;
    }

    /* Section Headings on Mobile */
    .section-heading-title,
    .keyspecs-section-title,
    .variants-section-title,
    .about-section-title,
    .available-section-title,
    .specs-section-title,
    .review-video-title,
    .faq-title,
    .color-header h2,
    #key-specifications h2,
    #variants h2,
    #colors h2,
    #about h2,
    #specifications h2,
    #available-on h2,
    #faq h2,
    #review-video h2 {
        font-size: 1.35rem !important;
        line-height: 1.35 !important;
        margin: 1.75rem auto 1.25rem auto !important;
        padding: 0 0.5rem !important;
    }

    #key-specifications,
    #variants,
    #colors,
    #about,
    #specifications,
    #available-on,
    #faq,
    #review-video,
    .spec-item-block {
        scroll-margin-top: 140px !important;
    }
}

/* Universal Section Headings with Red & Light Black Underline */
.section-heading-title,
.keyspecs-section-title,
.variants-section-title,
.about-section-title,
.available-section-title,
.specs-section-title,
.review-video-title,
.faq-title,
.color-header h2,
#key-specifications h2,
#variants h2,
#colors h2,
#about h2,
#specifications h2,
#available-on h2,
#faq h2,
#review-video h2 {
    font-family: 'Lexend', sans-serif !important;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: center !important;
    margin: 0 auto 1.75rem auto !important;
    letter-spacing: -0.01em !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    border: none !important;
    padding-bottom: 0 !important;
    width: 100% !important;
}

.section-heading-title::before,
.keyspecs-section-title::before,
.variants-section-title::before,
.about-section-title::before,
.available-section-title::before,
.specs-section-title::before,
.review-video-title::before,
.faq-title::before,
.color-header h2::before,
#key-specifications h2::before,
#variants h2::before,
#colors h2::before,
#about h2::before,
#specifications h2::before,
#available-on h2::before,
#faq h2::before,
#review-video h2::before {
    display: none !important;
    content: none !important;
}

.section-heading-title::after,
.keyspecs-section-title::after,
.variants-section-title::after,
.about-section-title::after,
.available-section-title::after,
.specs-section-title::after,
.review-video-title::after,
.faq-title::after,
.color-header h2::after,
#key-specifications h2::after,
#variants h2::after,
#colors h2::after,
#about h2::after,
#specifications h2::after,
#available-on h2::after,
#faq h2::after,
#review-video h2::after {
    content: '' !important;
    display: block !important;
    width: 70px !important;
    height: 3.5px !important;
    background: linear-gradient(90deg, #DC2626 0%, #DC2626 45%, #2a2a2a 45%, #2a2a2a 100%) !important;
    border-radius: 2px !important;
    margin: 0.65rem auto 0 auto !important;
}

/* Key Specifications List (Centered compact with 5px gap) */
.keyspecs-list-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.keyspec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.keyspec-row:last-child {
    border-bottom: none;
}

.keyspec-name {
    font-family: 'Lexend', sans-serif !important;
    font-size: 1rem;
    color: #d1d5db;
    font-weight: 500;
}

.keyspec-val {
    font-family: 'Lexend', sans-serif !important;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 700;
    text-align: right;
}

/* Variants Table (Centered compact) */
.variants-table-container {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #0d0d0d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.variants-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.variants-table th {
    font-family: 'Lexend', sans-serif !important;
    background: #181818;
    color: #d1d5db;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 1rem 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.variants-table td {
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.95rem;
    vertical-align: middle;
}

.variants-table tr:last-child td {
    border-bottom: none;
}

.variants-table tr:hover td {
    background: rgba(220, 38, 38, 0.04);
}

.variant-title-cell {
    font-weight: 600;
    font-family: 'Lexend', sans-serif !important;
    color: #ffffff;
    font-size: 0.95rem;
}

.variant-price-action-cell {
    text-align: right;
}

.variant-price-action-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    white-space: nowrap;
}

.variant-price-green {
    font-family: 'Lexend', sans-serif !important;
    color: #22C55E !important;
    font-weight: 700;
    font-size: 1.05rem;
}

.variant-emi-white-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.1rem;
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Lexend', sans-serif !important;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.variant-emi-white-btn:hover {
    background: #DC2626 !important;
    color: #ffffff !important;
    border-color: #DC2626 !important;
}

/* Two-Column Specifications Layout & Editorial Typography */
.specs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 3.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .specs-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .specs-toc-sidebar {
        display: none;
    }
}

.specs-main-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.spec-category-group {
    scroll-margin-top: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2.5rem;
}

.spec-category-group:last-child {
    border-bottom: none;
}

.spec-category-h3 {
    font-family: 'Lexend', sans-serif !important;
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 1rem;
    display: flex;
    align-items: center;
}

.spec-category-h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 75%;
    background: linear-gradient(180deg, #DC2626 0%, #DC2626 50%, #2a2a2a 50%, #2a2a2a 100%);
    border-radius: 2px;
}

.spec-category-h3::after {
    display: none !important;
    content: none !important;
}

.spec-item-block {
    margin-bottom: 2rem;
    padding-left: 1.75rem;
    scroll-margin-top: 100px;
}

.spec-list-h4 {
    font-family: 'Lexend', sans-serif !important;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin: 1.5rem 0 0.5rem 0;
    line-height: 1.4;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.spec-num {
    color: #EF4444;
    font-family: 'Lexend', sans-serif !important;
    font-weight: 700;
    margin-right: 0.35rem;
}

.spec-list-title-text {
    color: #ffffff;
}

.spec-list-colon {
    color: #EF4444;
    font-weight: 700;
}

.spec-list-value-text {
    color: #e5e7eb;
    font-weight: 500;
}

.spec-content-body {
    margin-top: 0.75rem;
}

.justified-text,
.news-content p,
.spec-paragraph,
.description-text {
    font-family: 'Poppins', sans-serif !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    line-height: 1.85 !important;
    color: #d1d5db !important;
}

.spec-paragraph {
    margin: 0.75rem 0 1.25rem 0;
}

.spec-figure {
    position: relative;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.spec-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.spec-figure .image-source-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.spec-link-wrapper {
    margin: 0.75rem 0;
}

.spec-link {
    color: #EF4444;
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Sticky Nested TOC Sidebar */
.specs-toc-sidebar {
    position: sticky;
    top: 90px;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.specs-toc-sidebar::-webkit-scrollbar {
    width: 4px;
}

.specs-toc-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.specs-toc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-toc-title {
    font-family: 'Lexend', sans-serif !important;
    font-size: 0.88rem;
    font-weight: 700;
    background: linear-gradient(90deg, #DC2626 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.specs-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* TOC Category Link with Custom Circle Bullet */
.specs-toc-cat-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.5rem;
    color: #d1d5db;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Lexend', sans-serif !important;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}

.specs-toc-cat-link::before {
    content: '';
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #111111;
    box-shadow: 0 0 0 2px #111111, 0 0 0 4px rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.specs-toc-cat-link:hover {
    color: #EF4444;
    background: rgba(220, 38, 38, 0.08);
}

.specs-toc-cat-link:hover::before {
    background: #EF4444;
    box-shadow: 0 0 0 2px #000000, 0 0 0 4px #EF4444;
}

.specs-toc-cat-link.active {
    color: #ffffff !important;
    background: rgba(220, 38, 38, 0.22) !important;
    font-weight: 700 !important;
}

.specs-toc-cat-link.active::before {
    background: #EF4444;
    box-shadow: 0 0 0 2px #000000, 0 0 0 4px #EF4444;
}

/* TOC Sub-list */
.specs-toc-sublist {
    list-style: none;
    padding: 0.3rem 0 0.3rem 1.85rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border-left: 1px solid rgba(220, 38, 38, 0.2);
    margin-left: 0.65rem;
}

/* TOC Sub-link with smaller circle */
.specs-toc-sublink {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.22rem 0.4rem;
    color: #d1d5db;
    font-size: 0.8rem;
    font-family: 'Lexend', sans-serif !important;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.2s ease;
    line-height: 1.35;
}

.specs-toc-sublink::before {
    content: '';
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #111111;
    box-shadow: 0 0 0 1.5px #111111, 0 0 0 3px rgba(255, 255, 255, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.specs-toc-sublink:hover {
    color: #EF4444;
}

.specs-toc-sublink:hover::before {
    background: #EF4444;
    box-shadow: 0 0 0 1.5px #000000, 0 0 0 3px #EF4444;
}

.specs-toc-sublink.active {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.specs-toc-sublink.active::before {
    background: #EF4444;
    box-shadow: 0 0 0 1.5px #000000, 0 0 0 3px #EF4444;
}

/* Clean Available On Section */
.available-sites-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.available-site-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.available-site-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.available-site-row:last-child {
    border-bottom: none;
}

.available-site-name {
    font-family: 'Lexend', sans-serif !important;
    font-weight: 600;
    font-size: 1.05rem;
    color: #ffffff;
}

.available-site-white-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.15rem;
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Lexend', sans-serif !important;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.available-site-white-btn:hover {
    background: #DC2626 !important;
    color: #ffffff !important;
    border-color: #DC2626 !important;
}

/* Off-screen Content Visibility Optimization */
.specs-section,
.available-section,
.faq-section,
#review-video,
.similar-models-section,
.popular-brands-section {
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

/* FAQ Section Styles */
.faq-section {
    margin-top: 3rem;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.faq-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.faq-accordion-btn {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-accordion-btn:hover {
    background: rgba(220, 38, 38, 0.1);
}

.faq-accordion-btn.active {
    background: rgba(220, 38, 38, 0.15);
    color: #EF4444;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #EF4444;
}

.faq-accordion-btn.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.3);
}

.faq-answer-content {
    padding: 1.5rem;
    color: #d1d5db;
    line-height: 1.7;
    border-top: 1px solid var(--border-color);
}

* {
    font-family: 'Poppins', sans-serif;
}

html,
body {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
}

/* Brand Link */
.brand-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.brand-link:hover {
    color: #EF4444;
}

.brand-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.brand-link:hover::after {
    width: 100%;
}

/* --- PREMIUM LUXURY HEADERS --- */
.rec-section-header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 1.5rem 0 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid #DC2626;
    font-family: 'Poppins', sans-serif;
}

.rec-section-header::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    height: 100%;
    width: 4px;
    background: #DC2626;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    border-radius: 2px;
}

.rec-section-header .accent-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #EF4444;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 1;
}

.rec-section-header .main-text {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF 0%, #A1A1A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .rec-section-header .main-text {
        font-size: 1.75rem;
    }
}

h1,
h1 *,
h1 a,
h1 span,
.seo-h1-title,
.seo-h1-title *,
.h1-brand-link,
.h1-model-name {
    font-family: 'Lexend', sans-serif !important;
}

.seo-h1-title {
    font-family: 'Lexend', sans-serif !important;
    font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: #ffffff !important;
    margin-bottom: 1rem !important;
}

.h1-brand-link {
    font-family: 'Lexend', sans-serif !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.h1-brand-link:hover {
    color: #EF4444 !important;
}

.h1-model-name {
    font-family: 'Lexend', sans-serif !important;
    color: #DC2626 !important;
    font-weight: 600 !important;
    margin-left: 0.5rem;
}

.seo-description-container {
    text-align: left;
    position: relative;
    margin-top: 0.75rem;
    text-align: justify;
}

.description-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d1d5db;
    margin-bottom: 0;
    text-align: justify;
    text-justify: inter-word;
    cursor: pointer;
    display: inline;
}

.ellipsis-dots {
    color: white;
    cursor: pointer;
    font-weight: 700;
    user-select: none;
    display: inline;
    margin-left: 4px;
    transition: color 0.3s ease;
}

.ellipsis-dots:hover {
    color: #EF4444;
}

.hide-description {
    color: #EF4444;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.hide-description:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-1px);
}

/* Top Hero Section */
.top-hero-section {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    margin-bottom: 2rem;
}

@media (min-width: 769px) {
    .top-hero-section {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

    .top-hero-section .price-box {
        flex: 0.8;
        margin: 0;
    }

    .top-hero-section .model-presentation {
        flex: 1.2;
    }
}

/* Combined Model Header and Specs Box */
.model-main-box {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.model-header-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.model-image-full {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 500 / 380;
    max-height: 380px;
    object-fit: contain;
    margin: 0 auto 2rem auto;
    display: block;
    transition: transform 0.3s ease;
}

.model-image-full:hover {
    transform: scale(1.02);
}

.read-more-btn {
    color: #EF4444;
    font-weight: bold;
    margin-left: 5px;
    text-decoration: underline;
}

.model-image {
    width: 300px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.model-info {
    flex: 1;
}

.model-brand {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.model-brand a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.model-brand a:hover {
    color: #EF4444;
}

.model-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #e5e5e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.model-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.safety-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-red);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--primary-red);
}

.safety-rating:hover {
    background: #DC2626;
    color: #FFFFFF;
    border-color: #EF4444;
}

.release-date {
    color: var(--text-muted);
    font-weight: 500;
}

/* Specifications Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.spec-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.spec-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.75rem;
    color: #EF4444;
    font-size: 1.75rem;
}

.spec-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: normal;
}

.color-name-display {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 600;
    color: white;
}

.color-gallery-container {
    background: rgba(30, 30, 30, 0.4);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.color-gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #EF4444;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.color-main-image-display {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at center, #2c2c2c 0%, #000000 100%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-main-image-display img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.color-main-image-display:hover img {
    transform: scale(1.05);
}

/* Price Box with EMI */
.price-box {
    background: linear-gradient(135deg, #111111, #000000);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
}

.price-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.emi-info {
    font-size: 1rem;
    color: #22C55E;
    font-weight: 500;
    margin-bottom: 0;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.emi-info:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

/* Centered Options Buttons */
.options-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.option-btn {
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 2px solid white;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.option-btn.active {
    background: var(--primary-red);
    border-color: #EF4444;
    color: white;
}

.option-btn:hover {
    background: #DC2626;
    border-color: #EF4444;
    color: white;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex !important;
}

.modal-content-wide {
    background: #111111;
    border-radius: 20px;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.external-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--primary-red);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.external-close:hover {
    background: #DC2626;
    transform: scale(1.1);
}

.modal-header {
    position: sticky;
    top: 0;
    background: rgba(17, 17, 17, 0.98);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #DC2626;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0;
    flex: 1;
    text-align: center;
}

.modal-close {
    background: var(--primary-red);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--dark-red);
    transform: scale(1.1);
}

.modal-body {
    padding: 3rem 4rem;
    background: var(--card-bg);
}

/* Variants Table */
.variant-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.variant-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-row:hover {
    background: rgba(220, 38, 38, 0.15);
    transform: translateY(-2px);
}

.variant-row:last-child {
    border-bottom: none;
}

.variant-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.04);
}

.variant-name {
    font-weight: 600;
    font-size: 1.3rem;
}

.variant-price {
    font-weight: 600;
    color: #EF4444;
    font-size: 1.3rem;
    text-align: right;
}

/* About Content */
.about-content {
    line-height: 1.9;
    font-size: 1.15rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-section {
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 6px solid var(--primary-red);
    width: 100%;
    box-sizing: border-box;
}

.article-image {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.content-photo {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.image-source-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.image-source-badge:hover {
    background: rgba(220, 38, 38, 0.9);
    transform: translateY(-2px);
}

/* Available Sites */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.site-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-decoration: none;
    color: white;
    display: block;
}

.site-card:hover {
    border-color: #DC2626;
    transform: translateY(-5px);
}

.site-card .font-semibold {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.site-card .text-sm {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Colors Section */
.colors-section {
    font-family: 'Poppins', sans-serif !important;
    background: transparent !important;
    border: none !important;
    padding: 1rem 0;
    margin: 1.5rem 0;
}

.color-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.color-header h2 {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.01em;
}

.color-buttons-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.colors-section .color-buttons {
    display: inline-flex !important;
    flex-direction: row !important;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.3rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    gap: 0.25rem;
}

.colors-section .color-buttons .color-btn {
    padding: 0.5rem 1.8rem !important;
    border: none !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    border-radius: 50px !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    font-size: 0.85rem !important;
    box-shadow: none !important;
    outline: none !important;
    width: auto !important;
    max-width: none !important;
    text-align: center !important;
}

.colors-section .color-buttons .color-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

.colors-section .color-buttons .color-btn.active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.color-content {
    display: none;
}

.color-content.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 75px;
}

.color-swatch {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.color-swatch:hover {
    transform: translateY(-4px) scale(1.06);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.color-swatch.active {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
    transform: scale(1.06);
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.color-name-display {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.95);
    text-transform: lowercase;
    display: inline-block;
    letter-spacing: 0.4px;
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    background: rgba(15, 15, 15, 0.92);
    padding: 5px 12px;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.color-name-display::first-letter {
    text-transform: uppercase;
}

.color-item:hover .color-name-display {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.color-gallery-container {
    width: 100%;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.color-main-image-display {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.color-main-image-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.color-main-image-display:hover img {
    transform: scale(1.08);
}

.color-gallery-title {
    display: none !important;
}

.color-swatch:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.color-swatch.active img {
    opacity: 1;
}

.color-swatch.active+.color-name-display {
    color: white;
    font-weight: 700;
}

/* Specifications Section */
.specs-section {
    background: var(--dark-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(55, 65, 81, 0.7);
    content-visibility: auto;
    contain-intrinsic-size: 0 800px;
}

.specs-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-category-box {
    background: #111111;
    border-radius: 12px;
    padding: 0;
    border: 2px solid #374151;
    cursor: pointer;
    text-decoration: none;
    color: white;
    display: block;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.spec-category-box:hover {
    border-color: #DC2626;
    background: #111111;
}

.spec-category-box:hover .spec-category-title {
    background: #DC2626;
    color: white;
}

.spec-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
    padding: 1rem 1.5rem;
    text-align: center;
    background: #000000;
    border-bottom: 2px solid #DC2626;
    transition: all 0.3s ease;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    background: #111111;
    transition: all 0.3s ease;
    counter-reset: list-item;
}

.spec-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #374151;
}

.spec-list-item:last-child {
    border-bottom: none;
}

.spec-list-item:hover {
    background: transparent;
}

.spec-list-title {
    font-weight: 500;
    color: #ffffff;
    text-align: left;
    position: relative;
    padding-left: 1.5rem;
}

.spec-list-title::before {
    content: counter(list-item) ".";
    counter-increment: list-item;
    position: absolute;
    left: 0;
    color: #DC2626;
    font-weight: bold;
}

.spec-list-content {
    font-weight: 500;
    color: #d1d5db;
    text-align: right;
}

/* Action Buttons */
.page-glow {
    display: none !important;
}

.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin: 2rem auto 0 auto !important;
    max-width: 850px;
    width: 100%;
}

.sources-btn,
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.75rem 2rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Lexend', sans-serif !important;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    outline: none;
    min-width: 150px;
}

.sources-btn {
    background: #141414;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sources-btn:hover {
    background: #DC2626;
    border-color: #DC2626;
    color: #ffffff;
    box-shadow: none !important;
    transform: translateY(-2px);
}

.share-btn {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.share-btn:hover {
    background: #DC2626;
    border-color: #DC2626;
    color: #ffffff;
    box-shadow: none !important;
    transform: translateY(-2px);
}

.sources-btn svg,
.share-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.sources-btn:hover svg,
.share-btn:hover svg {
    transform: scale(1.1);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.image-modal.active {
    display: flex;
}

.modal-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1003;
}

.modal-title-bar {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.modal-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: var(--primary-red);
}

.modal-container {
    position: relative;
    max-width: 95%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.modal-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-red);
    border: none;
    color: white;
    font-size: 2rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
}

.modal-nav:hover {
    background: #DC2626;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-counter-top {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    z-index: 1004;
}

/* Share Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal .modal-content {
    background: #111111;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    border: 1px solid #333;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal .modal-header {
    background: #1a1a1a;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal .modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.modal .close-btn {
    background: var(--primary-red);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal .close-btn:hover {
    background: var(--dark-red);
    transform: scale(1.1);
}

.modal .modal-body {
    padding: 2rem;
    background: #111111;
}

.share-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.share-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: #1a1a1a;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #333;
    color: white;
    gap: 0.75rem;
}

.share-icon:hover {
    background: var(--primary-red);
    border-color: #EF4444;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.share-icon svg {
    width: 32px;
    height: 32px;
}

.share-icon span {
    font-size: 1rem;
    font-weight: 600;
}

.copy-link {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.copy-link:hover {
    background: var(--primary-red);
    border-color: #EF4444;
}

.copy-link span {
    font-size: 1rem;
    font-weight: 500;
}

.copy-link svg {
    width: 20px;
    height: 20px;
}

/* Sources Modal */
.sources-content {
    padding: 2rem;
    color: white;
    line-height: 1.8;
    font-size: 1.1rem;
}

.sources-content p {
    margin: 0;
    text-align: justify;
}

.loading {
    opacity: 0.7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .seo-h1-title {
        font-size: 1.8rem;
        text-align: left;
    }

    .model-header-content {
        flex-direction: column;
        text-align: center;
    }

    .model-image {
        width: 250px;
        height: 180px;
        margin: 0 auto;
    }

    .model-name {
        font-size: 2rem;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .options-buttons {
        flex-direction: column;
        align-items: center;
    }

    .option-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .colors-section .color-buttons {
        flex-direction: row !important;
    }

    .colors-section .color-buttons .color-btn {
        width: auto !important;
        max-width: none !important;
    }

    .price-amount {
        font-size: 2rem;
    }

    .color-palette {
        justify-content: center;
        padding-bottom: 1rem;
    }

    .color-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .specs-grid-container {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 30px;
    }

    .sources-btn,
    .share-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }

    .modal-content {
        max-width: 95%;
        width: 95%;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .variant-row {
        padding: 1rem;
        grid-template-columns: 2fr 1fr;
    }

    .variant-name {
        font-size: 1.1rem;
    }

    .variant-price {
        font-size: 1.2rem;
    }

    .sites-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .share-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .share-icon {
        padding: 1rem;
    }

    .share-icon svg {
        width: 24px;
        height: 24px;
    }
}