*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial;
}

body{
    background:#f3f7f2;
}

/* HEADER */

header{
    background:#1f5f3b;
    color:white;
    text-align:center;
    padding:20px;
}

/* NAV */

nav{
    background:#2e8b57;
    padding:15px;

    display:flex;
    justify-content:center;
    gap:20px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

/* BANNER */

.banner{
    width: 90%;
    height:320px;
    margin: 30px  auto;
    background-image:url('image/giay1.jpg');
    background-size:cover;
    background-position:center;
}

/* CONTAINER */

.container{
    width:90%;
    margin:auto;
    padding:40px 0;
}

/* PRODUCTS */

.products{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;
}

.product{
    background:white;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.product-image{
    height:220px;

    background-size:cover;
    background-position:center;
}

.nike-image{
    background-image:url('image/nike-mercurial.png');
}

.adidas-image{
    background-image:url('image/predator.png');
}

.puma-image{
    background-image:url('image/puma.png');
}

.product-info{
    padding:20px;
}

.price{
    color:red;
    font-size:22px;
    font-weight:bold;
    margin:15px 0;
}

button{
    background:#2e8b57;

    color:white;

    border:none;

    padding:12px 15px;

    border-radius:6px;

    cursor:pointer;
}

/* LOGIN */

.login-box{
    background:white;

    max-width:400px;

    margin:auto;

    padding:25px;

    border-radius:12px;
}

.login-box input{
    width:100%;

    padding:12px;

    margin-bottom:15px;
}

/* CART */

.cart-item{
    background:white;

    padding:20px;

    margin-bottom:20px;

    border-radius:12px;
}

.total{
    font-size:28px;

    color:red;

    font-weight:bold;

    margin-top:20px;
}

.checkout-btn{
    width:100%;

    margin-top:20px;

    background:red;
}

/* MOBILE */

@media(max-width:768px){

    nav{
        flex-wrap:wrap;
    }

    .banner{
        height:220px;
    }
}
/* DETAIL LAYOUT */

.detail-layout{

    display:flex;

    gap:40px;

    align-items:center;

    justify-content:space-between;

    flex-wrap:wrap;
}

.detail-image img{

    width:100%;

    max-width:450px;

    border-radius:12px;
}

/* QUANTITY */
.quantity-box{

    display:flex;

    align-items:center;

    gap:15px;

    margin:20px 0;
}

.quantity-box button{

    width:40px;

    height:40px;

    border:none;

    background:#2e8b57;

    color:white;

    font-size:24px;

    font-weight:bold;

    border-radius:6px;

    cursor:pointer;
}

.quantity-box span{

    font-size:20px;

    font-weight:bold;

    min-width:30px;

    text-align:center;
}
/* ADD TO CART */

.add-cart-btn{

    background:red;
}

/* MOBILE */

@media(max-width:768px){

    .detail-layout{

        flex-direction:column-reverse;

        text-align:center;
    }
}
.delete-btn{

    margin-top:15px;

    width:100%;

    background:#d62828;

    color:white;

    border:none;

    padding:12px;

    border-radius:6px;

    font-size:16px;

    cursor:pointer;
}

.delete-btn:hover{

    background:#b51717;
}
/* FOOTER */

footer{

    margin-top:60px;

    background:#1f5f3b;

    color:white;
}

.footer-container{

    width:90%;

    margin:auto;

    padding:40px 0;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

    align-items:start;
}

.footer-box h3{

    margin-bottom:20px;

    font-size:24px;
}

.contact-list{

    list-style:none;
}

.contact-list li{

    margin-bottom:15px;

    line-height:1.7;
}

.footer-box iframe{

    border-radius:12px;
}

.footer-bottom{

    text-align:center;

    padding:20px;

    border-top:
    1px solid rgba(255,255,255,0.2);

    font-size:15px;
}