.loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #dee2e6;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: box-shadow 0.15s;
}
.loc-btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #333;
}
.loc-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}
.chevron-icon {
  width: 13px;
  height: 13px;
  transition: transform 0.2s;
}
.bc-dropdown {
  width: 255px;
  max-width: 90vw;
  padding: 0 !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.13) !important;
  overflow: hidden;
}
.drop-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #94a3b8;
  text-transform: uppercase;
  padding: 10px 14px 6px;
  list-style: none;
}
.drop-search-wrap {
  padding: 8px 12px;
  border-bottom: 1px solid #f1f3f5;
}
.drop-search-wrap input {
  width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  outline: none;
  background: #f8f9fa;
}
.drop-search-wrap input:focus {
  border-color: #6366f1;
  background: #fff;
}
.states-grid {
  padding: 6px 10px 10px;
}
.loc-option {
  display: block;
  width: 100%;
  padding: 5px 8px;
  font-size: 13px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.1s;
}
.loc-option:hover {
  background: #f1f5f9;
  color: #374151;
}
.loc-option.active-loc {
  background: #eef2ff;
  color: #4f46e5;
  font-weight: 500;
}
.no-result {
  padding: 10px 8px;
  font-size: 13px;
  color: #94a3b8;
}

/* ═══════════════════════════════════════════
   ACCOUNT DROPDOWN — Premium flipkart-style
═══════════════════════════════════════════ */
.bc-account-dropdown {
  min-width: 380px;
  max-width: 92vw;
  padding: 0 !important;
  border-radius: 18px !important;
  border: 1px solid rgba(124, 58, 0, 0.1) !important;
  box-shadow: 0 24px 60px rgba(61, 26, 0, 0.28) !important;
  overflow: hidden;
  animation: ddFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  background: #fff;
}
@media (max-width: 360px) {
  .bc-account-dropdown {
    min-width: auto;
    width: 100%;
    max-width: 100vw;
  }
}

.bc-account-dropdown li a {
  border-top: none !important;
  color: inherit;
  font-size: inherit;
}

@keyframes ddFadeIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Header block with avatar ── */
.bc-dd-header {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 18px 18px !important;
  background: linear-gradient(135deg, #2b1200 0%, #5b2800 55%, #a85b1e 100%);
  position: relative;
  overflow: hidden;
  list-style: none;
}

.bc-dd-header::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -70px;
  right: -40px;
}

.bc-dd-header::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 210, 120, 0.12);
  bottom: -45px;
  left: 45%;
}

.bc-dd-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb347, #f59e0b, #d97706);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 1;
}

.bc-dd-header-info {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.bc-dd-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-dd-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 3px;
}

/* ── Tab switcher (Notifications | My Account) ── */
.bc-dd-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 14px 0;
  background: linear-gradient(180deg, #fff8f0, #fff);
  list-style: none;
}

.bc-dd-tab {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 6px;
  border-radius: 12px;
  border: 1.5px solid #f0e6db;
  background: #fff;
  color: #6b5b4a;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
}

.bc-dd-tab:hover {
  border-color: #e3cbaa;
  color: #b56c2b;
}

.bc-dd-tab.active {
  background: linear-gradient(135deg, #7c3a00, #b56c2b);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 5px 14px rgba(124, 58, 0, 0.28);
}

.bc-dd-tab i { font-size: 12px; flex-shrink: 0; }

.bc-dd-tab-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff6b35, #ff3b30);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.4);
  animation: notifPulse 1.8s ease infinite;
}

@keyframes notifPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(255, 59, 48, 0.3); }
  50%      { box-shadow: 0 2px 14px rgba(255, 59, 48, 0.6); }
}

/* ── Notifications inside dropdown ── */
.bc-dd-notif-wrap {
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, #fff8f0, #fff);
  list-style: none;
  border-bottom: 1px solid #f3e6d8;
}

.bc-dd-notif-list {
  max-height: 190px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: #e8cba8 transparent;
}

.bc-dd-notif-list--full {
  max-height: 300px;
}

.bc-dd-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f5e9dc;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}

.bc-dd-notif-item:hover {
  background: #fff4e6;
  transform: translateX(3px);
  border-color: #f0c896;
}

.bc-dd-notif-item.unread {
  background: #fff0d6;
  border-color: #f3cd9a;
}

.bc-dd-notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d9d9;
  flex-shrink: 0;
  margin-top: 5px;
}

.bc-dd-notif-item.unread .bc-dd-notif-dot {
  background: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
}

.bc-dd-notif-body {
  flex: 1;
  min-width: 0;
}

.bc-dd-notif-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 2px;
}

.bc-dd-notif-msg {
  font-size: 11.5px;
  color: #8a7a68;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bc-dd-notif-empty {
  padding: 16px;
  text-align: center;
  color: #b3a290;
  font-size: 12.5px;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed #e8d5bf;
}

/* Divider */
.bc-dd-divider {
  margin: 4px 0 !important;
  border-color: #f0ece7 !important;
}

/* ── Orders inside dropdown ── */
.bc-dd-orders-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  color: #b3a290;
  font-size: 13px;
  font-weight: 600;
}

.bc-dd-orders-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid #f0e0cd;
  border-top-color: #b56c2b;
  border-radius: 50%;
  animation: bcDdSpin 0.7s linear infinite;
}

@keyframes bcDdSpin {
  to { transform: rotate(360deg); }
}

.bc-dd-order-section {
  margin-bottom: 14px;
}

