.gb-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #711c77 0%, #9f238c 52%, #b31878 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(113, 28, 119, 0.28);
}

.gb-navbar-inner {
  max-width: 1400px;
  min-height: 70px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.gb-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.gb-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #fff;
}

.gb-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.gb-brand-kicker {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.gb-brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffd700;
}

.gb-delivery {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}

.gb-search {
  flex: 1;
  max-width: 460px;
  display: flex;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.gb-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0.85rem 1.2rem;
  color: #333;
  background: transparent;
  font: inherit;
}

.gb-search button {
  border: 0;
  padding: 0 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, #7f1d88 0%, #9f238c 52%, #b31878 100%);
  cursor: pointer;
}

.gb-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.gb-nav-link,
.gb-auth-button,
.gb-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}

.gb-nav-link:hover,
.gb-nav-link.active,
.gb-auth-button:hover,
.gb-cart-button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gb-auth {
  position: relative;
}

.gb-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: 270px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.gb-dropdown.active {
  display: block;
}

.gb-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  background: #f8f4ff;
}

.gb-dropdown-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #711c77 0%, #9f238c 52%, #b31878 100%);
  color: #fff;
}

.gb-dropdown-name {
  display: block;
  font-weight: 700;
  color: #2d1b69;
}

.gb-dropdown-email {
  display: block;
  color: #64748b;
  font-size: 0.8rem;
}

.gb-dropdown a,
.gb-dropdown button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 0;
  background: #fff;
  color: #1e293b;
  text-decoration: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.gb-dropdown a:hover,
.gb-dropdown button:hover {
  background: #f8f4ff;
  color: #711c77;
}

.gb-dropdown .gb-logout {
  color: #e74c3c;
  border-top: 1px solid #edf2f7;
}

.gb-cart-button {
  position: relative;
  width: 48px;
  padding: 0;
  font-size: 1.05rem;
}

.gb-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e74c3c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .gb-navbar {
    display: none;
  }
}

.gb-address-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gb-address-modal.active {
  display: flex;
}

.gb-address-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(3px);
}

.gb-address-panel {
  position: relative;
  width: min(690px, 100%);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
}

.gb-address-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  border-bottom: 1px solid #e2e8f0;
}

.gb-address-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.45rem;
}

.gb-address-header button {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #f8fafc;
  color: #64748b;
  font-size: 1.1rem;
  cursor: pointer;
}

.gb-address-body {
  max-height: calc(92vh - 104px);
  overflow-y: auto;
  padding: 28px 32px 34px;
}

.gb-address-form {
  display: grid;
  gap: 18px;
}

.gb-address-grid {
  display: grid;
  gap: 18px;
}

.gb-address-grid label {
  display: grid;
  gap: 8px;
  color: #1e293b;
  font-weight: 700;
}

.gb-address-grid input,
.gb-address-grid select {
  width: 100%;
  min-height: 58px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 0 16px;
  color: #1e293b;
  background: #fff;
  font: inherit;
}

.gb-address-grid input:focus,
.gb-address-grid select:focus,
.gb-address-grid input.valid {
  outline: 0;
  border-color: #10b981;
}

.gb-pincode-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gb-pincode-ok {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #15d914;
  border: 2px solid #111827;
}

.gb-pincode-ok:empty {
  display: none;
}

.gb-save-address {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #16c784 0%, #14b8a6 100%);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.26);
}

.gb-saved-addresses {
  margin-top: 34px;
}

.gb-saved-addresses h4 {
  margin: 0 0 16px;
  color: #1e293b;
  font-size: 1.12rem;
}

.gb-saved-address {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #64748b;
  text-align: left;
  cursor: pointer;
}

.gb-saved-address.selected {
  border-color: #10b981;
  background: #f0fdf9;
}

.gb-address-card-content {
  display: grid;
  gap: 6px;
  line-height: 1.5;
}

.gb-address-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #7f1d88;
  color: #fff;
  font-weight: 800;
}

.gb-address-card-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.gb-select-address,
.gb-delete-address {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.gb-select-address {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
}

.gb-delete-address {
  color: #ef4444;
  background: #fee2e2;
}

.gb-address-loading,
.gb-address-error,
.gb-no-address {
  color: #64748b;
}
