/* ========================================
   GoRent AG - Site-Specific Styles
   ======================================== */

@layer components {
    /* ========================================
       Page Main Container
       ======================================== */
    .mc-main {
        min-height: 100vh;
    }

    /* ========================================
       Hero Section - Modern Design
       ======================================== */
    .mc-hero {
        position: relative;
        padding: 5rem 0 4rem;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
    }

    .mc-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            135deg,
            rgba(6, 11, 16, 0.92) 0%,
            rgba(6, 11, 16, 0.85) 50%,
            rgba(6, 11, 16, 0.75) 100%
        );
        z-index: 1;
    }

    [data-theme="light"] .mc-hero::before {
        background: linear-gradient(
            135deg,
            rgba(248, 250, 252, 0.95) 0%,
            rgba(248, 250, 252, 0.9) 50%,
            rgba(248, 250, 252, 0.85) 100%
        );
    }

    .mc-hero-inner {
        position: relative;
        z-index: 2;
    }

    .mc-hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
    }

    @media (min-width: 1024px) {
        .mc-hero-grid {
            grid-template-columns: 1.2fr 0.8fr;
            gap: 3rem;
        }
    }

    .mc-hero-kicker {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: rgba(167, 255, 58, 0.1);
        border: 1px solid rgba(167, 255, 58, 0.2);
        border-radius: 100px;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #a7ff3a;
        margin-bottom: 1.25rem;
    }

    [data-theme="light"] .mc-hero-kicker {
        background: rgba(167, 255, 58, 0.12);
        border-color: rgba(167, 255, 58, 0.25);
    }

    .mc-hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 800;
        line-height: 1.1;
        margin: 0;
        color: rgba(255, 255, 255, 0.95);
    }

    [data-theme="light"] .mc-hero-title {
        color: rgba(15, 23, 42, 0.95);
    }

    .mc-hero-subline {
        display: block;
        font-size: 0.5em;
        font-weight: 500;
        line-height: 1.4;
        margin-top: 0.5rem;
        background: linear-gradient(135deg, #a7ff3a, #41d36a);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* ========================================
       Panel / Card Component
       ======================================== */
    .mc-panel {
        position: relative;
        border-radius: 24px;
        overflow: hidden;
        background: linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.03) 100%
        );
        border: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(24px) saturate(150%);
        box-shadow: 
            0 4px 6px -1px rgba(0, 0, 0, 0.1),
            0 10px 15px -3px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    [data-theme="light"] .mc-panel {
        background: linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 100%
        );
        border-color: rgba(15, 23, 42, 0.06);
        box-shadow: 
            0 1px 3px rgba(0, 0, 0, 0.04),
            0 4px 12px rgba(0, 0, 0, 0.03);
    }

    .mc-panel-inner {
        padding: 1.75rem;
    }

    .mc-panel-title {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0 0 0.25rem;
        color: rgba(255, 255, 255, 0.95);
    }

    [data-theme="light"] .mc-panel-title {
        color: rgba(15, 23, 42, 0.95);
    }

    .mc-panel-sub {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.55);
        margin: 0 0 1.25rem;
    }

    [data-theme="light"] .mc-panel-sub {
        color: rgba(15, 23, 42, 0.55);
    }

    /* Benefit Badges */
    .mc-benefit-badges {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .mc-benefit-badge {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.875rem 1rem;
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.875rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.85);
        transition: all 0.3s ease;
    }

    .mc-benefit-badge:hover {
        background: rgba(167, 255, 58, 0.1);
        border-color: rgba(167, 255, 58, 0.2);
        transform: translateX(4px);
    }

    .mc-benefit-badge i {
        font-size: 1rem;
        color: #a7ff3a;
        width: 20px;
        text-align: center;
    }

    [data-theme="light"] .mc-benefit-badge {
        background: rgba(15, 23, 42, 0.03);
        border-color: rgba(15, 23, 42, 0.05);
        color: rgba(15, 23, 42, 0.85);
    }

    [data-theme="light"] .mc-benefit-badge:hover {
        background: rgba(167, 255, 58, 0.1);
        border-color: rgba(167, 255, 58, 0.25);
    }

    [data-theme="light"] .mc-benefit-badge i {
        color: #41d36a;
    }

    /* ========================================
       Buttons
       ======================================== */
    .mc-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.625rem;
        padding: 0.875rem 1.5rem;
        border-radius: 14px;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid transparent;
    }

    .mc-btn i {
        font-size: 0.95rem;
        transition: transform 0.3s ease;
    }

    .mc-btn:hover i {
        transform: translateX(2px);
    }

    .mc-btn-large {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .mc-btn-primary {
        background: linear-gradient(135deg, #a7ff3a 0%, #41d36a 100%);
        color: #00131a;
        border-color: transparent;
        box-shadow: 0 4px 16px rgba(167, 255, 58, 0.25);
    }

    .mc-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(167, 255, 58, 0.35);
    }

    .mc-btn-ox {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(8px);
    }

    .mc-btn-ox:hover {
        background: rgba(167, 255, 58, 0.1);
        border-color: rgba(167, 255, 58, 0.25);
        transform: translateY(-2px);
    }

    [data-theme="light"] .mc-btn-ox {
        background: rgba(255, 255, 255, 0.8);
        border-color: rgba(15, 23, 42, 0.1);
        color: rgba(15, 23, 42, 0.9);
    }

    [data-theme="light"] .mc-btn-ox:hover {
        background: rgba(167, 255, 58, 0.12);
        border-color: rgba(167, 255, 58, 0.3);
    }

    /* ========================================
       Section Styles
       ======================================== */
    .mc-section {
        padding: 4rem 0;
        position: relative;
    }

    .mc-section-header {
        margin-bottom: 2.5rem;
    }

    .mc-section-header-center {
        text-align: center;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .mc-section-kicker {
        display: inline-block;
        padding: 0.375rem 1rem;
        background: rgba(167, 255, 58, 0.1);
        border-radius: 100px;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #a7ff3a;
        margin-bottom: 0.75rem;
    }

    .mc-section-header h2 {
        font-size: clamp(1.5rem, 3vw, 2rem);
        font-weight: 700;
        margin: 0 0 0.5rem;
        color: rgba(255, 255, 255, 0.95);
    }

    [data-theme="light"] .mc-section-header h2 {
        color: rgba(15, 23, 42, 0.95);
    }

    .mc-section-header p {
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
    }

    [data-theme="light"] .mc-section-header p {
        color: rgba(15, 23, 42, 0.6);
    }

    /* ========================================
       Filters Section - Modern Design
       ======================================== */
    .filters-section {
        padding: 2rem 0;
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.2) 0%,
            transparent 100%
        );
    }

    [data-theme="light"] .filters-section {
        background: linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.02) 0%,
            transparent 100%
        );
    }

    .filters-container {
        position: relative;
    }

    .filter-controls {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: flex-end;
    }

    .filter-group {
        position: relative;
        flex: 0 0 auto;
        min-width: 160px;
    }

    .filter-group label {
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.5);
        margin-bottom: 0.5rem;
    }

    [data-theme="light"] .filter-group label {
        color: rgba(15, 23, 42, 0.5);
    }

    .filter-group select,
    .filter-group input[type="text"] {
        width: 100%;
        padding: 0.875rem 1rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        font-weight: 500;
        outline: none;
        transition: all 0.3s ease;
        appearance: none;
        cursor: pointer;
    }

    .filter-group select {
        padding-right: 2.5rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a7ff3a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
    }

    .filter-group select:focus,
    .filter-group input[type="text"]:focus {
        border-color: rgba(167, 255, 58, 0.5);
        box-shadow: 0 0 0 4px rgba(167, 255, 58, 0.1);
    }

    [data-theme="light"] .filter-group select,
    [data-theme="light"] .filter-group input[type="text"] {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(255, 255, 255, 0.9);
        color: rgba(15, 23, 42, 0.9);
    }

    [data-theme="light"] .filter-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2341d36a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    }

    [data-theme="light"] .filter-group select:focus,
    [data-theme="light"] .filter-group input[type="text"]:focus {
        border-color: #a7ff3a;
        box-shadow: 0 0 0 4px rgba(167, 255, 58, 0.15);
        background: #fff;
    }

    /* Search Box */
    .search-box {
        position: relative;
        flex: 1;
        max-width: 400px;
    }

    .search-box input {
        width: 100%;
        padding: 0.875rem 3rem 0.875rem 1rem;
    }

    .search-box button {
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: none;
        background: linear-gradient(135deg, #a7ff3a, #41d36a);
        color: #00131a;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .search-box button:hover {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 4px 12px rgba(167, 255, 58, 0.3);
    }

    /* ========================================
       Results Info & Sorting
       ======================================== */
    .results-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 1rem 1.25rem;
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    [data-theme="light"] .results-info {
        background: rgba(255, 255, 255, 0.8);
        border-color: rgba(15, 23, 42, 0.05);
    }

    .results-info p {
        margin: 0;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }

    [data-theme="light"] .results-info p {
        color: rgba(15, 23, 42, 0.7);
    }

    .results-info p span {
        font-weight: 700;
        color: #a7ff3a;
    }

    .sort-by {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .sort-by label {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.5);
    }

    [data-theme="light"] .sort-by label {
        color: rgba(15, 23, 42, 0.5);
    }

    .sort-by select {
        padding: 0.625rem 2rem 0.625rem 1rem;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.85rem;
        outline: none;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a7ff3a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
    }

    [data-theme="light"] .sort-by select {
        border-color: rgba(15, 23, 42, 0.1);
        background-color: rgba(255, 255, 255, 0.9);
        color: rgba(15, 23, 42, 0.9);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2341d36a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    }

    /* ========================================
       Pagination
       ======================================== */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        margin-top: 2.5rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    [data-theme="light"] .pagination {
        border-top-color: rgba(15, 23, 42, 0.05);
    }

    .pagination button {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.875rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .pagination button:hover:not(:disabled) {
        background: rgba(167, 255, 58, 0.1);
        border-color: rgba(167, 255, 58, 0.25);
        color: #a7ff3a;
        transform: translateY(-2px);
    }

    .pagination button:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    [data-theme="light"] .pagination button {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(255, 255, 255, 0.8);
        color: rgba(15, 23, 42, 0.8);
    }

    [data-theme="light"] .pagination button:hover:not(:disabled) {
        background: rgba(167, 255, 58, 0.12);
        border-color: rgba(167, 255, 58, 0.3);
        color: #41d36a;
    }

    .page-numbers {
        display: flex;
        gap: 0.5rem;
    }

    .page-number {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.875rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .page-number:hover {
        background: rgba(167, 255, 58, 0.1);
        border-color: rgba(167, 255, 58, 0.25);
        color: #a7ff3a;
    }

    .page-number.active {
        background: linear-gradient(135deg, #a7ff3a, #41d36a);
        border-color: transparent;
        color: #00131a;
    }

    [data-theme="light"] .page-number {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(255, 255, 255, 0.8);
        color: rgba(15, 23, 42, 0.7);
    }

    [data-theme="light"] .page-number:hover {
        background: rgba(167, 255, 58, 0.12);
        border-color: rgba(167, 255, 58, 0.3);
        color: #41d36a;
    }

    /* ========================================
       Benefits Slider Section
       ======================================== */
    .benefits {
        padding: 4rem 0;
        overflow: hidden;
    }

    .benefits .tag {
        display: inline-block;
        padding: 0.375rem 1rem;
        background: rgba(167, 255, 58, 0.1);
        border-radius: 100px;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #a7ff3a;
        margin-bottom: 0.75rem;
    }

    .benefits .section-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
        font-weight: 700;
        margin: 0 0 2rem;
        color: rgba(255, 255, 255, 0.95);
    }

    [data-theme="light"] .benefits .section-title {
        color: rgba(15, 23, 42, 0.95);
    }

    .benefit-slides-container {
        position: relative;
        max-width: 800px;
        margin: 0 auto;
    }

    .benefit-slides-wrapper {
        position: relative;
        border-radius: 24px;
        overflow: hidden;
        background: linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.03) 100%
        );
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 3rem 2rem;
        min-height: 280px;
    }

    [data-theme="light"] .benefit-slides-wrapper {
        background: linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 100%
        );
        border-color: rgba(15, 23, 42, 0.06);
    }

    /* Background Animation */
    .bg-animation {
        position: absolute;
        inset: 0;
        overflow: hidden;
        z-index: 0;
    }

    .bg-shape {
        position: absolute;
        border-radius: 50%;
        background: rgba(167, 255, 58, 0.08);
        filter: blur(60px);
        animation: float 20s ease-in-out infinite;
    }

    .shape-1 {
        width: 200px;
        height: 200px;
        top: -50px;
        left: -50px;
    }

    .shape-2 {
        width: 150px;
        height: 150px;
        top: 50%;
        right: -30px;
        animation-delay: -5s;
    }

    .shape-3 {
        width: 180px;
        height: 180px;
        bottom: -40px;
        left: 30%;
        animation-delay: -10s;
    }

    .shape-4 {
        width: 120px;
        height: 120px;
        top: 20%;
        left: 50%;
        animation-delay: -15s;
    }

    @keyframes float {
        0%, 100% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(30px, -30px) scale(1.1); }
        66% { transform: translate(-20px, 20px) scale(0.9); }
    }

    /* Slides */
    .benefit-slide {
        position: relative;
        z-index: 1;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease;
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem 2rem;
    }

    .benefit-slide.active {
        opacity: 1;
        visibility: visible;
    }

    .slide-content {
        text-align: center;
        max-width: 500px;
    }

    .slide-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
        background: rgba(167, 255, 58, 0.1);
        border: 1px solid rgba(167, 255, 58, 0.2);
        font-size: 2rem;
        color: #a7ff3a;
    }

    [data-theme="light"] .slide-icon {
        background: rgba(167, 255, 58, 0.12);
        border-color: rgba(167, 255, 58, 0.25);
        color: #41d36a;
    }

    .slide-content h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 0 0.75rem;
        color: rgba(255, 255, 255, 0.95);
    }

    [data-theme="light"] .slide-content h3 {
        color: rgba(15, 23, 42, 0.95);
    }

    .slide-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
    }

    [data-theme="light"] .slide-content p {
        color: rgba(15, 23, 42, 0.6);
    }

    /* Slide Navigation */
    .slide-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.4);
        color: rgba(255, 255, 255, 0.8);
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .slide-nav:hover {
        background: rgba(167, 255, 58, 0.15);
        border-color: rgba(167, 255, 58, 0.3);
        color: #a7ff3a;
    }

    .slide-prev {
        left: 1rem;
    }

    .slide-next {
        right: 1rem;
    }

    [data-theme="light"] .slide-nav {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(255, 255, 255, 0.8);
        color: rgba(15, 23, 42, 0.8);
    }

    [data-theme="light"] .slide-nav:hover {
        background: rgba(167, 255, 58, 0.15);
        border-color: rgba(167, 255, 58, 0.3);
        color: #41d36a;
    }

    /* Slide Indicators */
    .slide-indicators {
        position: absolute;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 0.5rem;
        z-index: 10;
    }

    .slide-indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slide-indicator:hover {
        background: rgba(255, 255, 255, 0.4);
    }

    .slide-indicator.active {
        background: #a7ff3a;
        width: 24px;
        border-radius: 5px;
    }

    [data-theme="light"] .slide-indicator {
        background: rgba(15, 23, 42, 0.15);
    }

    [data-theme="light"] .slide-indicator:hover {
        background: rgba(15, 23, 42, 0.3);
    }

    [data-theme="light"] .slide-indicator.active {
        background: #41d36a;
    }

    /* ========================================
       Car Modal Styles
       ======================================== */
    .car-modal {
        position: fixed;
        inset: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .car-modal[hidden] {
        display: none;
    }

    .car-modal__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(8px);
    }

    [data-theme="light"] .car-modal__backdrop {
        background: rgba(15, 23, 42, 0.5);
    }

    .car-modal__dialog {
        position: relative;
        width: 100%;
        max-width: 1000px;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 24px;
        background: linear-gradient(
            165deg,
            rgba(20, 30, 40, 0.98) 0%,
            rgba(10, 18, 26, 0.98) 100%
        );
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }

    [data-theme="light"] .car-modal__dialog {
        background: linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(248, 250, 252, 0.98) 100%
        );
        border-color: rgba(15, 23, 42, 0.08);
    }

    .car-modal__close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .car-modal__close:hover {
        background: rgba(167, 255, 58, 0.15);
        border-color: rgba(167, 255, 58, 0.3);
        color: #a7ff3a;
    }

    [data-theme="light"] .car-modal__close {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(255, 255, 255, 0.8);
        color: rgba(15, 23, 42, 0.8);
    }

    [data-theme="light"] .car-modal__close:hover {
        background: rgba(167, 255, 58, 0.15);
        border-color: rgba(167, 255, 58, 0.3);
        color: #41d36a;
    }

    .car-modal__body {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    @media (min-width: 768px) {
        .car-modal__body {
            grid-template-columns: 1fr 1fr;
            padding: 2rem;
        }
    }

    .car-modal__left {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .car-modal__main-image {
        border-radius: 16px;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.3);
    }

    [data-theme="light"] .car-modal__main-image {
        background: rgba(15, 23, 42, 0.03);
    }

    .car-modal__main-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .car-modal__thumbs {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0.25rem;
    }

    .car-modal__thumb {
        flex-shrink: 0;
        width: 60px;
        height: 45px;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }

    .car-modal__thumb:hover {
        border-color: rgba(167, 255, 58, 0.4);
    }

    .car-modal__thumb.active {
        border-color: #a7ff3a;
    }

    .car-modal__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .car-modal__right {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .car-modal__right h2 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        color: rgba(255, 255, 255, 0.95);
    }

    [data-theme="light"] .car-modal__right h2 {
        color: rgba(15, 23, 42, 0.95);
    }

    .car-modal__meta {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6);
    }

    [data-theme="light"] .car-modal__meta {
        color: rgba(15, 23, 42, 0.6);
    }

    .car-modal__desc {
        font-size: 0.9rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.7);
    }

    [data-theme="light"] .car-modal__desc {
        color: rgba(15, 23, 42, 0.7);
    }

    .car-modal__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    [data-theme="light"] .car-modal__actions {
        border-top-color: rgba(15, 23, 42, 0.08);
    }

    .car-modal__qty {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.7);
    }

    [data-theme="light"] .car-modal__qty {
        color: rgba(15, 23, 42, 0.7);
    }

    .car-modal__qty input {
        width: 60px;
        padding: 0.5rem;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        text-align: center;
    }

    [data-theme="light"] .car-modal__qty input {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(255, 255, 255, 0.9);
        color: rgba(15, 23, 42, 0.9);
    }

    .car-modal__footer {
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.5);
        text-align: center;
    }

    [data-theme="light"] .car-modal__footer {
        border-top-color: rgba(15, 23, 42, 0.08);
        color: rgba(15, 23, 42, 0.5);
    }

    /* ========================================
       Scroll Reveal Animations
       ======================================== */
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .scroll-reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .scroll-reveal.fade-left {
        transform: translateX(-30px);
    }

    .scroll-reveal.fade-right {
        transform: translateX(30px);
    }

    .scroll-reveal.stagger {
        transition-delay: calc(var(--stagger, 0) * 0.1s);
    }

    /* ========================================
       Responsive Adjustments
       ======================================== */
    @media (max-width: 768px) {
        .mc-hero {
            padding: 3rem 0 2rem;
        }

        .mc-hero-title {
            font-size: 2rem;
        }

        .filter-controls {
            flex-direction: column;
        }

        .filter-group {
            width: 100%;
            min-width: auto;
        }

        .search-box {
            max-width: none;
        }

        .results-info {
            flex-direction: column;
            text-align: center;
        }

        .sort-by {
            flex-direction: column;
            gap: 0.5rem;
        }

        .pagination {
            flex-wrap: wrap;
        }

        .benefit-slides-wrapper {
            padding: 2rem 1rem;
        }

        .slide-nav {
            width: 40px;
            height: 40px;
        }

        .slide-prev {
            left: 0.5rem;
        }

        .slide-next {
            right: 0.5rem;
        }
    }
}
