/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Cabecera */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Barra de información */
.info-bar {
    background-color: #17a2b8 !important;
}

/* Tarjetas de productos */
.producto-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.producto-card .card-img-top {
    height: 200px;
    object-fit: contain;
    padding: 15px;
    background-color: #fff;
}

.producto-card .card-body {
    background-color: #f8f9fa;
}

.producto-card .card-title {
    color: #0d6efd;
    font-weight: bold;
}

.producto-card .card-text {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Etiqueta de precio */
.precio-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #dc3545;
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
    min-width: 80px;
    text-align: right;
}

/* Botón de compra */
.btn-primary {
    background-color: #1a237e;
    border-color: #1a237e;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #0d47a1;
    border-color: #0d47a1;
    transform: scale(1.05);
}

/* Sección de WhatsApp */
.btn-success {
    background-color: #25d366;
    border-color: #25d366;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-success:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #1a237e !important;
}

footer .social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s;
}

footer .social-icons a:hover {
    background-color: rgba(255,255,255,0.4);
    transform: translateY(-3px);
}

/* Botón de volver arriba */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1a237e;
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.back-to-top:hover {
    background-color: #0d47a1;
    transform: translateY(-3px);
    color: white;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .info-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 10px;
    }
    
    .info-bar .d-flex {
        justify-content: center;
    }
    
    header .col-md-6 {
        margin-bottom: 15px;
    }
    
    .producto-card .card-img-top {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .producto-card .card-img-top {
        height: 160px;
    }
    
    .btn-success {
        padding: 10px 20px;
        font-size: 1rem;
    }
}