/* Garuda Desktop Top Header & Sub-Navigation */

.garuda-navbar-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.garuda-top-header {
  background-color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

/* Brand Link */
.garuda-brand-link {
  text-decoration: none;
  gap: 12px;
  min-width: 220px;
}

.garuda-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(192, 57, 43, 0.15);
}

.garuda-brand-text {
  display: flex;
  flex-direction: column;
}

.garuda-brand-name {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #c0392b;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.garuda-brand-tagline {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.1px;
}

/* Search Bar */
.garuda-search-form {
  flex: 1;
  max-width: 580px;
  margin: 0 24px;
}

.garuda-search-inner {
  background-color: #fdfaf5;
  border: 1.5px solid #e2e8f0;
  border-radius: 30px;
  padding: 6px 16px;
  width: 100%;
  transition: all 0.2s ease;
}

.garuda-search-inner:focus-within {
  border-color: #c0392b;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08);
}

.garuda-search-icon-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  padding: 0;
  display: flex;
  align-items: center;
  margin-right: 10px;
  cursor: pointer;
}

.garuda-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #1e293b;
  flex: 1;
  width: 100%;
}

.garuda-search-input::placeholder {
  color: #94a3b8;
  font-size: 13.5px;
}

.garuda-search-addon-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 18px;
  padding: 4px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.garuda-search-addon-btn:hover {
  color: #c0392b;
  background-color: #fee2e2;
}

/* Right Header Actions */
.garuda-header-actions {
  gap: 20px;
}

/* Location Selector */
.garuda-location-trigger {
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.garuda-location-trigger:hover {
  background-color: #f8fafc;
}

.garuda-location-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.garuda-loc-label {
  font-size: 11px;
  color: #64748b;
}

.garuda-loc-city {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

/* Action Items (Wishlist, Cart) */
.garuda-action-item {
  color: #334155;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.15s ease;
  font-size: 18px;
}

.garuda-action-item:hover {
  color: #c0392b;
  background-color: #fef2f2;
}

.garuda-action-label {
  font-size: 12px;
  font-weight: 500;
  margin-top: 2px;
}

.garuda-cart-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.garuda-badge-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #c0392b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* Account Dropdown */
.garuda-account-dropdown {
  position: relative;
}

.garuda-account-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.garuda-account-btn::after {
  display: none;
}

.garuda-account-btn:hover {
  background-color: #f8fafc;
}

.garuda-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fde8e8;
  color: #c0392b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.garuda-account-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.garuda-account-greeting {
  font-size: 11px;
  color: #64748b;
}

.garuda-account-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.garuda-dropdown-menu {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 8px;
  min-width: 210px;
  margin-top: 8px !important;
}

.garuda-dropdown-menu .dropdown-item {
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #334155;
  display: flex;
  align-items: center;
  transition: background 0.15s ease;
}

.garuda-dropdown-menu .dropdown-item:hover {
  background-color: #fef2f2;
  color: #c0392b;
}

/* Deliver-To Dropdown */
.garuda-deliver-dropdown {
  position: relative;
}

.garuda-deliver-menu {
  width: 420px;
  max-width: min(440px, 92vw);
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 0;
  overflow: hidden;
  margin-top: 10px !important;
}

.garuda-deliver-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7f5 100%);
  border-bottom: 1px solid #f1f5f9;
}

.garuda-deliver-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
}

