*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:"Poppins",sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#fff;
color:#222;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
color:inherit;
}

ul{
list-style:none;
}

button{
cursor:pointer;
border:none;
}

section{
padding:80px 8%;
}

:root{

--primary:#111111;

--secondary:#ffffff;

--accent:#D62828;

--gray:#777777;

--light:#F8F8F8;

--border:#EAEAEA;

}

.top-bar{

background:#111;

color:white;

text-align:center;

padding:10px;

font-size:14px;

}

header{

position:sticky;

top:0;

background:white;

z-index:1000;

border-bottom:1px solid var(--border);

}

.navbar{

display:flex;

justify-content:space-between;

align-items:center;

padding:20px 8%;

}

.logo{

font-size:30px;

font-weight:700;

letter-spacing:2px;

}

.nav-links{

display:flex;

gap:30px;

}

.nav-links a{

font-weight:500;

transition:.3s;

}

.nav-links a:hover{

color:var(--accent);

}

.nav-icons{

display:flex;

align-items:center;

gap:20px;

font-size:22px;

}

.wishlist,
.cart{

position:relative;

cursor:pointer;

}

.count{

position:absolute;

top:-8px;

right:-10px;

background:var(--accent);

color:white;

font-size:11px;

padding:2px 6px;

border-radius:50%;

}

.menu-toggle{

display:none;

cursor:pointer;

font-size:28px;

}

@media(max-width:768px){

.nav-links{

position:absolute;

top:100%;

left:-100%;

width:100%;

background:white;

flex-direction:column;

text-align:center;

padding:30px 0;

transition:.4s;

}

.nav-links.active{

left:0;

}

.menu-toggle{

display:block;

}

}

.hero{

display:grid;

grid-template-columns:1fr 1fr;

align-items:center;

padding:80px 8%;

min-height:90vh;

background:#F8F8F8;

gap:60px;

}

.hero-content h1{

font-size:60px;

line-height:1.2;

margin:20px 0;

}

.hero-content p{

font-size:18px;

color:var(--gray);

line-height:1.8;

margin-bottom:35px;

max-width:520px;

}

.hero-tag{

display:inline-block;

background:#111;

color:white;

padding:10px 18px;

border-radius:30px;

font-size:14px;

letter-spacing:1px;

}

.hero-buttons{

display:flex;

gap:20px;

flex-wrap:wrap;

}

.btn-primary{

background:var(--primary);

color:white;

padding:16px 35px;

border-radius:40px;

transition:.3s;

font-weight:600;

}

.btn-primary:hover{

background:var(--accent);

}

.btn-secondary{

border:2px solid var(--primary);

padding:16px 35px;

border-radius:40px;

transition:.3s;

font-weight:600;

}

.btn-secondary:hover{

background:var(--primary);

color:white;

}

.hero-image{

position:relative;

display:flex;

justify-content:center;

}

.hero-image img{

width:100%;

max-width:520px;

border-radius:25px;

box-shadow:0 20px 50px rgba(0,0,0,.15);

transition:.4s;

}

.hero-image img:hover{

transform:scale(1.03);

}

.discount-badge{

position:absolute;

top:20px;

left:20px;

background:var(--accent);

color:white;

padding:20px;

border-radius:50%;

width:100px;

height:100px;

display:flex;

justify-content:center;

align-items:center;

font-weight:bold;

font-size:18px;

box-shadow:0 10px 30px rgba(214,40,40,.3);

animation:pulse 2s infinite;

}

@keyframes pulse{

0%{

transform:scale(1);

}

50%{

transform:scale(1.08);

}

100%{

transform:scale(1);

}

}

.hero-content{

animation:slideLeft 1s ease;

}

.hero-image{

animation:slideRight 1s ease;

}

@keyframes slideLeft{

from{

opacity:0;

transform:translateX(-60px);

}

to{

opacity:1;

transform:translateX(0);

}

}

@keyframes slideRight{

from{

opacity:0;

transform:translateX(60px);

}

to{

opacity:1;

transform:translateX(0);

}

}

