/* ========================================
   CSS CUSTOM PROPERTIES & ROOT VARIABLES
   ======================================== */
:root {
    --mud-appbar-height: 100px !important;
    --primary-red: #dc0032;
    --primary-blue: #0a2647;
    --secondary-blue: #1a365d;
    --light-gray: #f8f9fa;
    --medium-gray: #666;
    --dark-gray: #1a1a1a;
    --white: #fff;
    --transition-fast: 0.3s ease;
    --border-radius-small: 8px;
    --border-radius-medium: 12px;
    --border-radius-large: 25px;
    --box-shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --box-shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --font-shadowintolight: 'ShadowsIntoLight-Regular';
}

html {
    scroll-behavior: smooth !important;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.position-relative {
    position: relative;
}

.h-100 {
    height: 100%;
}

.text-red {
    color: var(--primary-red);
    font-weight: 600;
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 30%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: var(--primary-red);
    padding: 15px 9px;
    border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
}

.social-icon-btn {
    background-color: var(--white) !important;
    color: var(--primary-red) !important;
    margin: 0.5rem 0;
}

    .social-icon-btn svg{
        font-size:2.5rem;
    }

    .social-icon-btn:hover {
        background-color: #f5f5f5 !important;
    }

/* Header Navigation */
.header-nav {
    background-color: var(--white) !important;
    box-shadow: var(--box-shadow-light) !important;
}

.nav-links {
    align-items: center;
}

.nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-gray) !important;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.nav-link-active {
    font-weight: 600;
    border-bottom: 1px solid;
    text-decoration: none !important;
}

.nav-link-active:hover {
    color: var(--primary-red) !important;
}

.login-btn-wrapper {
    position: absolute !important;
    right: 0;
    top: 100%;
}

.login-btn {
    padding: 0.8rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 0 0 9px 9px !important;
    letter-spacing: 0.5px !important;
    background-color: var(--primary-red) !important;
    box-shadow: none !important;
}

/* ========================================
   FOOTER SECTION
   ======================================== */
.footer {
    background-color: #e8e8e8;
    color: var(--dark-gray);
    margin-top: 60px;
}

.footer-logo {
    max-width: 200px;
    height: auto;
}

