@import url("https://use.typekit.net/brp6pzc.css");
.hidden {
    display: none;
}

/* === PRODUCTOS === */

.productos-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

/* CARD */
.producto {
    width: 360px;
    height: 408px;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.4s ease;
}

.producto:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* CONTENEDOR IMAGEN */
.producto-img {
    width: 360px;
    height: 369px;
    overflow: hidden; /* 🔥 CLAVE */
}

/* IMAGEN REAL */
.producto-img-inner {
    width: 100%;
    height: 100%;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1);
    transition: transform 1.6s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ZOOM SUAVE */
.producto:hover .producto-img-inner {
    transform: scale(1.12);
}

/* TEXTO */
.producto-texto {
    width: 100%;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Segoe UI Variable', sans-serif;
    font-size: clamp(14px, 1vw, 21px);
    font-weight: 600;

    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;

    transition: color 0.3s ease;
}

.producto:hover .producto-texto {
    color: #295E4D;
}

/* ===============================
   FICHA TOP
================================ */
.ficha-top {
    height: 635px;
    display: flex;
    gap: 60px;
    /* separación general izquierda / derecha */
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    padding-bottom: 5%;
}

/* ===============================
   GALERÍA PRODUCTO
================================ */
.producto-galeria {
    width: 670px;
    height: 524px;
    display: flex;
    flex-direction: column;
}

/* Imagen grande */
.galeria-principal {
    width: 670px;
    height: 524px;
}

.galeria-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbs */
.galeria-thumbs {
    margin-top: 16px;
    display: flex;
    gap: 16px;
}

.galeria-thumbs img {
    width: 95px;
    height: 95px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.galeria-thumbs img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ===============================
   INFO PRODUCTO
================================ */
.producto-info {
    width: 440px;
    height: 470px;
    display: flex;
    flex-direction: column;
    gap: 46px;
}

/* Título */
.producto-info h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 600;
    color: #295E4D;
    font-family: 'Segoe UI Variable', sans-serif;
}

/* Descripción */
.producto-info p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #585857;
    font-family: 'Segoe UI Variable', sans-serif;
}


/* ===============================
   CARRUSEL ESPECIES
================================ */
.carrusel-wrapper {
    width: 668px;
    height: 420px;
    margin: 0 auto;
    position: relative;
    align-items: center;
}

/* Contenedor 4 img */
.ficha-carrusel {
    display: flex;
    gap: 0;

    overflow-x: scroll;
    overflow-y: hidden;
    align-items: center;

    scroll-behavior: smooth;
}

/* Ocultar scrollbar */
.ficha-carrusel::-webkit-scrollbar {
    display: none;
}

.ficha-carrusel {
    scrollbar-width: none;
    /* Firefox */
}

/* imagenes */
.carrusel-item {
    width: 167px;
    height: 359px;

    display: flex;
    flex-direction: column;
    align-items: center;

    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: 20px;
}

.carrusel-item:hover {
    transform: translateY(-4px);
}

.carrusel-item img {
    width: 167px;
    height: 322px;

    object-fit: cover;
    transition: transform 0.3s ease;
}

.carrusel-item:hover img {
    transform: scale(1.08);
}

.carrusel-item span {
    margin-top: 12px;

    font-family: 'Segoe UI Variable', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;

    color: #585857;
}

/* botones flechas*/
.carrusel-btn {
    width: 42px;
    height: 42px;

    border: none;
    background: white;
    color: #295E4D;

    font-size: 28px;
    font-weight: bold;
    cursor: pointer;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carrusel-btn.prev {
    left: -56px;
}

.carrusel-btn.next {
    right: -56px;
}

.carrusel-btn:hover {
    background: #295E4D;
    color: white;
}

/* ===============================
   FICHA PROPIEDADES
================================ */

.ficha-propiedades {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;

}

/* ===============================
   TABLA PROPIEDADES
================================ */

.propiedades-tabla {
    width: 440px;
    height: 207px;
    padding: 0;
    box-sizing: border-box;
    margin-right: 20%;
    margin-bottom: 10%;
}

/* TITULOS ALINEADOS */
.propiedades-tabla h3,
.propiedades-humedad h3 {
    height: 32px;
    margin: 0 0 16px 0;
    font-size: 32px;
    font-weight: 600;
    padding: 12px 0;
    color: #295E4D;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #295E4D;
}

.propiedades-humedad h3 {
    width: 100%;
}

/* TABLA */
.propiedades-tabla table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    color: #295E4D;
    text-align: center;
}

/* HEADER */
.propiedades-tabla thead th {
    padding: 5px;
    font-weight: 600;
}

/* BODY SCROLL */
.propiedades-tabla tbody {
    display: block;
    max-height: 200px;
    overflow-y: auto;
}

.propiedades-tabla thead,
.propiedades-tabla tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

/* CELDAS */
.propiedades-tabla th,
.propiedades-tabla td {
    padding: 5px;
}

/* FILAS INTERCALADAS */
.propiedades-tabla tbody tr:nth-child(odd) {
    background: rgba(41, 94, 77, 0.05);
}

.propiedades-tabla tbody tr:nth-child(even) {
    background: rgba(41, 94, 77, 0.12);
}

/* ===============================
   HUMEDAD
================================ */
.propiedades-humedad {
    width: 432px;
    height: auto;

    display: flex;
    flex-direction: column;
}

/* VALOR HUMEDAD */
.propiedades-humedad span {
    font-size: 21px;
    font-weight: 600;
    color: #295E4D;
    padding: 20px 0;
}

/* ===============================
   BOTON volver
================================ */
.volver-btn {
    width: 130px;
    height: auto;
    padding: 1%;
    background: none;
    border: none;
    font-size: 21px;
    color: #295E4D;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.volver-icon {
    font-size: 50px;
    /* SOLO la flecha */
    line-height: 1;
}