
/* ---------- PRODUCTS SECTION ---------- */
.products-section {
    padding: 40px 0;
    background: #f4f9ff;
    position: relative;
    /* overflow: hidden; */
}


/* ---------- TABS - PREMIUM ---------- */
.product-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 34px;
}

.product-tab {
    border: none;
    background: #ffffff;
    padding: 8px 19px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #137f84;
    border: 1px solid #127d8333;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

    .product-tab:hover {
        background: #e9e9e9;
        color: #08162e
    }

    .product-tab.active {
        background: linear-gradient(135deg, #0c264f, var(--teal)) !important;
        color: #fff;
        box-shadow: 0 8px 20px rgba(8,22,46,0.18)
    }



/* ---------- CARD ---------- */
.product-card {
    background: #fff;
    border-radius: 8px;
    /* height: 409px; <-- ye line hata do */
    min-height: 380px; /* ye laga do */
    border: 1px solid #e9eef8;
    overflow: hidden;
    box-shadow: 0 8px 28px rgb(8 22 46 / 10%);
    transition: 0.4s cubic-bezier(.16,1,.3,1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* col ke equal height ke liye */
}

    .product-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg,#00c2b2,#00a99d);
        transform-origin: left;
        transform: scaleX(0);
        transition: 0.5s;
        z-index: 2
    }

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 50px rgba(8,22,46,0.12);
        border-color: #d9e8ea
    }

        .product-card:hover::before {
            transform: scaleX(1)
        }

.product-image {
    place-items: center;
    overflow: hidden;
}

    .product-image img {
        max-width: 100%;
        object-fit: contain;
        transition: 0.6s
    }

.product-card:hover .product-image img {
    transform: scale(1.08)
}

.product-category {
    position: absolute;
    top: 4px;
    left: 5px;
    background: linear-gradient(135deg, #0c264f, var(--teal)) !important;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    z-index: 1
}

.product-content {
    padding: 10px 10px 14px 12px;
    display: flex;
    flex-direction: column;
    flex: 1
}

    .product-content h3 {
        font-size: 16px;
        color: #08162e;
        margin: 0 0 4px;
        line-height: 1.2
    }

.product-type {
    font-size: 11px;
    font-weight: 600;
    color: #127d83;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0px;
}

.product-composition {
    font-size: 12px;
    line-height: 1.5;
    color: #6b7a94;
    margin-bottom: 6px;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.product-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--blue), #13898a);
    border-radius: 4px;
    position: relative;
    font-weight: 500;
    padding: 8px 10px;
    /* background: linear-gradient(135deg, #0c264f, var(--teal)) !important; */
    border: 1px solid #e3e9f5;
    color: #ffffff;
    /* padding: 4px 9px; */
    /* border-radius: 6px; */
    font-size: 13px;
    /* font-weight: 700; */
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: 0.3s;
}

    .product-btn i {
        font-size: 10px;
        transition: 0.3s
    }

    .product-btn:hover {
        color: #fff;
        transform: translateY(-2px)
    }

        .product-btn:hover i {
            transform: translateX(4px)
        }

/* ---------- FILTER ANIMATION CLASSES - YE MISSING THI ---------- */
.product-card.hidden {
    display: none !important
}

.product-card.product-show {
    animation: cardIn 0.5s cubic-bezier(.16,1,.3,1) both
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.96)
    }

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

/* ---------- RESPONSIVE ---------- */
@media(max-width:991px) {


    .product-tabs {
        border-radius: 18px;
        padding: 10px;
        gap: 8px
    }

    .product-tab {
        padding: 9px 14px;
        font-size: 11px
    }
}

@media(max-width:640px) {



    .product-content {
        padding: 14px
    }

        .product-content h3 {
            font-size: 14px
        }

    .product-composition {
        font-size: 11px;
        min-height: auto
    }
}
