/* =========================================
GLOBAL CSS
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#f5f5f5;
}

/* =========================================
HOME SLIDER
========================================= */

.home-slider{
    width:95%;
    margin:30px auto;
}

.slide-box{
    position:relative;
    overflow:hidden;
    border-radius:30px;
    display:none;
}

.slide-box img{
    width:100%;
    height:520px;
    object-fit:cover;
    display:block;
}

.slide-content{
    position:absolute;
    top:50%;
    left:70px;
    transform:translateY(-50%);
    color:#fff;
    max-width:550px;
}

.slide-content h2{
    font-size:58px;
    line-height:72px;
    font-weight:900;
    margin-bottom:18px;
}

.slide-content p{
    font-size:18px;
    line-height:32px;
    margin-bottom:28px;
}

.shop-btn{
    background:#169c8f;
    color:#fff;
    text-decoration:none;
    padding:16px 35px;
    border-radius:14px;
    display:inline-block;
    font-size:18px;
    font-weight:700;
}

/* =========================================
FEATURE SECTION
========================================= */

.feature-section{
    width:95%;
    margin:70px auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.feature-box{
    background:#fff;
    border-radius:25px;
    padding:35px 25px;
    text-align:center;
    border:1px solid #eee;
    transition:0.3s;
}

.feature-box:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

.feature-icon{
    width:75px;
    height:75px;
    background:#f8efc8;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto auto 20px;
}

.feature-icon i{
    font-size:30px;
    color:#222;
}

.feature-box h3{
    font-size:25px;
    margin-bottom:12px;
    color:#111827;
}

.feature-box p{
    color:#666;
    line-height:30px;
    font-size:16px;
}

/* =========================================
BEST SELLING SECTION
========================================= */

.best-selling-section{
    width:95%;
    margin:90px auto;
    background:linear-gradient(135deg,#9ae06f,#8dd65a);
    border-radius:50px;
    padding:190px 30px 70px;
    position:relative;
    overflow:hidden;
}

/* TITLE BOX */

.best-selling-title{
    width:420px;
    background:#fff;
    padding:25px 30px;
    border-radius:0 0 70px 70px;
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    z-index:20;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

.best-selling-title h2{
    font-size:42px;
    line-height:55px;
    color:#071633;
    font-weight:900;
    margin-bottom:8px;
}

.best-selling-title p{
    font-size:15px;
    color:#666;
}

.best-selling-title::after{
    content:"";
    position:absolute;
    right:-80px;
    top:0;
    width:80px;
    height:80px;
    background:transparent;
    border-top-left-radius:80px;
    box-shadow:-40px -40px 0 #fff;
}

.best-selling-title h2{
    font-size:68px;
    line-height:78px;
    color:#071633;
    font-weight:900;
    margin-bottom:10px;
}

.best-selling-title p{
    font-size:18px;
    color:#666;
}

/* PRODUCT GRID */

.best-selling-products{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:28px;
}

/* PRODUCT CARD */

.best-card{
    background:#fff;
    border-radius:30px;
    padding:18px;
    position:relative;
    overflow:hidden;
    transition:0.35s;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.best-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,0.15);
}

/* DISCOUNT */

.discount-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#ff5b5b;
    color:#fff;
    padding:8px 15px;
    border-radius:40px;
    font-size:12px;
    font-weight:700;
    z-index:5;
}

/* PRODUCT IMAGE */

.best-card img{
    width:100%;
    height:200px;
    object-fit:contain;
    background:#f7f7f7;
    border-radius:20px;
    padding:12px;
    margin-bottom:18px;
    display:block;
}

/* PRODUCT NAME */

.best-card h5{
    font-size:17px;
    line-height:30px;
    font-weight:700;
    color:#111827;
    margin-bottom:15px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

    min-height:60px;
}

/* PRICE */

.best-price{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
    flex-wrap:wrap;
}

.new-price{
    font-size:24px;
    color:#0f766e;
    font-weight:800;
}

.old-price{
    font-size:17px;
    color:#999;
    text-decoration:line-through;
}

/* BUTTON */

.best-cart-btn{
    width:100%;
    border:none;
    background:#169c8f;
    color:#fff;
    padding:15px;
    border-radius:15px;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
}

.best-cart-btn:hover{
    background:#0f766e;
}

/* VIEW ALL */

.best-view-all{
    text-align:center;
    margin-top:45px;
}

.best-view-btn{
    background:#071633;
    color:#fff;
    border:none;
    padding:17px 40px;
    border-radius:16px;
    font-size:19px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
}

.best-view-btn:hover{
    background:#000;
    transform:translateY(-3px);
}

/* =========================================
LATEST PRODUCTS
========================================= */

.home-heading{
    width:95%;
    margin:70px auto 25px;
}

.home-heading h1{
    font-size:45px;
    color:#111827;
}

.products{
    width:95%;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:25px;
}

.card{
    background:#fff;
    border-radius:25px;
    padding:18px;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.1);
}

