/* Reset */
* {
  box-sizing: border-box;
}

/* Header Base */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #5F0042;
  padding: 0.3rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.logo {
  height: 48px;
  border-radius: 6px;
}

header h2 {
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin: 0;
}

/* Hamburger */
.menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  display: none;
  cursor: pointer;
}

/* Nav Menu */
#nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

#nav-menu a,
.dropbtn {
  color: #fff;
  text-decoration: none;
  font-family: 'donate', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0.7rem;
  background: none;
  border: none;
  cursor: pointer;
}

#nav-menu a:hover,
.dropbtn:hover {
  color: #f0c4e4;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #5F0042;
  top: 100%;
  left: 0;
  border-radius: 6px;
  min-width: 180px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.dropdown-content a {
  display: block;
  padding: 0.7rem 1rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background-color: #7a0a6b;
}

/* Desktop hover */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #nav-menu {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 60px;
    right: 0;
    width: 100vw;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    padding: 2rem 1.5rem;
    z-index: 999;
  }

  #nav-menu.open {
    transform: translateX(0);
  }

  #nav-menu a,
  .dropbtn {
    color: #5F0042;
    width: 100%;
    text-align: left;
    padding: 1rem;
    font-size: 1rem;
  }

  .dropdown-content {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    display: none;
    flex-direction: column;
    gap: 0;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }

  .dropdown-content a {
    color: #5F0042;
    padding: 0.5rem 1rem;
  }

  .dropdown-content a:hover {
    background-color: #e8d5e1;
    color: #7a0a6b;
    border-radius: 8px;
  }
}

/* Hide Looksyy.in title on small screens */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

/* Cart Button: Hidden by default */
.mobile-cart-btn {
  display: none;
  font-size: 1.8rem;
  margin-left: auto;
  padding: 0.5rem;
  text-decoration: none;
  color: #2d001f;
}

/* Show only on mobile */
@media (max-width: 768px) {
  .mobile-cart-btn {
    display: block;
  }
}
/* Collection Dropdown (Hidden by Default on Mobile) */
.dropdown-content {
  display: none;
  flex-direction: column;
}

.dropdown-content.show {
  display: flex;
}
