/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #e63946;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --nav-height: 60px;
    --border-radius: 0.375rem;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Colores Menú Vertical (Estilo AutoPlanet) */
    --menu-bg: #ffffff;
    --menu-border: #e2e8f0;
    --menu-hover: #f1f5f9;
    --menu-text: #334155;
    --menu-icon: #94a3b8;
    --menu-btn-bg: #2c3e50;
}

/* ===== RESET Y ESTILOS BASE ===== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f5f7fa;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.header-top {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2d3748 100%);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    background: white;
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i { 
    font-size: 2rem; 
}

/* ===== BARRA DE BÚSQUEDA PRINCIPAL ===== */
.search-bar {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.search-btn:hover { 
    background: var(--primary-dark); 
}

/* ===== ACCIONES DEL HEADER ===== */
.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-actions a {
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: color 0.3s;
}

.header-actions a:hover { 
    color: var(--primary-color); 
}

.cart-badge {
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== NAVEGACIÓN VERTICAL ===== */
nav {
    background: white;
    border-bottom: 2px solid #eee;
    height: var(--nav-height);
    position: relative;
    z-index: 999;
}

nav .container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 20px;
}

/* Contenedor relativo para el menú */
.category-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Botón Trigger Categorías */
.btn-cat-trigger {
    background: var(--menu-btn-bg);
    color: white;
    border: none;
    height: 42px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
    min-width: 220px;
    justify-content: space-between;
}

.btn-cat-trigger:hover, 
.btn-cat-trigger.open { 
    background: var(--primary-dark); 
}

.arrow-icon { 
    font-size: 12px; 
    transition: transform 0.3s; 
}

.btn-cat-trigger.open .arrow-icon { 
    transform: rotate(180deg); 
}

/* Menú Vertical Desplegable */
.vertical-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: var(--menu-bg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid var(--menu-border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    display: none;
    flex-direction: column;
    z-index: 1001;
}

.vertical-menu.active { 
    display: flex; 
    animation: slideDown 0.2s ease; 
}

@keyframes slideDown { 
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    } 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

/* ===== BUSCADOR INTERNO DEL MENÚ ===== */
.menu-search-box {
    padding: 12px;
    border-bottom: 1px solid var(--menu-border);
    background: #f8fafc;
}

.menu-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 13px;
}

/* Lista con Scroll */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    max-height: 450px;
}

.menu-list::-webkit-scrollbar { 
    width: 6px; 
}

.menu-list::-webkit-scrollbar-thumb { 
    background: #cbd5e1; 
    border-radius: 3px; 
}

.menu-item { 
    border-bottom: 1px solid #f1f5f9; 
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--menu-text);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.menu-link:hover {
    background-color: var(--menu-hover);
    color: var(--primary-color);
    padding-left: 25px;
}

.item-icon { 
    width: 28px; 
    text-align: center; 
    margin-right: 10px; 
    color: var(--menu-icon); 
}

.menu-link:hover .item-icon { 
    color: var(--primary-color); 
}

.item-arrow { 
    margin-left: auto; 
    font-size: 10px; 
    color: #cbd5e1; 
}

/* Footer del menú */
.menu-footer {
    padding: 12px;
    text-align: center;
    border-top: 1px solid var(--menu-border);
    background: #f8fafc;
    border-radius: 0 0 8px 8px;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Overlay */
.page-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
}

.page-overlay.active { 
    display: block; 
}

/* Otros enlaces del nav */
.nav-links { 
    display: flex; 
    gap: 25px; 
    margin-left: 20px; 
}

.nav-simple-link {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    display: flex; 
    align-items: center; 
    gap: 8px;
    transition: color 0.2s;
}

.nav-simple-link:hover { 
    color: var(--primary-color); 
}

