: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: 52px;
    padding-bottom: 52px;
    padding-left: 2rem;
    padding-right: 2rem;
    background: var(--bg-light-sage);
    border-bottom: 1px solid rgba(4, 120, 87, 0.08);
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-dark-deep);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
}

/* 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: var(--brand-green-rich);
}
.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: var(--transition-luxury);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(11, 19, 43, 0.06);
}

.services-intro {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 500;
}

.services-panel {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.05rem 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid rgba(4, 120, 87, 0.12);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(11, 19, 43, 0.04);
}

.services-panel .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* Service Card Styles */
.service-card {
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(4, 120, 87, 0.12);
    transition: var(--transition-luxury);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card .card-body {
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-main {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.service-card .card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--brand-dark-deep);
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(4, 120, 87, 0.12);
    border-color: var(--brand-green-rich);
}

/* Highlighted (Module 3) Card */
.service-card.highlighted {
    border: 2px solid var(--brand-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.06);
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    position: relative;
}

.service-card.highlighted:hover {
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.18);
    border-color: #b8860b;
}

.service-badge {
    display: inline-block;
    background: rgba(5, 150, 105, 0.08);
    color: var(--brand-green-deep);
    font-weight: 800;
    border-radius: 50px;
    padding: 0.28rem 0.75rem;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(4, 120, 87, 0.08);
}

.service-badge.highlighted-badge {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #b8860b 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.3);
}

.service-price {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--brand-green-deep);
    margin: 0.18rem 0 0.5rem;
    letter-spacing: -0.5px;
}

.service-card.highlighted .service-price {
    color: #b8860b;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.02);
}

.service-summary {
    color: #4a5a50;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0.1rem 0 0.6rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.68rem;
    border-radius: 999px;
    background: #f3faf4;
    color: #26583a;
    border: 1px solid rgba(4, 120, 87, 0.09);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.service-card.highlighted .service-tag {
    background: #fff8e9;
    color: #8f6a00;
}

.service-card .btn-service {
    margin-top: auto;
}

/* Action Buttons */
.btn-service {
    display: block;
    width: 100%;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-luxury);
    border: none;
    cursor: pointer;
}

.btn-service-primary {
    background: linear-gradient(135deg, var(--brand-green-deep) 0%, var(--brand-green-rich) 100%);
    color: white !important;
    box-shadow: 0 5px 15px rgba(4, 120, 87, 0.2);
}

.btn-service-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(4, 120, 87, 0.35);
    background: linear-gradient(135deg, #035a40 0%, #15b780 100%);
}

.btn-service-highlight {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #f39c12 100%);
    color: white !important;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
}

.btn-service-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #b8860b 0%, #d68910 100%);
}

.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) {
    .products {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .services-panel {
        padding: 0.95rem 0.9rem 1rem;
    }

    .service-summary {
        font-size: 0.88rem;
    }
}

@media (max-width: 576px) {
    .products {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .services-panel {
        padding: 1rem 0.85rem;
        border-radius: 16px;
    }

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

    .service-summary {
        font-size: 0.85rem;
    }

    .btn-service {
        font-size: 0.86rem;
        padding: 0.45rem 0.95rem;
    }
}