.footer-heading {
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer-link {
    color: #2c5f9e !important;
    font-size: 0.9rem;
    line-height: 1.8;
    text-decoration: none !important;
    transition: color var(--transition-fast);
    display: block;
}

.footer-link:hover {
    color: var(--primary-red) !important;
    text-decoration: underline !important;
}

.footer-email {
    font-weight: 500;
}

.footer-branch-title {
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.footer-text {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-text strong {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.footer-bottom {
    background-color: var(--primary-blue);
    border-top: 1px solid #d0d0d0;
}

.footer-copyright {
    color: var(--white);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-designer-link {
    color: var(--white) !important;
    text-decoration: none !important;
    font-style: italic;
    transition: color var(--transition-fast);
}

.footer-designer-link:hover {
    color: var(--primary-red) !important;
    text-decoration: underline !important;
}

/* ========================================
   HERO SECTIONS
   ======================================== */

/* Main Hero Section */
.hero-section {
    background-image: url('../images/hres/image00001B.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.hero-overlay {
    display: flex;
    align-items: center;
    background: rgb(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-container {
    width: auto;
    margin-left: 10%;
    min-height: 700px;
    height: 100%;
    padding: 2.8em 5em;
    flex-direction: column;
    display: inline-flex;
    background: rgb(17 39 70 / 80%);
    justify-content: center;
}

    .hero-text-container.black-november {
        background: url('../images/blacknovember/blacknovember.png') !important;
        background-size: cover !important;
        background-position: center !important;
        justify-content: end !important;
    }

    .hero-text-container.red-dezemba {
        background: url('../images/reddezemba/RedDezemba2.png') no-repeat left center / 592px 700px !important;
        background-size: cover !important;
        background-position: center !important;
        justify-content: end !important;
    }

    .hero-title {
        margin: 0;
        line-height: 1.1;
    }

/* Desktop fix for Red Dezemba */
@media (min-width: 1024px) {
    .hero-text-container.red-dezemba {
        background-color: transparent !important;
        height: 700px !important;
        min-height: 700px !important;
        padding: 0 !important; /* remove old padding */
        margin-left: 10%; /* keep your original offset */
        width: 592px; /* exactly the width of the poster */
        /* Center the buttons perfectly inside the poster */
        display: flex !important;
        align-items: center; /* vertical center */
        justify-content: center; /* horizontal center */
        flex-direction: column; /* stack buttons vertically */
        gap: 1.5rem; /* space between the two buttons */
    }
}
    
    .black-november .hero-title {
        display: none !important;
    }

    .red-dezemba .hero-title {
        display: none !important;
    }

    .hero-drive {
        color: var(--primary-red);
        font-size: 6.5rem;
        font-weight: 700;
        font-family: 'ShadowsIntoLight-Regular';
        line-height: 0.5;
        padding-top: 2.8em;
    }

    .hero-fix,
    .hero-save {
        color: var(--white);
        font-size: 4.5rem;
        font-weight: 900;
        letter-spacing: 2px;
        line-height: 0.9;
    }

    .hero-description {
        color: var(--white);
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 24px;
    }

    .black-november .hero-description {
        display: none !important;
    }

    .red-dezemba .hero-description {
        display: none !important;
    }

    .hero-btn {
        border-width: 2px !important;
        border-radius: 28px !important;
        padding: 10px 28px !important;
        font-size: 1.3rem !important;
        letter-spacing: 0.5px !important;
    }

    .black-november .browse-btn {
        background-color: rgb(201 154 56) !important;
        color: black !important;
    }

        .black-november .browse-btn:hover {
            background-color: rgb(201 154 56) !important;
            color: black !important;
        }

    .red-dezemba .browse-btn {
        background-color: rgb(35 64 96) !important;
        color: var(--white) !important;
    }

        .red-dezemba .browse-btn:hover {
            background-color: rgb(35 64 96) !important;
            color: var(--white) !important;
        }

    .browse-btn {
        background: var(--primary-red);
        color: var(--white) !important;
    }

        .browse-btn:hover {
            background-color: var(--primary-red) !important;
            color: var(--white) !important;
        }

    .black-november .daily-btn {
        background: var(--primary-red) !important;
        color: var(--white) !important;
        margin-bottom: 1rem;
    }

        .black-november .daily-btn:hover {
            background: var(--primary-red) !important;
            color: var(--white) !important;
        }

    .red-dezemba .daily-btn {
        background: var(--white) !important;
        color: rgb(35 64 96) !important;
        margin-bottom: 1rem;
    }

        .red-dezemba .daily-btn:hover {
            background: var(--white) !important;
            color: rgb(35 64 96) !important;
        }

    .daily-btn {
        background: var(--white) !important;
        color: var(--dark-gray) !important;
    }

        .daily-btn:hover {
            background: var(--white) !important;
            color: var(--dark-gray) !important;
        }

    /* About Hero Section */
    .about-hero-section {
        background-image: url('../images/hres/image00001.jpeg');
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .about-hero-overlay {
        min-height: 390px;
        display: flex;
        align-items: center;
        padding: 80px 0;
        background: rgb(0, 0, 0, 0.4);
    }

    .about-hero-content {
        position: relative;
        z-index: 2;
    }

    .about-hero-title {
        color: var(--white);
        font-weight: 900;
        font-size: 4.5rem !important;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    /* Blog Hero Section */
    .blog-hero-section {
        background-image: url('../images/hres/image00001.jpeg');
        background-size: cover;
        background-position: center;
        height: 390px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
    }

    .blog-hero-content {
        text-align: center;
    }

    .blog-hero-title {
        color: var(--white) !important;
        font-weight: 900 !important;
        font-size: 4.5rem !important;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

    .blog-hero-overlay {
        width: 100%;
        height: 100%;
        background: rgb(0, 0, 0, 0.4);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* ========================================
   CONTENT SECTIONS
   ======================================== */
    /* Deals Section */
    .deals-section {
        background-color: var(--white);
        padding-top: 60px;
    }

    .deals-title {
        color: var(--primary-red);
        font-weight: 900;
        font-size: 3.5rem;
        letter-spacing: 1px;
    }

    .deal-card {
        border-radius: var(--border-radius-small);
        background: var(--light-gray);
        overflow: hidden;
        box-shadow: var(--box-shadow-light);
        transition: transform var(--transition-fast);
    }

        .deal-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--box-shadow-medium);
        }

    .deal-image-container {
        position: relative;
        height: 240px;
        overflow: hidden;
    }

    .deal-image {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
    }

    .deal-badge-container {
        position: absolute;
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    .deal-badge-auction {
        background-color: var(--primary-red) !important;
        color: var(--white) !important;
        font-weight: 700;
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .deal-icons {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        align-items: flex-end;
    }

    .deal-icon {
        cursor: pointer;
        color: var(--white);
        font-size: 1.3rem !important;
    }

    .deal-icon-camera {
        color: var(--white);
        font-weight: 900;
    }

    .deal-icon-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .deal-content {
        padding: 16px !important;
    }

    .deal-vehicle-name {
        color: var(--primary-blue);
        font-size: 1.2rem;
        margin-bottom: 4px;
        line-height: 1.3;
        min-height: 50px;
    }

    .deal-vehicle-details {
        color: var(--medium-gray);
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .deal-tags {
        display: flex;
        flex-wrap: wrap;
    }

    .deal-tag {
        background-color: var(--primary-blue) !important;
        color: var(--white) !important;
        font-size: 0.7rem !important;
        font-weight: 600;
        height: 24px !important;
        padding: 0 10px !important;
        text-transform: uppercase;
        flex: 1;
    }

    .tiktok-embed {
        width: 100% !important;
        min-width: unset !important;
    }

    .tag-disabled {
        background: var(--mud-palette-action-default) !important;
    }

    .deal-price-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        border-top: 1px solid #112746;
        padding-top: 12px;
    }

    .deal-price {
        font-weight: 900;
        color: var(--primary-blue);
        font-size: 1.8rem;
        flex-grow: 2;
    }

        .deal-price span {
            font-size: 0.75rem;
            color: var(--dark-gray);
        }

    .deal-time-container {
        text-align: right;
        flex: 1;
    }

    .deal-time-label {
        color: #999;
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .deal-time {
        color: #FF9800;
        font-weight: 700;
        font-size: 0.8rem;
        text-transform: uppercase;
    }

    .deals-disclaimer {
        line-height: 1.5;
        font-size: 1.2rem;
        color: var(--primary-red);
    }

    /* Features Section */
    .feature-card {
        text-align: center;
        padding: 20px;
    }

    .feature-icon {
        margin-bottom: 16px;
        height: 130px;
        color: var(--primary-blue);
    }

        .feature-icon img {
            height: 100%;
            width: auto;
        }

        .feature-icon .mud-icon-root {
            font-size: 3.5rem !important;
        }

    .feature-title {
        font-weight: 900;
        color: var(--primary-blue);
        font-size: 1.3rem;
        line-height: 1.5;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding-top: 1.5rem;
    }

    /* Dividers */
    .hallmark-divider {
        height: 3px;
        border-radius: 3px;
        background-color: #d40031;
        max-width: 360px;
        margin: 0 auto 2rem;
    }

    .hallmark-divider-alt {
        height: 3px;
        border-radius: 3px;
        background-color: var(--primary-blue);
        max-width: 360px;
        margin: 0 auto 2rem;
    }

    /* Trust Section */
    .trust-section {
        background-color: var(--primary-blue);
        color: var(--white);
        padding: 60px 0;
    }

    .trust-title {
        color: var(--white);
        font-weight: 900;
        font-size: 3.5rem;
        letter-spacing: 1px;
    }

    .trust-subtitle {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.5rem;
    }

    .trust-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .trust-icon {
        margin-bottom: 20px;
        color: var(--white);
        height: 140px;
    }

        .trust-icon .mud-icon-root {
            font-size: 4rem !important;
        }

    .trust-card-text {
        color: rgba(255, 255, 255, 0.95);
        line-height: 1.4;
        font-size: 1.1rem;
        margin-bottom: 16px;
        min-height: 170px;
    }

    .trust-btn {
        border-width: 2px !important;
        border-radius: 20px !important;
        padding: 8px 32px !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
        letter-spacing: 0.5px !important;
        min-width: 140px;
        border-color: var(--primary-red) !important;
        color: var(--white) !important;
    }

    /* Loop Section */
    .loop-section {
        background-color: var(--white);
        padding-bottom: 60px;
    }

    .loop-title {
        color: var(--primary-blue);
        font-weight: 900;
        font-size: 3.5rem;
        letter-spacing: 1px;
    }

    .loop-subtitle {
        color: var(--primary-red);
        font-size: 1.4rem;
        font-weight: 600;
    }

    /* TikTok Cards */
    .tiktok-card {
        border-radius: var(--border-radius-small);
        overflow: hidden;
        position: relative;
        cursor: pointer;
        transition: transform var(--transition-fast);
    }

        .tiktok-card:hover {
            transform: scale(1.05);
        }

    .tiktok-image-container {
        position: relative;
        height: 600px;
        overflow: hidden;
    }

    .tiktok-image {
        width: auto;
        height: 100%;
        object-fit: cover;
    }

    .tiktok-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background-color: var(--primary-red);
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 1.1em;
        color: var(--white);
    }

    .tiktok-badge-logo {
        height: 20px;
    }

    .tiktok-stats {
        position: absolute;
        bottom: 12px;
        right: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
        background-color: rgba(0, 0, 0, 0.6);
        padding: 6px 12px;
        border-radius: 20px;
    }

    .tiktok-stat-icon,
    .tiktok-stat-text {
        color: var(--white);
    }

    .tiktok-stat-text {
        font-weight: 700;
    }

    /* Branches Section */
    .branches-section {
        position: relative;
        overflow: hidden;
        min-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .branches-video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        pointer-events: none;
    }

    .branches-overlay,
    .branches-content {
        position: relative;
        z-index: 2;
    }

    .branches-title {
        color: var(--white);
        font-weight: 900;
        font-size: 3.5rem;
        letter-spacing: 1px;
        line-height: 1.1;
        padding-top: 3rem;
    }

    .branch-btn {
        border-radius: var(--border-radius-large) !important;
        padding: 12px 48px !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        min-width: 230px;
        letter-spacing: 0.5px !important;
        background-color: var(--primary-red) !important;
    }

        .branch-btn:hover {
            background-color: #b5002a !important;
        }

    /* FAQ Section */
    .faq-section {
        background-color: var(--light-gray);
        padding: 60px 0;
    }

    .faq-title {
        color: var(--primary-blue);
        font-weight: 900;
        font-size: 3.5rem;
        letter-spacing: 1px;
    }

    .faq-subtitle {
        color: var(--primary-red);
        font-size: 1.4rem;
        font-weight: 600;
    }

    .faq-panels {
        background-color: transparent;
    }

    .faq-panel {
        background-color: var(--light-gray);
        border: none !important;
    }

        .faq-panel:nth-of-type(2n+1) {
            background-color: var(--white);
        }

    .faq-question {
        font-weight: 600;
        color: #112746;
        font-size: 1.2rem;
    }

    .faq-answer {
        color: var(--medium-gray);
        line-height: 1.7;
        padding: 16px 0;
        font-size: 1.1rem;
    }

    .mud-expand-panel .mud-expand-panel-header .mud-expand-panel-icon {
        display: none !important;
    }

    /* Contact Section */
    .contact-section {
        background-color: var(--white);
        padding: 60px 0;
    }

    .contact-title {
        color: var(--primary-red);
        font-weight: 900;
        font-size: 3.5rem;
        letter-spacing: 1px;
    }

    .contact-subtitle {
        color: #112746;
        font-size: 1.4rem;
    }

    .contact-form {
        margin-top: 32px;
    }

    .contact-input {
        background-color: var(--white);
    }

    .contact-submit-btn {
        border-radius: var(--border-radius-large) !important;
        padding: 12px 60px !important;
        font-weight: 700 !important;
        font-size: 1.2rem !important;
        letter-spacing: 0.5px !important;
        background-color: var(--primary-red) !important;
    }

        .contact-submit-btn:hover {
            background-color: #b5002a !important;
        }

    .mud-input.mud-input-outlined .mud-input-outlined-border {
        border-radius: var(--border-radius-large);
        border-width: 2px;
        border-color: var(--mud-palette-error) !important;
    }

    /* Salvage Section */
    .salvage-section {
        background-color: var(--white);
        padding: 60px 0 40px 0;
    }

    .salvage-title {
        color: var(--primary-blue);
        font-weight: 900;
        font-size: 3.5rem;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .title-underline {
        width: 120px;
        height: 3px;
        background-color: var(--primary-red);
    }

    .salvage-description {
        color: var(--mud-palette-error);
        line-height: 1.3;
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto;
    }

    /* Process Section */
    .process-section {
        padding: 0 0 60px;
    }

    .process-title {
        color: var(--primary-blue);
        font-weight: 900;
        font-size: 3.5rem;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .process-card {
        padding: 1rem;
        text-align: center;
        border: 3px solid var(--primary-red);
        border-radius: var(--border-radius-medium);
        background-color: var(--white);
        min-height: 200px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    }

        .process-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(220, 0, 50, 0.2);
        }

    .process-number {
        font-size: 3.5rem;
        font-weight: 900;
        color: var(--primary-blue);
        margin-bottom: 12px;
        line-height: 1;
    }

    .process-card-title {
        color: var(--primary-blue);
        width: 100%;
        text-align: start;
        font-size: 1.5rem;
        line-height: 1.5;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .process-card-start {
        background-color: var(--primary-blue);
        padding: 1rem;
        text-align: center;
        border: 3px solid var(--primary-blue);
        border-radius: var(--border-radius-medium);
        min-height: 200px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    }

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px white inset !important;
    }

    .process-card-start:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(10, 38, 71, 0.3);
        cursor: pointer;
    }

    .process-start-text {
        font-size: 3.5rem;
        font-weight: 900;
        color: var(--primary-red);
        margin-bottom: 12px;
        line-height: 1;
    }

    .process-start-description {
        color: var(--white);
        width: 100%;
        text-align: start;
        font-size: 1.5rem;
        line-height: 1.5;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Team Section */
    .team-section {
        background-color: var(--white);
        padding: 0 0 60px;
    }

    .team-title {
        color: var(--primary-blue);
        font-weight: 900;
        font-size: 3.5rem;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .team-carousel-item {
        height: 600px;
        width: 100%;
        text-align: center;
    }

    .team-image {
        width: auto;
        height: 100%;
        border-radius: 24px;
    }

    /* MudCarousel customization */
    .team-carousel :deep(.mud-carousel-item) {
        height: 450px;
    }

    .team-carousel :deep(.mud-icon-button) {
        background-color: rgba(220, 0, 50, 0.9) !important;
        color: var(--white) !important;
    }

    .team-carousel :deep(.mud-icon-button:hover) {
        background-color: var(--primary-red) !important;
    }

    .team-carousel :deep(.mud-carousel-bullets .mud-button-root) {
        color: var(--primary-red) !important;
    }

    .team-carousel :deep(.mud-carousel-bullets-item.mud-selected) {
        background-color: var(--primary-red) !important;
    }

    /* Gallery Section */
    .gallery-section {
        background-color: var(--white);
        padding: 0;
        margin: 0;
    }

    .gallery-grid {
        margin: 0 !important;
    }

    .gallery-item {
        position: relative;
        width: 100%;
        height: 500px;
        overflow: hidden;
    }

    .gallery-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover .gallery-image {
        transform: scale(1.05);
    }

    .gallery-item-center {
        position: relative;
    }

    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: end;
        justify-content: center;
        z-index: 2;
    }

    .gallery-contact-btn {
        border-radius: 30px !important;
        padding: 16px 56px !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
        letter-spacing: 0.5px !important;
        background-color: var(--primary-red) !important;
        text-transform: uppercase;
        box-shadow: 0 4px 16px rgba(220, 0, 50, 0.4);
    }

        .gallery-contact-btn:hover {
            background-color: #b5002a !important;
            box-shadow: 0 6px 24px rgba(220, 0, 50, 0.6);
            transform: translateY(-2px);
        }

    /* ========================================
   VEHICLE & SEARCH COMPONENTS
   ======================================== */

    /* Type Selector */
    .type-selector {
        background: #f5f5f5;
        padding: 5rem 0 0;
        margin-bottom: 0;
    }

    .type-button {
        background: #e0e0e0;
        flex: 1;
        color: var(--medium-gray);
        border: none;
        border-radius: 15px;
        padding: 15px 30px;
        font-weight: 600;
        font-size: 1.3rem;
        cursor: pointer;
        transition: all var(--transition-fast);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .type-button.active {
            background: var(--secondary-blue);
            color: var(--white);
        }

            .type-button.active .type-icon {
                color: var(--mud-palette-error);
            }

    .type-icon {
        width: 24px;
        height: 24px;
    }

    /* Search Section */
    .search-section {
        background: #f5f5f5;
        padding: 20px;
        margin-bottom: 30px;
    }

    .search-input {
        background: var(--white);
        border-radius: var(--border-radius-small);
        padding: 15px 20px;
        font-size: 1.2rem;
        width: 100%;
    }

    .search-button {
        background: #dc3545;
        color: var(--white);
        border: none;
        border-radius: var(--border-radius-small);
        padding: 15px 30px;
        font-weight: 600;
        cursor: pointer;
        transition: background var(--transition-fast);
    }

        .search-button:hover {
            background: #c82333;
        }

    /* Controls Section */
    .controls-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 1rem 0 4rem;
        flex-wrap: wrap;
        gap: 15px;
    }

    .filter-button,
    .sort-button,
    .like-top-button {
        background: #6c757d;
        color: var(--white);
        border: none;
        border-radius: var(--border-radius-small);
        padding: 12px 20px;
        font-weight: 600;
        font-size: 1.3rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background var(--transition-fast);
    }

    .like-top-button {
        padding: 9px 20px;
    }

    .filter-button:hover,
    .sort-button:hover {
        background: #5a6268;
    }

    /* Pagination */
    .pagination {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .page-button {
        background: transparent;
        padding: 8px 12px;
        cursor: pointer;
        font-weight: 900;
        font-size: 1.3rem;
        transition: all var(--transition-fast);
    }

        .page-button.active {
            color: #dc3545;
        }

        .page-button:hover:not(.active) {
            background: var(--light-gray);
        }

    /* Filter Panel */
    .filter-panel {
        background: var(--light-gray);
        border-radius: var(--border-radius-medium);
        padding: 25px;
        margin-bottom: 30px;
        border: 1px solid #e9ecef;
    }

    .filter-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 20px;
    }

    .filter-actions {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }

    /* Vehicle Detail */
    .vehicle-detail-container {
        background: var(--light-gray);
        min-height: 100vh;
        padding: 0;
    }

    .back-button {
        background: transparent;
        border: none;
        color: rgb(32 55 92);
        font-size: 1.3rem;
        font-weight: 900;
        padding: 15px 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .back-button:hover {
            color: #495057;
        }

    .car-section {
        background: var(--white);
    }

    .vehicle-main-card {
        overflow: hidden;
        margin-bottom: 30px;
    }

    .image-gallery {
        position: relative;
        background: transparent;
        padding: 1rem;
    }

    .main-image {
        width: 100%;
        height: 500px;
        object-fit: cover;
        background-size: cover;
        background-position: center;
        position: relative;
        border-radius: var(--border-radius-medium);
    }

    .image-overlay-buttons {
        position: absolute;
        bottom: 15px;
        right: 15px;
        display: flex;
        gap: 10px;
    }

    .share-btn,
    .like-btn {
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all var(--transition-fast);
    }

        .share-btn:hover,
        .like-btn:hover {
            background: var(--white);
            transform: scale(1.05);
        }

    .thumbnail-gallery {
        display: flex;
        gap: 5px;
        padding: 1rem 0;
        overflow-x: auto;
    }

    .thumbnail {
        min-width: 21%;
        height: 105px;
        border-radius: var(--border-radius-small);
        cursor: pointer;
        transition: all var(--transition-fast);
        border: 2px solid transparent;
    }

        .thumbnail:hover,
        .thumbnail.active {
            border-color: var(--secondary-blue);
            transform: scale(1.05);
        }

    .vehicle-info {
        padding: 1rem;
    }

    .price-section {
        background: var(--secondary-blue);
        color: var(--white);
        padding: 20px;
        border-radius: var(--border-radius-medium);
        margin-bottom: 1rem;
    }

    .price-amount {
        font-size: 2rem;
        font-weight: 900;
        margin-bottom: 5px;
    }

    .price-incl {
        font-size: 1rem;
    }

    .vehicle-title {
        color: var(--white);
        font-size: 20px;
        margin-bottom: 8px;
    }

    .vehicle-subtitle {
        color: rgba(255, 255, 255, 0.8);
        font-size: 16px;
    }

    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }

    .btn-interested {
        background: var(--secondary-blue);
        color: var(--white);
        border: none;
        border-radius: var(--border-radius-small);
        padding: 12px 24px;
        font-weight: 600;
        cursor: pointer;
        flex: 1;
        transition: background var(--transition-fast);
    }

        .btn-interested:hover {
            background: #2d4a73;
        }

    .btn-login {
        background: #dc3545;
        color: var(--white);
        border: none;
        border-radius: var(--border-radius-small);
        padding: 12px 24px;
        font-weight: 600;
        cursor: pointer;
        flex: 1;
        transition: background var(--transition-fast);
    }

        .btn-login:hover {
            background: #c82333;
        }

    .vehicle-specs {
        display: flex;
        flex-direction: column;
        margin-bottom: 25px;
        padding: 0 1rem;
    }

    .spec-item {
        display: flex;
        justify-content: start;
        padding: 0.3rem 0;
    }

    .spec-label {
        color: #20375c;
        font-weight: 500;
        flex: 1;
    }

    .spec-value {
        color: #20375c;
        font-weight: 600;
        flex: 1;
    }

    .vehicle-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 20px;
    }

    .badge {
        background: #28a745;
        color: var(--white);
        flex: 33%;
        border-radius: 20px;
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
    }

        .badge.badge-disabled {
            background: var(--mud-palette-action-default);
        }

    /* Similar Vehicles Section */
    .similar-section {
        background: var(--secondary-blue);
        padding: 2.5rem 0;
    }

    .similar-title {
        font-size: 1.3rem;
        font-weight: 900;
        text-align: left;
        margin-bottom: 2rem;
        color: var(--white);
    }

    .similar-card {
        background: var(--white);
        border-radius: var(--border-radius-medium);
        overflow: hidden;
        transition: transform var(--transition-fast);
        cursor: pointer;
        color: #212529;
    }

        .similar-card:hover {
            transform: translateY(-5px);
        }

    .similar-image {
        height: 150px;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .similar-info {
        padding: 15px;
    }

    .similar-price {
        font-size: 18px;
        font-weight: 700;
        color: var(--secondary-blue);
        margin-bottom: 8px;
    }

    .similar-details {
        font-size: 14px;
        color: #6c757d;
        margin-bottom: 10px;
    }

    /* Sell Your Car */
    .sell-your-car {
        background: var(--white);
        padding: 25px;
        text-align: center;
        color: #212529;
        border-radius: var(--border-radius-small);
        overflow: hidden;
        box-shadow: var(--box-shadow-light);
        transition: transform var(--transition-fast);
        background-image: url(/images/sell-car--vehicledetail.png);
        background-repeat: no-repeat;
        background-position: top;
        background-size: 100% auto;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: end;
        background-color: #e5e6e1;
    }

    .mud-select.sell-car-input .mud-input-control-input-container {
        background: #fff !important;
        border-radius: 8px !important;
    }

    .sell-title {
        color: #dc3545;
        font-size: 1.5rem;
        font-weight: 900;
        margin-bottom: 2rem;
        text-align: left;
        line-height: 1;
    }

    .sell-description {
        font-size: 12px;
        color: #dc3545;
        margin-bottom: 2rem;
        text-align: left;
    }

    .btn-start-here {
        background: #dc3545;
        color: var(--white);
        border: none;
        border-radius: var(--border-radius-large);
        padding: 12px 30px;
        font-weight: 600;
        cursor: pointer;
        transition: background var(--transition-fast);
    }

        .btn-start-here:hover {
            background: #c82333;
        }

    /* ========================================
   BLOG COMPONENTS
   ======================================== */

    /* Blog Content */
    .blog-content-section {
        background: var(--white);
    }

    .blog-card-featured {
        border-radius: 15px !important;
        overflow: hidden;
        cursor: pointer;
        transition: all var(--transition-fast);
    }

        .blog-card-featured:hover {
            transform: translateY(-5px);
        }

    .blog-featured-image {
        height: 420px;
        background-size: cover;
        background-position: center;
        border-radius: 15px;
    }

    .blog-featured-content {
        padding: 1rem 2rem 0 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 390px;
    }

    .blog-card-divider {
        border-color: var(--mud-palette-error);
        border-width: 3px;
        border-style: solid none none none;
        width: 60%;
        height: 3px;
        flex: 0;
    }

    .blog-featured-title {
        color: var(--secondary-blue) !important;
        font-weight: 900 !important;
        line-height: 1.1;
        font-size: 1.8rem;
    }

    .blog-featured-excerpt {
        color: #20375c !important;
        line-height: 1.3;
        margin: 2rem 0 !important;
        font-weight: 600;
    }

    /* Regular Blog Cards */
    .blog-card {
        height: 100%;
        border-radius: 15px !important;
        cursor: pointer;
        transition: all var(--transition-fast);
    }

        .blog-card:hover {
            transform: translateY(-5px);
        }

    .blog-card-image {
        height: 300px;
        background-size: cover;
        background-position: center;
        border-radius: 15px;
    }

    .blog-card-content {
        display: flex;
        flex-direction: column;
        height: calc(100% - 200px);
        padding: 2rem 0;
        justify-content: space-between;
    }

    .blog-card-title {
        color: var(--secondary-blue) !important;
        font-weight: 700 !important;
        line-height: 1.2;
        min-height: 80px;
    }

    .blog-card-excerpt {
        color: var(--medium-gray) !important;
        line-height: 1.3;
        margin: 1rem 0 !important;
    }

    .blog-meta-text {
        color: #dc3545 !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        font-size: 1rem !important;
        padding-top: 1.5rem;
    }

    .blog-read-button {
        border-radius: var(--border-radius-large) !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        padding: 8px 25px !important;
        align-self: flex-start;
        min-width: 100px;
    }

    .blog-pagination .mud-pagination-item {
        border-radius: var(--border-radius-small);
        margin: 0 4px;
    }

    /* ========================================
   BUTTON STYLES
   ======================================== */
    .view-all-btn {
        border-radius: var(--border-radius-large) !important;
        padding: 12px 60px !important;
        font-weight: 700 !important;
        font-size: 1.3rem !important;
        letter-spacing: 0.5px !important;
        background-color: var(--primary-red) !important;
    }

    .contact-btn {
        border-radius: var(--border-radius-large) !important;
        padding: 12px 48px !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        letter-spacing: 0.5px !important;
        background-color: var(--primary-red) !important;
        text-transform: uppercase;
    }

        .contact-btn:hover {
            background-color: #b5002a !important;
        }

    /* Timer Banner Styles */
    .timer-banner-container {
        padding: 0 2rem 0 3rem;
    }

    .timer-banner-wrapper {
        display: flex;
        border-radius: 0 0 8px 8px;
        overflow: hidden;
    }

    .timer-banner-left {
        flex: 1;
        padding: 1.2rem;
        text-align: center;
        background: #dc0032;
    }

    .timer-banner-left-text {
        color: white;
        font-weight: 900;
        font-size: 1.5rem;
    }

    .timer-banner-right {
        flex: 1;
        padding: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: space-around;
        background: #FF9800;
    }

    .timer-banner-right-text {
        color: white;
        font-weight: 900;
        font-size: 1.5rem;
    }

    .timer-countdown {
        color: white;
        font-weight: 900;
        font-size: 1.5rem;
    }

    /* Blog Post Styles */
    .blog-post-hero-section {
        padding: 20px 0;
    }

    .blog-post-hero-content {
        position: relative;
    }

    .back-to-blogs-btn {
        color: #20375c !important;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 1rem !important;
    }

    .blog-post-hero-image {
        border-radius: 15px;
        overflow: hidden;
    }

    .hero-main-image {
        width: 100%;
        height: 420px;
        border-radius: 15px;
        object-fit: cover !important;
    }

    .blog-post-content-section {
        background: #fff;
    }

    .blog-post-header {
        display: flex;
    }

    .blog-post-title {
        color: #1a365d !important;
        font-weight: 900 !important;
        line-height: 1.2;
        font-size: 1.8rem;
        text-transform: uppercase;
        flex: 3;
    }

    .blog-post-meta {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        border-top: 3px solid var(--mud-palette-error);
        flex: 1;
    }

    .blog-meta-chip {
        color: var(--mud-palette-error);
    }

    .blog-post-content {
        font-size: 16px;
        line-height: 1.8;
        color: #333;
    }

    .blog-post-content iframe {
        display: block;
        width: 100%;
        max-width: 100%;
        min-height: 360px;
        height: auto;
        aspect-ratio: 16 / 9;
        border: 0;
        border-radius: 8px;
        margin: 1.5rem 0;
    }

    .blog-intro-text {
        font-size: 1.2rem !important;
        line-height: 1.7 !important;
        color: #20375c !important;
        font-weight: 400 !important;
    }

    .blog-section-title {
        color: #1a365d !important;
        font-weight: 700 !important;
        margin-top: 3rem !important;
    }

    .blog-list .mud-list-item::before {
        content: "�";
        color: #dc3545;
        font-weight: bold;
        display: inline-block;
        width: 1em;
        margin-left: -1em;
    }

    .blog-cta-section {
        margin-top: 50px;
    }

    .blog-cta-card {
        background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%) !important;
        color: white !important;
        padding: 40px !important;
        border-radius: 15px !important;
        text-align: center;
    }

    .blog-cta-title {
        color: white !important;
        font-weight: 600 !important;
    }

    .blog-cta-button {
        min-width: 150px;
        font-weight: 600 !important;
    }

    .related-articles-section {
        border-top: 1px solid #214162;
        padding: 4rem 0;
        border-bottom: 1px solid #214162;
    }

    .blog-card-title {
        color: #1a365d !important;
        font-weight: 700 !important;
        line-height: 1.2;
        min-height: 80px;
    }

    .blog-card-excerpt {
        color: #666 !important;
        line-height: 1.3;
        margin: 1rem 0 !important;
    }

    .blog-meta-text {
        color: #dc3545 !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        font-size: 1rem !important;
        padding-top: 1.5rem;
    }

    .blog-read-button {
        border-radius: 25px !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        padding: 8px 25px !important;
        align-self: flex-start;
        min-width: 100px;
    }

    /* ========================================
   SELL YOUR CAR PAGE COMPONENTS
   ======================================== */

    /* Sell Car Hero Section */
    .sell-car-hero-section {
        background-image: url('../images/Gemini_Generated_Image_gh6u6pgh6u6pgh6u.png');
        background-size: contain;
        background-color: #eeeeee;
        background-repeat: no-repeat;
        background-position: 50% 80%;
        position: relative;
        min-height: 390px;
    }

    /*.sell-car-hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }*/

    .sell-car-hero-overlay {
        display: flex;
        align-items: end;
        min-height: 390px;
        position: relative;
        z-index: 2;
    }

    .sell-car-hero-content {
        position: relative;
        z-index: 2;
        padding: 4rem 0 3rem;
    }

    .sell-car-hero-title {
        color: var(--primary-red);
        font-weight: 900;
        font-size: 4.5rem;
        text-transform: uppercase;
        padding: 0;
    }

    .sell-car-hero-subtitle {
        color: var(--mud-palette-dark);
        font-weight: 500;
        font-size: 1.2rem;
        text-align: center;
    }

    /* Sell Car Form Section */
    .sell-car-form-section {
        background-color: var(--primary-blue);
        padding: 40px 0 60px 0;
    }

    .sell-car-form-container {
        background-color: transparent !important;
        padding: 0;
        border-radius: 0 !important;
    }

    .form-section-header {
        margin-bottom: 16px;
    }

    .form-section-title {
        color: var(--white) !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    /* Sell Car Input Fields */
    .sell-car-input {
        margin: 0.3rem !important;
    }

        .sell-car-input .mud-input-root {
            background-color: rgba(255, 255, 255, 0.95) !important;
            border-radius: 8px !important;
        }

        .sell-car-input .mud-input-slot {
            padding: 14px 16px !important;
        }

        .sell-car-input .mud-input-root-filled:before,
        .sell-car-input .mud-input-root-filled:after {
            display: none !important;
        }

        .sell-car-input input {
            color: var(--medium-gray) !important;
            font-size: 1rem;
        }

            .sell-car-input input::placeholder {
                color: var(--primary-blue) !important;
                opacity: 1;
            }

        .sell-car-input .mud-input-root-filled {
            background-color: rgba(255, 255, 255, 0.95) !important;
        }

            .sell-car-input .mud-input-root-filled:hover:before {
                border-bottom: none !important;
            }

    .privacy-notice {
        color: var(--primary-red) !important;
        font-size: 0.9rem;
        line-height: 1.6;
        margin-top: 5rem;
    }

    .privacy-link {
        color: var(--primary-red);
        text-decoration: underline;
        cursor: pointer;
    }

    .sell-car-submit-btn {
        border-radius: var(--border-radius-large) !important;
        padding: 12px 60px !important;
        font-weight: 700 !important;
        font-size: 1.3rem !important;
        letter-spacing: 0.5px !important;
        background-color: var(--primary-red) !important;
        text-transform: uppercase;
        min-width: 200px;
    }

        .sell-car-submit-btn:hover {
            background-color: #b5002a !important;
            box-shadow: 0 6px 20px rgba(220, 0, 50, 0.4);
        }

    .terms-notice {
        color: var(--white) !important;
        font-size: 0.85rem;
    }

    /* ========================================
   RESPONSIVE DESIGN
   ======================================== */

    /* Tablet Styles */
    @media (max-width: 960px) {
        .hero-drive,
        .hero-fix,
        .hero-save {
            font-size: 2.5rem;
        }

        .trust-title,
        .branches-title,
        .loop-title,
        .faq-title,
        .contact-title,
        .deals-title,
        .salvage-title {
            font-size: 2rem;
        }

        .nav-links {
            display: none !important;
        }

        .social-sidebar {
            display: none;
        }

        .footer-logo {
            max-width: 160px;
        }

        .footer-heading {
            font-size: 1rem;
        }

        .footer-link,
        .footer-text {
            font-size: 0.85rem;
        }

        .gallery-item {
            height: 390px;
        }

        .gallery-contact-btn {
            padding: 14px 40px !important;
            font-size: 1rem !important;
        }

        .about-hero-title {
            font-size: 3.5rem !important;
        }

        .process-title,
        .team-title {
            font-size: 2rem;
        }

        .team-carousel-item,
        .team-carousel :deep(.mud-carousel-item) {
            height: 390px;
        }

        .process-card,
        .process-card-start {
            min-height: 180px;
        }

        .process-number {
            font-size: 3rem;
        }

        .process-start-text {
            font-size: 2.2rem;
        }

        .daily-hero-title {
            font-size: 3.5rem !important;
        }

        .daily-hero-subtitle {
            font-size: 2rem;
        }

        .contact-hero-title {
            font-size: 3.5rem !important;
        }

        .branch-card {
            padding: 2rem;
        }

        .branch-title {
            font-size: 2rem !important;
        }

        .team-carousel, .team-carousel-item {
            height: 350px !important;
        }

        .team-carousel-item {
            padding: 1rem;
        }

        .team-image {
            width: 100%;
            height: 100%;
            border-radius: 24px;
        }

        .timer-banner-wrapper {
            flex-direction: column;
        }

        .timer-banner-container {
            padding: 0 1rem;
        }

        .timer-banner-left-text,
        .timer-banner-right-text,
        .timer-countdown {
            font-size: 1.2rem;
        }

        .sell-car-hero-title {
            font-size: 2.5rem !important;
        }

        .sell-car-hero-subtitle {
            font-size: 1.1rem !important;
        }

        .sell-car-form-container {
            padding: 30px 40px;
        }
    }

    /* Mobile Styles */
    @media (max-width: 768px) {
        .controls-section {
            flex-direction: row;
            justify-content: space-between;
        }

        .pagination {
            justify-content: center;
        }

        .type-selector {
            text-align: center;
            padding-top: 2rem;
        }

        .vehicle-specs {
            grid-template-columns: 1fr;
        }

        .action-buttons {
            flex-direction: column;
        }

        .main-image {
            height: 250px;
        }

        .blog-hero-title {
            font-size: 2.5rem !important;
            letter-spacing: 2px;
        }

        .blog-hero-section {
            height: 250px;
        }

        .blog-featured-content {
            padding: 25px;
            height: auto;
        }

        .blog-featured-image {
            height: 250px;
        }

        .hero-main-image {
            height: 250px;
        }

        .blog-intro-text {
            font-size: 16px !important;
        }

        .blog-cta-card {
            padding: 25px !important;
        }
    }

    /* Small Mobile Styles */
    @media (max-width: 600px) {
        .footer {
            margin-top: 40px;
        }

        .footer-copyright {
            font-size: 0.75rem;
        }

        .about-hero-title {
            font-size: 2.5rem !important;
            letter-spacing: 2px;
        }

        .process-card,
        .process-card-start {
            min-height: 160px;
            padding: 30px 15px;
        }

        .process-number {
            font-size: 3.5rem;
        }

        .process-start-text {
            font-size: 1.8rem;
        }

        .process-card-title,
        .process-start-description {
            font-size: 0.9rem;
        }

        .team-carousel-item,
        .team-carousel :deep(.mud-carousel-item) {
            height: 280px;
        }

        .gallery-item {
            height: 120px;
        }

        .gallery-contact-btn {
            padding: 12px 32px !important;
            font-size: 0.9rem !important;
        }

        .daily-hero-title {
            font-size: 2rem !important;
        }

        .daily-hero-subtitle {
            font-size: 1.5rem;
        }

        .contact-hero-section {
            min-height: 250px !important;
        }

        .contact-hero-overlay {
            min-height: 250px !important;
        }

        .contact-hero-title {
            font-size: 2.5rem !important;
            letter-spacing: 2px !important;
        }

        .branch-card {
            padding: 1rem;
        }

        .branch-title {
            font-size: 1.8rem !important;
        }

        .branch-actions {
            flex-direction: column;
        }

        .branch-action-btn {
            flex: 100%;
            min-width: 100%;
        }

        .browse-btn, .hero-btn, .trust-btn, .branch-btn, .type-button, .feature-title {
            font-size: 1rem !important;
        }

        .hero-text-container.black-november {
            background-size: contain !important;
        }

        .hero-text-container {
            padding: 0 2em;
            margin: 0;
            min-height: 500px;
            width: 100%;
        }

        .hero-content {
            padding: 0;
        }

        .branches-section {
            min-height: 350px;
        }

        .branches-overlay, .branches-content {
            width: 100%;
        }

        .branch-btn {
            min-width: auto;
        }

        .mud-grid-spacing-xs-3 > .mud-grid-item {
            padding-left: 0;
        }

        .tiktok-image {
            width: 100%;
            height: auto;
        }

        .login-btn {
            position: inherit !important;
            border-radius: 9px !important;
        }

        .salvage-section {
            padding: 0 0 40px 0;
        }

        .team-section {
            padding: 0;
        }

        .faq-section {
            padding: 0;
        }

            .faq-section > .mud-container {
                padding: 0;
            }

        .gallery-item-wrapper {
            padding: 0.1rem 0 !important;
        }

        .hallmark-divider, .hallmark-divider-alt {
            max-width: 60%;
        }

        .type-button {
            flex: 100%;
        }

        .search-section {
            padding: 1.2rem 0rem;
        }

        .buy-car-top-pagination {
            display: none;
        }

        .back-button {
            padding-top: 0;
        }

        .thumbnail {
            min-width: 30%;
            height: 96px;
            background-color: #999;
        }

        .sell-your-car {
            background-size: 80%;
            height: 460px;
        }

        .car-section-container {
            padding: 0 !important;
        }

        .special-offer-image {
            width: 100%;
            height: auto;
            object-fit: cover !important;
        }

        .sell-car-card {
            height: 460px;
        }

        .daily-hero-section {
            padding: 1rem 0 0.8rem 0 !important;
        }

        .daily-hero-title, .daily-hero-subtitle {
            line-height: 0.8;
        }

        .daily-hero-title {
            margin: 0px 0 -12px !important;
        }

        .timer-banner-left-text,
        .timer-banner-right-text,
        .timer-countdown {
            font-size: 1rem;
        }

        .timer-banner-left,
        .timer-banner-right {
            padding: 1rem;
        }

        .about-hero-overlay {
            min-height: 250px;
        }

        .branch-actions--2 {
            flex-direction: column;
        }

        .branch-action-btn-full {
            flex: 1 !important;
        }

        .blog-post-header {
            flex-direction: column;
        }

        .blog-post-title {
            font-size: 1.5rem !important;
            padding-bottom: 0.9rem !important;
        }

        .blog-meta-chip {
            padding-top: 0.9rem;
        }

        .blog-section-title {
            font-size: 1.5rem !important;
        }

        .sell-car-hero-image-container {
            height: 200px;
        }

        .sell-car-hero-title {
            font-size: 1.8rem !important;
            letter-spacing: 1px;
        }

        .sell-car-hero-subtitle {
            font-size: 1rem !important;
        }

        .sell-car-form-container {
            padding: 20px 16px;
        }

        .form-section-title {
            font-size: 1.1rem !important;
        }

        .sell-car-submit-btn {
            padding: 10px 40px !important;
            font-size: 1.1rem !important;
            min-width: 160px;
        }

        .sell-car-hero-section, .sell-car-hero-overlay {
            min-height: 250px;
        }

        .sell-car-hero-section {
            background-size: cover;
        }

        .sell-car-hero-content {
            padding: 0rem 0 1rem;
        }

        .trust-section {
            display: none !important;
        }

        .offer-header-row {
            flex-direction: column;
            gap: 1rem;
        }

        .offer-amount,
        .offer-bidder {
            font-size: 1.25rem;
        }

        .bid-input-container {
            padding: 0.5rem 0.75rem;
        }
    }

    /* ========================================
   DAILY OFFERS COMPONENTS
   ======================================== */

.blog-post-content iframe,
.blog-post-content video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.blog-post-content .blog-embedded-media {
    position: relative;
    width: 100%;
    margin: 1.5rem auto;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.blog-post-content .blog-embedded-media--video,
.blog-post-content .blog-embedded-media--facebook-video {
    aspect-ratio: 16 / 9;
}

.blog-post-content .blog-embedded-media--facebook-reel {
    aspect-ratio: 9 / 16;
    max-width: min(420px, 100%);
}

.blog-post-content .blog-embedded-media__frame,
.blog-post-content .blog-embedded-media__video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.blog-post-content .blog-embedded-media__video {
    object-fit: contain;
}

/* Quill normalizes embedded iframes down to ql-video, so the editor cannot rely on the
   preview wrapper classes. Mirror the preview sizing here based on the surviving iframe markup. */
.raw-quill-editor__surface .ql-editor iframe.ql-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 1.5rem auto;
    border: 0;
    background: #000;
}

/* Facebook reels stay portrait inside the editor by matching the encoded reel path
   that survives Quill's iframe sanitization. */
.raw-quill-editor__surface .ql-editor iframe.ql-video[src*="%2Freel%2F"],
.raw-quill-editor__surface .ql-editor iframe.ql-video[src*="/reel/"] {
    width: min(420px, 100%);
    aspect-ratio: 9 / 16;
}

/* Hosted uploads use a custom Quill blot so the editor shows a real video player
   instead of an iframe target that Edge blocks for direct media files. */
.raw-quill-editor__surface .ql-editor .ql-hosted-video {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem auto;
}

.raw-quill-editor__surface .ql-editor .ql-hosted-video__player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #000;
}

.raw-quill-editor__surface .ql-editor img.ql-selected-image {
    outline: 3px solid #0284c7;
    outline-offset: 2px;
}

    /* Daily Offers Hero Section */
    .daily-hero-section {
        background-color: var(--primary-blue);
        padding: 60px 0 40px 0;
    }

    .daily-hero-content-container {
        align-items: baseline;
    }

    .daily-hero-content {
        text-align: left;
    }

    .daily-hero-title {
        color: var(--primary-red);
        font-weight: 900;
        font-size: 3.5rem !important;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .daily-hero-subtitle {
        color: var(--white);
        font-family: 'ShadowsIntoLight-Regular', cursive;
        font-size: 4.5rem;
        font-weight: 400;
        margin-bottom: 16px;
    }

    .daily-hero-description {
        color: var(--white);
        font-size: 1rem;
        line-height: 1.3;
    }

    /* How It Works Section */
    .how-it-works-section {
        background-color: var(--white);
        padding: 20px 0;
    }

    .how-it-works-panel {
        background-color: transparent;
    }

    .how-it-works-item {
        background-color: var(--white);
        border: none !important;
        box-shadow: none !important;
    }

    .how-it-works-title {
        color: var(--primary-blue);
        font-weight: 700;
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .how-it-works-content {
        color: var(--medium-gray);
        padding: 16px 0;
        line-height: 1.6;
    }

    /* Daily Offers Section */
    .daily-offers-section {
        background-color: #f5f5f5;
        padding: 40px 0 60px 0;
    }

    .daily-offer-card {
        border-radius: var(--border-radius-small);
        background: var(--white);
        overflow: hidden;
        box-shadow: var(--box-shadow-light);
        transition: transform var(--transition-fast);
        position: relative;
    }

        .daily-offer-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--box-shadow-medium);
        }

    .daily-offer-timer-badge {
        padding: 1rem 0.8rem;
        text-align: center;
    }

    .daily-timer-text {
        color: var(--white);
        font-size: 1.2rem;
        font-weight: 600;
    }

    .daily-timer-value {
        font-weight: 900;
    }

    .daily-offer-image-container {
        position: relative;
        height: 230px;
        background-color: #ccc;
    }

    .daily-offer-image {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
    }

    /* Special Offer Card Styling */
    .special-offer-card {
        border: 3px solid var(--primary-red) !important;
    }

    .special-offer-badge-top {
        position: relative;
        background-color: var(--primary-blue);
        padding: 1rem;
        height: 170px;
    }

    .special-offer-ribbon {
        background-color: var(--primary-blue);
        text-align: left;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .special-offer-ribbon-text {
        color: var(--white);
        font-weight: 900;
        font-size: 2.1rem;
        letter-spacing: 1px;
        margin: 0;
        line-height: 0.8;
    }

        .special-offer-ribbon-text span {
            font-family: var(--font-shadowintolight);
            font-size: 3rem;
            font-weight: 500;
            color: var(--primary-red) !important;
            position: relative;
            left: -0.5rem;
        }

    .special-offer-ribbon-subtext {
        color: #ff9800;
        font-weight: 800;
        font-size: 1.7rem;
        letter-spacing: 0.5px;
    }

    .special-offer-image-container {
        position: relative;
        height: 333px;
        background-color: #ccc;
    }

    .special-offer-image {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
    }

    .special-offer-branch-text {
        color: var(--white);
        font-size: 0.9rem;
        font-weight: 400;
        margin: 0;
    }

    /* Sell Your Car Card - Daily Offers */
    .sell-car-card {
        border: 3px solid var(--primary-red) !important;
        background: var(--white);
        padding: 25px;
        text-align: center;
        color: #212529;
        border-radius: var(--border-radius-small);
        overflow: hidden;
        box-shadow: var(--box-shadow-light);
        transition: transform var(--transition-fast);
        background-image: url(/images/Gemini_Generated_Image_r3yrklr3yrklr3yr.png);
        background-position: 0% 50%;
        background-repeat: no-repeat;
        background-size: 100% auto;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: end;
        background-color: #e5e6e1;
    }

    .sell-car-content {
        padding: 2rem 1rem 0 !important;
        text-align: left;
    }

    .sell-car-title {
        color: var(--primary-red);
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 12px;
        font-size: 2rem;
        text-align: left;
    }

    .sell-car-description {
        color: var(--primary-red);
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .sell-car-btn {
        border-radius: var(--border-radius-large) !important;
        padding: 10px 32px !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
    }

    /* ========================================
   CONTACT US PAGE COMPONENTS
   ======================================== */

    /* Contact Hero Section */
    .contact-hero-section {
        background-image: url('../images/hres/image00001.jpeg');
        background-size: cover;
        background-position: 50% 39%;
        position: relative;
        min-height: 390px;
    }

        .contact-hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1;
        }

    .contact-hero-overlay {
        display: flex;
        align-items: center;
        min-height: 390px;
        position: relative;
        z-index: 2;
    }

    .contact-hero-content {
        position: relative;
        z-index: 2;
    }

    .contact-hero-title {
        color: var(--white);
        font-weight: 900;
        font-size: 4.5rem;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

    /* Branches Info Section */
    .branches-info-section {
        background-color: #f5f5f5;
        padding: 60px 0;
    }

    .branch-card {
        height: 100%;
    }

    .branch-title {
        color: var(--primary-red);
        font-weight: 900;
        font-size: 2.5rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        padding-bottom: 1rem;
    }

    .branch-divider {
        height: 3px;
        border-radius: 3px;
        background-color: var(--primary-blue);
        max-width: 250px;
        margin: 0 0 2rem 0;
        border: none;
    }

    .branch-info {
        margin-bottom: 2rem;
    }

    .branch-section-title {
        color: var(--primary-blue);
        font-weight: 700;
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
    }

    .branch-text {
        color: var(--dark-gray);
        font-size: 1rem;
        line-height: 1.6;
    }

    .branch-map {
        margin: 2rem 0;
        border-radius: var(--border-radius-small);
        overflow: hidden;
        height: 250px;
    }

    .branch-actions {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 3rem;
    }

    .branch-actions--2 {
        display: flex;
        gap: 1em;
    }

    .branch-actions--1 {
        display: flex;
    }

    .branch-action-btn {
        background-color: var(--primary-blue) !important;
        color: var(--white) !important;
        border-radius: 25px !important;
        padding: 0.8rem 4rem !important;
        font-weight: 700 !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase;
        min-width: 140px;
    }

        .branch-action-btn:hover {
            background-color: var(--secondary-blue) !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(10, 38, 71, 0.3);
        }

    .branch-action-btn-full {
        flex: unset;
    }

    /* Indent model items and style make headers */
    .make-header {
        font-weight: 600;
        color: #1a365d;
        padding-left: 0.25rem !important;
    }

    /* Increase left padding to visually indent model items */
    .model-item {
        padding-left: 1.2rem !important;
        color: rgba(0,0,0,0.87);
        font-size: 0.95rem;
    }

    /* Styling for autocomplete items */
    .mm-make-header {
        font-weight: 700;
        color: #1a365d;
        padding: 4px 8px !important;
    }

    .mm-model-item {
        padding: 4px 8px !important;
        display: flex;
        align-items: center;
    }

        .mm-model-item .mm-make {
            opacity: 0.85;
            font-weight: 600;
        }

        .mm-model-item .mm-model-name {
            margin-left: 8px;
            color: rgba(0,0,0,0.7);
            padding-left: 6px;
        }

    .offer-section {
        background: #4c7aa9;
        color: var(--white);
        padding: 20px;
        border-radius: var(--border-radius-medium);
        margin-bottom: 1rem;
    }

    /* ========================================
   DAILY OFFER BIDDING COMPONENTS
   ======================================== */

    /* Offer Section */
    .offer-section {
        background: transparent;
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .offer-header-row {
        display: flex;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .offer-header-item {
        flex: 1;
    }

    .offer-label {
        color: var(--medium-gray);
        font-size: 0.875rem;
        font-weight: 500;
        margin-bottom: 0.25rem;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .offer-amount {
        color: var(--mud-palette-info-lighten);
        font-size: 2rem;
        font-weight: 900;
    }

    .offer-bidder {
        color: var(--mud-palette-info-lighten);
        font-size: 2rem;
        font-weight: 900;
    }

    .offer-history {
        margin-top: 1.5rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--mud-palette-action-disabled-background);
    }

    .offer-history-title {
        color: var(--dark-gray);
        font-size: 0.875rem;
        font-weight: 900;
        margin-bottom: 0.5rem;
    }

    .offer-history-item {
        color: var(--medium-gray);
        font-size: 0.75rem;
        line-height: 1.6;
    }

    /* Bid Wrapper - Daily Offer Detail */
    .bid-wrapper {
        flex: 0 0 100%;
        width: 100%;
        display: block;
        margin-bottom: 0;
    }

    .increment-wrapper {
        flex: 0 0 100%;
        width: 100%;
        display: block;
        margin-bottom: 0;
    }

    /* Bid Input Styles */
    .bid-input-height {
        height: 52px;
    }

    .bid-input-field {
        height: 48px;
    }

    .bid-info-append {
        margin: 0 !important;
        display: flex;
        align-items: center;
        padding: 0 0.5rem;
    }

    .bid-tooltip-text {
        color: #fff;
        border-radius: 5px;
        display: inline-block;
        width: auto;
        max-width: 255px;
        word-wrap: break-word;
    }

    .bid-make-offer-btn {
        width: 100%;
        height: 50px;
        border-radius: 25px;
        background-color: var(--primary-red);
        color: white;
    }

    /* Deal Icon Clickable */
    .deal-icon-clickable {
        cursor: pointer;
    }

    /* Location Links */
    .location-link-jhb,
    .location-link-pta {
        color: #e61b38 !important;
        text-decoration: underline;
    }

    /* ========================================
   DAILY OFFER DETAIL PAGE SPECIFIC STYLES
   ======================================== */

    /* Loading and Not Found States */
    .loading-container,
    .not-found-container {
        text-align: center;
        padding: 100px 0;
    }

    .loading-text {
        margin-top: 20px;
        color: #666;
    }

    .not-found-text {
        margin-top: 10px;
    }

    /* Timer Banner Section */
    .timer-banner-section {
        background: var(--white);
    }

    /* Back Button */
    .back-button-container {
        padding: 2rem 1rem 0;
    }

    /* Car Section Container */
    .car-section-container {
        padding: 0 1rem 1rem;
    }

    /* Action Buttons - Daily Offer Detail Specific */
    .action-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--mud-palette-action-disabled-background);
    }

    .btn-interested-signup {
        background: #FF9800;
        flex: 1.5;
    }

    .btn-login-flex {
        flex: 1;
    }

    /* Offer Section - Daily Offer Detail */
    .offer-section {
        flex: 0 0 100%;
        width: 100%;
        display: block;
        margin-bottom: 0;
    }

        .offer-section .offer-row {
            display: block;
            margin: 0.125rem 0;
            font-size: 1.25rem !important;
            font-weight: 700 !important;
            line-height: 1.2;
            color: var(--mud-primary-text, #111) !important;
        }

    /* Bid Wrapper - Daily Offer Detail */
    .bid-wrapper {
        flex: 0 0 100%;
        width: 100%;
        display: block;
        margin-bottom: 0;
    }

    .increment-wrapper {
        flex: 0 0 100%;
        width: 100%;
        display: block;
        margin-bottom: 0;
    }

    /* Bid Input Styles */
    .bid-input-height {
        height: 52px;
    }

    .bid-input-field {
        height: 48px;
    }

    .bid-info-append {
        margin: 0 !important;
        display: flex;
        align-items: center;
        padding: 0 0.5rem;
    }

    .bid-tooltip-text {
        color: #fff;
        border-radius: 5px;
        display: inline-block;
        width: auto;
        max-width: 255px;
        word-wrap: break-word;
    }

    .bid-make-offer-btn {
        width: 100%;
        height: 50px;
        border-radius: 25px;
        background-color: var(--primary-red) !important;
        color: white !important;
    }

        .bid-make-offer-btn:disabled {
            color: var(--mud-palette-action-disabled) !important;
            background-color: var(--mud-palette-action-disabled-background) !important;
        }