/* ===== HERO CAROUSEL ===== */
.hero {
    background: #000;
    height: 500px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.carousel { 
    height: 100%; 
    position: relative; 
}

.slides { 
    display: flex; 
    height: 100%; 
    transition: transform 0.5s ease; 
}

.slide {
    min-width: 100%; 
    height: 100%; 
    display: flex;
    align-items: center; 
    justify-content: center;
    color: white; 
    text-align: center; 
    padding: 0 20px;
    background-size: cover; 
    background-position: center;
}

.carousel-nav {
    position: absolute; 
    top: 50%; 
    width: 100%;
    display: flex; 
    justify-content: space-between;
    padding: 0 20px; 
    transform: translateY(-50%);
}

.carousel-nav button {
    background: rgba(255, 255, 255, 0.2);
    color: white; 
    border: none; 
    width: 50px; 
    height: 50px;
    border-radius: 50%; 
    cursor: pointer; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem;
    backdrop-filter: blur(5px); 
    transition: background 0.3s;
}

.carousel-nav button:hover { 
    background: rgba(255, 255, 255, 0.3); 
}

/* ===== TARJETA DE PRODUCTO (VERSIÓN CONSOLIDADA) ===== */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex-grow: 1;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #ffffff;
}

.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-info small {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 5px;
}

.product-actions {
    padding: 0 15px 15px;
}

.add-to-cart-btn {
    width: 100%;
    background: #1cc88a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background: #17a673;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 200, 138, 0.3);
}

.add-to-cart-btn i {
    margin-right: 5px;
}

/* ===== LO ÚLTIMO QUE VISTE ===== */
.last-viewed { 
    padding: 40px 0; 
    background: var(--light-color); 
}

.last-viewed-title {
    font-size: 1.8rem; 
    color: var(--dark-color);
    margin-bottom: 30px; 
    text-align: center; 
    position: relative;
}

.last-viewed-title::after {
    content: ''; 
    display: block; 
    width: 60px; 
    height: 3px;
    background: var(--primary-color); 
    margin: 10px auto; 
    border-radius: 2px;
}

.last-viewed-container {
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    flex-wrap: wrap;
}

/* ===== CONTENEDORES DE RESULTADOS ===== */
.search-results-container {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -10px;
    padding: 20px 0;
    width: 100%;
}

.product-col {
    padding: 0 10px;
    margin-bottom: 20px;
}

/* ===== CARRUSEL DE PRODUCTOS ===== */
.product-carousel-section { 
    padding: 60px 0; 
}

.carousel-title {
    font-size: 2rem; 
    color: var(--dark-color);
    margin-bottom: 30px; 
    text-align: center; 
    position: relative;
}

.carousel-title::after {
    content: ''; 
    display: block; 
    width: 80px; 
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 10px auto; 
    border-radius: 2px;
}

.product-carousel {
    position: relative; 
    overflow: hidden; 
    margin: 0 auto; 
    max-width: 1200px;
}

.product-carousel-track {
    display: flex; 
    transition: transform 0.5s ease; 
    gap: 20px;
}

.carousel-controls {
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 30px;
}

.carousel-btn {
    background: var(--primary-color); 
    color: white; 
    border: none;
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.2rem; 
    transition: background 0.3s;
    min-height: 44px;
}

.carousel-btn:hover { 
    background: var(--primary-dark); 
}

/* ===== BANNERS ===== */
.banner-section { 
    padding: 40px 0; 
}

.wide-banner {
    width: 100%; 
    max-height: 300px; 
    object-fit: cover;
    border-radius: var(--border-radius); 
    cursor: pointer; 
    transition: transform 0.3s;
}

.wide-banner:hover { 
    transform: scale(1.01); 
}

/* ===== IMAGE ROWS ===== */
.image-row {
    display: flex; 
    gap: 20px; 
    justify-content: center;
    padding: 40px 0; 
    flex-wrap: wrap;
}

.image-link {
    flex: 1; 
    min-width: 180px; 
    max-width: 200px;
    border-radius: var(--border-radius); 
    overflow: hidden; 
    transition: transform 0.3s;
}

.image-link:hover { 
    transform: translateY(-5px); 
}

.image-link img { 
    width: 100%; 
    height: 120px; 
    object-fit: cover; 
    display: block; 
}

/* ===== CARRUSEL DE CATEGORÍAS (Horizontal) ===== */
.categories-carousel-section { 
    padding: 60px 0; 
    background: white; 
}

.category-carousel { 
    position: relative; 
    overflow: hidden; 
    margin: 0 auto; 
    max-width: 1200px; 
}

