/*==================================================
    TIPA MART
    FEATURED PRODUCTS
    GROGIN HOME 1 STYLE
==================================================*/


/*==================================================
    PRODUCTS SECTION
==================================================*/

.featured-products{

    padding:10px 0 60px;

    background:#ffffff;

}


/*==================================================
    SECTION HEADER
==================================================*/

.featured-products__heading{

    display:flex;

    align-items:center;

    gap:20px;

    margin-bottom:28px;

}


/*==================================================
    TITLE
==================================================*/

.featured-products__title{

    flex:0 0 auto;

    margin:0;

    color:#082C6C;

    font-size:20px;

    font-weight:800;

    text-transform:uppercase;

    letter-spacing:1px;

    line-height:1.2;

    white-space:nowrap;

    order:1;

}


/*==================================================
    HEADER DESCRIPTION
==================================================*/

.featured-products__description{

    flex:0 0 auto;

    margin:0;

    color:#777777;

    font-size:14px;

    line-height:1.5;

    white-space:nowrap;

    order:2;

}


/*==================================================
    HEADER LINE
==================================================*/

.featured-products__heading::after{

    content:"";

    flex:1 1 auto;

    width:auto;

    min-width:40px;

    height:1px;

    margin:0;

    background:#E5E5E5;

    order:3;

}


/*==================================================
    VIEW ALL
==================================================*/

.featured-products__view-all{

    flex:0 0 auto;

    display:inline-flex;

    align-items:center;

    gap:7px;

    margin:0;

    color:#082C6C;

    font-size:13px;

    font-weight:700;

    text-decoration:none;

    white-space:nowrap;

    transition:

        color .2s ease,

        gap .2s ease;

    order:4;

}


.featured-products__view-all:hover{

    color:#F5B51D;

    gap:10px;

}


.featured-products__view-all i{

    font-size:12px;

}


/*==================================================
    PRODUCT GRID
==================================================*/

.featured-products__grid{

    display:grid;

    grid-template-columns:repeat(3, minmax(0, 1fr));

    gap:18px;

    width:100%;

}


/*==================================================
    FEATURED PRODUCT CARD
==================================================*/

.featured-product-card{

    display:flex;

    align-items:stretch;

    width:100%;

    min-width:0;

    min-height:190px;

    background:#ffffff;

    border:1px solid #E8E8E8;

    border-radius:8px;

    overflow:hidden;

    transition:

        transform .25s ease,

        box-shadow .25s ease;

}


.featured-product-card:hover{

    transform:translateY(-3px);

    box-shadow:0 8px 22px rgba(0,0,0,.08);

}


/*==================================================
    IMAGE
==================================================*/

.featured-product-card__image{

    position:relative;

    flex:0 0 180px;

    width:180px;

    height:190px;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:14px;

    background:#ffffff;

    overflow:hidden;

}


.featured-product-card__image img{

    width:100%;

    height:100%;

    object-fit:contain;

    display:block;

}


/*==================================================
    BADGE
==================================================*/

.featured-product-card__badge{

    position:absolute;

    top:14px;

    left:14px;

    z-index:10;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:52px;

    height:28px;

    padding:0 10px;

    border-radius:4px;

    font-size:11px;

    font-weight:700;

    line-height:1;

    letter-spacing:.4px;

    text-transform:uppercase;

}


.featured-product-card__badge--sale{

    background:#E53935;

    color:#FFFFFF;

}


.featured-product-card__badge--deal{

    background:#F5B51D;

    color:#082C6C;

}


/*==================================================
    CONTENT
==================================================*/

.featured-product-card__content{

    flex:1;

    min-width:0;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    justify-content:center;

    padding:18px;

    background:#ffffff;

}


/*==================================================
    CATEGORY
==================================================*/

.featured-product-card__category{

    margin-bottom:6px;

    color:#888888;

    font-size:11px;

    font-weight:500;

    text-transform:uppercase;

}


/*==================================================
    TITLE
==================================================*/

.featured-product-card__title{

    margin:0 0 9px;

    color:#222222;

    font-size:16px;

    font-weight:600;

    line-height:1.35;

    text-decoration:none;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

}


.featured-product-card__title:hover{

    color:#082C6C;

}


/*==================================================
    RATING
==================================================*/

.featured-product-card__rating{

    display:flex;

    gap:2px;

    margin-bottom:9px;

    color:#FDBA12;

    font-size:11px;

}


/*==================================================
    PRICE
==================================================*/

.featured-product-card__price{

    display:flex;

    align-items:center;

    gap:8px;

    margin-bottom:12px;

}


.featured-product-card__new-price{

    color:#082C6C;

    font-size:18px;

    font-weight:700;

}


.featured-product-card__old-price{

    color:#999999;

    font-size:12px;

    text-decoration:line-through;

}


/*==================================================
    BUTTON
==================================================*/

.featured-product-card__button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:6px;

    min-width:110px;

    height:34px;

    padding:0 12px;

    border:none;

    border-radius:5px;

    background:#082C6C;

    color:#ffffff;

    font-size:11px;

    font-weight:600;

    cursor:pointer;

    transition:

        background-color .2s ease,

        transform .2s ease;

}


.featured-product-card__button:hover{

    background:#061F4D;

    transform:translateY(-1px);

}


.featured-product-card__button:active{

    transform:translateY(0);

}


/*==================================================
    LARGE TABLET
==================================================*/

@media (max-width:1100px){

    .featured-products__grid{

        grid-template-columns:repeat(2, minmax(0, 1fr));

    }


    .featured-product-card__image{

        flex-basis:150px;

        width:150px;

    }

}


/*==================================================
    TABLET
==================================================*/

@media (max-width:992px){

    .featured-products{

        padding-bottom:50px;

    }


    .featured-products__heading{

        gap:15px;

    }

}


/*==================================================
    MOBILE
==================================================*/

@media (max-width:768px){

    .featured-products{

        padding:5px 0 40px;

    }


    .featured-products__heading{

        flex-wrap:wrap;

        gap:12px;

        margin-bottom:20px;

    }


    .featured-products__title{

        font-size:17px;

    }


    .featured-products__description{

        width:auto;

        flex:1;

        font-size:13px;

    }


    .featured-products__heading::after{

        display:none;

    }


    .featured-products__view-all{

        font-size:12px;

    }


    .featured-products__grid{

        grid-template-columns:1fr;

        gap:12px;

    }

}


/*==================================================
    SMALL MOBILE
==================================================*/

@media (max-width:576px){

    .featured-products{

        padding-bottom:35px;

    }


    .featured-products__heading{

        gap:10px;

        margin-bottom:18px;

    }


    .featured-products__title{

        font-size:15px;

    }


    .featured-products__description{

        width:100%;

        flex:0 0 100%;

        order:3;

        font-size:12px;

    }


    .featured-products__view-all{

        font-size:11px;

    }


    .featured-products__view-all i{

        font-size:10px;

    }


    .featured-product-card{

        min-height:160px;

    }


    .featured-product-card__image{

        flex-basis:135px;

        width:135px;

        height:160px;

        padding:12px;

    }


    .featured-product-card__badge{

        top:8px;

        left:8px;

        min-width:46px;

        height:25px;

        padding:0 8px;

        font-size:10px;

    }


    .featured-product-card__content{

        padding:14px;

    }


    .featured-product-card__title{

        font-size:14px;

    }


    .featured-product-card__new-price{

        font-size:16px;

    }

}


/*==================================================
    VERY SMALL MOBILE
==================================================*/

@media (max-width:400px){

    .featured-products__grid{

        gap:8px;

    }

}