/* Archivo: css/tienda.css */

.shop-header {
    text-align: center;
    margin-bottom: 40px;
}

.shop-header h1 {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    color: var(--primary-color);
}

/* Grid de Productos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    border: 1px solid #e0e1dd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-card-info {
    padding: 20px;
}

.product-card-info h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-card-info .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.product-card-info .btn-details {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.product-card-info .btn-details:hover {
    background-color: var(--accent-color);
}

/* Página de Detalles del Producto */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto;
}

.product-image-gallery img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e0e1dd;
}

.product-info h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.product-info .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.product-info .description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.purchase-info h4 {
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.purchase-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.purchase-buttons .btn-contact {
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-weight: 700;
    transition: transform 0.2s;
}
.purchase-buttons .btn-contact:hover {
    transform: scale(1.03);
}
/* --- Estilos para la Tarjeta Promocional --- */

.product-card-large {
    grid-column: 1 / -1;

    background-image: linear-gradient(rgba(13, 27, 42, 0.6), rgba(13, 27, 42, 0.6)), url('../assets/ModelosTienda/Remeras/bannerMysteryBox.png');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding: 40px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.promo-content h2 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.promo-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 25px;
}

/* Estilo  para el botón de la tarjeta promocional */
.promo-content .btn-details {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;   
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}



.btn-email { background-color: #777; }
.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* --- Estilos para Botón de Volver y WhatsApp --- */

/* Estilo para el enlace de Volver a la Tienda */
.back-to-shop {
    display: inline-block;
    margin-top: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.back-to-shop:hover {
    opacity: 1;
}

/* Estilo para el botón de WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
}


@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
    }
}