/* RESET BÁSICO */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background-color: #fff;
    color: #222;
	overflow-x: hidden; /* por icono whatssap*/
}


/* CONTENEDOR GENERAL */
.tienda-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.tienda-titulo {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* GRID DE PRODUCTOS */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

/* CARD PRODUCTO */
.producto-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.producto-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.producto-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

/* IMAGEN */
.producto-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO */
.producto-info {
    padding: 15px;
}

.producto-nombre {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

.producto-precio {
    font-size: 17px;
    font-weight: 600;
    color: #111;
}

/* MOBILE */
@media (max-width: 480px) {
    .tienda-titulo {
        font-size: 22px;
    }
}









/* AGREGADO CON MENU*/
/* HEADER TIENDA */
.tienda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
}

.tienda-titulo {
    font-size: 26px;
    font-weight: 600;
}

/* SELECT CATEGORÍA */
.filtro-categoria select {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    min-width: 220px;
}

.filtro-categoria select:focus {
    outline: none;
    border-color: #999;
}

/* MOBILE */
@media (max-width: 600px) {
    .tienda-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filtro-categoria select {
        width: 100%;
    }
}



/* WHATSAPP */


.whatsapp-float {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
}

.wa-btn {
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

.wa-btn img {
    width: 32px;
    height: 32px;
}

.wa-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    overflow: hidden;
    display: none;
    min-width: 220px;
}

.whatsapp-float:hover .wa-box {
    display: block;
}

.wa-box a {
    display: block;
    padding: 12px 16px;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.wa-box a:hover {
    background: #f5f5f5;
}


.btn-whatsapp {
    margin-top: 10px;
    width: 28px;
    height: 28px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    transition: transform .15s ease;
}

.btn-whatsapp img {
    width: 14px;
    height: 14px;
}

.btn-whatsapp:hover {
    transform: scale(1.15);
}


