:root{
  --maroon:#5a0f1a;
  --bg:#f4f6fb;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,Helvetica,sans-serif;
background:var(--bg);
padding-bottom:70px;
}

/* HEADER */

.header{
background:#fff;
border-bottom:1px solid #eee;
position:sticky;
top:0;
z-index:100;
}

.header-inner{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 20px;
}

.logo{
display:flex;
align-items:center;
gap:10px;
text-decoration:none;
color:#000;
font-weight:700;
}

.logo img{
width:45px;
height:45px;
border-radius:50%;
border:2px solid var(--maroon);
}

.logo span{
font-size:20px;
font-weight:800;
color:var(--maroon);
}

@media (max-width:768px){

.logo{
  display:flex;
  align-items:center;
  gap:5px;
}

.logo img{
  width:35px;
  height:35px;
}

.logo span{
  font-size:16px;
  font-weight:900;
}

}

.menu a{
margin-left:25px;
text-decoration:none;
font-weight:600;
color:#333;
}

.menu a:hover{
color:#2874F0;
}

/* SECTION TITLE */

.section-title{
text-align:center;
margin:50px 0 25px;
font-size:32px;
font-weight:800;
}

.our{color:#000}
.flipkart{color:#2874F0}
.products{color:#ae4d18}
.brand{color:#8e24aa}

/* FILTER BAR */

.filters{
max-width:1200px;
margin:20px auto;
padding:0 15px;
display:flex;
flex-wrap:wrap;
gap:12px;
}

.search-wrapper{
flex:1;
position:relative;
}

#searchBox{
width:100%;
padding:12px;
border-radius:12px;
border:1px solid #ccc;
font-weight:600;
}

#suggestions{
position:absolute;
top:110%;
left:0;
right:0;
background:#fff;
border-radius:12px;
list-style:none;
box-shadow:0 10px 25px rgba(0,0,0,.15);
display:none;
max-height:200px;
overflow:auto;
z-index:10;
}

#suggestions li{
padding:10px;
cursor:pointer;
font-weight:600;
}

#suggestions li:hover{
background:#f2f2f2;
}

.filters select{
padding:12px;
border-radius:12px;
border:1px solid #ccc;
font-weight:600;
}

/* PRODUCTS */

.products-wrapper{
max-width:1200px;
margin:auto;
padding:20px 15px;
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:22px;
}

.product-container{
background:#fff;
border-radius:16px;
padding:14px;
box-shadow:0 10px 25px rgba(0,0,0,.12);
transition:.3s;
position:relative;
cursor:pointer;
}

.product-container:hover{
transform:translateY(-6px);
}

.product-container img{
width:100%;
height:160px;
object-fit:contain;
}

.product-name{
font-size:14px;
font-weight:700;
margin:10px 0 6px;
}

.product-price{
color:var(--maroon);
font-weight:800;
}

/* REVIEW */

.review{
font-size:13px;
margin-top:5px;
color:#ff9800;
font-weight:700;
}

.review span{
color:#555;
font-weight:600;
margin-left:4px;
}

/* BADGE */

.badge{
position:absolute;
top:12px;
left:12px;
background:linear-gradient(45deg,#5a0f1a,#99386d);
color:#fff;
font-size:11px;
font-weight:700;
padding:4px 10px;
border-radius:20px;
text-transform:uppercase;
}

/* OUT OF STOCK */

.out-of-stock{
opacity:.6;
pointer-events:none;
position:relative;
}

.out-of-stock::after{
content:"Out of Stock";
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
background:rgba(0,0,0,.75);
color:#fff;
padding:8px 16px;
border-radius:8px;
font-size:14px;
font-weight:700;
}
.product-container.out-of-stock::after{
content:"OUT OF STOCK";
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
background:rgba(0,0,0,0.8);
color:#fff;
padding:8px 14px;
font-weight:bold;
border-radius:6px;
}
.stock-left{
  position:absolute;
  top:10px;
  right:10px;
  background:#ff4d4d;
  color:#fff;
  font-size:12px;
  padding:4px 8px;
  border-radius:6px;
  font-weight:bold;
}

/* FOOTER */
/* PREMIUM FOOTER */
body{
margin:0;
padding:0;
}

.premium-footer{
background:#0a0a0a;
color:#fff;
margin-top:70px;
font-family:Arial;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
padding:50px 8%;
}

.footer-brand{
display:flex;
flex-direction:column;
align-items:center;
}
.footer-box{
text-align:center;
}

.footer-logo{
width:45px;
height:45px;
margin:0;
}

.footer-box h3{
font-size:20px;
margin-bottom:10px;
color:#fff;
}

.footer-box h4{
margin-bottom:15px;
font-size:16px;
color:#f1f1f1;
}

.footer-box p{
font-size:14px;
color:#bbb;
line-height:1.6;
}

.footer-box a{
display:block;
color:#bbb;
text-decoration:none;
margin-bottom:8px;
font-size:14px;
transition:0.3s;
}

.footer-box a:hover{
color:#00bfff;
padding-left:6px;
}

.footer-bottom{
border-top:1px solid #333;
text-align:center;
padding:15px;
font-size:14px;
background:#050505;
}
.footer-bottom a{
text-decoration:none;
color:inherit;
}

.footer-brand{
display:flex;
align-items:center;
gap:10px;
}

.footer-brand img{
width:50px;
height:50px;
}

.footer-brand span{
font-size:18px;
font-weight:bold;
color:#fff;
}

/* MOBILE */

@media(max-width:768px){

.header-inner{
flex-direction:column;
gap:10px;
}

.menu a{
margin:0 10px;
}

.section-title{
font-size:24px;
}

}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); /* semi-transparent glass effect */
  backdrop-filter: blur(6px); /* glass blur */
  color: var(--primary); /* arrow color */
  font-size: 24px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}

#scrollTopBtn:hover {
  transform: translateY(-5px) scale(1.1);
  color: var(--secondary);
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.2);
}

/* Theme Button */
.theme-btn{
background:#222;
color:#fff;
border:none;
padding:6px 10px;
font-size:18px;
border-radius:8px;
cursor:pointer;
margin-left:10px;
transition:0.3s;
}

.theme-btn:hover{
background:#444;
}

/* Dark Mode */
.dark-mode{
background:#121212;
color:#ffffff;
}

/* Dark Mode Header */
.dark-mode .header{
background:#1e1e1e;
}

/* Dark Mode Product Card */
.dark-mode .product-container{
background:#1e1e1e;
color:#fff;
border:1px solid #333;
}

/* Dark Mode Footer */
.dark-mode footer{
background:#1e1e1e;
color:#ccc;
}
.dark-mode .logo span{
color:#fff !important;
}
.dark-mode .menu a{
color:#fff !important;
}
.dark-mode .our{
color:#ffffff;
}
.dark-mode .product-price{
color:#fff !important;
} 
.logo{
display:flex;
align-items:center;
gap:10px;
text-decoration:none;
}