.scroll-down{

position:absolute;

bottom:25px;

left:50%;

transform:translateX(-50%);

font-size:32px;

animation:bounce 2s infinite;

}

@keyframes bounce{

0%,100%{

transform:translateX(-50%) translateY(0);

}

50%{

transform:translateX(-50%) translateY(10px);

}

}
.hero{
position:relative;
}

@media(max-width:768px){

.hero{

grid-template-columns:1fr;

text-align:center;

padding-top:60px;

}

.hero-content h1{

font-size:42px;

}

.hero-content p{

margin:auto auto 30px;

}

.hero-buttons{

justify-content:center;

}

.hero-image{

margin-top:40px;

}

.discount-badge{

width:80px;

height:80px;

font-size:15px;

}

}

.hero-image img{

animation:floatImage 4s ease-in-out infinite;

}

@keyframes floatImage{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-10px);

}
}

.categories{

padding:100px 8%;

background:white;

}

.section-title{

text-align:center;

font-size:42px;

margin-bottom:15px;

}

.section-subtitle{

text-align:center;

color:var(--gray);

margin-bottom:60px;

font-size:18px;

}

.category-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(300px,1fr));

gap:30px;

}

.category-card{

position:relative;

overflow:hidden;

border-radius:20px;

cursor:pointer;

height:380px;

}

.category-card img{

width:100%;

height:100%;

object-fit:cover;

transition:.5s;

}

.category-card:hover img{

transform:scale(1.1);

}

.category-overlay{

position:absolute;

left:0;

right:0;

top:0;

bottom:0;

background:rgba(0,0,0,.45);

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

color:white;

transition:.4s;

}

.category-overlay h3{

font-size:34px;

margin-bottom:20px;

letter-spacing:2px;

}

.category-overlay a{

padding:14px 30px;

background:white;

color:black;

border-radius:40px;

font-weight:600;

transition:.3s;

}

.category-overlay a:hover{

background:var(--accent);

color:white;

}

.category-card:hover .category-overlay{

background:rgba(0,0,0,.60);

}

@media(max-width:768px){

.category-card{

height:300px;

}

.section-title{

font-size:34px;

}

.section-subtitle{

font-size:16px;

}

.category-overlay h3{

font-size:28px;

}

}

.products{

    padding:100px 8%;
    background:#fafafa;

}

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title h2{

    font-size:42px;
    margin-bottom:15px;

}

.section-title p{

    color:#666;

}

.product-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:35px;

}

