:root {
    --bg-color: #f7f5f2;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --accent-sage: #8f937e;
    --accent-dark: #6b7a58;
    --card-bg: #ffffff;
    --border-color: #e3e0da;
    --radius: 22px;
    --font-serif: "Playfair Display", serif;
    --font-sans: "Plus Jakarta Sans", sans-serif;
}

@keyframes productFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-hero {
    text-align: center;
    padding: 90px 20px 35px;
    animation: productFadeUp .7s ease both;
}

.products-hero h1 {
    font-family: var(--font-serif);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-main);
}

.products-hero p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.7;
}

.page-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--accent-sage);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.products-section {
    max-width: 1200px;
    margin: auto;
    padding: 45px 8%;
}

.products-section h2 {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 400;
    margin-bottom: 45px;
    color: var(--text-main);
    animation: productFadeUp .7s ease both;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.045);
    transition: 0.35s ease;
    animation: productFadeUp .75s ease both;
}

.product-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.09);
}

.product-img {
    height: 245px;
    position: relative;
    overflow: hidden;
    background: #f1efe9;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(0.96) brightness(1.04);
    transition: 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.06);
}

.product-tag {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent-sage);
    font-size: 12px;
    font-weight: 700;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.product-content {
    padding: 24px;
}

.product-content h3 {
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text-main);
}

.product-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #eee9e2;
}

.price {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--accent-sage);
    font-weight: 500;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 999px;
    background: var(--accent-sage);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: 0.25s ease;
    white-space: nowrap;
}

.product-btn:hover {
    background: var(--accent-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.product-info-section {
    max-width: 1200px;
    margin: auto;
    padding: 30px 8% 70px;
}

.product-info-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.045);
    animation: productFadeUp .8s ease both;
}

.product-info-box h2 {
    text-align: left;
    margin-bottom: 12px;
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 400;
    color: var(--text-main);
}

.product-info-box p {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 650px;
    margin: 0;
}

.product-card:nth-child(1) {
    animation-delay: .05s;
}

.product-card:nth-child(2) {
    animation-delay: .12s;
}

.product-card:nth-child(3) {
    animation-delay: .19s;
}

.product-card:nth-child(4) {
    animation-delay: .26s;
}

.product-card:nth-child(5) {
    animation-delay: .33s;
}

.product-card:nth-child(6) {
    animation-delay: .40s;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .product-info-box {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding: 52px 20px 30px;
    }

    .products-hero h1 {
        font-size: 35px;
    }

    .products-section {
        padding: 38px 20px;
    }

    .products-section h2 {
        font-size: 34px;
        margin-bottom: 30px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .product-img {
        height: 260px;
    }

    .product-content {
        padding: 22px;
        text-align: center;
    }

    .product-content h3 {
        font-size: 25px;
    }

    .product-bottom {
        flex-direction: column;
        align-items: center;
    }

    .product-btn {
        width: 100%;
    }

    .product-info-section {
        padding: 20px 20px 55px;
    }

    .product-info-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 22px;
    }

    .product-info-box h2 {
        text-align: center;
        font-size: 31px;
    }
}

@media (max-width: 480px) {
    .products-hero {
        padding: 42px 16px 24px;
    }

    .products-hero h1 {
        font-size: 30px;
    }

    .products-section {
        padding: 32px 16px;
    }

    .product-img {
        height: 225px;
    }

    .product-content h3 {
        font-size: 23px;
    }

    .price {
        font-size: 22px;
    }

    .page-badge {
        font-size: 12px;
        padding: 7px 13px;
    }
}

/* PRODUCT CARD HEIGHT FIX */

/* PRODUCT CARD HEIGHT FIX */

.product-grid {
    align-items: stretch;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-content p {
    flex: 1;
}

.product-bottom {
    margin-top: auto;
}
