
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f9f9f9;
  padding: 20px;
}

.store-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}




.new-header {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #111;
}

.menu-icon {
  font-size: 28px;
  cursor: pointer;
  display: none;
}

#menu-toggle {
  display: none;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
  padding-left: 0;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
  color: #e63946;
}

.cart-link {
  position: relative;
}

.cart-badge {
  background-color: red;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  right: -10px;
}



.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* Responsive */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-menu {
    width: 100%;
    display: none;
    margin-top: 10px;
  }

  #menu-toggle:checked + .menu-icon + .nav-menu {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    background-color: #fff;
    padding: 10px 0;
    border-top: 1px solid #eee;
  }

  .nav-menu ul li {
    padding: 10px 0;
    text-align: center;
  }
}





/* Products Section */
.all-products {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
}

.all-products h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.underline {
  width: 60px;
  height: 3px;
  background-color: #e63946;
  margin: 0 auto 40px;
  border-radius: 2px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.product-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  border-radius: 6px;
}

.brand {
  color: gray;
  font-size: 0.9rem;
  margin-top: 10px;
}

.product-card h3 {
  font-size: 1rem;
  margin: 10px 0;
}

.stars {
  color: gold;
  margin-bottom: 10px;
}

.price del {
  color: #888;
  font-size: 0.9rem;
}

.price span {
  color: #e63946;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 5px;
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #e63946;
  color: white;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 50px;
}







/* Sidebar */
/* .sidebar {
  flex: 1 1 250px;
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.sidebar h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
} */





 

/* Main Product Grid */
.products-grid {
  flex: 3 1 700px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
  max-width: 100%;
  height: auto;
}

.product-card h4 {
  font-size: 1rem;
  margin: 10px 0;
}

.price del {
  color: #888;
  font-size: 0.9rem;
}

.price span {
  color: #e63946;
  font-weight: bold;
  font-size: 1.05rem;
  margin-left: 5px;
}

.save {
  color: green;
  font-size: 0.85rem;
  margin: 5px 0;
}

.product-card button {
  padding: 8px 14px;
  background-color: #1e90ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .store-container {
    flex-direction: row;
  }

  .sidebar {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}




.product-page {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  background: #fff;
}

.product-page h1 {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.product-category {
  margin-bottom: 50px;
}

.product-category h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #e63946;
  border-bottom: 2px solid #e63946;
  padding-bottom: 5px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  transition: 0.3s;
}

.product-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.product-card h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
  color: #333;
}

.price {
  font-size: 0.95rem;
}

.price del {
  color: #888;
}

.price span {
  color: #e63946;
  font-weight: bold;
  margin-left: 5px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .product-page {
    padding: 20px 10px;
  }

  .product-category h2 {
    font-size: 1.3rem;
  }

  .product-card h3 {
    font-size: 0.95rem;
  }

  .price {
    font-size: 0.9rem;
  }
}

/* footer */


 .footer {
  background-color: #0056b3;
  color: #ccc;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.footer-section h4 {
  color: #f4f4f4;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 6px 0;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.2s;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-section p {
  margin: 6px 0;
}

.newsletter input {
  padding: 8px;
  border: none;
  border-radius: 4px;
  width: 70%;
  margin-right: 5px;
}

.newsletter button {
  padding: 8px 12px;
  border: none;
  background-color: #e63946;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.newsletter button:hover {
  background-color: #d62828;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  background-color: #333;
  padding: 6px;
  border-radius: 50%;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 0.85rem;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .newsletter input {
    width: 100%;
    margin-bottom: 10px;
  }

  .newsletter button {
    width: 100%;
  }
}

