/* Global & Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Sticky Header */
header.nav-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.header-brand img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-brand-info h1 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header-brand-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Container styling */
.container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Utility buttons */
.btn-theme {
    background-color: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
    transition: all 0.2s ease;
}

.btn-theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.4);
    filter: brightness(1.1);
}

.btn-theme-outline {
    background-color: transparent;
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--border-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-theme-outline:hover {
    background-color: var(--badge-bg);
    border-color: var(--text-main);
}

/* Footer */
footer.nav-footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 60px;
}

footer.nav-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}


/* ==========================================================================
   STORES LISTING (stores.blade.php)
   ========================================================================== */
.stores-intro {
    text-align: center;
    margin-bottom: 50px;
}

.stores-intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.stores-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.store-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary);
}

.store-card-image {
    height: 140px;
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(var(--primary-rgb), 0.7) 100%);
    position: relative;
}

.store-card-logo {
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 4px solid var(--bg-card);
    background-color: #fff;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.store-card-body {
    padding: 45px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.store-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.store-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.store-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.store-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.store-card-footer i {
    transition: transform 0.2s ease;
}

.store-card:hover .store-card-footer i {
    transform: translateX(5px);
}


/* ==========================================================================
   STORE PROFILE & INVENTORY (store.blade.php)
   ========================================================================== */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.profile-banner {
    height: 280px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(var(--primary-rgb), 0.7) 100%);
    position: relative;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.profile-header-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 0 0 10px 10px;
    margin-top: -60px;
    position: relative;
    box-shadow: var(--card-shadow);
    z-index: 5;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    border: 5px solid var(--bg-card);
    background-color: #fff;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    margin-top: -60px;
}

.profile-info {
    flex-grow: 1;
}

.profile-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    width: 100%;
}

.profile-name {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0;
}

.btn-other-stores {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-other-stores:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-other-stores i {
    font-size: 0.95rem;
}

.profile-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.profile-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary);
}

.store-map-container {
    width: 320px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.store-map-container iframe {
    display: block;
    border: none;
}

/* Filter Section */
.filter-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
}

.filter-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-section h3 i {
    color: var(--primary);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

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

.filter-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.filter-control {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.filter-control:focus {
    border-color: var(--primary);
}

.filter-actions {
    grid-column: span 1;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.btn-filter-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    flex-grow: 1;
    transition: transform 0.2s, filter 0.2s;
}

.btn-filter-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.btn-filter-reset {
    background-color: var(--badge-bg);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-filter-reset:hover {
    background-color: var(--border-color);
}

/* Vehicle Grid */
.inventory-header {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inventory-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.inventory-header span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary);
}

.vehicle-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #0b0f19;
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.05);
}

.vehicle-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge-card {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.badge-year {
    background-color: var(--secondary);
    color: #fff;
}

.badge-status {
    background-color: var(--primary);
    color: #fff;
}

.badge-km {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    backdrop-filter: blur(4px);
}

.vehicle-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.vehicle-card-footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vehicle-card-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.vehicle-card-action {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.vehicle-card-action i {
    transition: transform 0.2s;
}

.vehicle-card:hover .vehicle-card-action i {
    transform: translateX(3px);
}

@media(max-width: 992px) {
    .profile-header-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-logo {
        margin-top: -80px;
    }

    .profile-title-wrapper {
        justify-content: center;
        text-align: center;
        flex-direction: column-reverse;
    }

    .store-map-container {
        width: 100%;
        height: 200px;
    }

    .profile-contact-grid .contact-item {
        justify-content: center;
    }
}

@media(max-width: 768px) {
    .profile-name {
        font-size: 1.8rem;
    }

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

    .filter-actions {
        grid-column: span 1;
    }
}


/* ==========================================================================
   VEHICLE DETAILS PAGE (vehicle.blade.php)
   ========================================================================== */
.vehicle-header-section {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.vehicle-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.vehicle-header-title h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--text-main);
}

.vehicle-header-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 500;
}

