* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* Background Video */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.75);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 192, 203, 0.3);
  backdrop-filter: blur(8px);
  z-index: 10;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  color: #ffd6e0;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 182, 193, 0.7);
}

.back-home {
  text-decoration: none;
  color: #fff;
  background: #ff7ac6;
  padding: 10px 20px;
  border-radius: 25px;
  transition: 0.3s ease;
  font-weight: 600;
}

.back-home:hover {
  background: #ffb6d9;
  color: #222;
}

/* Layout */
.main-container {
  display: flex;
  margin-top: 80px;
}

/* Sidebar */
.sidebar {
  width: 220px;
  background: rgba(255, 105, 180, 0.25);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 0 20px 20px 0;
  height: calc(100vh - 80px);
  position: sticky;
  top: 80px;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin: 15px 0;
}

.sidebar a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}

.sidebar a:hover {
  color: #ffb6c1;
}

/* Product Section */
.products {
  flex: 1;
  padding: 20px 30px;
  text-align: center;
}

.products h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #ffe6f2;
  text-shadow: 0 0 10px rgba(255, 192, 203, 0.6);
}

/* Scrollable Cards */
.cards-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

.cards-container::-webkit-scrollbar {
  height: 8px;
}
.cards-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff7ac6, #ffb6c1);
  border-radius: 10px;
}

.card {
  flex: 0 0 250px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 15px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  border-radius: 10px;
  height: 250px;
  object-fit: cover;
}

.item-name {
  font-size: 1.1rem;
  margin-top: 10px;
  font-weight: 500;
}

.price {
  color: #ffd6e0;
  font-weight: bold;
}

/* === Responsive Fixes === */

/* Tablet View */
@media (max-width: 992px) {
  .main-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 0;
    top: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background: rgba(255, 192, 203, 0.35);
  }

  .sidebar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .sidebar li {
    margin: 5px 0;
  }

  .products {
    padding: 15px;
  }
}

/* Mobile View */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    margin-bottom: 10px;
    font-size: 1.3rem;
  }

  .back-home {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .sidebar {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .sidebar ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .sidebar a {
    font-size: 0.95rem;
  }

  .cards-container {
    gap: 10px;
  }

  .card {
    flex: 0 0 180px;
  }

  .card img {
    height: 200px;
  }
}
