/* ==================== IMPORTAR FUENTES DE GOOGLE ==================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ==================== PALETA DE COLORES VIBRANTES ==================== */
:root {
    /* Colores principales */
    --primary-color: #C2185B;        
    --primary-dark: #ce104f;         
    --primary-light: #880E4F;        
    
    /* Colores secundarios */
    --secondary-color: #f7568c;      
    --accent-color: #0a0a09;         
    --accent-secondary: #00E676;     
    
    /* Colores de fondo  */
    --light-pink: #FFE4E9;           
    --background: #FFF8FA;           
    --background-alt: #ffe0e0;       
    
    /* Colores de texto */
    --text-dark: #1A1A2E;            
    --text-medium: #424242;          
    --text-light: #373737;           
    
    /* Colores base */
    --white: #FFFFFF;
    --black: #000000;                
    --dark-charcoal: #1C1C1C;        
    --dark-slate: #2E2E2E;           
    --medium-gray: #555555;          
    --border-color: #FFB3C1;         
    
    /* Estados y notificaciones */
    --success: #25cd7c;              
    --warning: #fee140;              
    --danger: #f91f4b;               
    --info: #00B0FF;                 
    
    /* Sombras vibrantes */
    --shadow-primary: rgba(254, 15, 63, 0.25);
    --shadow-secondary: rgba(255, 107, 157, 0.2);
    --shadow-accent: rgba(10, 10, 9, 0.3);
    --shadow-light: rgba(7, 7, 7, 0.08);
}

/* ==================== RESET Y ESTILOS BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    line-height: 1.6;
}

/* ==================== NAVEGACIÃƒâ€œN ==================== */
.navbar {
    background: linear-gradient(135deg, var(--white) 0%, var(--white) 60%, var(--light-pink) 100%);
    box-shadow: 0 2px 15px var(--shadow-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
    max-width: 100%;
    width: 100%;
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Fredoka', 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.nav-brand a {
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-icon {
    font-size: 2rem;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.admin-link-clean {
    background-color: transparent;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--text-dark) !important;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-link-clean:hover {
    color: var(--primary-color) !important;
    background: linear-gradient(135deg, var(--light-pink), var(--background-alt));
}

.cart-link {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--shadow-primary);
    transition: all 0.3s ease;
}

.cart-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient( var(--black));
    color: var(--text-white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 8px var(--shadow-accent);
}

/* ==================== TÃƒÂTULOS ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', 'Poppins', sans-serif;
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 3rem 0 2rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 80%, var(--primary-color) 100%);
    padding: 4rem 0;
    text-align: center;
    border-radius: 15px;
    margin: 2rem 20px;
    box-shadow: 0 8px 30px var(--shadow-primary);
}

.hero h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* ==================== SOBRE NOSOTROS ==================== */
.sobre-nosotros {
    background: linear-gradient(135deg, var(--background) 0%, var(--light-pink) 50%, var(--background-alt) 100%);
    padding: 4rem 0;
    margin: 3rem 0;
}

.sobre-nosotros-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sobre-nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.sobre-nosotros-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen-decorativa {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 60px var(--shadow-primary);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
    position: relative;
}

.logo-sobre-nosotros {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.sobre-nosotros-texto {
    padding: 2rem;
}

.texto-contenido p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.texto-contenido p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.caracteristicas {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.caracteristica-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.caracteristica-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px var(--shadow-primary);
    border-color: var(--secondary-color);
}

.caracteristica-icono {
    font-size: 2.5rem;
    line-height: 1;
}

.caracteristica-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.caracteristica-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.cta-sobre-nosotros {
    margin-top: 2rem;
}

/* ==================== BOTONES ==================== */
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--dark-charcoal);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    margin-bottom: 0.4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-add-cart {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
    background: var(--primary-dark);
}

.btn-eliminar {
    background: var(--danger);
    color: var(--white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px var(--shadow-primary);
}

.btn-eliminar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-primary);
    background: var(--primary-dark);
}

/* ==================== PRODUCTOS ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-primary);
    border-color: var(--secondary-color);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-pink), var(--background-alt));
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ==================== CARRITO ==================== */
.cart-container {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px var(--shadow-light);
    margin: 2rem 0;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: var(--background-alt);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.cart-summary {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px var(--shadow-primary);
}

.cart-total {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==================== FORMULARIOS ==================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--shadow-primary);
}

/* ==================== ALERTAS Y MENSAJES ==================== 
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.alert-success {
    background: var(--success);
    color: var(--white);
}

.alert-error {
    background: var(--danger);
    color: var(--white);
}

.alert-warning {
    background: var(--danger);
    color: var(--white);
}

.alert-info {
    background: var(--info);
    color: var(--white);
}

/* ==================== BADGES ==================== */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.badge-pendiente {
    background: var(--warning);
    color: var(--white);
}

.badge-procesando {
    background: var(--info);
    color: var(--white);
}

.badge-enviado {
    background: #7C4DFF;
    color: var(--white);
}

.badge-entregado {
    background: var(--success);
    color: var(--white);
}

.badge-cancelado {
    background: var(--danger);
    color: var(--white);
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--dark-charcoal);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
    box-shadow: 0 -5px 20px var(--shadow-light);
}

