body {
    font-size: 100%;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: hsl(0, 0%, 33%, 0.302);
    background: radial-gradient(ellipse at center, hsla(0, 0%, 33%, 0.144), #ffffff);
}

.properties h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.main_header {
    padding-top: 10%;
    text-align: center;
}

.main_header__title {
    color: #000000;
    text-transform: uppercase;
    font-size: 1.5em;
}

.container__title {
    color: #000000;
    text-transform: uppercase;
    font-size: 0.9em;
    border-bottom: 1px solid #f9f9f9;
    margin-bottom: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Product Page */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

body {
    line-height: 1.5;
}

.card-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}

.content-wrapper {
    background-color: #fff; /* Fondo blanco para separar del fondo */
    padding: 2rem; /* Espacio alrededor del contenido */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para resaltar el contenedor */
}

img {
    width: 100%;
    display: block;
}

.img-display {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.img-showcase {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
}

.img-showcase img {
    min-width: 120%;
    border-radius: 10px;
}

.img-select-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.img-select {
    display: flex;
    transition: transform 0.5s ease;
}

.img-item {
    margin: 0.3rem;
    cursor: pointer;
    flex: 0 0 auto;
    width: calc(80% / 4); /* Ajustar para mostrar 4 miniaturas por vista */
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.img-item img {
    border-radius: 5px;
}

.img-item:hover {
    opacity: 0.8;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.slide,
.thumbnail-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 2;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slide.prev,
.thumbnail-slide.prev-thumbnail {
    left: 0;
}

.slide.next,
.thumbnail-slide.next-thumbnail {
    right: 0;
}

.thumbnail-slide.prev-thumbnail,
.thumbnail-slide.next-thumbnail {
    z-index: 10;
}

.product-content {
    padding: 2rem 1rem; /* Espacio alrededor del contenido */
}

.product-title {
    font-size: 35px;
    text-transform: capitalize;
    font-weight: 700;
    position: relative;
    color: #12263a;
    margin: 1rem 0;
}

.product-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
    background: #12263a;
}

.product-link {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 0.5rem;
    background: #256eff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.5s ease;
}

.product-link:hover {
    background: #1a4d7a;
    opacity: 0.9;
}

.product-price {
    margin: 1rem 0;
    font-size: 25px;
    font-weight: 700;
}

.product-price span {
    font-weight: 400;
}

.last-price span {
    color: #ff0000;
}

.product-detail h2 {
    text-transform: capitalize;
    color: #12263a;
    padding-bottom: 0px;
    font-size: 18px;
}

.product-detail p {
    font-size: 13px;
    padding: 0.3rem;
    opacity: 0.8;
}

.product-detail ul {
    margin: 1rem 0;
    font-size: 0.9rem;
}

.product-detail ul li {
    margin: 0;
    list-style: none;
    padding-left: 1.7rem;
    margin: 0.4rem 0;
    font-weight: 600;
    opacity: 0.9;
    position: relative;
}

.product-detail ul li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #ff0000; /* Puedes ajustar el color según tus necesidades */
}

.product-detail ul li span {
    font-weight: 400;
}

.purchase-info {
    margin: 1.5rem 0;
    display: flex;
    gap: 0.5rem; /* Reduce el espacio entre los botones */
}

.purchase-info .btn {
    border: 1.5px solid #6b6b6b;
    border-radius: 25px;
    text-align: center;
    padding: 0.45rem 1rem;
    outline: 0;
    margin-bottom: 1rem;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline from links */
    font-size: 1rem; /* Ensure the same font size */
    width: auto; /* Allow buttons to have a natural width */
    min-width: 150px; /* Set a minimum width for consistency */
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.purchase-info .btn i {
    margin-right: 0.5rem; /* Icon on the left side */
}

.whatsapp-btn i {
    font-size: 18px; /* Individual font size for WhatsApp icon */
}

.call-btn i {
    font-size: 15px; /* Individual font size for call icon */
}

.whatsapp-btn {
    background: #25D366;
    border-color: #25D366;
}

.whatsapp-btn:hover {
    background: #1ebe57;
    border-color: #1ebe57;
}

.call-btn {
    background: #6b6b6b;
    border-color: #6b6b6b;
}

.call-btn:hover {
    background: #565656;
    border-color: #565656;
}

@media screen and (min-width: 992px) {
    .card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1.5rem;
    }
    .card-wrapper {
        /* height: 90vh; */
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-imgs {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .product-content {
        padding-top: 0;
    }
}

.product-video {
    position: relative;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-display {
    position: relative;
}

.video-display img {
    width: 100%;
    border-radius: 10px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
}

.modal {
    display: none; /* Inicialmente oculto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 10px;
}

.modal-content video {
    width: 100%;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

.close-modal:hover {
    color: #ff0000;
}
