:root {
  --topbar-h: 80px;
  /* adjust if your bar is taller/shorter */
}

body {
  padding-top: var(--topbar-h);
}

.rating-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.stars {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: flex-end;
}

.stars-top {
  display: flex;
  gap: 2px;
  font-size: 15px;
  color: #f9b233;
}

.stars-bottom {
  font-size: 11px;
  color: #555;
  margin-top: 3px;
}

.avatars {
  display: flex;
  margin-left: 8px;
}

.avatars img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  object-fit: cover;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.avatars .count {
  background-color: #e91e63;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 6px;
  border-radius: 99%;
  margin-left: 1px;
  display: flex;
}

/* Top Bars */
.top-bar {
  background: #111;
  color: white;
  text-align: center;
  font-size: 15px;
  padding: 15px 10px;
}

.top-bar.second {
  background: #131921;
  position: fixed;
  /* stays on top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 11110;
  justify-content: space-between;
  display: flex;
  align-items: center;
  padding: 15px 3rem;
display: flex;
align-items: center;
justify-content: space-between;

}

/* Nav Icons */
.nav-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 22px;
}

.nav-icons a {
  color: #fff;
  position: relative;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-icons a:hover {
  color: #e91e63;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #e91e63;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
}

/* Logo */
.logo img {
  width: 6rem;
  height: auto;
}

/* Pre-order text */
.top-bar.second .pre {
  font-size: 16px;
  color: white;
}

/* Search Box */
.top-bar.second .search-input-box {
  flex: 1;
  max-width: 600px;
  margin: 0 20px;
  position: relative;
}

.top-bar.second .search-input-box input {
  width: 100%;
  padding: 12px 22px;
  border: none;
  border-radius: 41px;
  font-size: 15px;
  outline: none;
}

/* SVG icon inside the search box */
.top-bar.second .search-input-box svg,
.top-bar.second .search-input-box svg path {
  transition: fill 0.3s;
}

/* Default color */
.top-bar.second .search-input-box svg path {
  fill: #e91e63;
}

/* Hover color */
.top-bar.second .search-input-box:hover svg path {
  fill: #000;
}

/* Position & size */
.top-bar.second .search-input-box svg {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px;
  display: block;
  position: relative;
}

/* Hover underline effect (for all except Categories) */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #e91e63;
  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Disable underline for Categories */
#categories-btn::after {
  display: none !important;
  content: none !important;
}

#categories-btn:hover::after {
  width: 0 !important;
}

/* Responsive */
/* @media (max-width: 768px) { .top-bar.second { flex-direction: column; align-items: flex-start; padding: 15px 1rem; } .top-bar.second .search-input-box { margin: 10px 0; max-width: 100%; } } */
/* Logo */
.top-bar.second .logo {
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7.5px 3rem 15px 2.4rem;
  background: #fff;
  width: 100%;
}

/* Right side buttons */
.nav-icons {
  display: flex;
  gap: 1rem;
}

.nav-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  transition: 0.3s ease;
}

.call-btn {
  background: black;
}

.whatsapp-btn {
  background: #25D366;
}

.nav-icons a:hover {
  opacity: 0.8;
}

.line {
  margin-left: 2rem;
  color: #e91e63;
  font-size: large;
}

.line1 {
  color: #e91e63;
  font-size: large;
  margin: 0rem 0.6rem 0rem 1rem;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 19998;
}

#overlay.active {
  display: block;
}

#overlay.active {
  display: block;
}

/* Left Panel */
#categories-panel {
  position: fixed;
  top: 0;
  left: -350px;
  width: 350px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
  z-index: 19999;
  transition: 0.3s ease;
  overflow-y: auto;
}

#categories-panel.active {
  left: 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  font-weight: bold;
  border-bottom: 1px solid #eee;
}

#categories-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#categories-panel li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
}

#categories-panel li a .arrow {
  font-size: 31px;
  color: #333;
}

#categories-panel li a:hover {
  background: #f5f5f5;
}

/* Close Button */
#close-panel {
  cursor: pointer;
  font-size: 24px;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  margin-left : 0.5rem;
  cursor: pointer;
  z-index: 2001;
  /* stays above overlay */
}

/* Hide arrow by default (desktop) */
.categories-link .arrow {
  display: none;
  margin-left: auto;
  font-size: 1.7rem;
  color: #000;
}

/* On mobile (≤ 1220px) */
@media (max-width: 1220px) {

  .categories-link .line,
  .categories-link i {
    display: none;
  }

  .categories-link .arrow {
    display: inline-block;
    margin-left: 4rem;
  }
}

@media (max-width: 1220px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -350px;
    /* hidden by default */
    width: 350px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 20px 20px;
    transition: right 0.3s ease;
    z-index: 20100;
  }

  .nav-links.active {
    right: 0;
  }

  /* ✅ shows when toggled */
}

/* Panel menus stacked */
.panel-menu {
  display: none;
  padding: 0;
  margin: 0;
  list-style: none;
}

.panel-menu.active {
  display: block;
}

/* Back button */
.panel-menu .back a {
  font-weight: bold;
  display: block;
  padding: 12px 15px;
  background: #f5f5f5;
}

/* Items */
.panel-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
}

.panel-menu li a:hover {
  background: #f9f9f9;
}
@media (max-width: 640px){
    .line1 {

  margin: 0rem 0.1rem 0rem 0.5rem;
}

}
@media (max-width: 598px) {

  /* default mobile state */
  .top-bar.second {
    flex-wrap: nowrap;
  }

  .top-bar.second .search-input-box input {
    display: none;
  }

  /* 🔍 SEARCH ACTIVE STATE */
  .top-bar.second.mobile-search-active {
    padding: 10px 15px;
  }

  .top-bar.second.mobile-search-active .logo,
  .top-bar.second.mobile-search-active .nav-icons {
    display: none;
  }

  .top-bar.second.mobile-search-active .search-input-box {
    flex: 1;
    width: 100%;
  }

  .top-bar.second.mobile-search-active .search-input-box input {
    display: block;
    width: 100%;
    height: 45px;
  }

  .top-bar.second.mobile-search-active .search-input-box svg {
    display: none;
  }
  .top-bar.second .search-input-box:hover svg path {
  fill: #e91e63;
  }
}



