/* Modern Navbar Styles */
.modern-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-family: 'Roboto', sans-serif;
}

.navbar-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo Section */
.navbar-brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.brand-link:hover {
  opacity: 0.8;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Main Navigation */
.navbar-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 32px;
}

.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #4a4a4a;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
  color: #6b46c1;
  background: #f3f0ff;
}

/* Right Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.action-item {
  position: relative;
}

.action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #4a4a4a;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.action-btn:hover {
  background: #f5f5f5;
  color: #6b46c1;
}

.action-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #dc2626;
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 9px;
  display: none;
  align-items: center;
  justify-content: center;
}

.action-badge.show {
  display: flex;
}

/* Dropdown Styles */
.action-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  z-index: 1001;
}

.action-dropdown.active {
  display: flex;
}

.dropdown-head {
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.dropdown-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.dropdown-close:hover {
  background: #f3f4f6;
  color: #1a1a1a;
}

.dropdown-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  max-height: 350px;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #9ca3af;
  font-size: 15px;
}

.dropdown-foot {
  padding: 16px 20px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.summary-label {
  font-size: 15px;
  font-weight: 500;
  color: #6b7280;
}

.summary-value {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

/* Buttons */
.btn-primary-full,
.btn-outline,
.btn-text {
  display: block;
  text-align: center;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary-full {
  background: #6b46c1;
  color: white;
}

.btn-primary-full:hover {
  background: #5936a3;
}

.btn-outline {
  background: transparent;
  color: #6b46c1;
  border: 1px solid #6b46c1;
}

.btn-outline:hover {
  background: #f3f0ff;
}

.btn-text {
  background: transparent;
  color: #6b7280;
  padding: 8px;
}

.btn-text:hover {
  color: #1a1a1a;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
}

.mobile-toggle:hover {
  background: #f5f5f5;
}

.toggle-line {
  width: 100%;
  height: 2px;
  background: #4a4a4a;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
  z-index: 1002;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  padding: 24px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-brand {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.mobile-close {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 20px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-close:hover {
  background: #f3f4f6;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 16px;
}

.mobile-menu-list li {
  margin-bottom: 4px;
}

.mobile-link {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #4a4a4a;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
}

.mobile-link:hover,
.mobile-link.active {
  color: #6b46c1;
  background: #f3f0ff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .navbar-wrapper {
    padding: 0 16px;
    height: 64px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .action-dropdown {
    width: 100vw;
    max-width: 380px;
    right: -16px;
  }
}
