/* ================= GLOBAL ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
    line-height:1.7;
    overflow-x:hidden;
    background:#f5fcff;
}

/* =========================
HEADER lic product
========================= */

.products-header{

    width:100%;

    background:#340e71;

    padding:80px 20px;

    text-align:center;

    color:#fff;
}

.products-header h1{

    font-size:60px;

    margin-bottom:20px;
}

.products-header p{

    max-width:900px;

    margin:auto;

    font-size:17px;

    line-height:1.9;

    color:rgba(255,255,255,0.92);
}

/* =========================
LAYOUT
========================= */

.products-layout{

    display:flex;
}

/* =========================
SIDEBAR
========================= */

.sidebar{

    width:320px;

    min-height:100vh;

    background:#fff;

    position:sticky;

    top:0;

    padding:40px 25px;

    border-right:1px solid #eee;

    overflow-y:auto;
}

.sidebar h3{

    font-size:28px;

    color:#0f7b46;

    margin-bottom:35px;
}

/* CATEGORY BUTTON */

.category-btn{

    width:100%;

    padding:16px 20px;

    margin-bottom:15px;

    border:none;

    border-radius:16px;

    background:#f4fff7;

    color:#333;

    font-size:15px;
    font-weight:600;

    cursor:pointer;

    text-align:left;

    transition:0.4s;
}

.category-btn:hover,
.category-btn.active{

    background:#ea3c01;

    color:#fff;

    transform:translateX(5px);
}

/* =========================
CONTENT
========================= */

.products-content{

    flex:1;

    padding:50px 40px;
}

/* CATEGORY */

.category-section{

    display:none;
}

.category-section.active{

    display:block;
}

/* TITLE */

.category-title{

    font-size:42px;

    color:#ea3c01;

    margin-bottom:35px;

    position:relative;

    padding-left:20px;
}

.category-title::before{

    content:'';

    width:6px;
    height:48px;

    background:#ff7a00;

    position:absolute;

    left:0;
    top:8px;

    border-radius:10px;
}

/* =========================
PLAN TABS
========================= */

.plan-tabs{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-bottom:35px;
}

/* PLAN BUTTON */

.plan-btn-tab{

    padding:14px 22px;

    border:none;

    border-radius:50px;

    background:#fff;

    color:#333;

    font-size:14px;
    font-weight:600;

    cursor:pointer;

    box-shadow:0 10px 25px rgba(0,0,0,0.06);

    transition:0.4s;
}

.plan-btn-tab:hover,
.plan-btn-tab.active{

    background:#ea3c01;

    color:#fff;

    transform:translateY(-4px);
}

/* =========================
PLAN DETAILS
========================= */

.plan-details{

    display:none;
}

.plan-details.active{

    display:block;
}

/* CARD */

.plan-card{

    background:#fff;

    border-radius:30px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,0.07);

    border-top:6px solid #ea3c01;

    display:grid;

    grid-template-columns:340px 1fr;
}

/* IMAGE */

.plan-image img{

    width:100%;
    height:100%;

    object-fit:cover;
}

/* CONTENT */

.plan-content{

    padding:35px;
}

/* TITLE */

.plan-content h3{

    font-size:34px;

    color:#340e71;

    margin-bottom:20px;
}

/* TEXT */

.plan-content p{

    font-size:15px;

    line-height:1.9;

    color:#555;

    margin-bottom:30px;
}

/* GRID */

.plan-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:25px;
}

/* BOX */

.plan-box{

    background:#f8fff9;

    padding:25px;

    border-radius:20px;

    border-left:5px solid #ea3c01;
}

.plan-box h4{

    font-size:20px;

    color:#ea3c01;

    margin-bottom:15px;
}

.plan-box ul{

    padding-left:18px;
}

.plan-box ul li{

    margin-bottom:10px;

    font-size:14px;

    color:#555;

    line-height:1.7;
}

/* BUTTON */

.know-btn{

    display:inline-block;

    margin-top:30px;

    padding:15px 34px;

    background:linear-gradient(135deg,#ea3c01,#ff9d2f);

    color:#fff;

    text-decoration:none;

    border-radius:50px;

    font-size:15px;
    font-weight:600;

    transition:0.4s;
}

.know-btn:hover{

    background:linear-gradient(135deg,#ea3c01,#17a35a);

    transform:translateY(-4px);
}

/* =========================
TABLET
========================= */

@media(max-width:1100px){

    .products-layout{

        flex-direction:column;
    }

    .sidebar{

        width:100%;

        min-height:auto;

        position:relative;

        border-right:none;

        border-bottom:1px solid #eee;
    }

}

/* =========================
MOBILE
========================= */

@media(max-width:768px){

    .products-header{

        padding:60px 20px;
    }

    .products-header h1{

        font-size:38px;
    }

    .products-header p{

        font-size:15px;
    }

    .products-content{

        padding:30px 15px;
    }

    .category-title{

        font-size:30px;
    }

    .plan-card{

        grid-template-columns:1fr;
    }

    .plan-image img{

        height:250px;
    }

    .plan-content{

        padding:25px 20px;
    }

    .plan-content h3{

        font-size:26px;
    }

    .plan-grid{

        grid-template-columns:1fr;
    }

    .plan-tabs{

        flex-direction:column;
    }

    .plan-btn-tab{

        width:100%;
        text-align:center;
    }

}