*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#eaeded;
    color:#111;
}

.container{
    width:95%;
    max-width:1400px;
    margin:auto;
}

/* HEADER */

.amazon-header{
    width:100%;
}

.top-main{
    background:#131921;
    padding:10px 20px;
    display:flex;
    align-items:center;
    gap:15px;
}

.store-logo{
    color:#fff;
    text-decoration:none;
    font-size:32px;
    font-weight:900;
}

.store-logo span{
    color:#ff9900;
}

.search-box{
    flex:1;
    display:flex;
    height:42px;
}

.search-box select{
    width:80px;
    border:none;
    background:#f3f3f3;
    padding:10px;
}

.search-box input{
    flex:1;
    border:none;
    padding:10px;
}

.search-box button{
    width:55px;
    border:none;
    background:#febd69;
    cursor:pointer;
}

.header-actions{
    display:flex;
    gap:20px;
}

.header-actions a{
    color:#fff;
    text-decoration:none;
    font-size:13px;
}

.category-bar{
    background:#232f3e;
    padding:10px 20px;
    display:flex;
    gap:20px;
    overflow:auto;
}

.category-bar a{
    color:#fff;
    text-decoration:none;
    white-space:nowrap;
}

/* HERO */

.hero{
    background:#fff;
    padding:50px 0;
}

.hero-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
}

.hero h1{
    font-size:48px;
    margin-bottom:15px;
}

.hero p{
    font-size:18px;
    color:#555;
}

.hero-card{
    background:#fff;
    border:1px solid #ddd;
    padding:20px;
}

.hero-card ul{
    list-style:none;
}

.hero-card li{
    margin:10px 0;
}

.badge{
    background:#ff9900;
    color:#fff;
    padding:6px 12px;
    border-radius:5px;
    display:inline-block;
    margin-bottom:15px;
}

.primary-btn{
    display:inline-block;
    padding:12px 20px;
    background:#ff9900;
    color:#fff;
    text-decoration:none;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

.secondary-btn{
    display:inline-block;
    padding:12px 20px;
    background:#232f3e;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
}

.hero-buttons{
    margin-top:20px;
    display:flex;
    gap:10px;
}

/* SECTION */

.section{
    padding:40px 0;
}

.section-title{
    margin-bottom:20px;
}

.section-title h2{
    font-size:32px;
}

/* CATEGORY BOXES */

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

.product-box{
    background:#fff;
    border:1px solid #ddd;
    padding:30px;
    text-align:center;
    text-decoration:none;
    color:#111;
    font-weight:bold;
}

/* PRODUCTS */

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

.shop-card{
    background:#fff;
    border:1px solid #ddd;
    padding:15px;
}

.shop-img{
    height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.shop-img img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.shop-content h3{
    margin:10px 0;
}

.price{
    color:#b12704;
    font-size:24px;
    font-weight:bold;
}

.price del{
    color:#777;
    font-size:14px;
}

.stock{
    color:green;
    margin:10px 0;
}

.product-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.product-actions form{
    margin:0;
}

/* PRODUCT PAGE */

.product-detail{
    background:#fff;
    padding:25px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.product-image img{
    width:100%;
}

.product-price{
    color:#b12704;
    font-size:32px;
    font-weight:bold;
    margin:15px 0;
}

.product-category{
    color:#007185;
}

/* CART */

.cart-table{
    width:100%;
    background:#fff;
    border-collapse:collapse;
}

.cart-table th,
.cart-table td{
    border:1px solid #ddd;
    padding:15px;
}

.cart-table th{
    background:#232f3e;
    color:#fff;
}

.cart-total-box{
    background:#fff;
    padding:25px;
    margin-top:20px;
    text-align:right;
}

/* CHECKOUT */

.checkout-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;
}

.checkout-box{
    background:#fff;
    padding:20px;
}

.checkout-box input,
.checkout-box textarea,
.checkout-box select{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border:1px solid #ddd;
}

.summary-row,
.summary-total{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
}

.summary-total{
    font-size:22px;
    font-weight:bold;
}

/* SERVICES */

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

.service-card{
    background:#fff;
    padding:20px;
    border:1px solid #ddd;
}

.icon{
    font-size:40px;
    margin-bottom:10px;
}

/* FOOTER */

.footer{
    background:#131921;
    color:#fff;
    padding:40px 0;
    margin-top:40px;
}

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

.footer a{
    color:#fff;
    text-decoration:none;
}

.copyright{
    margin-top:20px;
    text-align:center;
}

/* MOBILE */

@media(max-width:900px){

    .hero-grid,
    .product-detail,
    .checkout-grid{
        grid-template-columns:1fr;
    }

    .shop-grid,
    .services-grid,
    .product-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){

    .top-main{
        flex-wrap:wrap;
    }

    .search-box{
        width:100%;
    }

    .shop-grid,
    .services-grid,
    .product-grid{
        grid-template-columns:1fr;
    }

    .header-actions{
        width:100%;
        justify-content:space-between;
    }

    .hero h1{
        font-size:32px;
    }
}