.product-card{

    background:white;
    border-radius:12px;
    overflow:hidden;
    position:relative;
    transition:.4s;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.product-card:hover{

    transform:translateY(-10px);

}
.product-card img{

    width:100%;
    height:350px;
    object-fit:cover;
    transition:.4s;

}

.product-card:hover img{

    transform:scale(1.08);

}
.product-info{

    padding:25px;

}
.product-info h3{

    margin-bottom:10px;
    font-size:22px;

}
.rating{

    color:#f4b400;
    margin-bottom:15px;

}
.price{

    margin-bottom:20px;

}
.new-price{

    color:#111;
    font-size:24px;
    font-weight:bold;

}
.old-price{

    color:#888;
    text-decoration:line-through;
    margin-left:10px;

}
.product-info button{

    width:100%;
    padding:14px;
    background:black;
    color:white;
    border:none;
    cursor:pointer;
    transition:.3s;
    font-size:16px;

}
.product-info button:hover{

    background:#d6b46b;
    color:black;

}

.sale{

    position:absolute;
    top:15px;
    left:15px;
    background:#d6b46b;
    color:black;
    padding:8px 15px;
    border-radius:20px;
    font-size:14px;
    font-weight:bold;
    z-index:2;

}

.wishlist{

    position:absolute;
    right:15px;
    top:15px;
    width:40px;
    height:40px;
    background:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;

}
.wishlist:hover{

    background:#ff4d6d;
    color:white;

}

@media(max-width:768px){

.product-card img{

height:280px;

}

.section-title h2{

font-size:34px;

}

}
.trending{

    padding:100px 8%;
    background:white;

}
.slider-container{

    position:relative;
    overflow:hidden;

}
.slider{

    display:flex;
    gap:25px;
    transition:transform .5s ease;

}
.slide{

    min-width:300px;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}
.slide img{

    width:100%;
    height:320px;
    object-fit:cover;

}
.slide h3{
    padding:15px 20px 5px;
}
.slide p{

    padding:0 20px 20px;
    color:#777;
    font-weight:bold;

}
.slider-btn{

    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:50px;
    height:50px;
    border:none;
    background:white;
    border-radius:50%;
    cursor:pointer;
    font-size:24px;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
    z-index:10;
}
.prev{

    left:10px;

}

.next{

    right:10px;

}
.slider-btn:hover{

    background:#d6b46b;

}

@media(max-width:768px){

.slide{

min-width:260px;

}

.slide img{

height:260px;

}

.slider-btn{

display:none;

}

}
.cart-icon{

    position:relative;
    cursor:pointer;
    font-size:24px;
}
.cart-count{

    position:absolute;
    top:-8px;
    right:-10px;

    width:20px;
    height:20px;

    border-radius:50%;

    background:#d6b46b;

    color:black;

    font-size:12px;

    display:flex;
    justify-content:center;
    align-items:center;

    font-weight:bold;
}
.cart-sidebar{

    position:fixed;

    top:0;

    right:-420px;

    width:400px;

    height:100vh;

    background:white;

    z-index:999;

    transition:.4s;

    display:flex;

    flex-direction:column;

    box-shadow:-5px 0 20px rgba(0,0,0,.15);

}
.cart-sidebar.active{

    right:0;

}
.cart-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px;

    border-bottom:1px solid #ddd;

}
.close-cart{

    font-size:32px;

    cursor:pointer;

}

.cart-items{

    flex:1;

    overflow:auto;

    padding:20px;

}
.cart-footer{

    padding:25px;

    border-top:1px solid #ddd;

}

.checkout-btn{

    width:100%;

    padding:15px;

    margin-top:20px;

    background:black;

    color:white;

    border:none;

    cursor:pointer;

    font-size:16px;

    transition:.3s;

}
.checkout-btn:hover{

    background:#d6b46b;

    color:black;

}
.cart-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:998;

}
.cart-overlay.active{

    opacity:1;

    visibility:visible;

}

@media(max-width:768px){

.cart-sidebar{

width:100%;

}

}

.cart-product{

    padding:18px 0;

    border-bottom:1px solid #eee;

}

.cart-product h4{

    margin-bottom:8px;

}
.cart-controls{

    display:flex;

    gap:10px;

    margin-top:12px;

    align-items:center;

}
.cart-controls button{

    width:32px;

    height:32px;

    border:none;

    cursor:pointer;

    background:#eee;

    border-radius:6px;

}
.cart-controls button:hover{

    background:#d6b46b;

}
.contact{

    padding:100px 8%;

    background:#f8f8f8;

}
.contact-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    margin-top:60px;

}
.contact-form form{

    display:flex;

    flex-direction:column;

    gap:20px;

}
.contact-form input,
.contact-form textarea{

    padding:18px;

    border:1px solid #ddd;

    font-size:16px;

    border-radius:8px;

    outline:none;

    transition:.3s;

}
.contact-form input:focus,
.contact-form textarea:focus{

    border-color:#d6b46b;

}
.contact-form button{

    padding:16px;

    border:none;

    background:black;

    color:white;

    cursor:pointer;

    font-size:17px;

    border-radius:8px;

    transition:.3s;

}
.contact-form button:hover{

    background:#d6b46b;

    color:black;

}
.contact-info{

    display:flex;

    flex-direction:column;

    gap:25px;

}
.contact-info h3{

    font-size:32px;

}
.info-box{

    padding:20px;

    background:white;

    border-radius:10px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}
.info-box h4{

    margin-bottom:10px;

}
.info-box:hover{

    transform:translateY(-5px);

    transition:.3s;

}
@media(max-width:768px){

.contact-container{

grid-template-columns:1fr;

}

}