/* General Reset */
* {
  text-decoration: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Side Panel styles */
#menu-icon {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1100;
  cursor: pointer;
}

#side-panel {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background-color: #222;
  color: white;
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 1050;
}

#side-panel.active {
  left: 0;
}

#side-panel .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

#side-panel ul {
  list-style: none;
  padding: 0;
}

#side-panel ul li {
  padding: 15px 20px;
  border-bottom: 1px solid #444;
}

#side-panel ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

#side-panel ul li a:hover {
  background-color: #555;
}

/* Navigation Bar */
.nav-bar {
  background-color: black;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  position: fixed;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

/* Generic border style for hover effect */
.border {
  color: white;
  padding: 8px 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.border:hover {
  border: 5px solid rgb(37, 35, 35);
  border-radius: 5px;
}

/* Logo styling */
.nav-logo {
  background-image: url("logo.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 35px;
  width: 100px;
}

/* Location part */
.deliver-to {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.small-text {
  font-size: 10px;
  color: #ccc;
}

.location {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Second bar styling */
.bar {
  background-color: rgb(37, 35, 35);
  width: 100%;
  padding: 5px 0;
  top: 50px;
  color: white;
  display: flex;
  justify-content: space-evenly;
  position: fixed;
  flex-wrap: wrap;
}

/* Dot hover animation */
.dots:hover {
  border-radius: 50%;
  animation: rotate90Back 5s linear;
  display: inline-block;
}

@keyframes rotate90Back {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(0deg); }
}

/* Selector dropdown */
.bar-selecter select {
  width: 100px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid white;
  background-color: rgb(37, 35, 35);
  cursor: pointer;
  color: white;
}

label {
  display: inline-block;
  width: 60px;
  font-size: 14px;
  color: white;
  margin-right: 5px;
}

/* Search bar styling */
.bar-search {
  display: flex;
  align-items: center;
  width: 350px;
  max-width: 90%;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 6px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.bar-search:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bar-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  padding: 8px;
  color: #333;
}

.bar-search input::placeholder {
  color: #aaa;
  font-style: italic;
}

.bar-search button {
  background: #333;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.bar-search button:hover {
  background: #000;
  transform: scale(1.1);
}

/* Background style */
.back {
  width: 100%;
  height: 100vh;
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  display: flex;
  justify-content: center;
}

/* Navigation links */
.nav-op6 a, .nav-op2 {
  color: white;
  text-decoration: none;
}

.nav-op6 a:hover, .nav-op2:hover {
  color: #ccc;
}

p {
  color: white;
}

/* Boxes for products */
.box-container {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  margin-top: 160px; 
  flex-wrap: wrap;
  padding: 0 20px;
}

.box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  width: 300px;
  margin: 20px;
  height: 30vh;
  padding: 20px;
  border-radius: 16px;
  text-align: left;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.box1 {
 
  background-attachment: fixed;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

