/*
Theme Name: DivineFit Child
Template: astra
Version: 1.0
*/

body{
    margin:0;
    font-family:Arial;
    background:#f5f5f5;
}

/* TOP BAR */

.top-bar{
    background:#27612b;
    color:white;
    text-align:center;
    padding:10px;
    font-size:18px;
    font-weight:600;
}

/* HEADER */

.site-header{
    background:white;
    padding:20px 40px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.header-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo img{
    height:70px;
}

.main-menu ul{
    display:flex;
    gap:35px;
    list-style:none;
    margin:0;
    padding:0;
}

.main-menu a{
    text-decoration:none;
    color:#111;
    font-size:18px;
    font-weight:600;
}

.header-icons{
    display:flex;
    gap:20px;
    font-size:26px;
}

/* HERO */

.hero-section{
    height:500px;
    background:linear-gradient(to right,#edf7ed,#ffffff);
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hero-content h1{
    font-size:52px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:22px;
    margin-bottom:30px;
}

.shop-btn{
    display:inline-block;
    padding:14px 35px;
    background:#27612b;
    color:white;
    text-decoration:none;
    border-radius:8px;
    font-size:18px;
    font-weight:bold;
}

/* CATEGORY */

.category-section{
    padding:80px 40px;
}

.category-section h2{
    text-align:center;
    margin-bottom:50px;
    font-size:42px;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.category-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    text-decoration:none;
    color:#111;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:0.3s;
}

.category-card:hover{
    transform:translateY(-5px);
}

.category-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.category-card h3{
    padding:20px;
    text-align:center;
}

/* FOOTER */

.site-footer{
    background:#111;
    color:white;
    padding-top:60px;
}

.footer-container{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    padding:0 40px 50px;
}

.footer-logo{
    height:70px;
    margin-bottom:20px;
}

.footer-box h3{
    margin-bottom:20px;
}

.footer-box ul{
    list-style:none;
    padding:0;
}

.footer-box li{
    margin-bottom:12px;
}

.footer-box a{
    color:white;
    text-decoration:none;
}

.copyright{
    border-top:1px solid rgba(255,255,255,0.1);
    text-align:center;
    padding:20px;
    font-size:14px;
}

/* PRODUCTS SECTION */

.products-section{
    padding:80px 40px;
    background:#f7faf4;
}

.section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.section-head h2{
    font-size:38px;
    margin:0;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.product-card{
    background:white;
    border-radius:24px;
    overflow:hidden;
    position:relative;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    transition:0.3s;
}

.product-card:hover{
    transform:translateY(-6px);
}

.save-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#d9f3c9;
    color:#1f7a1f;
    padding:7px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    z-index:2;
}

.product-image{
    position:relative;
    overflow:hidden;
}

.product-image img{
    width:100%;
    display:block;
}

.hover-cart{
    position:absolute;
    left:20px;
    right:20px;
    bottom:20px;
    opacity:0;
    transition:0.3s;
}

.product-card:hover .hover-cart{
    opacity:1;
}

.hover-cart a{
    display:block;
    background:#f26b1d;
    color:white;
    text-align:center;
    padding:14px;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
}

.product-info{
    padding:20px;
    text-align:center;
}

.product-info h3{
    font-size:18px;
    margin-bottom:10px;
    color:#1f3d2b;
}

.price{
    font-size:22px;
    font-weight:700;
    color:#1f7a32;
}

.price del{
    color:#999;
    font-size:15px;
}

/* MOBILE */

@media(max-width:992px){

.products-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.products-grid{
    grid-template-columns:1fr;
}

.hero-content h1{
    font-size:34px;
}

.section-head h2{
    font-size:28px;
}

}

/* CATEGORY SECTION */

.category-section{
    padding:80px 40px;
    background:#ffffff;
}

.category-section h2{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
    color:#1f3d2b;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:30px;
}

.category-card{
    text-align:center;
    text-decoration:none;
    color:#111;
}

.category-card img{
    width:160px;
    height:160px;
    border-radius:50%;
    object-fit:cover;
    margin:auto;
    display:block;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.category-card h3{
    margin-top:16px;
    font-size:18px;
    font-weight:600;
}

/* PRODUCTS */

.products-section{
    padding:80px 40px;
    background:#f7faf4;
}

.section-head{
    margin-bottom:40px;
}

.section-head h2{
    font-size:40px;
    color:#1f3d2b;
    text-align:center;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.product-card{
    background:white;
    border-radius:24px;
    overflow:hidden;
    position:relative;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    transition:0.3s;
}

.product-card:hover{
    transform:translateY(-6px);
}

.save-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#d9f3c9;
    color:#1f7a1f;
    padding:7px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    z-index:2;
}

.product-image{
    position:relative;
}

.product-image img{
    width:100%;
    display:block;
}

.hover-cart{
    position:absolute;
    left:20px;
    right:20px;
    bottom:20px;
    opacity:0;
    transition:0.3s;
}

.product-card:hover .hover-cart{
    opacity:1;
}

.hover-cart a{
    display:block;
    background:#f26b1d;
    color:white;
    text-align:center;
    padding:14px;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
}

.product-info{
    padding:20px;
    text-align:center;
}

.product-info h3{
    font-size:18px;
    margin-bottom:10px;
    color:#1f3d2b;
}

.price{
    font-size:22px;
    font-weight:700;
    color:#1f7a32;
}

.price del{
    color:#999;
    font-size:15px;
}

/* TRUST BAR */

.trust-bar{
    background:#27612b;
    overflow:hidden;
    padding:18px 0;
}

.trust-track{
    display:flex;
    width:max-content;
    animation:scroll 20s linear infinite;
}

.trust-track span{
    color:white;
    font-size:16px;
    font-weight:600;
    padding:0 40px;
    white-space:nowrap;
}

@keyframes scroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* BLOG */

.blog-section{
    padding:80px 40px;
    background:#ffffff;
}

.blog-section h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.blog-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.blog-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.blog-content{
    padding:20px;
}

.blog-content h3{
    font-size:20px;
    margin-bottom:12px;
    color:#1f3d2b;
}

.blog-content p{
    color:#555;
    line-height:1.6;
}

/* MOBILE */

@media(max-width:1024px){

.category-grid{
    grid-template-columns:repeat(3,1fr);
}

.products-grid{
    grid-template-columns:repeat(2,1fr);
}

.blog-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.category-grid{
    grid-template-columns:repeat(2,1fr);
}

.products-grid{
    grid-template-columns:1fr;
}

.blog-grid{
    grid-template-columns:1fr;
}

.hero-content h1{
    font-size:34px;
}

.category-section h2,
.section-head h2,
.blog-section h2{
    font-size:30px;
}

}

/* =========================
CATEGORY SECTION
========================= */

.home-categories {
    padding: 80px 5%;
    background: #f7faf6;
}

.section-title {
    text-align: center;
    font-size: 52px;
    font-weight: 700;
    color: #173d2a;
    margin-bottom: 60px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
}

.category-card {
    background: #fff;
    border-radius: 28px;
    padding: 35px 20px;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-8px);
}

.category-card img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 25px;
    background: #f5f5f5;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}

/* =========================
MOBILE
========================= */

@media(max-width:768px){

    .section-title{
        font-size:38px;
    }

    .category-card img{
        width:120px;
        height:120px;
    }

}

.category-card{
    text-align:center;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    background:none !important;
    box-shadow:none !important;
    padding:0;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(8,1fr);
    gap:20px;
    align-items:start;
}

.category-circle{
    width:120px;
    height:120px;
    border-radius:50%;
    overflow:hidden;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
}

.category-circle img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}

.category-card h3{
    font-size:16px;
    font-weight:500;
    color:#111;
    line-height:1.4;
}

/* =========================
WHY SECTION
========================= */

.why-section{
    padding:90px 5%;
    background:#ffffff;
}

.why-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    flex-wrap:wrap;
}

.why-image{
    flex:1;
}

.why-image img{
    width:100%;
    border-radius:30px;
}

.why-content{
    flex:1;
}

.why-content h2{
    font-size:48px;
    margin-bottom:25px;
    color:#173d2a;
}

.why-content p{
    font-size:20px;
    line-height:1.8;
    color:#555;
    margin-bottom:35px;
}

.why-points{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.why-box{
    background:#f5faf6;
    padding:20px;
    border-radius:18px;
    font-weight:700;
    text-align:center;
}

/* =========================
TESTIMONIALS
========================= */

.testimonial-section{
    padding:90px 5%;
    background:#f7faf6;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    margin-top:50px;
}

.testimonial-card{
    background:#fff;
    padding:35px;
    border-radius:24px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-card p{
    font-size:18px;
    line-height:1.8;
    color:#444;
    margin-bottom:25px;
}

.testimonial-card h4{
    color:#173d2a;
    font-size:18px;
}

/* =========================
COMPARISON SECTION
========================= */

.comparison-section{
    padding:80px 5%;
    background:#fff;
}

.comparison-container img{
    width:100%;
    border-radius:30px;
    display:block;
}

/* =========================
FEATURED PRODUCT
========================= */

.featured-product{
    padding:100px 5%;
    background:#f7faf6;
}

.featured-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    flex-wrap:wrap;
}

.featured-image{
    flex:1;
    text-align:center;
}

.featured-image img{
    max-width:420px;
    width:100%;
}

.featured-content{
    flex:1;
}

.featured-tag{
    background:#173d2a;
    color:#fff;
    padding:10px 18px;
    border-radius:50px;
    font-size:14px;
    display:inline-block;
    margin-bottom:20px;
}

.featured-content h2{
    font-size:54px;
    color:#173d2a;
    margin-bottom:25px;
}

.featured-content p{
    font-size:20px;
    line-height:1.8;
    color:#555;
    margin-bottom:30px;
}

.featured-content ul{
    margin-bottom:35px;
    padding-left:20px;
}

.featured-content ul li{
    margin-bottom:14px;
    font-size:18px;
    color:#333;
}

.featured-btn{
    display:inline-block;
    background:#173d2a;
    color:#fff;
    padding:18px 38px;
    border-radius:50px;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    transition:0.3s;
}

.featured-btn:hover{
    background:#215437;
}

/* =========================
QUALITY SECTION
========================= */

.quality-section{
    padding:100px 5%;
    background:#fff;
}

.quality-top{
    text-align:center;
    max-width:1100px;
    margin:auto;
}

.quality-top h2{
    font-size:34px;
    color:#222;
    margin-bottom:25px;
    font-weight:700;
}

.quality-top p{
    font-size:15px;
    line-height:1.9;
    color:#444;
}

.quality-grid{
    margin-top:90px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.quality-box{
    text-align:center;
    padding:20px;
    border-right:1px solid #e5e5e5;
}

.quality-box:last-child{
    border-right:none;
}

.quality-icon{
    width:100px;
    height:100px;
    border-radius:50%;
    margin:auto auto 25px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
}

.green{
    background:#dff0d8;
}

.cream{
    background:#f8ece5;
}

.blue{
    background:#dff5f2;
}

.pink{
    background:#f7e5f8;
}

.yellow{
    background:#f7f0d0;
}

.purple{
    background:#e5ebff;
}

.quality-box h3{
    font-size:20px;
    line-height:1.5;
    color:#111;
}

/* ================= MOBILE CATEGORY FIX ================= */

@media(max-width:768px){

    .category-section{
        padding:40px 15px;
    }

    .category-section h2{
        font-size:42px !important;
        margin-bottom:30px;
        line-height:1.1;
    }

    .category-grid{
        display:grid !important;
        grid-template-columns:repeat(3,1fr);
        gap:20px;
        overflow:visible !important;
        justify-content:center;
    }

    .category-card{
        min-width:auto !important;
        width:100%;
    }

    .category-circle{
        width:80px !important;
        height:80px !important;
        margin:auto;
    }

    .category-circle img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .category-card h3{
        font-size:11px !important;
        line-height:1.3;
        margin-top:10px;
    }

}


.powerblast-banner{
    padding:40px 20px;
    background:#eef3ee;
}

.powerblast-banner img{
    width:100%;
    border-radius:24px;
    display:block;
    transition:0.3s;
}

.powerblast-banner img:hover{
    transform:scale(1.01);
}

@media(max-width:768px){

    .powerblast-banner{
        padding:20px 12px;
    }

    .powerblast-banner img{
        border-radius:18px;
    }

}
