/* UI bundle css — generado automáticamente; no editar */

/* --- component:product-tile --- */
/* product-tile — estilos base (también vía @import en site.css para la home) */
.product-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.product-tile__media {
    position: relative;
    aspect-ratio: 5 / 4;
    flex-shrink: 0;
    overflow: hidden;
    background-color: var(--bg-l-gray, #EEEEEE);
}
.product-tile__media picture {
    display: block;
    width: 100%;
    height: 100%;
}
.product-tile__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}
.product-tile:hover .product-tile__img {
    transform: scale(1.04);
}
.product-tile__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 1rem 1.15rem 1.15rem;
    position: relative;
    z-index: 2;
}
.product-tile__body:last-of-type {
    padding-bottom: 1.2rem;
    flex: 1;
}
.product-tile__body:not(:has(.product-tile__arrow)) {
    justify-content: flex-start;
}
.product-tile__title {
    font-size: 0.98rem;
    line-height: 1.35;
    color: #111;
    flex: 1;
    min-width: 0;
}
.product-tile__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background-color: var(--bg-l-gray, #EEEEEE);
    color: #111;
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: auto;
    transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.product-tile:hover .product-tile__arrow {
    background-color: #111;
    color: #fff;
    transform: translateX(3px);
}
.product-tile > .stretched-link::after {
    z-index: 3;
}
.product-tile__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 4;
}
.product-tile__badge--start {
    left: 0.75rem;
    right: auto;
    background: transparent;
    padding: 0;
}
.product-tile__footer {
    padding: 0 1.15rem 1rem;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-tile__footer p {
    margin-bottom: 0.4rem;
}
.product-tile__discount {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 4;
    display: inline-block;
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    background-color: #16a34a;
    border-radius: 0.4rem;
}
