/* Global Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #00a0dc;
    --accent-color: #666666;
    --background-color: #ffffff;
    --text-color: #333333;
    --mercedes-silver: #adb5bd;
    --mercedes-blue: #00a0dc;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-family: "Corporate A", "corporate-a-condensed", serif;
}

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

@font-face {
    font-family: "Corporate A";
    src: url("https://use.typekit.net/af/corporate-a-condensed-light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Corporate A", "corporate-a-condensed", serif;
    font-weight: 300;
    font-style: normal;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, a, span, div, li, ul, button, input, select, textarea {
    font-family: "Corporate A", "corporate-a-condensed", serif;
    font-weight: 300;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px; /* Add scroll padding for fixed navbar */
}

/* Bootstrap Navbar Customization */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 1rem;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: calc(100% - 2rem);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
    padding: 0 1rem;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    object-position: 60% 75%;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--secondary-color);
    color: var(--background-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 160, 220, 0.4);
}

.cta-button:hover {
    background-color: #0088c7;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 160, 220, 0.6);
}

/* Feature Sections */
.feature-sections {
    padding: 0;
    background-color: var(--background-color);
}

.feature-section {
    display: flex;
    align-items: stretch;
    background-color: #1a1a1a;
    color: var(--background-color);
    position: relative;
    overflow: hidden;
    height: 450px;
}

.feature-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 160, 220, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.feature-section.reversed {
    flex-direction: row-reverse;
}

.feature-section.reversed:before {
    background: linear-gradient(315deg, rgba(0, 160, 220, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

.feature-image {
    flex: 1;
    height: 450px;
    overflow: hidden;
    position: relative;
    max-width: 50%;
}

.feature-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0) 15%);
    pointer-events: none;
}

.feature-section.reversed .feature-image::after {
    background: linear-gradient(to left, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0) 15%);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.feature-section:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.feature-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.feature-content h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    box-shadow: 0 1px 3px rgba(0, 160, 220, 0.3);
}

.feature-content p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
    max-width: 95%;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* Feature section buttons */
.feature-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 160, 220, 0.3);
    text-align: center;
}

.feature-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    z-index: -1;
}

.feature-button:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 160, 220, 0.4);
}

.feature-button:hover:before {
    left: 0;
}

/* Vehicle Categories */
.vehicle-categories {
    padding: 5rem 5%;
    background-color: var(--background-color);
}

.vehicle-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.2rem;
}

/* Parts Categories */
.parts-categories {
    padding: 5rem 5%;
    background-color: #f5f5f5;
}