.category-carousel-track { 
    display: flex; 
    transition: transform 0.5s ease; 
    gap: 15px; 
}

.category-item {
    min-width: 150px; 
    text-align: center; 
    text-decoration: none;
    color: var(--dark-color); 
    padding: 20px 15px; 
    background: var(--light-color);
    border-radius: var(--border-radius); 
    transition: all 0.3s;
}

.category-item:hover {
    background: var(--primary-color); 
    color: white; 
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2rem; 
    margin-bottom: 10px; 
    color: var(--primary-color);
}

.category-item:hover .category-icon { 
    color: white; 
}

.category-name { 
    font-size: 0.9rem; 
    font-weight: 500; 
}

/* ===== TWO ROW IMAGES ===== */
.two-rows-section { 
    padding: 40px 0; 
}

.two-row {
    display: flex; 
    gap: 20px; 
    margin-bottom: 20px; 
    justify-content: center;
}

.two-row:last-child { 
    margin-bottom: 0; 
}

.wide-image-link {
    flex: 1; 
    border-radius: var(--border-radius);
    overflow: hidden; 
    transition: transform 0.3s;
}

.wide-image-link:hover { 
    transform: translateY(-5px); 
}

.wide-image-link img {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    display: block;
}

/* ===== CARRUSEL DE OPINIONES ===== */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.testimonials-title {
    font-size: 2.2rem; 
    margin-bottom: 40px; 
    text-align: center; 
    position: relative;
}

.testimonials-title::after {
    content: ''; 
    display: block; 
    width: 80px; 
    height: 4px;
    background: white; 
    margin: 10px auto; 
    border-radius: 2px;
}

.testimonials-carousel {
    position: relative; 
    overflow: hidden; 
    margin: 0 auto; 
    max-width: 1200px;
}

.testimonials-track {
    display: flex; 
    transition: transform 0.5s ease; 
    gap: 30px;
}

.testimonial-card {
    min-width: calc(33.333% - 20px); 
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); 
    border-radius: var(--border-radius);
    padding: 30px; 
    display: flex; 
    flex-direction: column;
}

.testimonial-text { 
    font-style: italic; 
    margin-bottom: 20px; 
    flex-grow: 1; 
}

