body{
    font-family: Arial;
    background:#f5f5f5;
    margin:0;
    padding:20px;
}

.container{
    display:flex;
    gap:30px;
}

.left{
    width:60%;
}

.right{
    width:40%;
    background:white;
    padding:20px;
    border-radius:10px;
}

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

.product-card{
    background:white;
    padding:20px;
    border-radius:10px;
    text-align:center;
}

.price{
    color:red;
    font-size:22px;
    margin:15px 0;
}

.buy-btn{
    background:#0d6efd;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:5px;
    cursor:pointer;
}

.buy-btn.selected{
    background:green;
}

.cart-item{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    border-bottom:1px solid #ddd;
    padding-bottom:10px;
}

.total-box{
    margin-top:20px;
    font-size:24px;
    color:red;
}

#checkout-btn{
    margin-top:20px;
    width:100%;
    padding:15px;
    background:green;
    color:white;
    border:none;
    border-radius:5px;
    cursor:pointer;
}

.popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
}

.popup-content{
    background:white;
    width:400px;
    margin:100px auto;
    padding:20px;
    border-radius:10px;
}

.popup-content input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
}
/* ===== Layout chung ===== */

.container{
    max-width:1200px;
    margin:0 auto;
    padding:20px;
}

main.container{
    display:block;
}

/* =========================
   HEADER
========================= */

.header{
    background:#1f4e79;
    color:#fff;
    padding:16px 40px;

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

.logo a{
    color:white;
    text-decoration:none;
    font-size:28px;
    font-weight:bold;
}

.menu{
    display:flex;
    gap:25px;
}

.menu a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.menu a:hover{
    color:#ffd54f;
}
/*   HERO  */

.hero{

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:50px;

    padding:50px 0;

}

.hero .hero-greeting{
    color:#00a8ff;
    font-size:22px;
    font-style:italic;
    font-weight:600;
    margin-bottom:18px;
}


.hero-left{
    flex:1;
}

.hero-right{
    flex:1;
    text-align:center;
}

.hero-right img{
    max-width:90%;
    height:auto;
}

.hero-author{

    margin-top:25px;

}

.hero-author-image{

    width:350px;
    max-width:85%;

    border-radius:18px;

    box-shadow:0 12px 30px rgba(0,0,0,.15);

    border:6px solid white;

}

.hero-author h3{

    margin-top:18px;
    margin-bottom:8px;

    font-size:34px;
    color:#1f4e79;

}

.author-role{

    font-size:18px !important;

    color:#777 !important;

    font-weight:bold;

}

.author-commit{

    margin-top:18px;

    font-size:20px !important;

    color:#6a1b9a !important;

    line-height:1.8;

    font-style:italic;

    font-weight:600;

}


.hero h1{
    font-size:54px;
    color:#1f4e79;
    margin-bottom:20px;
}

.hero h2{
    font-size:36px;
    color:#333;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    color:#555;
    line-height:1.7;
}

.hero-buttons{
    margin-top:35px;
}

.btn-primary,
.btn-secondary{
    display:inline-block;
    padding:14px 28px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    margin-right:15px;
}

.btn-primary{
    background:#1f4e79;
    color:white;
}

.btn-primary:hover{
    background:#163a5b;
}

.btn-secondary{
    background:#28a745;
    color:white;
}

.btn-secondary:hover{
    background:#208638;
}
/* ===== TRUST BAR ===== */

.trust-bar{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

    margin:60px 0;

}

.trust-item{

    background:#fff;

    border-radius:16px;

    padding:28px;

    text-align:center;

    border:1px solid #ececec;

    box-shadow:0 6px 20px rgba(0,0,0,.06);

    transition:.25s;

}

.trust-item:hover{

    transform:translateY(-6px);

}

.trust-icon{

    font-size:42px;

    margin-bottom:16px;

}

.trust-item h3{

    color:#1f4e79;

    margin-bottom:12px;

}

.trust-item p{

    color:#666;

    line-height:1.7;
}
/*   CONTACT PAGE */

.contact-container{
    margin:30px auto;
    max-width:900px;
    padding:0 20px;
}

.contact-title{
    font-size:34px;
    font-weight:bold;
    margin-bottom:10px;
}

.contact-intro{
    color:#555;
    line-height:1.8;
    margin-bottom:35px;
}

.contact-label{
    display:block;
    font-weight:bold;
    margin-top:18px;
    margin-bottom:8px;
}

.contact-input{
    width:360px;
    padding:10px;
    font-size:15px;
    box-sizing:border-box;
}

.contact-phone{
    width:220px;
}

.contact-textarea{
    width:100%;
    height:320px;
    padding:15px;
    font-size:15px;
    line-height:1.7;
    box-sizing:border-box;
    resize:vertical;
}

.contact-button{
    margin-top:20px;
    padding:12px 30px;
    font-size:16px;
    cursor:pointer;
}

.contact-result{
    margin-top:20px;
    font-weight:bold;
}

.contact-note{
    margin-top:35px;
    color:#666;
    font-size:14px;
    line-height:1.7;
}
/*  ARTICLE ENGINE  */

.article-intro{

    background:#f8fbff;

    border-left:5px solid #1f4e79;

    padding:20px;

    margin:20px 0 30px 0;

    border-radius:6px;

}

.article-intro p{

    line-height:1.8;

    margin:10px 0;

}

.article-card{

    padding:20px 0;

}

.article-card h2{

    margin-bottom:8px;

}

.article-card a{

    color:#1f4e79;

    text-decoration:none;

}

.article-card a:hover{

    text-decoration:underline;

}

.article-meta{

    color:#666;

    font-size:14px;

}
.article-empty{

    text-align:center;

    padding:40px 20px;

    color:#666;

    background:#fafafa;

    border:1px dashed #d9d9d9;

    border-radius:8px;

    margin:30px 0;

}
