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

body{
    font-family:Arial,sans-serif;
    background:#f5f5f5;
    color:#333;
}

.container{
    width:90%;
    margin:auto;
}

/* Header */
header{
    background:#0d6efd;
    padding:15px 0;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.logo h2{
    color:#fff;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:20px;
}

nav ul li a{
    color:#fff;
    text-decoration:none;
    font-weight:bold;
}

/* Hero */
.hero{
    text-align:center;
    padding:70px 20px;
}

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

.hero p{
    font-size:22px;
    color:#666;
    margin:20px 0;
}

.btn{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    padding:12px 30px;
    border-radius:6px;
    text-decoration:none;
}

/* Category */
.category-bar{
    background:#fff;
    padding:15px;
    overflow-x:auto;
    white-space:nowrap;
    text-align:center;
}

.category-bar a{
    display:inline-block;
    text-decoration:none;
    color:#333;
    font-weight:bold;
    margin:0 10px;
    padding:10px 18px;
    border-radius:30px;
}

.category-bar a.active{
    background:#0d6efd;
    color:#fff;
}

/* Search */
.search-box{
    text-align:center;
    margin:20px 0;
}

.search-box input{
    width:90%;
    max-width:400px;
    padding:12px;
    border:2px solid #0d6efd;
    border-radius:8px;
    font-size:16px;
    outline:none;
}

/* Products */
.products{
    padding:50px 20px;
    background:#f5f5f5;
}

.products h2{
    text-align:center;
    margin-bottom:30px;
    font-size:36px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.card{
    background:#fff;
    border-radius:12px;
    padding:20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:150px;
    height:150px;
    object-fit:contain;
}

.card h3{
    margin:15px 0 10px;
}

.card p{
    color:#0d6efd;
    font-size:22px;
    font-weight:bold;
}

.card .btn{
    margin-top:15px;
}

/* Mobile */
@media(max-width:768px){

header .container{
    flex-direction:column;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    margin-top:15px;
}

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

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

.products h2{
    font-size:28px;
}

}
/* Checkout Page */

.checkout{
    max-width:500px;
    margin:40px auto;
    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.1);
}

.checkout h2{
    text-align:center;
    margin-bottom:20px;
}

.checkout input,
.checkout textarea,
.checkout select{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:16px;
    box-sizing:border-box;
}

.checkout textarea{
    height:100px;
    resize:vertical;
}

.checkout .btn{
    width:100%;
    text-align:center;
    display:inline-block;
}