/**
 * VAILON LABS
 * CUSTOM CSS
 */

/* =========================================
   FEATURED PRODUCTS
========================================= */

.vailon-featured-products {
    width: 100%;
    background: #ffffff;
    padding: 40px 20px;
    box-sizing: border-box;
}

.vailon-featured-products-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}

/* SECTION HEADING */

.vailon-section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.vailon-section-eyebrow {
    margin-bottom: 10px;
    color: #2878ad;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.vailon-section-heading h2 {
    margin: 0 0 12px !important;
    color: #123d68 !important;
    font-size: 36px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

.vailon-section-heading p {
    margin: 0 !important;
    color: #28557c;
    font-size: 16px;
    line-height: 1.6;
}

/* PRODUCT GRID */

.vailon-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* PRODUCT CARD */

.vailon-product-card {
    background: #ffffff;
    border: 1px solid #e6edf2;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vailon-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* PRODUCT IMAGE */

.vailon-product-image {
    display: block;
    width: 100%;
    background: #f5f9fc;
}

.vailon-product-image img {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: contain;
}

/* PRODUCT INFO */

.vailon-product-info {
    padding: 20px;
    text-align: center;
}

.vailon-product-title {
    margin: 0 0 10px !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
}

.vailon-product-title a {
    color: #123d68 !important;
    text-decoration: none !important;
}

.vailon-product-price {
    margin-bottom: 18px;
    color: #2878ad;
    font-size: 16px;
    font-weight: 600;
}

.vailon-product-button {
    display: inline-block;
    padding: 10px 18px;
    background: #168bc9;
    color: #ffffff !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.vailon-product-button:hover {
    background: #126fa3;
    color: #ffffff !important;
}

/* VIEW ALL */

.vailon-featured-products-button {
    margin-top: 40px;
    text-align: center;
}

.vailon-view-all-button {
    display: inline-block;
    padding: 13px 28px;
    border: 1px solid #168bc9;
    color: #168bc9 !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.vailon-view-all-button:hover {
    background: #168bc9;
    color: #ffffff !important;
}

/* TABLET */

@media (max-width: 1000px) {

    .vailon-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .vailon-featured-products {
        padding: 55px 15px;
    }

    .vailon-section-heading h2 {
        font-size: 30px !important;
    }

    .vailon-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vailon-product-image img {
        height: 280px;
    }

}
/* =========================================
   REMOVE GAP BETWEEN HERO & FEATURED PRODUCTS
========================================= */

.vailon-hero {
    margin-bottom: 0 !important;
}

.vailon-featured-products {
    margin-top: 0 !important;
}

/* Product card equal height */
.vailon-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product content */
.vailon-product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Keep titles aligned */
.vailon-product-title {
    min-height: 48px;
    margin: 12px 0 6px;
}

/* Keep price aligned */
.vailon-product-price {
    min-height: 24px;
}

/* Push Add to Cart to bottom */
.vailon-product-cart {
    margin-top: auto;
    padding-top: 10px;
}.vailon-product-cart .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    padding: 8px 15px;
    box-sizing: border-box;
    background: #1689ca;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