.vehicle-header-price {
    text-align: right;
}

.vehicle-header-price .price-val {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.exchange-badges {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media(max-width: 768px) {
    .container {
        padding: 30px 6px;
    }

    .vehicle-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .vehicle-header-title h1 {
        font-size: 1.8rem;
    }

    .vehicle-header-price {
        text-align: left;
    }

    .vehicle-header-price .price-val {
        font-size: 2rem;
    }

    .exchange-badges {
        justify-content: flex-start;
    }
}

/*----------------------------------- VEHICLE VIEW -------------------------------------------------*/

.vehicle-container {
    display: grid;
    grid-template-columns: 9fr 5fr;
    gap: 40px;
    align-items: flex-start;
}

.vehicle-container>div {
    min-width: 0;
}

/* Carousel CSS */
.carousel-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.carousel-main {
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: #0b0f19;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-main img:hover {
    transform: scale(1.02);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: background-color 0.2s;
}

.carousel-nav:hover {
    background-color: var(--primary);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-zoom-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 10;
}

.carousel-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    max-width: 100%;
}

.thumb-wrapper {
    width: 86px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.6;
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-wrapper.active,
.thumb-wrapper:hover {
    border-color: var(--primary);
    opacity: 1;
}

/* Sidebar Action Panel */
.specs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.action-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.action-header {
    margin-bottom: 25px;
}

.action-model {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--text-main);
}

.action-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.badge-exchange-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.badge-exchange {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
}

.badge-exchange.higher {
    background-color: #ecfdf5;
    color: #059669;
}

.badge-exchange.lower {
    background-color: #fef3c7;
    color: #d97706;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-action {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s, filter 0.2s;
}

.btn-action:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn-action-primary {
    background-color: #25d366;
    /* WhatsApp Green */
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-action-secondary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.btn-action-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-action-outline:hover {
    background-color: var(--badge-bg);
}

/* Specifications Grid */
.specs-grid-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-bottom: 35px;
}

.spec-item-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.spec-item-card i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 8px;
    display: block;
}

.spec-item-card span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.spec-item-card strong {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 700;
}

/* Tabs and Details sections */
.details-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.details-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-section-title i {
    color: var(--primary);
}

.specs-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.specs-table-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.specs-table-row span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.specs-table-row strong {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.equipment-item.has {
    color: #16a34a;
}

.equipment-item.no {
    color: var(--text-muted);
    opacity: 0.6;
}

.desc-text {
    color: var(--text-main);
    line-height: 1.7;
    font-size: 1rem;
    white-space: pre-line;
}

/* Notification toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--secondary);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Responsive styling */
@media(max-width: 1300px) {
    .vehicle-container {
        gap: 10px;
    }
}

/* Responsive styling */
@media(max-width: 1100px) {
    .vehicle-container {
        grid-template-columns: 1fr;
        max-width: 800px;
        margin: auto;
    }

    .specs-sidebar {
        flex-direction: column-reverse;
    }

    .carousel-main {
        height: 380px;
    }
}

@media(max-width: 900px) {
    .carousel-main {
        height: 380px;
    }
}

@media(max-width: 768px) {
    .carousel-wrapper {
        padding: 0;
    }

    .carousel-thumbs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        padding: 5px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .thumb-wrapper {
        width: 70px;
        height: 52px;
        flex-shrink: 0;
    }

    .details-section {
        padding: 15px;
    }
}

@media(max-width: 576px) {
    .carousel-main {
        height: 280px;
    }

    .specs-table {
        grid-template-columns: 1fr;
    }
}

/* Print styling */
@media print {

    header,
    footer,
    .header-actions,
    .action-buttons,
    .carousel-nav,
    .carousel-thumbs,
    .carousel-zoom-badge,
    .toast {
        display: none !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .vehicle-container {
        grid-template-columns: 1fr !important;
    }

    .carousel-wrapper {
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .carousel-main {
        height: 400px !important;
    }
}