.testimonial-author { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.author-avatar {
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: white;
    color: var(--primary-color); 
    display: flex; 
    align-items: center;
    justify-content: center; 
    font-size: 1.5rem;
}

.author-info h4 { 
    font-size: 1.1rem; 
    margin-bottom: 5px; 
}

.author-info p { 
    font-size: 0.9rem; 
    opacity: 0.8; 
}

/* ===== SERVICES SECTION ===== */
.services-section { 
    padding: 60px 0; 
    background: var(--light-color); 
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
}

.service-item {
    text-align: center; 
    padding: 30px 20px; 
    background: white;
    border-radius: var(--border-radius); 
    box-shadow: var(--shadow);
    transition: all 0.3s; 
    text-decoration: none; 
    color: var(--dark-color);
}

.service-item:hover {
    transform: translateY(-5px); 
    box-shadow: var(--shadow-hover);
    color: var(--primary-color);
}

.service-icon { 
    font-size: 2.5rem; 
    color: var(--primary-color); 
    margin-bottom: 20px; 
}

.service-title { 
    font-size: 1.2rem; 
    font-weight: 600; 
    margin-bottom: 10px; 
}

.service-description { 
    color: var(--gray-color); 
    font-size: 0.9rem; 
}

/* ================================================== */
/* ===== BUSCADOR INTERNO (PÁGINA DE BÚSQUEDA) ===== */
/* ================================================== */
/* ===== BUSCADOR ===== */
.search-box {
    background: rgba(255,255,255,0.95);
    border-radius: 50px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    transition: all .3s ease;
}

.search-box:focus-within {
    border-color: #3b71ca;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.search-icon {
    color: #3b71ca;
    font-size: 1.1rem;
    margin: 0 12px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
}

.search-btn {
    background: #3b71ca;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
}

.search-btn:hover {
    background: #2f5eb8;
}

/* ===== TARJETAS ===== */
.product-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
/* ===== FOOTER ===== */


.footer-content {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; 
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem; 
    margin-bottom: 20px; 
    color: white;
    position: relative; 
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 50px;
    height: 3px; 
    background: var(--primary-color);
}

.footer-section p, 
.footer-section li {
    color: #cbd5e1; 
    line-height: 1.6; 
    margin-bottom: 10px;
}

.footer-section ul { 
    list-style: none; 
    padding: 0; 
}

.footer-section li i { 
    margin-right: 10px; 
    width: 20px; 
    text-align: center; 
}

.footer-bottom {
    text-align: center; 
    padding-top: 20px;
    border-top: 1px solid #4a5568; 
    color: #a0aec0; 
    font-size: 0.9rem;
}

/* ===== ESTADOS DE FOCO PARA ACCESIBILIDAD ===== */
.search-bar input:focus,
.search-bar-modern input:focus,
.btn-cat-trigger:focus,
.carousel-btn:focus,
.add-to-cart-btn:focus,
.search-submit-btn:focus,
.menu-search-input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== MEDIA QUERIES (TODAS JUNTAS AL FINAL) ===== */
@media (max-width: 1400px) {
    .search-results-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .services-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .testimonial-card { 
        min-width: calc(50% - 20px); 
    }
    
    .container-fluid {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .search-results-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-main .container { 
        flex-direction: column; 
        gap: 15px; 
    }
    
    .search-bar, 
    .header-actions { 
        width: 100%; 
        max-width: 100%; 
    }
    
    .header-actions { 
        justify-content: space-between; 
    }
    
    nav .container { 
        flex-direction: column; 
        align-items: stretch; 
        height: auto; 
        padding: 10px 15px; 
    }
    
    .btn-cat-trigger { 
        width: 100%; 
    }
    
    .nav-links { 
        width: 100%; 
        overflow-x: auto; 
        margin-left: 0; 
        padding-bottom: 5px; 
        margin-top: 10px;
    }
    
    .vertical-menu {
        width: 100%; 
        position: fixed; 
        top: 0; 
        left: 0;
        height: 100vh; 
        max-height: none; 
        z-index: 2000;
        border-radius: 0;
    }
    
    .menu-search-box { 
        margin-top: 60px; 
    }
    
    .hero { 
        height: 400px; 
    }
    
    .slide { 
        font-size: 1.5rem; 
    }
    
    .image-row { 
        gap: 10px; 
    }
    
    .image-link { 
        min-width: 150px; 
    }
    
    .services-grid { 
        grid-template-columns: 1fr; 
    }
    
    .testimonial-card { 
        min-width: 100%; 
    }
    
    .two-row { 
        flex-direction: column; 
    }
    
    .wide-image-link { 
        width: 100%; 
    }
    
    .search-results-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .container-fluid {
        padding: 0 15px;
    }
    
    .search-wrapper {
        margin-bottom: 2rem;
    }
    
    .search-bar-modern {
        padding: 5px 5px 5px 15px;
    }
    
    .search-bar-modern input {
        font-size: 0.95rem;
        padding: 8px;
    }
    
    .search-submit-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .last-viewed-title,
    .search-results-title {
        font-size: 1.3rem;
        padding: 0 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero { 
        height: 300px; 
    }
    
    .carousel-title { 
        font-size: 1.5rem; 
    }
    
    .image-row { 
        flex-direction: column; 
        align-items: center; 
    }
    
    .image-link { 
        max-width: 100%; 
    }
    
    .search-results-container {
        grid-template-columns: 1fr;
    }
    
    .search-bar-modern {
        flex-wrap: wrap;
        padding: 10px 15px;
        border-radius: 20px;
    }
    
    .search-bar-modern i.fa-search {
        order: 1;
    }
    
    .search-bar-modern input {
        order: 2;
        width: 100%;
        margin: 5px 0;
        padding: 5px 0;
    }
    
    .clear-search {
        order: 3;
        margin: 0 10px 0 0;
    }
    
    .search-submit-btn {
        order: 4;
        width: 100%;
        margin-top: 10px;
        border-radius: 20px;
    }
    
    .product-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .search-results-container {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
    .container-fluid {
        padding: 0 40px;
    }
}