.bc-dd-order-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #8a6a45;
  margin-bottom: 8px;
}

.bc-dd-order-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffb347, #f59e0b);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bc-dd-order-list {
  max-height: 190px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: #e8cba8 transparent;
}

.bc-dd-order-card {
  background: #fff;
  border: 1px solid #f5e9dc;
  border-radius: 12px;
  padding: 10px 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bc-dd-order-card:hover {
  border-color: #f0c896;
  box-shadow: 0 4px 14px rgba(124, 58, 0, 0.08);
}

.bc-dd-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bc-dd-order-id {
  font-size: 12px;
  font-weight: 800;
  color: #2d2d2d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-dd-order-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

.bc-dd-order-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bc-dd-order-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #9a8a78;
  margin-top: 4px;
}

.bc-dd-order-type {
  padding: 1px 7px;
  border-radius: 6px;
  background: #faf3ec;
  border: 1px solid #f3e6d8;
  color: #8a6a45;
  font-size: 10px;
  font-weight: 700;
}

.bc-dd-order-items {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.bc-dd-order-chip {
  padding: 3px 8px;
  border-radius: 8px;
  background: #faf6f1;
  border: 1px solid #f1e7db;
  color: #5f4b36;
  font-size: 11px;
  font-weight: 600;
}

.bc-dd-order-more {
  background: #fff4e6;
  border-color: #f0dcc2;
  color: #b56c2b;
}

.bc-dd-order-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed #f0e7dc;
}

.bc-dd-order-total {
  font-size: 13px;
  font-weight: 800;
  color: #7c3a00;
}

.bc-dd-order-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-dd-order-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 700;
  color: #b56c2b;
  text-decoration: none;
  transition: color 0.18s ease;
}

.bc-dd-order-link:hover {
  color: #7c3a00;
  text-decoration: underline;
}

/* Tracking steps */
.bc-dd-tracking {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #f0e7dc;
}

.bc-dd-tracking-loading,
.bc-dd-tracking-error {
  font-size: 11.5px;
  color: #b3a290;
}

.bc-dd-tracking-error { color: #dc2626; }

.bc-dd-tracking-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bc-dd-tracking-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #c0b2a2;
}

.bc-dd-tracking-step-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e6dcd0;
  flex-shrink: 0;
}

.bc-dd-tracking-step.done .bc-dd-tracking-step-dot {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.bc-dd-tracking-step.current .bc-dd-tracking-step-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
  animation: bcDdPulse 1.5s ease infinite;
}

@keyframes bcDdPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22); }
  50%      { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.12); }
}

.bc-dd-tracking-step.done,
.bc-dd-tracking-step.current {
  color: #3d2a1a;
  font-weight: 700;
}

.bc-dd-tracking-step-time {
  margin-left: auto;
  font-size: 10px;
  color: #b3a290;
  font-weight: 500;
}

.bc-dd-orders-footer {
  padding-top: 4px;
  text-align: center;
}

.bc-dd-orders-viewall {
  font-size: 12px;
  padding: 8px 0;
  display: inline-block;
}

/* ── Menu items ── */
.bc-dd-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 11px 18px !important;
  font-size: 13.5px !important;
  color: #3d2a1a !important;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
  text-decoration: none;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  position: relative;
}

.bc-dd-item:hover {
  background: #fff4e8 !important;
  color: #c45c00 !important;
  padding-left: 22px !important;
}

.bc-dd-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #faf3ec;
  border: 1px solid #f3e6d8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.bc-dd-item:hover .bc-dd-icon {
  background: linear-gradient(135deg, #ffb347, #f59e0b);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.bc-dd-text { flex: 1; }

.bc-dd-item::after {
  content: "→";
  font-size: 13px;
  color: #cbb8a4;
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
  transform: translateX(-6px);
}

.bc-dd-item:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: #c45c00;
}

/* ── Sign out ── */
.bc-dd-signout {
  color: #dc2626 !important;
}

.bc-dd-signout:hover {
  background: #fff1f1 !important;
  color: #b91c1c !important;
}

.bc-dd-signout .bc-dd-icon {
  background: #fee8e8;
  border-color: #f8d7d7;
  color: #dc2626;
}

.bc-dd-signout:hover .bc-dd-icon {
  background: linear-gradient(135deg, #ff5f6d, #dc2626) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.bc-dd-signout::after { content: none; }

/* ── Deactivate account ── */
.bc-dd-deactivate {
  color: #d97706 !important;
}

.bc-dd-deactivate:hover {
  background: #fff7ed !important;
  color: #b45309 !important;
}

.bc-dd-deactivate .bc-dd-icon {
  background: #fef3c7;
  border-color: #fde68a;
  color: #d97706;
}

.bc-dd-deactivate:hover .bc-dd-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.bc-dd-deactivate::after { content: none; }

/* ── Deactivate modal ── */
.bc-deactivate-warn {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
  margin: 0 0 16px;
}

.bc-deactivate-msg {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #fff1f1;
  color: #b91c1c;
}

.bc-deactivate-msg.success {
  background: #ecfdf5;
  color: #047857;
}

.bc-deactivate-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.bc-deactivate-cancel,
.bc-deactivate-confirm {
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.bc-deactivate-cancel {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}

.bc-deactivate-cancel:hover:not(:disabled) {
  background: #e5e7eb;
}

.bc-deactivate-confirm {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.bc-deactivate-confirm:hover:not(:disabled) {
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.bc-deactivate-cancel:disabled,
.bc-deactivate-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

