/* =========================================
   Face Off M54 Font
========================================= */
@font-face {
    font-family: 'Face Off M54';
    src: url('../fonts/Face Off M54.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   Botón Cotizar - Tienda + Home + Producto
========================================= */
.btn-cotizar {
    font-family: 'Face Off M54', sans-serif;
    font-weight: 500;
}

.home-btn-cotizar {
    font-family: 'Face Off M54', sans-serif;
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .btn-cotizar {
        font-family: 'Face Off M54', sans-serif;
        font-weight: 500;
    }

    .home-btn-cotizar {
        font-family: 'Face Off M54', sans-serif;
        font-weight: 500;
    }
}


/* ========================================
   Home Product Cards (Figma specs)
   ======================================== */

.home-product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.16);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.home-product-card-media {
    height: 246px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.home-product-card-media img {
    max-height: 206px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.home-product-card-content {
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-product-category {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: var(--brand-orange, #FF7A01);
    margin-bottom: 4px;
}

.home-product-title {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    color: #535353;
    padding-bottom: 12px;
    margin-bottom: 0;
    min-height: 62px;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.home-product-title a {
    color: #535353;
    text-decoration: none;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.home-product-title a:hover {
    color: var(--brand-orange, #FF7A01);
}

.home-product-divider {
    border: none;
    border-top: 1px solid rgba(93, 100, 111, 0.3);
    margin: 0;
}

.home-product-benefits {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
}

.home-benefit-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #535353;
}

.home-benefit-item img {
    flex-shrink: 0;
    opacity: 0.7;
}

.home-btn-cotizar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 7.34px;
    margin-top: 14px;
    padding: 7.2px 21.9px;
    background: var(--brand-orange, #FF7A01);
    color: #ffffff;
    border: none;
    border-radius: 45.9px;
    font-weight: 600;
    font-size: 14.7px;
    line-height: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-btn-cotizar:hover {
    background: var(--brand-orange-hover, #e66d00);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.32);
}

.home-btn-cotizar:focus-visible {
    outline: 2px solid var(--brand-orange, #FF7A01);
    outline-offset: 2px;
}

.home-btn-cotizar-icon {
    flex-shrink: 0;
}

.home-products-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--product-count, 4), 1fr) !important;
    gap: 0px;
}

.home-product-item {
    min-width: 0;
}

@media (max-width: 575.98px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 16px;
    }

    .home-product-card-media {
        height: 146px;
        padding: 10px;
    }

    .home-product-card-media img {
        max-height: 125px;
    }

    .home-product-card-content {
        padding: 12px 16.8px;
    }

    .home-product-category {
        font-size: 10.5px;
        line-height: 14px;
    }

    .home-product-title {
        font-size: 14.6px;
        line-height: 18px;
        height: 36px;
        min-height: 45px;
        padding-bottom: 6px;
    }

    .home-product-divider {
        border-top: 0.6px solid rgba(93, 100, 111, 0.3);
        margin: 0 0 6px;
    }

    .home-product-benefits {
        gap: 4px;
        padding-top: 0;
    }

    .home-benefit-item {
        font-size: 9.4px;
        line-height: 13px;
        gap: 3.6px;
    }

    .home-benefit-item img {
        width: 10px;
        height: 10px;
    }

    .home-btn-cotizar {
        height: 31px;
        padding: 4.3px 13.1px;
        border-radius: 27.6px;
        font-family: 'Inter', sans-serif;
        font-size: 11.2px;
        gap: 4.4px;
        margin-top: 8.4px;
    }

    .home-btn-cotizar-icon {
        width: 13px;
        height: 13px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .home-products-grid {
        grid-template-columns: repeat(var(--product-count, 4), 1fr) !important;
    }
}