.card img{
    width:100%;
    height:220px;
    object-fit:contain;
    margin-bottom:15px;
}

.card h3{
    font-size:18px;
    line-height:30px;
    margin-bottom:12px;
}

.price{
    font-size:24px;
    color:#0f766e;
    font-weight:700;
    margin-bottom:15px;
}

.product-btns{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.view-btn,
.cart-btn-home{
    width:100%;
    border:none;
    padding:14px;
    border-radius:14px;
    cursor:pointer;
    font-weight:700;
    font-size:16px;
}

.view-btn{
    background:#111827;
    color:#fff;
}

.cart-btn-home{
    background:#169c8f;
    color:#fff;
}

.all-product-btn-area{
    text-align:center;
    margin:45px 0 80px;
}

.all-product-btn{
    background:#111827;
    color:#fff;
    border:none;
    padding:16px 38px;
    border-radius:15px;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:1200px){

.best-selling-products,
.products{
    grid-template-columns:repeat(3,1fr);
}

}

/* TABLET */

@media(max-width:768px){

.slide-box img{
    height:300px;
}

.slide-content{
    left:20px;
    max-width:90%;
}

.slide-content h2{
    font-size:34px;
    line-height:46px;
}

.slide-content p{
    font-size:14px;
    line-height:24px;
}

.feature-section{
    grid-template-columns:repeat(2,1fr);
}

.best-selling-products,
.products{
    grid-template-columns:repeat(2,1fr);
}

.best-selling-title{
    width:92%;
    padding:25px;
}

.best-selling-title h2{
    font-size:40px;
    line-height:52px;
}

.best-selling-title::before,
.best-selling-title::after{
    display:none;
}

}

/* MOBILE */

@media(max-width:500px){

.feature-section,
.best-selling-products,
.products{
    grid-template-columns:1fr;
}

.best-selling-section{
    padding:150px 15px 40px;
}

.best-selling-title h2{
    font-size:30px;
    line-height:42px;
}

.best-card img,
.card img{
    height:200px;
}

}
/* =========================
SHOP CATEGORY SECTION
========================= */

.shop-category-section{
    width:95%;
    margin:70px auto;
    background:#fff;
    padding:40px;
    border-radius:35px;
}

.shop-category-heading{
    margin-bottom:35px;
}

.shop-category-heading h2{
    font-size:52px;
    color:#071633;
    font-weight:800;
    margin-bottom:10px;
}

.shop-category-heading p{
    color:#666;
    font-size:18px;
}

.shop-category-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:25px;
}

.shop-category-card{
    text-decoration:none;
    text-align:center;
    transition:0.3s;
}

.shop-category-card:hover{
    transform:translateY(-8px);
}

.shop-category-img{
    width:100%;
    height:180px;
    border:1px solid #e5e7eb;
    border-radius:25px;
    background:#fafafa;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    overflow:hidden;
}

.shop-category-img img{
    width:120px;
    height:120px;
    object-fit:contain;
    transition:0.3s;
}

.shop-category-card:hover img{
    transform:scale(1.08);
}

.shop-category-card h4{
    font-size:22px;
    color:#1f2937;
    font-weight:700;
    line-height:34px;
}

/* TABLET */

@media(max-width:992px){

.shop-category-grid{
    grid-template-columns:repeat(3,1fr);
}

.shop-category-heading h2{
    font-size:40px;
}

}

/* MOBILE */

@media(max-width:600px){

.shop-category-section{
    padding:20px;
}

.shop-category-grid{
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.shop-category-img{
    height:130px;
}

.shop-category-img img{
    width:80px;
    height:80px;
}

.shop-category-heading h2{
    font-size:28px;
}

.shop-category-card h4{
    font-size:16px;
    line-height:24px;
}

}