footer p {
    text-align: center;
    margin: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--white), var(--light-pink));
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px var(--shadow-primary);
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .sobre-nosotros-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 2rem 1rem;
        margin: 1rem 10px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
}

/* ==================== ANIMACIONES ADICIONALES ==================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        var(--light-pink) 0%,
        var(--background-alt) 50%,
        var(--light-pink) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}
/* ==================== FORMULARIOS DE AUTENTICACIÃƒâ€œN ==================== */

.form-container {
    max-width: 500px;
    margin: 3rem auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow-primary);
}

.form-container h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.form-container .btn-primary {
    width: 100%;
}

.form-divider {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.form-divider p {
    color: var(--text-light);
}

.form-divider a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.form-divider a:hover {
    color: var(--secondary-color);
}

.demo-credentials {
    color: var(--text-light);
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--light-pink), var(--background-alt));
    border-radius: 12px;
}

.demo-credentials strong {
    color: var(--primary-color);
}

/* Responsive para formularios */
@media (max-width: 600px) {
    .form-container {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
    }
    
    .form-container h2 {
        font-size: 1.5rem;
    }
}
/* ==================== COMPONENTES DE PRODUCTOS ==================== */

.productos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Laptop mediano: 3 columnas */
@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet: 2 columnas */
@media (max-width: 1024px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* MÃƒÂ³vil grande: 2 columnas */
@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

/* MÃƒÂ³vil pequeÃƒÂ±o: 1 columna */
@media (max-width: 480px) {
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.producto-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-primary);
    border-color: var(--secondary-color);
}

.producto-imagen {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-pink), var(--background-alt));
}

.producto-imagen-placeholder {
    background-color: var(--light-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 250px;
}

.producto-imagen-placeholder span {
    font-size: 4rem;
}

.producto-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.producto-nombre {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.producto-descripcion {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.producto-precio {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.producto-acciones {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.producto-acciones form {
    flex: 2;
}

/* ==================== PÃƒÂGINA DE CATÃƒÂLOGO ==================== */

.catalogo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.catalogo-filtros {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-light);
    margin-bottom: 2rem;
}

.filtro-categorias {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filtro-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-dark);
}

.filtro-btn:hover,
.filtro-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

/* ==================== DETALLE DE PRODUCTO ==================== */

.producto-detalle-container {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 30px var(--shadow-light);
    margin: 2rem 0;
}

.producto-detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.producto-detalle-imagen {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow-primary);
}

.producto-detalle-info h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.producto-detalle-precio {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 1.5rem 0;
}

.producto-detalle-descripcion {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cantidad-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cantidad-input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ==================== PÃƒÂGINA SIN PRODUCTOS ==================== */

.sin-productos {
    grid-column: 1/-1;
    text-align: center;
    padding: 3rem;
}

.sin-productos p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.sin-productos .btn-primary {
    margin-top: 1rem;
}

/* ==================== RESPONSIVE PRODUCTOS ==================== */


@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets pequeñas y móviles */
        gap: 1.5rem;
    }
    
    .producto-detalle-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .producto-acciones {
        flex-direction: column;
    }
    
    .producto-acciones form {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr); /* Mantener 2 columnas en móviles */
        gap: 1rem;
    }
    
    .producto-card {
        max-width: 100%;
        margin: 0;
    }
    
    .filtro-categorias {
        flex-direction: column;
    }
    
    .filtro-btn {
        width: 100%;
    }
}
/* ==================== CARRITO DE COMPRAS ==================== */

.carrito-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.carrito-tabla {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 30px var(--shadow-light);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.carrito-tabla table {
    width: 100%;
    border-collapse: collapse;
}

.carrito-tabla thead {
    background: linear-gradient(135deg, var(--light-pink), var(--background-alt));
    border-radius: 10px;
}

.carrito-tabla th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--primary-color);
}

.carrito-tabla td {
    padding: 1.5rem 1rem;
    border-bottom: 2px solid var(--border-color);
    vertical-align: middle;
}

.carrito-tabla tbody tr:hover {
    background: var(--light-pink);
}

.carrito-item-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carrito-item-imagen {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.carrito-item-imagen-placeholder {
    background-color: var(--light-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    font-size: 2rem;
}

.cantidad-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cantidad-input {
    width: 70px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.cantidad-control .btn-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.carrito-resumen {
    background: linear-gradient(135deg, var(--white), var(--light-pink));
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 30px var(--shadow-primary);
    max-width: 400px;
    margin-left: auto;
}

.carrito-resumen h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.resumen-linea {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-medium);
}

.resumen-total {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
}

.btn-checkout {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
    margin-top: 1.5rem;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
    background: var(--primary-dark);
}

.carrito-resumen .btn-secondary {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

/* Carrito vacÃƒÂ­o */
.carrito-vacio {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow-light);
}

.carrito-vacio h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.carrito-vacio p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 968px) {
    .carrito-tabla {
        overflow-x: auto;
    }
    
    .carrito-resumen {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .carrito-tabla table {
        min-width: 600px;
    }
    
    .carrito-item-imagen,
    .carrito-item-imagen-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .carrito-tabla th,
    .carrito-tabla td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .cantidad-control {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .cantidad-input {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .carrito-container {
        padding: 0 10px;
    }
    
    .carrito-tabla {
        padding: 1rem;
    }
    
    .carrito-resumen {
        padding: 1.5rem;
    }
}