body {
    font-family: 'Arial', sans-serif;
    background-color: black;
    color: #333;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.recommendation {
    color: black; /* Letra roja */
    font-size: 0.8em; /* Tamaño de letra pequeño */
    margin-top: 10px; /* Espaciado superior */
}



header {
    background-image: url('../images/logos/postal.png'); /* URL de imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 40px 0;
}

header .header-logo {
    margin-bottom: 20px;
}

header .logo {
    max-width: 150px;
    height: auto;
}

header h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin: 10px 0;
}

header p {
    font-size: 1.2em;
    font-style: italic;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    .logo {
        max-width: 120px;
    }
}

h1 {
    font-size: 2.5em;
}

.filters {
    margin-top: 30px;
    margin-bottom: 30px;
}



/********button move**********/
/*****************************/
/******************************/

.scrolling-wrapper {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    gap: 10px;
}

.scrolling-wrapper button {
    flex-shrink: 0;
    width: auto;
    min-width: 120px;
    text-align: center;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    background-color: #B31B1B;
    color: white;
    border: none;
    white-space: nowrap;
}

.scrolling-wrapper .btn:hover {
    background-color: #a21d1d;
}

@media (max-width: 768px) {
    .filters {
        padding-left: 10px;
        padding-right: 10px;
    }

    .scrolling-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: flex-start;
    }

    .scrolling-wrapper button {
        flex-grow: 1;
        min-width: 150px;
        margin-right: 10px;
        padding: 10px;
        font-size: 14px;
    }
}


/*********************/
/*******productos***/
/********************/
/***********************/
.card-title, .card-reference{
    color: black;
    text-align: center;
    font-weight: bolder;
}



.card-body {
    background-color: burlywood;
   
     border: 1px solid #ccc;
    border-radius: 15px;
    

}

.card-price {
    font-size: 1.1em;
    color: black;
    background-color: brown;
    border: 2px solid black;
    border-radius: 10px;
    padding: 5px 10px;
    display: inline-block;
    white-space: nowrap;
}

.card-deck {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 1.5rem !important; /* Espaciado vertical */
}




/**************************/
/* Estilo para el popup */
/**************************/
/****************************/

.product-card {
    position: relative; 
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    display: flex;
    flex-direction: column;
      border: 2px solid black;
      color: black;
}


.popup-body {
    margin-top: 30px;
    max-height: 300px;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: black;
    color: orange;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    font-size: 1.5rem;
}

.close-btn:hover {
    background-color: darkgray;
}

@media (max-width: 768px) {
    .popup {
        width: 90%;
        max-width: 95%;
        padding: 15px;
    }

    .popup-body {
        max-height: 200px;
    }

    .close-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .popup {
        width: 85%;
        padding: 10px;
    }

    .popup-body {
        max-height: 150px;
    }

    .close-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/***********/
/****************/
/******whatasapp***/
/******************/


.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    z-index: 1000;
    width: 60px; /* Tamaño del botón */
    height: 60px; /* Tamaño del botón */
    display: flex;
    justify-content: center; /* Centra el icono */
    align-items: center; /* Centra el icono */
    outline: none; /* Elimina la línea alrededor del botón */
    text-decoration: none; /* Elimina el subrayado del enlace */
}

.whatsapp-button:hover {
    background-color: #128C7E;
    outline: none; /* Elimina la línea alrededor al hacer hover */
}

/* Hacer el botón más pequeño en pantallas más pequeñas */
@media (max-width: 576px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}



/****************/
/******imagenes***/
/******************/


.card {
    border: 1px solid #ccc;
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-img-container {
    width: 300px;
    height: 300px;
    padding: 5px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 15px;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid #ccc;
}



.card-img-container:hover img {
    transform: scale(1.4);
}

@media (max-width: 1024px) {
    .card-img-container {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .card {
        padding: 25px;
    }

    .card-img-container {
        width: 300px;
        height: 300px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 15px;
    }

    .card-img-container {
        width: 250px;
        height: 250px;
        margin-bottom: 15px;
    }
}

