:root {
    --primary-color: rgb(0, 0, 71);
    --text-color: black;
    --navbar-height: 70px;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.heading{
    font-size:40px;
    color:#060022;
    margin-bottom:10px;
    margin: 25px 0;
}

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

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: .3s;
}

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

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #222;
}

.product-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 18px;
    color: #000713;
    font-weight: bold;
}

.btn {
    background: #001636;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    transition: .3s;
}

.btn:hover {
    background: #084dbf;
}

/* =========================
   MOBILE PRODUCT CARDS
   ========================= */

@media (max-width: 576px) {

    .top-products,
    .popular-products {
        padding: 35px 12px;
        background: #f7f9fc;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 26px;
        margin-bottom: 5px;
    }

    /* 2 PRODUCTS IN ONE ROW */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        width: 100%;
    }

    /* PRODUCT CARD */
    .product-card {
        width: 100%;
        min-width: 0;
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #e5e5e5;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    /* PRODUCT IMAGE */
    .product-card img {
        display: block;
        width: 100%;
        height: 150px;
        object-fit: contain;
        padding: 8px;
        background: #fff;
    }

    /* PRODUCT CONTENT */
    .product-content {
        padding: 10px;
    }

    .product-content h3 {
        margin: 0 0 10px;
        font-size: 15px;
        line-height: 1.3;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* PRICE + BUTTON */
    .product-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5px;
    }

    .price {
        font-size: 15px;
        font-weight: bold;
        white-space: nowrap;
    }

    .btn {
        padding: 8px 9px;
        font-size: 11px;
        border-radius: 5px;

        white-space: nowrap;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* VIEW MORE */
    .view-more {
        margin-top: 30px;
    }

    .view-more a {
        font-size: 17px;
    }

    .product-short-description {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 10px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
}

.product-short-description {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}