body{
    font-family: Arial;
    margin:0;
    background:#f5f5f5;
}

header{
    background:#111;
    color:white;
    text-align:center;
    padding:20px;
}
.container{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:25px;
    padding:30px;
    justify-content:center;
    align-items:start;
    max-width:1200px;
    margin:0 auto; /* THIS FIXES LEFT ALIGN ISSUE */
}
.card{
    width:300px;
    background:white;
    margin:10px;
    padding:10px;
    border-radius:10px;
    box-shadow:0 0 10px #ccc;
}

.card img{
    width:100%;
    height:300px;
    object-fit:cover;
    border-radius:10px;
}

.buttons a{
    display:inline-block;
    margin:5px;
    padding:8px;
    background:black;
    color:white;
    text-decoration:none;
    border-radius:5px;
}

form{
    max-width:400px;
    margin:auto;
    background:white;
    padding:20px;
    border-radius:10px;
}

input, textarea{
    width:100%;
    padding:10px;
    margin:5px 0;
}
.slider{
    position:relative;
    width:100%;
    height:300px;
    overflow:hidden;
    border-radius:10px;
}

.slide{
    width:100%;
    height:300px;
    object-fit:cover;
    position:absolute;
    top:0;
    left:0;
    opacity:0;
    transition:0.5s ease;
}

.slide.active{
    opacity:1;
}

.dots{
    display:flex;
    justify-content:space-between;
    margin-top:5px;
}

.dots button{
    background:#000;
    color:#fff;
    border:none;
    padding:5px 10px;
    border-radius:5px;
    cursor:pointer;
}
.pro-slider{
    position:relative;
    width:100%;
    height:320px;
    overflow:hidden;
    border-radius:15px;
    background:#eee;
}

.slides{
    width:100%;
    height:100%;
    position:relative;
}

.slide{
    width:100%;
    height:320px;
    object-fit:cover;
    position:absolute;
    top:0;
    left:0;
    opacity:0;
    transform:scale(1.05);
    transition:0.5s ease;
}

.slide.active{
    opacity:1;
    transform:scale(1);
}

/* Buttons */
.prev, .next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.5);
    color:white;
    border:none;
    padding:10px 12px;
    cursor:pointer;
    border-radius:50%;
    font-size:18px;
}

.prev{ left:10px; }
.next{ right:10px; }

/* dots */
.dots{
    position:absolute;
    bottom:10px;
    width:100%;
    display:flex;
    justify-content:center;
    gap:5px;
}

.dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#bbb;
    cursor:pointer;
}

.dot.active{
    background:#000;
}

/* Product Card upgrade */
.card{
    width:300px;
    background:#fff;
    margin:15px;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card h2{
    font-size:18px;
    margin:10px;
}

.card p{
    font-size:13px;
    color:#555;
    margin:10px;
}
.hero{
    text-align:center;
    padding:40px 20px;
    background:linear-gradient(135deg,#111,#333);
    color:white;
}

.hero h1{
    font-size:32px;
    margin-bottom:10px;
}

.hero p{
    opacity:0.8;
}


.product-card{
    width:320px;
    background:linear-gradient(145deg,#ffffff,#f7f7ff);
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.3s;
    position:relative;
}

.product-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

/* Category Badge */

.badge{
    position:absolute;
    top:10px;
    left:10px;
    background:linear-gradient(135deg,#ff416c,#ff4b2b);
    color:white;
    padding:5px 10px;
    font-size:12px;
    border-radius:20px;
    z-index:5;
}

/* Slider */
.pro-slider{
    height:320px;
    position:relative;
    overflow:hidden;
    border-bottom:1px solid #eee;
}

.slide{
    width:100%;
    height:320px;
    object-fit:cover;
    position:absolute;
    opacity:0;
    transition:0.5s;
}

.slide.active{
    opacity:1;
}

/* Product Info */
.info{
    padding:15px;
}

.info h2{
    font-size:18px;
    margin:5px 0;
    color:#222;
}

.info p{
    font-size:13px;
    color:#666;
}

.price{
    font-size:20px;
    font-weight:bold;
    margin:10px 0;
    background:linear-gradient(135deg,#00c6ff,#0072ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}


/* Buttons */
.btns{
    display:flex;
    justify-content:space-between;
    gap:5px;
}

.btns a{
    flex:1;
    text-align:center;
    padding:8px;
    border-radius:8px;
    text-decoration:none;
    font-size:12px;
    color:white;
    transition:0.3s;
}

.amazon{ background:linear-gradient(135deg,#ff9900,#ff6600); }
.flipkart{ background:linear-gradient(135deg,#2874f0,#0052cc); }
.ajio{ background:linear-gradient(135deg,#111,#444); }

.btns a:hover{
    transform:scale(1.05);
}