*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, sans-serif;
  transition:0.3s;
}

body{
  background:#f3f3f3;
}

/* end */
.category-box{
  background: white;
  padding: 25px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 15px;
}

/* 🔥 Hover Effect */
.category-box:hover{
  background: linear-gradient(45deg, orange, #ff6600);
  color: white;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
/* features */
/* 🔷 Featured Section */
.featured-card{
  background: white;
  padding: 15px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

/* 🔷 Image */
.featured-card img{
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* 🔷 Price */
.price{
  font-weight: bold;
  color: #333;
}

/* 🔥 Hover Effect */
.featured-card:hover{
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 🔥 Button Hover */
.featured-card .btn{
  border-radius: 8px;
  transition: 0.3s;
}

.featured-card .btn:hover{
  background: #ff9900;
  transform: scale(1.05);
}

/* 🔷 Responsive */
@media(max-width:768px){
  .featured-card{
    margin-bottom: 15px;
  }
}
/* end */
/* footer */
/* 🔷 Footer Main */
.footer{
  background: #131921;
  color: #fff;
  padding: 40px 0;
  margin-top: 50px;
}

/* 🔷 Headings */
.footer h5{
  margin-bottom: 15px;
  font-weight: bold;
}

/* 🔷 Links */
.footer ul{
  list-style: none;
  padding: 0;
}

.footer ul li{
  margin-bottom: 8px;
}

.footer ul li a{
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

/* 🔥 Hover Effect */
.footer ul li a:hover{
  color: orange;
  padding-left: 5px;
}

/* 🔷 Social Icons */
.social-icons a{
  font-size: 20px;
  margin-right: 10px;
  color: #ccc;
  transition: 0.3s;
}

/* 🔥 Hover Effect */
.social-icons a:hover{
  color: orange;
  transform: scale(1.2);
}

/* 🔷 Divider */
.footer hr{
  border-color: #444;
  margin: 20px 0;
}

/* 🔷 Copyright */
.footer .copyright{
  font-size: 14px;
  color: #aaa;
}

/* 🔷 Responsive */
@media(max-width:768px){
  .footer{
    text-align: center;
  }
}
/* end footer */

/* end sectuo */

/* DARK MODE */
body.dark{
  background:#1c1c1c;
  color:white;
}

body.dark .card{
  background:#2c2c2c;
}

body.dark .sidebar{
  background:#2c2c2c;
}

body.dark .header{
  background:#111;
}
/* nav */
/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #131921;
  padding: 15px 20px;
}

.logo {
  color: white;
  font-size: 22px;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: 0.3s;
}

/* Hover Effect 🔥 */
.nav-links li a:hover {
  color: orange;
  border-bottom: 2px solid orange;
}

/* Mobile Menu */
.menu-icon {
  display: none;
  font-size: 25px;
  color: white;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #131921;
    flex-direction: column;
    display: none;
    text-align: center;
  }

  .nav-links li {
    padding: 10px;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}
/* nav end */

/* HEADER */
.header{
  background:#232f3e;
  color:white;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 20px;
}


.left-section{
  display:flex;
  align-items:center;
  gap:15px;
}

.menu-toggle{
  font-size:22px;
  cursor:pointer;
  display:none;
}

.logo{
  font-size:22px;
  font-weight:bold;
}

.search{
  width:40%;
  padding:8px;
  border-radius:4px;
  border:none;
}

.right-section{
  display:flex;
  align-items:center;
  gap:20px;
}

.cart{
  position:relative;
  cursor:pointer;
}

.cart-count{
  position:absolute;
  top:-8px;
  right:-10px;
  background:red;
  color:white;
  font-size:12px;
  padding:2px 6px;
  border-radius:50%;
}

/* HERO */
.hero{
  background:linear-gradient(to right,#ff9900,#ff6600);
  text-align:center;
  padding:40px;
  color:white;
  animation:fadeIn 1s ease;
}

.hero button{
  padding:10px 20px;
  border:none;
  margin-top:15px;
  cursor:pointer;
  border-radius:5px;
}

.hero button:hover{
  transform:scale(1.1);
}

/* LAYOUT */
.container{
  display:flex;
}

.sidebar{
  width:220px;
  background:white;
  padding:20px;
}

.sidebar ul{
  list-style:none;
}

.sidebar ul li{
  margin:10px 0;
}

.sidebar ul li a{
  text-decoration:none;
  color:inherit;
}

.products{
  flex:1;
  padding:20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
}

.card{
  background:white;
  padding:15px;
  border-radius:8px;
  text-align:center;
  box-shadow:0 3px 8px rgba(0,0,0,0.1);
}

.card:hover{
  transform:translateY(-5px);
}

.card img{
  width:100%;
}

.card button{
  background:#ff9900;
  border:none;
  padding:8px;
  width:100%;
  cursor:pointer;
  border-radius:4px;
}

.footer{
  background:#232f3e;
  color:white;
  text-align:center;
  padding:15px;
  margin-top:20px;
}

/* MOBILE */
@media(max-width:768px){

  .menu-toggle{
    display:block;
  }

  .search{
    display:none;
  }

  .container{
    flex-direction:column;
  }

  .sidebar{
    position:absolute;
    left:-100%;
    top:60px;
    height:100%;
    width:200px;
    transition:0.4s;
  }

  .sidebar.active{
    left:0;
  }
}

/* ANIMATION */
@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

/* NAVBAR */
.navbar{
    background:#232f3e;
    color:white;
    padding:15px 20px;
}

.menu-area{
    position:relative;
    display:inline-block;
    cursor:pointer;
    font-weight:bold;
}

/* SIDEBAR */
.sidebar{
    position:absolute;
    top:40px;
    left:0;
    width:250px;
    background:white;
    color:black;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);

    /* Hidden by default */
    opacity:0;
    visibility:hidden;
    transform:translateX(-20px);
    transition:0.3s ease;
}

.sidebar h3{
    margin-bottom:15px;
}

.sidebar ul{
    list-style:none;
}

.sidebar ul li{
    padding:8px 0;
    border-bottom:1px solid #eee;
    cursor:pointer;
    transition:0.3s;
}

.sidebar ul li:hover{
    background:#f3f3f3;
    padding-left:10px;
    color:#007185;
}


.menu-area:hover .sidebar{
    opacity:1;
    visibility:visible;
    transform:translateX(0);
}

.back-to-top{
    background:#37475a;
    color:#fff;
    text-align:center;
    padding:14px;
    cursor:pointer;
    font-weight:600;
    transition:0.3s;
}
.back-to-top:hover{
    background:#485769;
}

/* Main Footer */
.footer{
    background:#232f3e;
    color:#fff;
    padding:60px 0;
}

.footer h5{
    font-weight:700;
    margin-bottom:18px;
}

.footer a{
    display:block;
    color:#ddd;
    text-decoration:none;
    margin-bottom:10px;
    font-size:14px;
    transition:0.3s;
}

.footer a:hover{
    color:#fff;
    padding-left:5px;
}

/* Bottom Footer */

.card:hover{
  transform: scale(1.05);
  transition: 0.3s;
}

body{
  background:#f5f5f5;
}

.cart-box{
  background:white;
  padding:15px;
  border-radius:10px;
  box-shadow:0 0 10px #ddd;
  margin-bottom:15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.cart-box img{
  width:80px;
  border-radius:8px;
}

.qty button{
  padding:5px 10px;
  margin:0 5px;
}

.summary{
  background:white;
  padding:20px;
  border-radius:10px;
  box-shadow:0 0 10px #ddd;
}

.empty{
  text-align:center;
  margin-top:50px;
}

