* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #fff 0%, #FFC4A3 50%, #FFE4D6 100%);
    background-attachment: fixed;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 196, 163, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 196, 163, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 228, 214, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.top-bar {
    background: linear-gradient(90deg, #FFC4A3 0%, #FFD4BA 100%);
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(255, 196, 163, 0.3);
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
}

.location-icon {
    font-size: 16px;
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 15px;
}

.top-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.main-header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(255, 196, 163, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 30px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFC4A3;
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(255, 196, 163, 0.3);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: #FFB088;
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    position: relative;
}

.nav-menu>li {
    position: relative;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-menu a:hover {
    background: linear-gradient(135deg, #FFC4A3 0%, #FFD4BA 100%);
    color: #fff;
    transform: translateY(-2px);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(255, 196, 163, 0.3);
    min-width: 200px;
    margin-top: 10px;
}

.dropdown li {
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dropdown li:hover {
    background: #FFF5F0;
    transform: translateX(5px);
}

/* Buscador */
.search-container {
    flex: 1;
    max-width: 600px;
}

.search-box {
    display: flex;
    background: #f8f8f8;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 6px 20px rgba(255, 196, 163, 0.4);
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    background: transparent;
    outline: none;
}

.search-btn {
    background: #FF8C69;
    ;
    border: none;
    padding: 12px 25px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #FFB088 0%, #FFC4A3 100%);
    transform: scale(1.05);
}

/* Carrito */
.cart-btn {
    background: linear-gradient(135deg, #FFC4A3 0%, #FFD4BA 100%);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 196, 163, 0.4);
}

.cart-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 196, 163, 0.6);
}

/* Modal Carrito */
.Carrito {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

/* Fondo oscuro semitransparente */
.backdrop {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

/* Contenido del carrito */
.Carrito-contenido {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: slideUp 0.3s ease;
}

.cantidad-control {
    display: flex;
    justify-content: center;   /* 🔥 centra horizontalmente */
    align-items: center;       /* centra verticalmente */
    gap: 15px;
    margin: 12px 0;
}

.cantidad-control span {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.cantidad-control button {
    width: 35px;
    height: 35px;
    border: none;
    background: #FFC4A3;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cantidad-control button:hover {
    background: #ff9a60;
    color: white;
}

/* Botón de cerrar */
.cerrar {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    line-height: 1;
}

.cerrar:hover {
    color: #FFC4A3;
    transform: scale(1.1);
}

/* Título */
.Carrito-contenido h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Párrafos */
.Carrito-contenido p {
    color: #666;
    font-size: 16px;
    margin: 15px 0;
    line-height: 1.5;
}

/* Enlaces */
.Carrito-contenido a {
    display: inline-block;
    background-color: #FFC4A3;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 10px 5px;
    text-decoration: none;
}

.Carrito-contenido a:hover {
    background-color: #ffb08a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 196, 163, 0.4);
}

.Carrito-contenido a:active {
    transform: translateY(0);
}

/* Sección Hero */
.seccion-hero {
    max-width: 1400px;
    margin: 60px auto;
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 196, 163, 0.2) 100%);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(255, 196, 163, 0.3);
    position: relative;
    z-index: 1;
}

.titulo-principal {
    font-size: 56px;
    color: #FF8C69;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.descripcion {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contenedor-botones {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.boton {
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.boton-principal {
    background: #FF8C69;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 196, 163, 0.4);
}

.boton-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 196, 163, 0.6);
}

.boton-secundario {
    background: #fff;
    color: #FFC4A3;
    border: 2px solid #FFC4A3;
}

.boton-secundario:hover {
    background: #FFC4A3;
    color: #fff;
    transform: translateY(-3px);
}

/* Contenedores principales */
.principal,
.secundario {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Tarjetas de colaboración */
.contenedor-Colaboracion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tarjetaColaboracion {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 196, 163, 0.3);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.tarjetaColaboracion:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 196, 163, 0.5);
    border-color: #FFC4A3;
}

.imagen-miniatura {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #FFE4D6, #FFC4A3);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagen-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contenido-tarjeta{
    
}
/* Tarjetas de productos */
.contenedor-tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tarjeta {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(255, 196, 163, 0.25);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tarjeta:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 196, 163, 0.4);
    border-color: #FFC4A3;
}

.imagen-miniatura {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #FFE4D6, #FFC4A3);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagen-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contenido-tarjeta {
    padding: 20px;
}

.texto-tarjeta {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.pie-tarjeta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.botones-tarjeta {
    display: flex;
    gap: 10px;
}

.boton-tarjeta {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFC4A3 0%, #FFD4BA 100%);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.boton-tarjeta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 196, 163, 0.5);
}

.duracion {
    color: #FF8C69;
    ;
    font-weight: bold;
    font-size: 16px;
}

* Categorías */ .contenedor-Categorias {
    display: grid;
    gap: 30px;
    width: 100%;
    margin: 50px auto;
}

.carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

/* Carrusel horizontal */
.carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

/* Cada tarjeta del carrusel */
.carousel .tarjetaCat {
    min-width: calc(100% / 3 - 20px);
    /* 3 tarjetas por vista */
    max-width: calc(100% / 3 - 20px);
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.carousel .tarjetaCat .imagen-miniatura {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #FFE4D6, #FFC4A3);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen dentro de la tarjeta */
.carousel .tarjetaCat .imagen-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botones prev/next */
.btn-prev,
.btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFC4A3;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    color: white;
    z-index: 10;
}

.btn-prev {
    left: 10px;
}

.btn-next {
    right: 10px;
}

.tarjetaCat {
    width: 100%;
    min-width: 30%;
    /* 3 tarjetas por fila */
    max-width: 30%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-radius: 15px;
    overflow: hidden;
    transition: .3s ease;
}

.tarjetaCat:hover {
    transform: scale(1.03);
}

.imagen-miniatura {
    width: 100%;
    height: 280px;
    /* ← tamaño corregido */
    background: linear-gradient(135deg, #FFE4D6, #FFC4A3);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagen-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contenido-tarjeta {
    padding: 15px;
}

.pie-tarjeta {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.boton-tarjeta {
    background: var(--color-boton);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    transition: .2s;
}

.boton-tarjeta:hover {
    background: var(--color-boton-hover);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #FFC4A3 0%, #FFD4BA 100%);
    color: #fff;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    transform: translateX(5px);
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #fff;
    color: #FFC4A3;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
    }

    .search-container {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .titulo-principal {
        font-size: 36px;
    }

    .descripcion {
        font-size: 16px;
    }

    .contenedor-tarjetas,
    .contenedor-Categorias {
        grid-template-columns: 1fr;
    }

    .contenedor-Colaboracion {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .tarjetaCat {
        min-width: 70%;
    }
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        width: 250px;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
        border-radius: 10px;
    }

    .nav-menu li {
        list-style: none;
        margin: 15px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .search-container {
        display: none; /* opcional si quieres que desaparezca en móvil */
    }
}