.main{
    background-color: #323232;
}

.section-hero {
    position: relative;
    background-color: #f8f9fa;
    padding: 30px 0;
}
.section-hero__back_galeria {
    margin-top: 0;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.section-hero__title_galeria {
    margin-top: 10%;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -60%);
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    font-size: 4rem;
    text-align: center;
}

.swiper{
    top: -10%;
    width: 110%;
    padding: 150px 0 50px 0;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente el contenido */
    align-items: normal;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin: 10px;
    position: relative;
    color: #fff;
    height: 520px; /* Altura fija para el contenedor */
    max-width: 370px; /* Limita el ancho del contenedor */
    overflow: hidden; /* Oculta el contenido desbordante */
}
.icons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.icons i{
    font-size: 10px;
    color: #FFB900;
}

.icons img{
    width: 180px;
}

.product-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Alinea verticalmente el contenido */
    width: 120%;
}

.product-txt {
    flex-basis: 50%;
    text-align: left;
    padding-right: 10px; /* Espaciado entre texto e imagen */
}
.product-txt span {
    font-size: 25px;
    color: #000000;
    font-weight: bold;
    display: block; /* Para mejor control del espaciado */
    margin-bottom: 10px; /* Espacio debajo del precio */
}

.product-txt h3 {
    font-size: 10px;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 10px; /* Espacio debajo del título */
}

.product-txt p {
    color: #C4C4C4;
    font-size: 16px;
    line-height: 1.2; /* Mejor manejo de espacio entre líneas */
    margin-bottom: 0; /* Remueve margen inferior */
}

.product-img {
    flex: 1; /* Hace que la imagen ocupe el espacio restante */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Oculta el contenido desbordante */
    width: 130%; /* Ancho completo del contenedor */
}

.product-img img {
    max-width: 100%; /* Ancho máximo del 100% del contenedor */
    max-height: 230px; /* Altura máxima de la imagen */
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
}

.product-img img:hover {
    transform: scale(1.05);
}

.product-img img{
    width: 120%;
}

/* Renovacion visual 2026 */
.section-hero__back_galeria {
    min-height: clamp(420px, 58vh, 620px);
    height: auto;
    background-position: center;
    background-size: cover;
}

.section-hero__back_galeria::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 12, 15, .83), rgba(10, 12, 15, .30));
}

.section-hero__title_galeria {
    z-index: 1;
    width: min(900px, 90%);
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}

.main {
    padding: clamp(60px, 8vw, 105px) 0;
    background: #f3f4f6;
}

.swiper {
    width: min(1240px, 100%);
    padding: 30px 24px 70px;
}

.swiper-slide {
    width: 330px;
    height: 500px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(21, 24, 28, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 15px 42px rgba(15, 18, 22, .11);
}

.product-content {
    height: 100%;
    flex-direction: column-reverse;
    justify-content: flex-end;
}

.product-txt {
    flex-basis: auto;
    padding-top: 24px;
    text-align: left;
}

.product-txt span {
    color: var(--am-red);
    font-size: 1.25rem;
}

.product-txt h3 {
    color: var(--am-ink);
    font-size: 1.22rem;
    font-weight: 800;
}

.product-txt p {
    color: var(--am-muted);
    font-size: .95rem;
}

.product-img {
    display: flex;
    flex: 0 0 260px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-img img,
.product-img img:hover {
    width: 100%;
    height: 250px;
    object-fit: contain;
    transform: none;
}