.parts-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.parts-category {
    background-color: var(--background-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.parts-category img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.parts-category h3 {
    padding: 1.5rem 1.5rem 1rem;
    font-size: 1.3rem;
}

.parts-category ul {
    list-style: none;
    padding: 0 1.5rem 1.5rem;
}

.parts-category li {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.category-link {
    display: block;
    padding: 1rem;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--background-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.category-link:hover {
    background-color: #0082b3;
}

/* About Section */
.about {
    padding: 5rem 5%;
    background-color: var(--background-color);
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 5rem 5%;
    background-color: #f5f5f5;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Featured Products */
.featured-products {
    padding: 5rem 5%;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.view-all {
    display: block;
    text-align: center;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Responsive adjustments for feature sections */
@media (max-width: 992px) {
    .feature-section, 
    .feature-section.reversed {
        flex-direction: column;
        height: auto;
    }
    
    .feature-image {
        height: 350px;
        max-width: 100%;
    }
    
    .feature-content {
        padding: 3rem 2rem;
        max-width: 100%;
    }
    
    .feature-content h3 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .feature-image::after {
        background: linear-gradient(to bottom, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0) 15%);
    }
    
    .feature-section.reversed .feature-image::after {
        background: linear-gradient(to bottom, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0) 15%);
    }
}

@media (max-width: 576px) {
    .feature-image {
        height: 220px;
    }
    
    .feature-content {
        padding: 2rem 1.5rem;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .feature-content h3:after {
        width: 40px;
        height: 2px;
        bottom: -8px;
    }
    
    .feature-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .feature-button {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        font-size: 0.8rem;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: var(--background-color);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="0.5" fill="rgba(0,160,220,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    pointer-events: none;
}

.footer-top {
    background: linear-gradient(135deg, rgba(0, 160, 220, 0.15) 0%, rgba(0, 160, 220, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.footer-brand {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-tagline {
    font-size: 1.2rem;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.footer-quality-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quality-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.quality-badge:hover {
    background: rgba(0, 160, 220, 0.2);
    transform: translateY(-5px);
    border-color: rgba(0, 160, 220, 0.3);
    box-shadow: 0 10px 30px rgba(0, 160, 220, 0.2);
}

.quality-badge i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.quality-badge:hover i {
    transform: scale(1.1);
}

.quality-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.3px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 4rem 5% 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: 0.5px;
}

.footer-section h4 i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, transparent 100%);
    border-radius: 2px;
}

.footer-section h5 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.footer-section h5 i {
    color: var(--secondary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.contact-item:hover {
    background: rgba(0, 160, 220, 0.1);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.3px;
}

.contact-item a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.contact-item span {
    color: #e0e0e0;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

.footer-links a i {
    color: var(--secondary-color);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.model-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.model-category {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.model-category:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.model-category strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.model-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.model-links a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 160, 220, 0.1);
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 160, 220, 0.2);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.model-links a:hover {
    background: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 160, 220, 0.3);
}

.social-section {
    margin-bottom: 2rem;
}

.social-text {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-link.tiktok {
    background: rgba(255, 0, 80, 0.1);
}

.social-link.tiktok:hover {
    background: #ff0050;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.4);
}

.social-link.instagram {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.1), rgba(255, 77, 64, 0.1));
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #e1306c, #fd4d40);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-link.whatsapp {
    background: rgba(37, 211, 102, 0.1);
}

.social-link.whatsapp:hover {
    background: #25d366;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.social-link i {
    font-size: 1.3rem;
}

.working-hours {
    padding: 1.5rem;
    background: rgba(0, 160, 220, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.working-hours:hover {
    background: rgba(0, 160, 220, 0.15);
    transform: translateY(-2px);
}

.working-hours p {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.working-hours p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.copyright {
    flex: 1;
}

.copyright p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #e0e0e0;
    letter-spacing: 0.3px;
}

.legal-text {
    font-size: 0.8rem !important;
    color: #b0b0b0 !important;
    font-style: italic;
    letter-spacing: 0.2px;
}

.footer-certifications {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.cert-item i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .footer-quality-badges {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 2rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 5% 2rem;
    }
    
    .footer-quality-badges {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quality-badge {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1rem;
    }
    
    .quality-badge i {
        margin-bottom: 0;
        margin-right: 1rem;
        font-size: 1.5rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .social-link {
        justify-content: center;
    }
    
    .model-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-certifications {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-tagline {
        font-size: 1rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-certifications {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Products Page Styles */
.products-section {
    padding: 2rem 5% 5rem;
    margin-top: 76px;
}

.products-header {
    margin-bottom: 3rem;
}

.products-header h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

#sortFilter,
#modelFilter,
#searchInput {
    font-family: "Corporate A", "corporate-a-condensed", serif;
    font-weight: 300;
    font-style: normal;
    padding: 0.8rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#sortFilter:focus,
#modelFilter:focus,
#searchInput:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 160, 220, 0.2);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.product-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #f9f9f9;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-code {
    font-size: 0.8rem;
    color: var(--mercedes-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.4;
    min-height: 3rem;
}

.product-description {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex-grow: 1;
}

.product-price {
    color: #00a0dc;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compare-price {
    text-decoration: line-through;
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-left: 0.5rem;
    font-weight: normal;
}

.view-details-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: var(--background-color);
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius);
    margin-bottom: 0.8rem;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.view-details-button:hover {
    background-color: #333333;
}

.product-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: var(--secondary-color);
    color: var(--background-color);
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.product-button:hover {
    background-color: #0088c7;
}

/* Product Modal Styles */
.product-modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.product-modal {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1200;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2);
}

.close-modal:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal-content {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.modal-image-container {
    flex: 1;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: #f5f5f5;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.modal-image:hover {
    transform: scale(1.05);
}

.modal-info {
    flex: 1;
}

.modal-code {
    font-size: 0.9rem;
    color: var(--mercedes-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-left: 3px solid var(--mercedes-blue);
    padding-left: 10px;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.modal-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.modal-price {
    color: #00a0dc;
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-button {
    display: inline-block;
    max-width: 300px;
    border-radius: var(--border-radius);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 160, 220, 0.4);
}

.modal-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 160, 220, 0.6);
}

/* Modal actions for product buttons */
.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.modal-actions .add-to-cart-button {
    flex: 1;
    min-width: 150px;
}

.modal-actions .product-button {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

@media (max-width: 768px) {
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .add-to-cart-button,
    .modal-actions .product-button {
        width: 100%;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
}

.loading i {
    font-size: 2rem;
    color: var(--secondary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 2rem;
    color: var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .parts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        margin-right: auto;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        margin-top: 0;
        padding: 2rem;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: white;
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-card h3 {
        font-size: 1rem;
    }

    .filters {
        flex-direction: column;
        gap: 0.8rem;
    }

    #sortFilter,
    #modelFilter,
    #searchInput {
        width: 100%;
        min-width: unset;
    }
    
    .feature-content {
        padding: 2rem 1.5rem;
    }
    
    .feature-content h3 {
        font-size: 1.8rem;
    }
    
    .feature-content p {
        font-size: 1rem;
    }
    
    .feature-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .product-modal {
        width: 95%;
        max-width: 95%;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }

    .product-card {
        min-width: unset;
        margin: 0;
    }

    .product-image {
        height: 180px;
    }

    .product-title {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

    .product-description {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .compare-price {
        font-size: 0.8rem;
    }

    .product-button,
    .view-details-button {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        padding: 0.5rem;
    }

    .product-image {
        height: 150px;
    }
}

/* Animations and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-section.animate {
    animation: fadeInUp 1s ease-out forwards;
}

.feature-card.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.product-card.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animations for elements */
.feature-card:nth-child(1), .product-card:nth-child(1) {
    animation-delay: 0.1s;
}
.feature-card:nth-child(2), .product-card:nth-child(2) {
    animation-delay: 0.2s;
}
.feature-card:nth-child(3), .product-card:nth-child(3) {
    animation-delay: 0.3s;
}
.feature-card:nth-child(4), .product-card:nth-child(4) {
    animation-delay: 0.4s;
}
.feature-card:nth-child(5), .product-card:nth-child(5) {
    animation-delay: 0.5s;
}
.feature-card:nth-child(6), .product-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Initial state for animation targets */
.feature-section, .feature-card, .product-card {
    opacity: 0;
}

.feature-section.animate, .feature-card.animate, .product-card.animate {
    opacity: 1;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    color: var(--accent-color);
    max-width: 700px;
    margin: 0 auto;
    padding-top: 20px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp i {
    font-size: 32px;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Floating Cart Button */
.floating-cart {
    position: fixed !important;
    bottom: 100px !important;
    right: 25px !important;
    background-color: #00a0dc !important;
    color: white !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.floating-cart:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

.floating-cart i {
    font-size: 28px !important;
}

.floating-cart-count {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background-color: #dc3545 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    font-weight: bold !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.floating-cart-count.show {
    display: flex !important;
}

/* Coupon Code Styles */
.coupon-section {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px dashed #00a0dc;
}

.coupon-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.coupon-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: "Corporate A", "corporate-a-condensed", serif;
    text-transform: uppercase;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 160, 220, 0.2);
}

.apply-coupon-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-family: "Corporate A", "corporate-a-condensed", serif;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.apply-coupon-btn:hover {
    background-color: #0088c7;
}

.coupon-message {
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.coupon-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.coupon-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.coupon-discount-row {
    color: #28a745;
    font-weight: 600;
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

@media (max-width: 576px) {
    .floating-whatsapp,
    .floating-cart {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-cart {
        bottom: 80px;
    }
    
    .floating-whatsapp i {
        font-size: 26px;
    }
    
    .floating-cart i {
        font-size: 22px;
    }
    
    .floating-cart-count {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -3px;
        right: -3px;
    }
    
    .coupon-input-group {
        flex-direction: column;
    }
}

/* Gallery for multiple images */
.modal-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.gallery-thumb.active {
    border-color: var(--secondary-color);
}

.expanded-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1200;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.expanded-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.expanded-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-expanded {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-expanded:hover {
    transform: rotate(90deg);
}

.expanded-controls {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.expanded-prev, .expanded-next {
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.expanded-prev:hover, .expanded-next:hover {
    background: rgba(0, 160, 220, 0.8);
}

@media (max-width: 768px) {
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
}

/* Best Seller Badge */
.best-seller-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #00a0dc;
    color: white;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
    transform: rotate(5deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.product-card {
    position: relative;
}

@media (max-width: 576px) {
    .best-seller-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Cart Styles */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff !important;
}

.cart-link:hover {
    color: #01A1DC !important;
}

.cart-link i {
    color: #ffffff !important;
    font-size: 1.2rem;
}

.cart-count {
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -8px;
    text-align: center;
    line-height: 1;
}

.cart-count.show {
    display: flex;
}

.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-notification.show {
    transform: translateX(0);
}

.cart-notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-notification-content i {
    font-size: 1.2rem;
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.add-to-cart-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: #28a745;
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
    font-weight: 600;
    font-family: "Corporate A", "corporate-a-condensed", serif;
}

.add-to-cart-button:hover {
    background-color: #218838;
}

/* Cart Page Styles */
.cart-section {
    padding: 2rem 5% 5rem;
    margin-top: 76px;
    min-height: calc(100vh - 76px);
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-header {
    margin-bottom: 2rem;
    text-align: center;
}

.cart-header h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.cart-items {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.cart-item-details h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.cart-item-code {
    font-size: 0.9rem;
    color: var(--mercedes-blue);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: #00a0dc;
    font-weight: bold;
    font-size: 1.1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #333;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.25rem;
    font-family: "Corporate A", "corporate-a-condensed", serif;
}

.remove-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: "Corporate A", "corporate-a-condensed", serif;
}

.remove-btn:hover {
    background-color: #c82333;
}

.cart-summary {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.summary-row.total {
    border-top: 2px solid #eee;
    padding-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
    font-family: "Corporate A", "corporate-a-condensed", serif;
}

.checkout-btn:hover {
    background-color: #0088c7;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.continue-shopping:hover {
    text-decoration: underline;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--accent-color);
}

.empty-cart i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.empty-cart h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Checkout Page Styles */
.checkout-section {
    padding: 2rem 5% 5rem;
    margin-top: 76px;
}

.checkout-container {
    max-width: 800px;
    margin: 0 auto;
}

.checkout-form {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: "Corporate A", "corporate-a-condensed", serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 160, 220, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.order-summary {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.order-summary h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.order-item:last-child {
    border-bottom: none;
    font-weight: bold;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid #dee2e6;
}

.submit-order-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: "Corporate A", "corporate-a-condensed", serif;
}

.submit-order-btn:hover {
    background-color: #0088c7;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 4rem 5% 5rem;
    margin-top: 76px;
    text-align: center;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.thank-you-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.thank-you-container h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thank-you-container p {
    color: var(--accent-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.order-details {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.order-details h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.back-to-shop {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.back-to-shop:hover {
    background-color: #0088c7;
}

/* Responsive Styles for Cart */
@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-actions {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}