@import "tailwindcss";
/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #0f1111;
    --secondary-color: #FF9517;
    --accent-color: #FFC107;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #f7b731 0%,#0f1111 100%);
}

body {
    color: var(--text-color);
    background-color: rgb(230, 238, 230);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e47911;
    margin: 1rem auto;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: rgb(230, 238, 230);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    animation: slideInFromTop 1s ease-out;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background-color: var(--primary-color);
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(230, 238, 230);
    font-weight: bold;
    font-size: 20px;
}

.logo-container h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: scaleIn 1.2s ease-out;
}

/* Estilos mejorados del buscador */
.search-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background-color: var(--light-gray);
    color: var(--text-color);
}

.search-container input:focus {
    border-color: var(--secondary-color);
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-container input::placeholder {
    color: #999;
    font-size: 0.95rem;
}

.search-container button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container button:hover {
    color: var(--secondary-color);
    background-color: rgba(0,0,0,0.05);
}

/* Estilos mejorados para los resultados de búsqueda */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    padding: 8px 0;
    border: 1px solid rgba(0,0,0,0.1);
}

.search-item {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.search-item:hover {
    background-color: #f8f9fa;
}

.search-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #eee;
}

.search-item-info {
    flex: 1;
}

.search-item-info h4 {
    margin: 0 0 5px 0;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
}

