:root {
    --header-height: 140px; /* điều chỉnh theo đúng chiều cao header */
}

/* Reset giống Home */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Container giống Home */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

.products {
    padding-top: calc(var(--header-height) + 20px); /* thêm khoảng cách 20px */
    padding-bottom: 80px;
    padding-left: 2rem;
    padding-right: 2rem;
    background: linear-gradient(180deg, #edf6f0 0%, #f9fcfa 62%, #ffffff 100%);
}

/* Section Title */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0E2A5B;
}


/* Card sản phẩm */
.product-card img {
    width: 100%;
    height: 350px;           /* cố định chiều cao */
    object-fit: cover;       /* cắt ảnh cho đẹp */
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}
.product-card .card-body {
    text-align: center;
}
.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #28a745;
}
.btn-add-cart {
    margin-top: .5rem;
    font-weight: 500;
}

/* Card sản phẩm nổi bật hơn */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.services-intro {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    color: #35533b;
    font-size: 0.98rem;
    line-height: 1.55;
}

.services-panel {
    max-width: 1160px;
    margin: 0 auto;
    padding: 1.6rem 1.25rem;
    border-radius: 22px;
    border: 1px solid rgba(53, 92, 63, 0.15);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(247, 252, 248, 0.92) 100%),
        radial-gradient(circle at 12% 18%, rgba(65, 142, 95, 0.11), transparent 35%),
        radial-gradient(circle at 90% 84%, rgba(47, 116, 78, 0.1), transparent 30%);
    box-shadow: 0 12px 28px rgba(39, 82, 54, 0.1);
}

.service-card {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(54, 98, 46, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card .card-body {
    padding: 1rem 1rem 0.95rem;
}

.service-card .card-title {
    font-size: 1.04rem;
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(32, 71, 29, 0.14);
}

.service-badge {
    display: inline-block;
    background: #ecf6ef;
    color: #1e4f2f;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.26rem 0.75rem;
    font-size: 0.8rem;
    margin-bottom: 0.62rem;
}

.service-price {
    font-size: 1.08rem;
    font-weight: 700;
    color: #2c7a3f;
    margin: 0.35rem 0 0.75rem;
}

.service-price-free {
    color: #0f5da6;
}

.service-features {
    padding-left: 1rem;
    margin: 0;
    color: #23412d;
    font-size: 0.94rem;
}

.service-features li {
    margin-bottom: 0.45rem;
    line-height: 1.45;
}

.pricing-box {
    background: #ffffff;
    border: 1px solid rgba(54, 98, 46, 0.14);
    border-radius: 16px;
    padding: 1rem 1rem 0.95rem;
}

.pricing-title {
    color: #0E2A5B;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-pricing-table {
    margin-bottom: 1rem;
}

.service-pricing-table thead th {
    background: #f1f8f2;
    color: #1f4e30;
    vertical-align: middle;
}

.service-pricing-table td {
    vertical-align: top;
}

.pricing-note {
    color: #365744;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-cta {
    margin-top: 0.8rem;
    margin-bottom: 0;
    font-weight: 600;
    color: #0E2A5B;
}

@media (max-width: 992px) {
    .services-panel {
        padding: 1.2rem 1rem;
    }
}

@media (max-width: 576px) {
    .services-panel {
        padding: 1rem 0.85rem;
        border-radius: 16px;
    }

    .service-card .card-title {
        font-size: 1rem;
    }

    .service-features {
        font-size: 0.92rem;
    }
}