.garuda-deliver-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.deliver-addr-list {
  max-height: 290px;
  overflow-y: auto;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deliver-addr-item {
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.deliver-addr-item:hover {
  border-color: #fca5a5;
  background-color: #fffafa !important;
  transform: translateY(-1px);
}

.deliver-addr-item.active-addr {
  border-color: #b8422a !important;
  background-color: #fff7f5 !important;
  box-shadow: 0 2px 8px rgba(184, 66, 42, 0.08);
}

.deliver-addr-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.15s ease;
}

.deliver-addr-item.active-addr .deliver-addr-radio {
  border-color: #b8422a;
  background: #b8422a;
}

.deliver-addr-item.active-addr .deliver-addr-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.deliver-addr-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.deliver-addr-badge-default {
  font-size: 10.5px;
  font-weight: 700;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 2px 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.deliver-addr-text {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.4;
  margin-top: 3px;
}

.garuda-deliver-footer {
  padding: 12px 18px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.btn-deliver-manage {
  font-size: 12.5px;
  font-weight: 600;
  color: #b8422a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.15s;
}

.btn-deliver-manage:hover {
  background: #fee2e2;
  color: #9c3520;
}

.btn-deliver-add {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: #b8422a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.15s;
}

.btn-deliver-add:hover {
  background: #9c3520;
  color: #ffffff;
}

/* Profile Icon Button & Menu */
.garuda-profile-icon-btn {
  padding: 4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.garuda-profile-icon-btn:hover {
  background-color: #f8fafc;
  border-color: #e2e8f0;
}

.garuda-profile-dropdown-menu {
  min-width: 260px;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
}

.garuda-profile-dropdown-menu .dropdown-item {
  padding: 9px 16px;
  font-size: 13.5px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.garuda-profile-dropdown-menu .dropdown-item:hover {
  background-color: #faf0ee;
  color: #c73b27;
}

/* Notification Bell Dropdown */
.garuda-notif-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.garuda-notif-btn {
  background: none;
  border: none;
  color: #334155;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
  padding: 0;
  text-decoration: none;
}

.garuda-notif-btn:hover {
  color: #c0392b;
  background-color: #fef2f2;
}

.garuda-notif-btn::after {
  display: none;
}

.garuda-notif-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background-color: #c0392b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  padding: 0 4px;
  line-height: 1;
}

.garuda-notif-menu {
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.05);
  padding: 0;
  width: 460px;
  max-width: min(94vw, 460px);
  margin-top: 10px !important;
  overflow: hidden;
  z-index: 1055;
  background: #ffffff;
}

.garuda-notif-header {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf7 100%);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.garuda-notif-header .notif-header-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.garuda-notif-header .notif-quick-mark {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: #b8422a;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.garuda-notif-header .notif-quick-mark:hover {
  background: #fdf2f0;
  color: #9c331c;
}

.garuda-notif-body {
  max-height: 410px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.garuda-notif-body::-webkit-scrollbar {
  width: 5px;
}

.garuda-notif-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.garuda-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 20px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background-color 0.15s ease;
  position: relative;
}

.garuda-notif-item:last-child {
  border-bottom: none;
}

.garuda-notif-item:hover {
  background-color: #f8fafc;
}

.garuda-notif-item.unread {
  background-color: #fff9f6;
  border-left: 3px solid #b8422a;
}

.garuda-notif-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.garuda-notif-item:hover .garuda-notif-icon-circle {
  transform: scale(1.05);
}

.garuda-notif-content {
  line-height: 1.4;
  min-width: 0;
  flex-grow: 1;
}

.garuda-notif-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
  overflow-wrap: anywhere;
}

.garuda-notif-desc {
  font-size: 13px;
  line-height: 1.48;
  color: #475569 !important;
  overflow-wrap: anywhere;
  margin-bottom: 4px;
}

.garuda-notif-time {
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.garuda-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #b8422a;
  flex-shrink: 0;
  margin-top: 6px;
}

.garuda-notif-footer {
  background: #fffaf7;
  padding: 12px 18px !important;
  border-top: 1px solid #f1f5f9;
}

.garuda-notif-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #b8422a;
  font-weight: 700;
  font-size: 13px;
  transition: gap 0.15s ease, color 0.15s ease;
}

.garuda-notif-footer a:hover {
  gap: 10px;
  color: #9c331c;
}

/* Become a Seller CTA */
.garuda-become-seller-btn {
  background-color: #c0392b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.garuda-become-seller-btn:hover {
  background-color: #a93226;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(192, 57, 43, 0.3);
}

/* Artisan Studio Specific Styles */
.garuda-studio-badge {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  color: #c0392b;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(192, 57, 43, 0.25);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.garuda-add-prod-btn {
  background: linear-gradient(135deg, #c0392b, #b43e24);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(192, 57, 43, 0.25);
  border: none;
}

.garuda-add-prod-btn:hover {
  background: linear-gradient(135deg, #a93226, #9c331c);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.35);
}

.garuda-subnav-badge {
  background-color: #c0392b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.garuda-seller-subnav {
  background: #fdfaf7;
  border-bottom: 1.5px solid #f0e6dc;
}

.garuda-subnav-market-btn {
  font-size: 12.5px;
  font-weight: 600;
  color: #c0392b;
  background-color: #ffffff;
  border: 1px solid rgba(192, 57, 43, 0.2);
  padding: 5px 12px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.garuda-subnav-market-btn:hover {
  background-color: #c0392b;
  color: #ffffff;
  border-color: #c0392b;
}

/* Category Sub-Navbar */
.garuda-subnav {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0;
}

.garuda-subnav-all {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  padding: 10px 18px 10px 0;
  border-right: 1px solid #e2e8f0;
  margin-right: 12px;
  transition: color 0.15s ease;
}

.garuda-subnav-all:hover {
  color: #c0392b;
}

.garuda-subnav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding: 2px 0;
}

.garuda-subnav-links::-webkit-scrollbar {
  display: none;
}

.garuda-subnav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  padding: 10px 16px;
  border-bottom: 2.5px solid transparent;
  border-radius: 6px 6px 0 0;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
}

.garuda-subnav-link:hover {
  color: #c0392b;
  background-color: rgba(192, 57, 43, 0.04);
}

.garuda-subnav-link.active {
  color: #c0392b;
  font-weight: 600;
  border-bottom-color: #c0392b;
  background-color: rgba(192, 57, 43, 0.05);
}

.garuda-brand-link {
  order: 1;
  flex-shrink: 0;
}

.garuda-search-form {
  order: 2;
  flex: 1;
}

.garuda-header-actions {
  order: 3;
  margin-left: auto;
}

@media (max-width: 992px) {
  .garuda-brand-link {
    min-width: auto;
    order: 1;
  }
  .garuda-brand-tagline {
    display: none;
  }
  .garuda-location-trigger {
    display: none !important;
  }
  .garuda-search-form {
    order: 2;
    flex: 1;
    min-width: 160px;
    max-width: 380px;
    margin: 0 10px;
  }
  .garuda-header-actions {
    order: 3;
    margin-left: auto;
    gap: 12px;
  }
  .garuda-studio-badge {
    display: none;
  }
  .garuda-subnav-market-btn {
    display: none;
  }
  .garuda-account-text {
    display: none;
  }
}

/* Responsive Enhancements for Mobile (< 576px) */
@media (max-width: 576px) {
  .garuda-top-header {
    padding: 10px 0 8px 0;
  }
  .garuda-top-header > .desktop-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 8px;
  }
  .garuda-brand-link {
    order: 1;
    flex-shrink: 0;
  }
  .garuda-header-actions {
    order: 2;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  /* Remove Become a Seller & Add Product buttons on mobile responsive header only */
  .garuda-become-seller-btn,
  .garuda-add-prod-btn {
    display: none !important;
  }
  .garuda-search-form {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 4px 0 0 0 !important;
  }
  .garuda-brand-logo {
    width: 36px;
    height: 36px;
  }
  .garuda-brand-name {
    font-size: 18px;
  }
  .garuda-action-label {
    display: none;
  }
  .garuda-action-item {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #334155;
    transition: all 0.2s ease;
  }
  .garuda-action-item:hover,
  .garuda-action-item:active {
    background: #fef2f2;
    color: #c0392b;
    border-color: #fca5a5;
  }
  .garuda-action-item i {
    font-size: 18px;
    color: inherit;
    line-height: 1;
  }
  .garuda-avatar-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #fde8e8;
    color: #c0392b;
    border: 1.5px solid #c0392b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }
  .garuda-account-btn {
    padding: 0;
  }
  .garuda-search-inner {
    padding: 6px 14px;
    background-color: #f8fafc;
  }
  .garuda-search-input {
    font-size: 13.5px;
  }
  .garuda-search-addon-btn {
    font-size: 17px;
    padding: 2px;
    margin-left: 6px;
  }
  .garuda-dropdown-menu {
    max-width: 92vw;
    right: 0;
    left: auto;
  }
  .garuda-subnav-links {
    -webkit-overflow-scrolling: touch;
  }
  .garuda-subnav-link {
    font-size: 12.5px;
    padding: 8px 12px;
  }
}

/* Locked Navigation Tabs for Unverified Sellers */
.nav-locked, .garuda-subnav-locked {
  opacity: 0.55;
  cursor: not-allowed !important;
  color: #94a3b8 !important;
  user-select: none;
  pointer-events: auto;
}

.nav-locked:hover, .garuda-subnav-locked:hover {
  color: #94a3b8 !important;
  border-bottom-color: transparent !important;
}

