*{margin:0;padding:0;box-sizing:border-box}

body{
    font-family:'Poppins',sans-serif;
    background:linear-gradient(135deg,#e6fff3 0%, #ccf5e1 50%, #eafff7 100%);
    color:#222;
    min-height:100vh;
}

.wrapper{
    max-width:500px;
    margin:0 auto;
    padding:20px;
}

.hero{
    text-align:center;
    padding:20px 0;
}

.hero h1{
    font-size:28px;
    line-height:1.2;
    margin-bottom:6px;
}

.hero p{
    margin:4px 0 8px;
    font-size:13px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}

.product-grid img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 6px 15px rgba(0,0,0,0.08);
    transition:transform 0.3s;
}

.product-grid img:hover{
    transform:scale(1.03);
}

.btn-wrap{text-align:center;margin:20px 0}

.mua-ngay-btn{
    display:inline-block;
    padding:16px 32px;
    font-size:16px;
    font-weight:bold;
    border-radius:999px;
    background:linear-gradient(45deg,#ff0000,#ff4d4d);
    color:#fff;
    text-decoration:none;
    animation:pulse-red 1.5s infinite;
    transition:transform 0.2s ease;
}
.mua-ngay-btn:hover{transform:scale(1.05)}
.mua-ngay-fixed{
    position:fixed;top:20px;left:50%;
    transform:translateX(-50%);z-index:9999;
}
.mua-ngay-fixed:hover{transform:translateX(-50%) scale(1.05)}

@keyframes pulse-red{
    0%{box-shadow:0 0 0 0 rgba(255,0,0,0.7)}
    70%{box-shadow:0 0 0 12px rgba(255,0,0,0)}
    100%{box-shadow:0 0 0 0 rgba(255,0,0,0)}
}

.form-box{
    max-width:420px;
    margin:50px auto;
    padding:30px;
    border-radius:20px;
    background:#ffffff;
    box-shadow:0 20px 60px rgba(0,150,80,0.25);
    border:2px solid #d0f5e4;
}

.badge{text-align:center;background:#e8fff0;padding:8px;border-radius:10px;margin-bottom:10px;font-size:14px}
.count-box{text-align:center;background:#fff4e5;padding:12px;border-radius:12px;margin:10px 0;font-weight:600;font-size:16px}
.stock-box{text-align:center;background:#ffecec;padding:12px;border-radius:12px;font-weight:700;color:#ff0000;margin-bottom:15px;animation:pulse 1.5s infinite}
@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}100%{transform:scale(1)}}

.section{padding:40px 0}
.section h2{text-align:center;margin-bottom:40px;font-size:28px}

.features{display:grid;grid-template-columns:1fr;gap:15px}
.card{padding:20px;border-radius:18px;background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;text-align:center;box-shadow:0 10px 25px rgba(0,0,0,0.15);transition:0.3s}
.card:hover{transform:translateY(-5px) scale(1.02)}

.stack-slider{position:relative;width:260px;height:300px;margin:30px auto}

@media(min-width:769px){
    .stack-slider{width:450px;height:500px}
}

.slide{position:absolute;width:100%;height:100%;object-fit:cover;border-radius:18px;transition:0.5s;opacity:0;transform:scale(0.8);z-index:1}
.slide.active{opacity:1;transform:scale(1);z-index:3}
.slide.left{opacity:0.6;transform:translateX(-40px) scale(0.85);z-index:2}
.slide.right{opacity:0.6;transform:translateX(40px) scale(0.85);z-index:2}

.iso{margin-top:20px;max-width:200px;display:block;margin-left:auto;margin-right:auto}

@media(min-width:769px){
    .iso{max-width:450px}
}

.fb-comment{max-width:500px;margin:auto}
.cmt{display:flex;gap:10px;margin-bottom:20px}
.cmt img{width:40px;height:40px;border-radius:50%}
.cmt-body{background:#f0f2f5;padding:10px 14px;border-radius:15px;width:100%}
.cmt-body .name{font-weight:600;font-size:14px}
.cmt-body .text{font-size:14px;margin:3px 0}
.cmt-body .meta{font-size:12px;color:#65676b}
.reply{display:flex;gap:8px;margin-top:10px;margin-left:40px}
.reply img{width:32px;height:32px}

.typing-box{display:flex;align-items:center;gap:10px;margin-top:20px;justify-content:center}
.typing-dots{background:#f0f2f5;padding:10px 14px;border-radius:20px;display:flex;gap:5px}
.typing-dots span{width:8px;height:8px;background:#999;border-radius:50%;animation:blink 1.4s infinite}
.typing-dots span:nth-child(2){animation-delay:0.2s}
.typing-dots span:nth-child(3){animation-delay:0.4s}
@keyframes blink{0%,80%,100%{opacity:0.2}40%{opacity:1}}

.footer{background:linear-gradient(135deg,#020617,#0f172a);color:#fff;padding:50px 20px 30px;font-size:14px}
.footer-container{max-width:500px;margin:auto;display:grid;grid-template-columns:1fr;gap:20px}
.footer-col h2{font-size:22px;margin-bottom:10px}
.footer-col h4{margin-bottom:10px;font-size:16px;color:#38bdf8}
.footer-col p{margin:6px 0;opacity:0.9}
.footer-col.highlight{background:rgba(255,255,255,0.05);padding:15px;border-radius:12px}
.footer-bottom{text-align:center;margin-top:30px;border-top:1px solid rgba(255,255,255,0.1);padding-top:15px;font-size:13px;opacity:0.8}
.footer-bottom .trust{margin-top:5px;color:#4ade80;font-weight:500}
.footer-bottom .dev{margin-top:8px;font-size:13px;opacity:0.8}
.footer-bottom .dev a{color:#38bdf8;text-decoration:none;font-weight:500}
.footer-bottom .dev a:hover{text-decoration:underline}

.scroll-top{position:fixed;right:20px;bottom:20px;background:#00c853;color:#fff;padding:10px 15px;border-radius:50%;cursor:pointer;display:none;z-index:999}

@media(max-width:768px){
    .wrapper{padding:15px}
}