.search-item-info .price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* Estilos para el menú desplegable */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(230, 238, 230);
    min-width: 200px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001; /* Asegura que aparezca por encima del contenido */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: var(--light-gray);
    color: var(--secondary-color);
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .dropdown-menu {
        position: absolute; /* Mantener absolute incluso en móvil */
        width: 200px;
        top: 100%;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        box-shadow: var(--box-shadow);
        background: rgb(230, 238, 230);
        margin: 0;
        display: block;
        z-index: 1001;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    header {
        position: relative;
        padding: 1rem;
        flex-direction: column;
    }

    .logo-container {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
    }

    .nav-links {
        order: 2;
        width: 100%;
        display: flex;
        flex-direction: row; /* Mantener en fila */
        justify-content: center;
        position: relative; /* Cambiar de fixed a relative */
        left: 0; /* Quitar left negativo */
        height: auto; /* Quitar height 100vh */
        background-color: transparent;
        padding: 0.5rem 0;
    }

    .nav-links li {
        margin: 0 0.5rem;
        opacity: 1; /* Asegurar que sean visibles */
        transform: none;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .search-container {
        order: 3;
        width: 100%;
        margin: 0.5rem 0;
    }
}

.main-nav {
    position: relative;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links li {
    margin: 0;
    opacity: 0;
    animation: slideInFromTop 0.5s ease-out forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.2s; }
.nav-links li:nth-child(2) { animation-delay: 0.4s; }
.nav-links li:nth-child(3) { animation-delay: 0.6s; }

.nav-links a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.user-actions {
    display: flex;
    align-items: center;
}

.user-account {
    margin-right: 1.5rem;
}

.cart-container {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: rgb(230, 238, 230);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-color);
    color: rgb(230, 238, 230);
    padding: 5rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Categories Section */
.categories {
    padding: 3rem 1rem;
}

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

.category-card {
    background-color: rgb(230, 238, 230);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}

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

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

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

/* Gender Categories Section */
.gender-categories {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gender-category {
    flex: 1;
    min-width: 300px;
    background: rgb(230, 238, 230);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.gender-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}

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

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-card i {
    font-size: 2rem;
    color: black;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
}

@media (max-width: 768px) {
    .gender-category {
        min-width: 100%;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .gender-title {
        font-size: 1.5rem;
    }

    .category-card {
        padding: 1rem;
    }
}

/* Products Section */
.featured-products {
    padding: 4rem 2rem;
    background: rgb(230, 238, 230);
}

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

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    max-width: 350px; /* Añadimos un ancho máximo */
    margin: 0 auto; /* Centramos la tarjeta */
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e47911;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 1;
}

.product-image {
    position: relative;
    height: 300px; /* Aumentamos la altura */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Cambiamos cover por contain */
    transition: transform 0.3s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: #333;
}

.rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.rating span {
    color: #666;
    margin-left: 0.5rem;
}

.price {
    font-size: 1.25rem;
    color: #e47911;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.8rem;
    background: #e47911;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
    gap: 0.5rem;
}

.buy-button:hover {
    background: #f90;
}

/* Offers Section */
.offers {
    padding: 3rem 1rem;
}

.offer-banner {
    background: linear-gradient(to right, var(--primary-color), #FF9517);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    color: rgb(230, 238, 230);
    text-align: center;
}

.offer-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.offer-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Amazon Integration Section */
.amazon-integration {
    padding: 3rem 1rem;
    background-color: var(--light-gray);
}

.integration-info {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.amazon-logo {
    font-size: 4rem;
    color: #FF9900;
    margin-right: 2rem;
    min-width: 80px;
    text-align: center;
}

.integration-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.amazon-product-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

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

/* TikTok Products Section */
.tiktok-products-section {
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.tiktok-products-container {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    align-items: flex-start;
}

.tiktok-column {
    flex: 1;
    min-width: 325px;
}

.featured-products-column {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.featured-products-column h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 0.5rem;
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-details h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
}

.price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.buy-button-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    gap: 0.5rem;
    transition: background-color 0.3s;
    width: fit-content;
}

.buy-button-small:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }
}

@media (max-width: 1200px) {
    .product-grid,
    .category-grid {
        padding: 0 1rem;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    header {
        padding: 1rem 0.5rem;
    }
    
    .logo-container h1 {
        font-size: 1.2rem;
    }
    
    .search-container {
        max-width: 400px;
        margin: 0 0.5rem;
    }

    .integration-info {
        flex-direction: column;
        text-align: center;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    header {
        padding: 0.8rem;
        position: relative;
    }
    
    .logo-container {
        order: 2;
        margin: 0;
        flex: 1;
        justify-content: center;
    }

    .search-container {
        order: 4;
        width: 100%;
        margin: 1rem 0 0;
    }
    
    .user-actions {
        order: 3;
    }

    /* Navigation Mobile */
    .nav-links {
        position: relative;
        top: auto;
        left: 0;
        width: 100%;
        height: auto;
        background-color: transparent;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        padding: 0.5rem 0;
    }
    
    .nav-links li {
        margin: 0 0.5rem;
        opacity: 1;
        transform: none;
    }

    /* Products Mobile */
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .product-card {
        max-width: 100%;
    }

    /* Cart Sidebar Mobile */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    /* Footer Mobile */
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    /* Typography Mobile Small */
    .section-title {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    /* Layout Mobile Small */
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 1rem;
    }

    /* Navigation Mobile Small */
    .nav-links a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .search-container input {
        padding: 8px 40px 8px 15px;
        font-size: 0.9rem;
    }

    /* Components Mobile Small */
    .cookie-banner,
    .cart-sidebar {
        padding: 15px;
    }
    
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .product-card:hover,
    .category-card:hover,
    .nav-links a:hover {
        transform: none;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-links {
        padding: 1rem;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
}

@media (max-width: 968px) {
    .tiktok-products-container {
        flex-direction: column;
    }

    .tiktok-column,
    .featured-products-column {
        width: 100%;
    }

    .product-item {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .product-item {
        flex-direction: column;
        text-align: center;
    }

    .product-item img {
        width: 150px;
        height: 150px;
    }

    .product-details {
        align-items: center;
    }
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: rgb(230, 238, 230);;
    padding-top: 3rem;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 1rem;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-media a:hover {
    background-color: var(--secondary-color);
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.8rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: rgb(230, 238, 230);;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    z-index: 1000;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-input {
    width: 50px;
    text-align: center;
}

.cart-total {
    padding: 20px;
    border-top: 1px solid #eee;
    font-weight: bold;
}

.cart-actions {
    padding: 20px;
    display: flex;
    gap: 10px;
}

.cart-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#clear-cart {
    background: #f44336;
    color: white;
}

#checkout-cart {
    background: #4CAF50;
    color: white;
}

empty-cart-message {
    text-align: center;
    padding: 2rem;
    color: var(--dark-gray);
}

/* Amazon Sync Modal */
.amazon-sync-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    margin: 1.5rem auto;
    animation: spin 1s linear infinite;
}

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

.sync-status {
    margin-top: 1rem;
    font-weight: 500;
}

.sync-success {
    color: var(--success-color);
}

.sync-error {
    color: var(--danger-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-accept, .cookie-reject {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-accept {
    background: #4CAF50;
    color: white;
}

.cookie-reject {
    background: #f44336;
    color: white;
}

.cookie-more {
    color: #2196F3;
    text-decoration: none;
}

.cookie-more:hover {
    text-decoration: underline;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .product-grid,
    .category-grid {
        padding: 0 1rem;
    }
}

@media (max-width: 992px) {
    header {
        padding: 1rem 0.5rem;
    }
    
    .logo-container h1 {
        font-size: 1.2rem;
    }
    
    .search-container {
        margin: 0 0.5rem;
    }
    
    .nav-links li {
        margin: 0 0.5rem;
    }
    
    .integration-info {
        flex-direction: column;
        text-align: center;
    }
    
    .amazon-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo-container {
        order: 1;
        margin: 0;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .nav-links {
        order: 2;
        justify-content: center;
        gap: 1rem;
    }
    
    .user-actions {
        order: 4;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        padding: 0.4rem;
        font-size: 0.85rem;
    }
}

/* Agregar estas animaciones */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}



.amazon-integration {
    background-color: rgb(230, 238, 230);
}

.fondo{
    background-color: rgb(230, 238, 230);
}

