﻿:root {
  --primary: #ff8a1a;
  --primary-dark: #e56a00;
  --primary-soft: #ffe8d2;
  --dark: #0f172a;
  --slate: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --danger: #ef4444;
  --success: #10b981;
  --radius-xl: 24px;
  --shadow-card: 0 10px 30px -10px rgba(0,0,0,0.08);
  --shadow-float: 0 20px 40px -10px rgba(255,138,26,0.24);
  --glass: rgba(255,255,255,0.85);
  --glass-border: 1px solid rgba(255,255,255,0.6);
  --anim-fast: 0.2s ease;
}

html.lb-theme-dark {
  color-scheme: dark;
}
html.lb-theme-dark body {
  background: #0b1220;
  color: #e2e8f0;
}
html.lb-theme-dark .navbar {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.36);
}
html.lb-theme-dark .logo-text,
html.lb-theme-dark .loc-value {
  color: #f8fafc;
}
html.lb-theme-dark .mobile-header-kicker {
  color: #9eb0ca;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 28, 49, 0.65);
}
html.lb-theme-dark .mobile-header-name,
html.lb-theme-dark .mobile-header-address {
  color: #f3f8ff;
}
html.lb-theme-dark .mobile-header-action {
  background: rgba(15, 28, 49, 0.92);
  border-color: rgba(148, 163, 184, 0.28);
  color: #ffb347;
  box-shadow: 0 10px 18px -18px rgba(2, 6, 23, 0.6);
}
html.lb-theme-dark .mobile-inline-back {
  background: rgba(15, 28, 49, 0.92);
  border-color: rgba(148, 163, 184, 0.28);
  color: #f3f8ff;
}
html.lb-theme-dark .loc-label,
html.lb-theme-dark .loc-caret {
  color: #cbd5e1;
}
html.lb-theme-dark .location-box:hover {
  background: rgba(30, 41, 59, 0.92);
  border-color: rgba(148, 163, 184, 0.35);
}
html.lb-theme-dark .cart-pill {
  background: rgba(255, 138, 26, 0.18);
  color: #ffbf82;
}
html.lb-theme-dark .sell-btn {
  background: #0f172a;
}
html.lb-theme-dark .sell-btn:hover {
  background: #1e293b;
}

/* Global Toast UI (shared) */
.lb-toast-host {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: 18px;
  z-index: 2147483647 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-height: calc(100vh - 20px);
  overflow: hidden;
}
.lb-toast-host.lb-toast-over-modal {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
.lb-toast-item {
  width: min(360px, 92vw);
  background: #ffffff;
  border: 1px solid #dbe7ee;
  border-radius: 14px;
  box-shadow: 0 16px 32px -18px rgba(15, 23, 42, 0.4);
  padding: 12px 12px 10px;
  pointer-events: auto;
  animation: lbToastIn 0.2s ease;
}
.lb-toast-item.out {
  opacity: 0;
  transform: translateX(10px);
}
.lb-toast-item[data-tone="error"] {
  border-color: #fecaca;
  background: #fff5f5;
}
.lb-toast-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.lb-toast-head strong {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}
.lb-toast-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
  flex: 0 0 auto;
}
.lb-toast-item[data-tone="error"] .lb-toast-dot {
  background: #ef4444;
}
.lb-toast-close {
  margin-left: auto;
  border: none;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}
.lb-toast-item p {
  margin: 0;
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
  word-break: break-word;
}
@keyframes lbToastIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 768px) {
  .lb-toast-host {
    top: max(10px, env(safe-area-inset-top));
    right: 10px;
    left: 10px;
    transform: none;
    z-index: 2147483647 !important;
  }
  .lb-toast-host.lb-toast-over-modal {
    left: 10px;
    right: 10px;
    transform: none;
  }
  .lb-toast-item {
    width: 100%;
  }
}
/* Footer placement */
html,
body {
  height: 100%;
}
body.lb-with-footer {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body.lb-with-footer > main {
  flex: 1 0 auto;
}
body.lb-with-footer.lb-no-main-footer {
  display: block;
  min-height: auto;
}
#siteFooter {
  margin-top: auto;
  flex-shrink: 0;
}
body.lb-with-footer.lb-no-main-footer #siteFooter {
  margin-top: 28px;
}
body.lb-footer-full {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}
body.lb-footer-full #siteFooter {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
body.lb-footer-full .lb-footer-pro {
  border-radius: 0;
  margin-bottom: 0;
}

/* Header */
.nav-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 20px;
  pointer-events: none;
}
.navbar {
  pointer-events: auto;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.nav-left { display: flex; align-items: center; gap: 28px; min-width: 0; }
.logo-box { display: flex; align-items: center; gap: 12px; transition: transform 0.2s; min-width: 0; }
.logo-box:hover { transform: translateY(-1px); }
.mobile-header-summary,
.mobile-header-action,
.mobile-inline-back {
  display: none;
}
.mobile-inline-back {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid #edd8c8;
  background: #ffffff;
  color: #1e293b;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 18px -18px rgba(15, 23, 42, 0.28);
}
.mobile-header-summary {
  border: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.mobile-header-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 6px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(248, 250, 252, 0.9);
  font-size: 10px;
  font-weight: 900;
  color: #64748b;
  text-transform: none;
  letter-spacing: 0.25px;
  line-height: 1.1;
}
.mobile-header-name {
  display: block;
  font-size: 19px;
  line-height: 1.05;
  font-weight: 800;
  color: #111827;
}
.lb-brand-mark {
  font-weight: 900;
  letter-spacing: -0.3px;
}
.lb-brand-accent {
  color: #facc15;
}
.mobile-header-address {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(42vw, 240px);
}
.mobile-header-address::before {
  content: "\1F4CD";
  margin-right: 6px;
  font-size: 11px;
}
.mobile-header-summary:focus-visible,
.mobile-header-action:focus-visible,
.mobile-inline-back:focus-visible {
  outline: 2px solid rgba(255, 138, 26, 0.45);
  outline-offset: 3px;
  border-radius: 12px;
}
.mobile-header-action {
  min-width: 92px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid #efddcf;
  background: rgba(255,255,255,0.96);
  color: #f97316;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 18px -18px rgba(15, 23, 42, 0.35);
}
.navbar a,
.logo-box,
.logo-box:link,
.logo-box:visited,
.sell-btn,
.sell-btn:link,
.sell-btn:visited {
  text-decoration: none !important;
}
.logo-box .logo-text {
  text-decoration: none !important;
  border-bottom: 0 !important;
}
.logo-img { height: 40px; width: 40px; object-fit: contain; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  display: block;
}
.lb-header-back {
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: var(--anim-fast);
}
.lb-header-back:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.lb-header-back.mobile {
  display: none;
}

.location-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: transparent;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--anim-fast);
  max-width: min(42vw, 480px);
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  font: inherit;
}
.location-box:hover {
  background: var(--white);
  border-color: #e2e8f0;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}
.location-box:focus-visible {
  outline: 2px solid rgba(255, 138, 26, 0.45);
  outline-offset: 2px;
}
.loc-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: 0 0 auto;
}
.loc-text { min-width: 0; flex: 1; }
.loc-label { font-size: 9px; font-weight: 800; color: var(--slate); text-transform: uppercase; letter-spacing: 0.3px; display: block; }
.loc-value { display: block; font-size: 12px; font-weight: 800; color: var(--dark); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-change-btn {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 3px 7px;
  line-height: 1;
  flex: 0 0 auto;
}
.loc-caret { color: var(--slate); font-size: 12px; margin-left: 0; }
.location-box > * {
  pointer-events: none;
}

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.login-theme-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 237, 213, 0.78));
  border: 1px solid rgba(251, 146, 60, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 12px 22px -18px rgba(249, 115, 22, 0.95);
}
.login-theme-wrap .login-nav-btn {
  min-height: 36px;
  border-radius: 999px;
  padding: 0 18px;
  line-height: 1;
}
.theme-toggle {
  border: none;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 64px;
  height: 38px;
  min-width: 64px;
  min-height: 38px;
  visibility: visible;
  opacity: 1;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.theme-toggle-track {
  width: 64px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, 0.52);
  background: linear-gradient(135deg, #fff8ef, #ffe8cc 55%, #ffd9ad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 18px -14px rgba(249, 115, 22, 0.85);
  position: relative;
  overflow: hidden;
  display: block;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.theme-toggle-track::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: translateX(-120%);
  transition: transform 0.35s ease;
  pointer-events: none;
}
.theme-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(155deg, #ffffff, #f8fafc);
  border: 1px solid rgba(249, 115, 22, 0.42);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  transition: transform 0.22s ease;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.theme-toggle-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  line-height: 0;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}
.theme-toggle-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.theme-toggle-icon.sun { left: 11px; color: #f59e0b; filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.35)); }
.theme-toggle-icon.sun svg circle { fill: currentColor; }
.theme-toggle-icon.sun svg path {
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  fill: none;
}
.theme-toggle-icon.moon { right: 11px; color: #334155; }
.theme-toggle-icon.moon svg path { fill: currentColor; }
.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(155deg, #ffffff, #f8fafc);
  border: 1px solid rgba(249, 115, 22, 0.42);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  transition: transform 0.22s ease;
  z-index: 3;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
.theme-toggle:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}
.theme-toggle:hover .theme-toggle-track {
  box-shadow: 0 14px 20px -14px rgba(249, 115, 22, 1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: #fdba74;
}
.theme-toggle:hover .theme-toggle-track::before {
  transform: translateX(120%);
}
.theme-toggle[aria-pressed="true"] .theme-toggle-track {
  background: linear-gradient(135deg, #24364f, #0f172a 72%);
  border-color: #475569;
}
.theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
  transform: translateX(28px);
  background: linear-gradient(135deg, #dbeafe, #f8fafc);
  border-color: rgba(125, 211, 252, 0.66);
}
.theme-toggle[aria-pressed="true"] .theme-toggle-track::after {
  transform: translateX(28px);
  background: linear-gradient(135deg, #dbeafe, #f8fafc);
  border-color: rgba(125, 211, 252, 0.66);
}
.theme-toggle:focus-visible {
  outline: 2px solid rgba(255, 138, 26, 0.65);
  outline-offset: 2px;
}
.theme-toggle[aria-pressed="true"] .theme-toggle-icon.sun { color: #64748b; opacity: 0.7; filter: none; }
.theme-toggle[aria-pressed="true"] .theme-toggle-icon.moon { color: #dbeafe; opacity: 1; }
html.lb-theme-dark .login-theme-wrap {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.85));
  border-color: rgba(71, 85, 105, 0.85);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.2), 0 10px 20px -16px rgba(2, 6, 23, 0.9);
}
html.lb-theme-dark .theme-toggle-track {
  box-shadow: 0 12px 18px -14px rgba(2, 6, 23, 1);
}
html.lb-theme-dark .theme-toggle:hover .theme-toggle-track {
  border-color: #475569;
}
.sell-btn {
  background: var(--dark);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--anim-fast);
}
.sell-btn:hover { background: #334155; transform: translateY(-1px); }
.cart-pill {
  background: var(--primary-soft);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--anim-fast);
  white-space: nowrap;
}
.cart-pill:hover { background: #ffd7ad; transform: translateY(-1px); }

.login-nav-btn {
  background: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--anim-fast);
  box-shadow: 0 4px 12px rgba(15,118,110,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.login-nav-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

.user-account { position: relative; display: flex; align-items: center; }
.user-account { flex: 0 0 auto; }
.user-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), #ffb347);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15,118,110,0.25);
  transition: var(--anim-fast);
}
.user-avatar:hover { transform: scale(1.05); }
.user-menu {
  position: absolute;
  top: 55px;
  right: 0;
  width: 220px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-float);
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 5001;
}
.user-menu p { font-size: 12px; font-weight: 800; color: var(--slate); padding: 10px 12px; text-transform: uppercase; border-bottom: 1px solid #f1f5f9; margin-bottom: 5px; }
.user-id-line{
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted, #64748b);
  padding: 0 12px 10px;
  margin-top: -2px;
}
.user-menu button { padding: 10px 12px; text-align: left; font-size: 13px; font-weight: 700; color: var(--dark); border-radius: 8px; background: transparent; border: none; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.user-menu button:hover { background: var(--light); color: var(--primary); }
html.lb-theme-dark .user-menu {
  background: linear-gradient(165deg, #0f1c31, #14233c) !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
  box-shadow: 0 20px 30px -22px rgba(2, 6, 23, 0.95) !important;
}
html.lb-theme-dark .user-menu p {
  color: #9eb0ca !important;
  border-bottom-color: rgba(148, 163, 184, 0.24) !important;
}
html.lb-theme-dark .user-id-line{
  color: rgba(226, 232, 240, 0.78) !important;
}
html.lb-theme-dark .user-menu button {
  color: #dbe7fb !important;
  background: transparent !important;
  opacity: 1 !important;
}
html.lb-theme-dark .user-menu button:hover {
  background: #12223a !important;
  color: #ffd29f !important;
}
html.lb-theme-dark .user-menu button[data-action="logout"] {
  color: #f87171 !important;
}

.mobile-loc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 10px;
}
.mobile-loc-btn {
  width: 100%;
  min-height: 40px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #dbe7f3;
  border-radius: 12px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 800;
  color: var(--dark);
  box-shadow: 0 8px 18px -14px rgba(15, 23, 42, 0.45);
}
.mobile-loc-btn .pill { background: var(--primary-soft); color: var(--primary); padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; }
#locText,
#locTextMobile {
  display: block;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
#locTextMobile {
  flex: 1;
  font-size: 13px;
  color: #0f172a;
}

#locTextMobile::before {
  content: "\1F4CD";
  margin-right: 6px;
  font-size: 11px;
}
#locText .lb-loc-marquee-track,
#locTextMobile .lb-loc-marquee-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
#locText.is-marquee .lb-loc-marquee-track,
#locTextMobile.is-marquee .lb-loc-marquee-track {
  padding-right: var(--lb-loc-gap, 24px);
  animation: lbLocMarquee var(--lb-loc-speed, 10s) linear infinite;
}
@keyframes lbLocMarquee {
  0%, 18% { transform: translateX(0); }
  82%, 100% { transform: translateX(calc(-1px * var(--lb-loc-loop, 0))); }
}
html.lb-theme-dark .mobile-loc-btn {
  background: linear-gradient(165deg, #0f1c31, #162b48);
  border-color: rgba(148, 163, 184, 0.42);
  box-shadow: 0 12px 22px -16px rgba(2, 6, 23, 0.88);
}
html.lb-theme-dark .mobile-loc-btn .pill {
  background: rgba(255, 138, 26, 0.16);
  border: 1px solid rgba(255, 186, 114, 0.4);
  color: #ffd29f;
}
html.lb-theme-dark #locTextMobile {
  color: #f3f8ff;
}
html.lb-theme-dark .mobile-loc-row .lb-header-back {
  background: #12223a;
  border-color: rgba(148, 163, 184, 0.4);
  color: #dbe7fb;
  box-shadow: 0 8px 16px -12px rgba(2, 6, 23, 0.9);
}

/* Shared Cart Drawer (for pages without local cart UI) */
.lb-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 4000;
  display: none;
}
.lb-cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  max-width: 90%;
  height: 100vh;
  background: var(--white);
  z-index: 4500;
  transition: var(--anim-fast);
  box-shadow: -12px 0 30px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
}
.lb-cart-drawer.active { right: 0; }
.lb-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px 12px;
  border-bottom: 1px solid #ecfeff;
}
.lb-cart-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: none;
  background: #f1f5f9;
  font-size: 16px;
  cursor: pointer;
}
.lb-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
}
.lb-cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.lb-cart-title { font-weight: 800; font-size: 14px; }
.lb-cart-sub { font-size: 11px; color: var(--slate); font-weight: 700; }
.lb-cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 800;
}
.lb-cart-qty button {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  cursor: pointer;
  font-weight: 800;
}
.lb-cart-footer {
  padding: 16px 18px 20px;
  border-top: 1px solid #ecfeff;
}
.lb-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}
.lb-cart-checkout {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}
html.lb-theme-dark .lb-cart-overlay {
  background: rgba(2, 6, 23, 0.72);
}
html.lb-theme-dark .lb-cart-drawer {
  background: linear-gradient(165deg, #0f1c31, #162743);
  border-left: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: -16px 0 34px rgba(2, 6, 23, 0.7);
  color: #e2e8f0;
}
html.lb-theme-dark .lb-cart-header {
  border-bottom-color: rgba(148, 163, 184, 0.25);
}
html.lb-theme-dark .lb-cart-close {
  background: #12223a;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.3);
}
html.lb-theme-dark .lb-cart-row {
  border-bottom-color: rgba(148, 163, 184, 0.24);
}
html.lb-theme-dark .lb-cart-title,
html.lb-theme-dark .lb-cart-total {
  color: #f8fafc;
}
html.lb-theme-dark .lb-cart-sub {
  color: #9eb0ca;
}
html.lb-theme-dark .lb-cart-qty {
  background: #0f1c31;
  border: 1px solid rgba(148, 163, 184, 0.26);
  color: #f8fafc;
}
html.lb-theme-dark .lb-cart-qty button {
  background: #1b3153;
  color: #f8fafc;
  box-shadow: none;
}
html.lb-theme-dark .lb-cart-footer {
  border-top-color: rgba(148, 163, 184, 0.25);
}
html.lb-theme-dark .lb-cart-checkout:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .lb-cart-drawer {
    top: auto;
    left: 0;
    right: 0;
    bottom: calc(-100dvh - env(safe-area-inset-bottom));
    width: 100%;
    max-width: 100%;
    height: min(82dvh, 680px);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 42px rgba(0,0,0,0.3);
  }
  .lb-cart-drawer.active {
    right: 0;
    bottom: 0;
  }
  .lb-cart-header {
    padding-top: 16px;
  }
  .lb-cart-items {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .lb-cart-footer {
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
}

/* Footer */
.lb-footer-pro {
  margin-top: 80px;
  padding: 56px 20px 24px;
  background:
    radial-gradient(90% 120% at 10% -10%, rgba(255,138,26,0.14), rgba(255,138,26,0) 55%),
    radial-gradient(70% 100% at 90% -20%, rgba(59,130,246,0.1), rgba(59,130,246,0) 58%),
    #0f172a;
  color: #cbd5e1;
  overflow: hidden;
}
.footer-glass {
  max-width: 1280px;
  margin: auto;
  overflow: hidden;
  position: relative;
}
.footer-glass { max-width: 1280px; margin: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 22px; margin-bottom: 26px; }
.footer-brand,
.footer-col,
.footer-news {
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.footer-brand::before,
.footer-col::before,
.footer-news::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color 0.22s ease, background 0.22s ease;
}
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--white); }
.footer-logo {
  width: 38px; height: 38px; border-radius: 10px; background: #1f2937; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.footer-brand h2 { color: var(--white); font-size: 24px; margin: 0; font-weight: 800; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: #94a3b8; max-width: 340px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: #e2e8f0;
  font-size: 14px; font-weight: 700; transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.footer-social a svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 18px -12px rgba(255,138,26,0.75);
}
.footer-col h4, .footer-news h4 { color: var(--white); margin-bottom: 16px; font-size: 16px; font-weight: 800; }
.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.18s ease, transform 0.18s ease, background-size 0.22s ease;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
}
.footer-col a:hover {
  color: var(--primary);
  transform: translateX(5px);
  background-size: 100% 1px;
}
.footer-links a {
  margin-bottom: 0;
  line-height: 28px;
}
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-badge {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.footer-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(255,138,26,0.55);
  background: rgba(255,138,26,0.2);
}
.news-box { display: flex; gap: 6px; background: rgba(255,255,255,0.05); border-radius: 12px; padding: 6px; border: 1px solid rgba(255,255,255,0.1); }
.news-box input { flex: 1; border: none; background: transparent; padding: 10px; color: var(--white); outline: none; font-size: 13px; }
.news-box:focus-within {
  border-color: rgba(255,138,26,0.55);
  box-shadow: 0 12px 22px -18px rgba(255,138,26,0.7);
}
.news-box button {
  background: var(--primary);
  border: none;
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.news-box button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.news-box button:disabled { opacity: 0.75; cursor: not-allowed; }
.footer-help-line { margin: 12px 0 8px; font-size: 12px; color: #94a3b8; font-weight: 700; }
.footer-help-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-help-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.footer-help-actions a:hover {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.footer-bottom-pro { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; text-align: center; font-size: 12px; color: #94a3b8; }
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0.75;
}
.footer-bottom-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-bottom-actions { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom-actions button,
.footer-bottom-actions a {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #dbeafe;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.footer-bottom-actions button:hover,
.footer-bottom-actions a:hover {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px -14px rgba(255,138,26,0.9);
}

/* Desktop: remove duplicate seller CTA from the bottom bar (seller card already has Start Selling). */
@media (min-width: 769px) {
  .lb-footer-pro .footer-bottom-actions {
    display: none !important;
  }
  .lb-footer-pro .footer-bottom-row {
    justify-content: center;
    gap: 10px;
  }
  .lb-footer-pro .lb-admin-trigger {
    opacity: 0.85;
    font-size: 12px;
    text-decoration: none;
  }
}

/* If the viewport is not wide enough for 5 columns, wrap gracefully. */
@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (hover: hover) and (pointer: fine) {
  .footer-brand:hover,
  .footer-col:hover,
  .footer-news:hover {
    transform: translateY(-2px);
  }
  .footer-brand:hover::before,
  .footer-col:hover::before,
  .footer-news:hover::before {
    border-color: rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.015);
  }
  .footer-brand .footer-social a:nth-child(1):hover { box-shadow: 0 10px 18px -12px rgba(236,72,153,0.65); }
  .footer-brand .footer-social a:nth-child(2):hover { box-shadow: 0 10px 18px -12px rgba(71,85,105,0.75); }
  .footer-brand .footer-social a:nth-child(3):hover { box-shadow: 0 10px 18px -12px rgba(37,99,235,0.7); }
  .footer-brand .footer-social a:nth-child(4):hover { box-shadow: 0 10px 18px -12px rgba(249,115,22,0.75); }
}

.footer-social a:focus-visible,
.footer-col a:focus-visible,
.footer-help-actions a:focus-visible,
.footer-bottom-actions button:focus-visible,
.footer-bottom-actions a:focus-visible,
.news-box button:focus-visible {
  outline: 2px solid rgba(255,138,26,0.75);
  outline-offset: 2px;
}

/* Bottom Nav (Mobile) */
.lb-bottom-nav {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(344px, calc(100vw - 26px));
  background: rgba(255, 251, 247, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(233, 190, 151, 0.42);
  border-radius: 26px;
  box-shadow: 0 24px 44px -30px rgba(15, 23, 42, 0.34), inset 0 1px 0 rgba(255,255,255,0.65);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: none;
  justify-content: space-between;
  gap: 10px;
  z-index: 1200;
}
.lb-nav-item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 11px;
  font-weight: 800;
  color: #bc8d66;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 10px;
  min-height: 44px;
  min-width: 44px;
  flex: 0 0 auto;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
}
.lb-nav-text {
  white-space: nowrap;
  line-height: 1;
  display: none;
}
.lb-nav-theme {
  flex-direction: column;
  justify-content: center;
}
.lb-nav-theme .lb-nav-text {
  margin-top: 4px;
}
.lb-nav-theme:not(.has-toggle) {
  display: none;
}
.lb-nav-theme .theme-toggle {
  margin: 0 auto;
  transform: none !important;
}
.lb-nav-item.active {
  color: #ffffff;
  background: linear-gradient(135deg, #ff8a1a, #ff9f2f);
  border-color: rgba(255, 138, 26, 0.9);
  padding-left: 13px;
  padding-right: 15px;
  gap: 7px;
  box-shadow: 0 16px 24px -18px rgba(249, 115, 22, 0.72);
}
.lb-nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #c88f63;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.lb-nav-svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
}
.lb-nav-item.active .lb-nav-icon {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  transform: none;
}
.lb-nav-item.active .lb-nav-text {
  display: inline-block;
}

/* Hover only on devices that support hover */
@media (hover: hover) and (pointer: fine) {
  .lb-nav-item:hover { color: var(--primary); }
  .lb-nav-item:hover { background: #f8fafc; border-color: #e2e8f0; }
  .lb-nav-item:hover .lb-nav-icon { background: var(--primary-soft); border-color: #fed7aa; color: var(--primary); }
}

html.lb-theme-dark .lb-bottom-nav {
  background: rgba(7, 20, 48, 0.88);
  border-color: rgba(255, 186, 114, 0.12);
  box-shadow: 0 28px 40px -30px rgba(2, 6, 23, 0.82), inset 0 1px 0 rgba(255,255,255,0.05);
}
html.lb-theme-dark .lb-nav-item {
  color: #d8b08b;
}
html.lb-theme-dark .lb-nav-item .lb-nav-icon {
  background: transparent;
  border-color: transparent;
  color: #d8b08b;
}
html.lb-theme-dark .lb-nav-item.active {
  background: linear-gradient(135deg, #ff8a1a, #ff9f2f);
  border-color: rgba(255, 159, 47, 0.9);
}
html.lb-theme-dark .lb-nav-item.active .lb-nav-icon {
  background: rgba(255,255,255,0.16);
  border-color: transparent;
  color: #fff7ed;
}
html.lb-theme-dark .lb-nav-theme .lb-nav-text {
  color: #ffd29f;
}

@media (hover: none) {
  .logo-box:hover,
  .lb-header-back:hover,
  .location-box:hover,
  .sell-btn:hover,
  .cart-pill:hover,
  .login-nav-btn:hover,
  .user-avatar:hover,
  .user-menu button:hover,
  .lb-back-btn:hover,
  .lb-nav-item:hover {
    transform: none;
    box-shadow: none;
  }
  .lb-header-back:hover,
  .cart-pill:hover,
  .login-nav-btn:hover,
  .user-menu button:hover,
  .lb-back-btn:hover {
    background: inherit;
    color: inherit;
    border-color: inherit;
  }
  .footer-col a:hover {
    transform: none;
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
    color: #94a3b8;
  }
  .footer-col a:focus,
  .footer-col a:focus-visible {
    outline: none;
    transform: none;
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
    color: #94a3b8;
  }
  .footer-help-actions a:hover {
    transform: none;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
    color: #e2e8f0;
  }
  .footer-help-actions a:focus,
  .footer-help-actions a:focus-visible {
    outline: none;
    transform: none;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
    color: #e2e8f0;
  }
  .footer-bottom-actions button:hover,
  .footer-bottom-actions a:hover {
    transform: none;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.16);
    color: #dbeafe;
  }
  .footer-bottom-actions button:focus,
  .footer-bottom-actions a:focus,
  .footer-bottom-actions button:focus-visible,
  .footer-bottom-actions a:focus-visible {
    outline: none;
    transform: none;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.16);
    color: #dbeafe;
  }
}

@media (hover: none) {
  button,
  .btn,
  .sell-btn,
  .cart-pill,
  .login-nav-btn,
  .lb-nav-item,
  .lb-back-btn,
  .lb-header-back,
  .store-card,
  .product-card,
  .order-card,
  .category-card,
  .meta-pill,
  .pill,
  .trust-badge {
    -webkit-tap-highlight-color: transparent;
  }
  button:active,
  .btn:active,
  .sell-btn:active,
  .cart-pill:active,
  .login-nav-btn:active,
  .lb-nav-item:active,
  .lb-back-btn:active,
  .lb-header-back:active,
  .store-card:active,
  .product-card:active,
  .order-card:active,
  .category-card:active,
  .meta-pill:active,
  .pill:active,
  .trust-badge:active {
    transform: scale(0.98);
    filter: brightness(0.96);
  }
}

/* Global floating back button (desktop only, outside header) */
.lb-back-btn {
  position: fixed;
  top: 92px;
  left: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  z-index: 1100;
  transition: var(--anim-fast);
}
.lb-back-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .lb-footer-pro {
    margin-top: 56px;
    padding: 40px 16px 132px;
  }
  .footer-glass {
    overflow: visible;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .loc-change-btn { display: none; }
  .lb-back-btn { display: none !important; }
  body:not(.lb-with-footer) { padding-bottom: 110px; }
  .lb-bottom-nav { padding-left: 8px; padding-right: 8px; }
  .lb-nav-item { font-size: 10px; min-height: 44px; min-width: 44px; padding: 8px 10px; }
  .lb-nav-item.active { padding-left: 12px; padding-right: 14px; }
  .lb-nav-icon { width: 28px; height: 28px; border-radius: 999px; }
  .nav-actions > #themeToggleBtn { display: none !important; }
  .lb-nav-theme.has-toggle { display: inline-flex !important; min-width: 70px; }
  .lb-nav-theme .theme-toggle { width: 58px; min-width: 58px; height: 34px; min-height: 34px; }
  .lb-nav-theme .theme-toggle-track { width: 58px; height: 32px; }
  .lb-nav-theme .theme-toggle-track::after,
  .lb-nav-theme .theme-toggle-thumb { top: 2px; left: 2px; width: 26px; height: 26px; }
  .lb-nav-theme .theme-toggle[aria-pressed="true"] .theme-toggle-track::after,
  .lb-nav-theme .theme-toggle[aria-pressed="true"] .theme-toggle-thumb { transform: translateX(28px); }
  .nav-container { padding: 10px 12px 4px; }
  .navbar {
    border-radius: 0;
    padding: 0;
    gap: 12px;
    flex-wrap: nowrap;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-left {
    gap: 12px;
    flex: 1;
    min-width: 0;
  }
  .nav-actions {
    margin-left: auto;
    gap: 8px;
    flex: 0 0 auto;
  }
  .user-account { margin-left: 0; }
  .logo-box {
    gap: 0;
    flex: 0 0 auto;
  }
  .logo-img {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    box-shadow: 0 16px 24px -18px rgba(255, 138, 26, 0.9);
  }
  .logo-text { display: none; }
  .mobile-header-summary { display: block; flex: 1; }
  .mobile-header-action { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-inline-back { display: none; align-items: center; justify-content: center; flex: 0 0 auto; }
  .location-box { display: none; }
  .loc-caret { display: none; }
  .mobile-loc-row { display: none; }
  .lb-header-back { display: inline-flex; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; }
  .mobile-loc-btn { min-height: 38px; padding: 6px 10px; }
  .sell-btn { display: none; }
  .cart-pill { display: none; }
  .login-theme-wrap,
  .user-account {
    display: none !important;
  }
  .login-theme-wrap { gap: 6px; padding: 2px; }
  .login-theme-wrap .login-nav-btn {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }
  body.lb-mobile-inner-header {
    background: #FFF6EE;
  }
  body.lb-mobile-inner-header .nav-container {
    padding: 14px 14px 8px;
  }
  body.lb-mobile-inner-header .navbar {
    background: #FFFFFF;
    border: 1px solid rgba(255, 138, 0, 0.16);
    border-radius: 22px;
    padding: 10px 12px;
    box-shadow: 0 18px 26px -24px rgba(255, 138, 0, 0.28);
  }
  body.lb-mobile-inner-header .mobile-inline-back {
    display: inline-flex;
  }
  body.lb-mobile-inner-header .logo-box {
    display: none;
  }
  body.lb-mobile-inner-header .mobile-header-summary {
    display: flex;
    align-items: center;
    min-width: 0;
  }
  body.lb-mobile-inner-header .mobile-header-kicker,
  body.lb-mobile-inner-header .mobile-header-address {
    display: none;
  }
  body.lb-mobile-inner-header .mobile-header-name {
    font-size: 20px;
    line-height: 1.1;
    color: #1E293B;
  }
  body.lb-mobile-inner-header .mobile-header-action {
    min-width: 84px;
    min-height: 42px;
    border-radius: 14px;
    border-color: rgba(255, 138, 0, 0.18);
    background: #fff7f0;
    color: #FF8A00;
  }

  /* Dark theme: prevent the light "inner header" skin from overriding dark mode. */
  html.lb-theme-dark body.lb-mobile-inner-header {
    background: #0b1220;
  }
  html.lb-theme-dark body.lb-mobile-inner-header .navbar {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 18px 26px -24px rgba(2, 6, 23, 0.75);
  }
  html.lb-theme-dark body.lb-mobile-inner-header .mobile-header-name {
    color: #f3f8ff;
  }
  html.lb-theme-dark body.lb-mobile-inner-header .mobile-header-action {
    background: rgba(15, 28, 49, 0.92);
    border-color: rgba(148, 163, 184, 0.28);
    color: #ffb347;
  }
  html.lb-theme-dark body.lb-mobile-inner-header .mobile-inline-back {
    background: rgba(15, 28, 49, 0.92);
    border-color: rgba(148, 163, 184, 0.28);
    color: #f3f8ff;
  }
  .theme-toggle {
    width: 52px;
    height: 32px;
    min-width: 52px;
    min-height: 32px;
  }
  .theme-toggle-track { width: 50px; height: 28px; }
  .theme-toggle-icon.sun { left: 8px; }
  .theme-toggle-icon.moon { right: 8px; }
  .theme-toggle-track::after { top: 2px; left: 2px; width: 22px; height: 22px; }
  .theme-toggle-thumb { top: 2px; left: 2px; width: 22px; height: 22px; }
  .theme-toggle[aria-pressed="true"] .theme-toggle-thumb { transform: translateX(24px); }
  .theme-toggle[aria-pressed="true"] .theme-toggle-track::after { transform: translateX(24px); }
  .cart-pill { padding: 6px 10px; font-size: 11px; border-radius: 10px; }
  .user-avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
  .mobile-loc-btn { padding: 8px 10px; border-radius: 12px; }
  .mobile-loc-btn .pill { font-size: 10px; padding: 3px 8px; }

  .lb-footer-pro {
    margin-top: 50px;
    padding: 38px 14px 136px;
    border-radius: 28px 28px 0 0;
    background:
      radial-gradient(120% 70% at 50% 0%, rgba(255, 138, 26, 0.22), rgba(255, 138, 26, 0) 60%),
      #0f172a;
  }
  .footer-glass {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 14px;
    overflow: hidden;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
    margin-bottom: 16px;
    width: 100%;
    overflow: visible;
  }
  .footer-brand,
  .footer-col,
  .footer-news {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 14px;
  }
  .footer-brand-row { justify-content: flex-start; }
  .footer-brand h2 { font-size: 20px; }
  .footer-brand p {
    margin: 0;
    max-width: none;
    font-size: 13px;
    line-height: 1.5;
  }
  .footer-badges { justify-content: flex-start; }
  .footer-social { justify-content: flex-start; }
  .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    font-size: 13px;
  }
  .footer-col h4, .footer-news h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .footer-col a {
    margin-bottom: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    font-size: 13px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
  }
  .footer-col a:active {
    transform: scale(0.98);
    border-color: rgba(255, 138, 26, 0.5);
    background: rgba(255, 138, 26, 0.16);
    color: #fff;
  }
  .news-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
  }
  .news-box input {
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    padding: 11px 12px;
    background: rgba(255,255,255,0.05);
  }
  .news-box button {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
  }
  .footer-help-actions { justify-content: flex-start; }
  .footer-help-actions a {
    flex: 1 1 48%;
    min-height: 40px;
    border-radius: 10px;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  }
  .footer-help-actions a:active {
    transform: scale(0.98);
    background: rgba(255, 138, 26, 0.2);
    border-color: rgba(255, 138, 26, 0.45);
  }
  .footer-bottom-pro {
    margin-top: 8px;
    padding-top: 14px;
    padding-bottom: 8px;
  }
  .footer-bottom-row {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .footer-bottom-actions button,
  .footer-bottom-actions a {
    width: 100%;
    min-height: 40px;
    border-radius: 10px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
  }
  .footer-bottom-actions button:active,
  .footer-bottom-actions a:active {
    transform: scale(0.98);
    background: var(--primary);
    color: #fff;
    border-color: transparent;
  }

  .lb-bottom-nav { display: flex; }

  /* Keep the full footer visible on touch devices (quick actions, links, etc.). */
  .lb-footer-pro .footer-grid {
    display: grid;
  }
  .lb-footer-pro .footer-glass {
    padding: 14px 14px 18px;
    border-radius: 22px;
  }
  .lb-footer-pro .footer-bottom-pro {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    display: grid;
    gap: 12px;
  }
  .lb-footer-pro .footer-bottom-row {
    justify-content: flex-start;
  }
  .lb-footer-pro .footer-bottom-copy {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #cbd5e1;
    flex-wrap: wrap;
  }
  .lb-footer-pro .footer-bottom-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .lb-footer-pro .footer-bottom-actions a {
    min-height: 54px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff8a1a, #fb923c);
    color: #fff;
    border: none;
    box-shadow: 0 18px 28px -18px rgba(249, 115, 22, 0.6);
  }
  .lb-footer-pro .lb-admin-trigger {
    color: #dbeafe;
    padding: 0;
    background: transparent;
    border: none;
  }
}

/* Always show bottom nav on small screens (works in desktop responsive mode too). */
@media (max-width: 768px) {
  .lb-bottom-nav { display: flex; }
}

@media (max-width: 480px) {
  .navbar { padding: 8px; gap: 6px; }
  .nav-left { gap: 8px; }
  .logo-img { width: 30px; height: 30px; border-radius: 8px; }
  .logo-text { font-size: 15px; max-width: 110px; }
  .nav-actions { gap: 6px; }
  .user-account { margin-left: 0; }
  .cart-pill { padding: 5px 8px; font-size: 10px; }
  .login-nav-btn { padding: 6px 10px; font-size: 11px; border-radius: 10px; }
  .user-avatar { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
  .mobile-loc-btn { padding: 8px 10px; font-size: 12px; }
  .mobile-loc-btn #locTextMobile {
    max-width: clamp(140px, calc(100vw - 170px), 260px);
    overflow: hidden;
    white-space: nowrap;
  }
  .lb-footer-pro { padding: 30px 10px 132px; border-radius: 24px 24px 0 0; }
  .footer-glass { border-radius: 16px; padding: 10px; }
  .footer-brand,
  .footer-col,
  .footer-news { padding: 12px; border-radius: 14px; }
  .footer-brand h2 { font-size: 18px; }
  .footer-social a { width: 34px; height: 34px; border-radius: 10px; }
  .footer-col a { padding: 8px 9px; font-size: 12px; }
  .footer-help-actions a { min-height: 38px; font-size: 11px; }
  .footer-bottom-actions { grid-template-columns: 1fr; }
}

/* Footer style override (matched to requested design) */
.lb-footer-pro {
  margin-top: 72px;
  padding: 68px 24px 0;
  background: #07133a;
  color: #dce6ff;
  border-radius: 0;
}

.lb-footer-pro .footer-glass {
  max-width: 1500px;
  margin: 0 auto;
  overflow: visible;
}

.lb-footer-pro .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1fr 1.15fr;
  gap: 30px;
  margin-bottom: 54px;
  text-align: left;
}

.lb-footer-pro .footer-brand,
.lb-footer-pro .footer-col,
.lb-footer-pro .footer-seller,
.lb-footer-pro .footer-news {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  transform: none;
}

.lb-footer-pro .footer-brand::before,
.lb-footer-pro .footer-col::before,
.lb-footer-pro .footer-seller::before,
.lb-footer-pro .footer-news::before {
  display: none;
}

.lb-footer-pro .footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.lb-footer-pro .footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
}

.lb-footer-pro .footer-brand h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 1.9vw, 38px);
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.lb-footer-pro .footer-brand p {
  margin: 0 0 20px;
  max-width: 520px;
  color: #9fb0d7;
  font-size: clamp(14px, 0.9vw, 16px);
  line-height: 1.45;
}

.lb-footer-pro .footer-social {
  gap: 10px;
  margin-top: 0;
}

.lb-footer-pro .footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lb-footer-pro .footer-social a svg {
  display: none;
}

.lb-footer-pro .footer-social a:hover {
  background: #ff8a1a;
  color: #07133a;
  transform: translateY(-2px);
  box-shadow: none;
}

.lb-footer-pro .footer-brand {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 18px;
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(255, 138, 26, 0.18), rgba(255, 138, 26, 0) 58%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 28px -20px rgba(0, 0, 0, 0.55);
}

.lb-footer-pro .footer-brand::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22), rgba(96, 165, 250, 0));
  pointer-events: none;
}

.lb-footer-pro .footer-brand .footer-social a:nth-child(1) { background: rgba(236, 72, 153, 0.2); }
.lb-footer-pro .footer-brand .footer-social a:nth-child(2) { background: rgba(71, 85, 105, 0.36); }
.lb-footer-pro .footer-brand .footer-social a:nth-child(3) { background: rgba(37, 99, 235, 0.26); }
.lb-footer-pro .footer-brand .footer-social a:nth-child(4) { background: rgba(249, 115, 22, 0.24); }

.lb-footer-pro .footer-quick-check {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
}

.lb-footer-pro .quick-check-title {
  margin: 0 0 8px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.lb-footer-pro .quick-check-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}

.lb-footer-pro .quick-check-form input {
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.2);
  color: #fff;
  font-size: 12px;
  padding: 0 10px;
  outline: none;
}

.lb-footer-pro .quick-check-form input::placeholder {
  color: #9fb0d7;
}

.lb-footer-pro .quick-check-form button {
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #ff8a1a;
  color: #fff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lb-footer-pro .quick-check-msg {
  min-height: 16px;
  margin: 8px 2px 0;
  color: #9fb0d7;
  font-size: 11px;
  font-weight: 600;
}

.lb-footer-pro .quick-check-msg[data-state="success"] { color: #86efac; }
.lb-footer-pro .quick-check-msg[data-state="error"] { color: #fecaca; }

.lb-footer-pro .footer-seller {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(255, 138, 26, 0.12), rgba(255, 255, 255, 0.04));
}

.lb-footer-pro .footer-seller .seller-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffcf9b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lb-footer-pro .footer-seller h4 {
  margin-bottom: 10px;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.2;
}

.lb-footer-pro .footer-seller .seller-copy {
  margin: 0;
  color: #c9d5f0;
  font-size: 13px;
  line-height: 1.45;
}

.lb-footer-pro .footer-seller .seller-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.lb-footer-pro .footer-seller .seller-points span {
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.07);
}

.lb-footer-pro .footer-seller .seller-cta-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.lb-footer-pro .footer-seller .seller-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 11px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}

.lb-footer-pro .footer-seller .seller-cta.primary {
  background: #ff8a1a;
  border-color: transparent;
  color: #fff;
}

.lb-footer-pro .footer-seller .seller-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

/* Unified card look across all footer boxes */
.lb-footer-pro .footer-brand,
.lb-footer-pro .footer-col,
.lb-footer-pro .footer-seller,
.lb-footer-pro .footer-news {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(255, 138, 26, 0.12), rgba(255, 138, 26, 0) 58%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 28px -22px rgba(0, 0, 0, 0.55);
}

.lb-footer-pro .footer-col h4,
.lb-footer-pro .footer-news h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(22px, 1.2vw, 28px);
  font-weight: 800;
  line-height: 1.1;
}

.lb-footer-pro .footer-col a {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #b4c1e0;
  font-size: clamp(14px, 0.95vw, 18px);
  line-height: 1.15;
  text-decoration: none;
  transform: translateX(0);
  background-image: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lb-footer-pro .footer-col a:hover {
  color: #ffbf7a;
  transform: translateX(4px);
}

.lb-footer-pro .footer-support-mobile {
  display: none;
}

.lb-footer-pro .news-box {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 430px;
  padding: 7px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.lb-footer-pro .news-box input {
  flex: 1;
  height: 46px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(14px, 0.95vw, 18px);
  padding: 0 14px;
}

.lb-footer-pro .news-box input::placeholder {
  color: #9aacd3;
}

.lb-footer-pro .news-box button {
  min-width: 88px;
  height: 46px;
  border-radius: 12px;
  border: 0;
  background: #ff8a1a;
  color: #fff;
  font-size: clamp(14px, 0.9vw, 16px);
  font-weight: 700;
  padding: 0 16px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.lb-footer-pro .news-box button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.lb-footer-pro .footer-news-msg {
  margin: 10px 4px 0;
  min-height: 18px;
  font-size: 12px;
  color: #9fb0d7;
}

.lb-footer-pro .footer-news-msg[data-state="error"] {
  color: #fecaca;
}

.lb-footer-pro .footer-news-msg[data-state="success"] {
  color: #86efac;
}

.lb-footer-pro .footer-bottom-pro {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0 34px;
  color: #9aacd3;
  text-align: center;
  font-size: 14px;
}

.lb-footer-pro .footer-bottom-row {
  justify-content: center;
}

/* Desktop/laptop: hide mobile-only back buttons. */
@media (min-width: 769px) {
  #lbHeaderBackBtn,
  #mobileHeaderInlineBack {
    display: none !important;
  }
}

.lb-footer-pro .footer-bottom-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lb-footer-pro .footer-bottom-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: min(760px, 100%);
  margin: 0 auto;
}

.lb-footer-pro .footer-bottom-actions button,
.lb-footer-pro .footer-bottom-actions a {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.2px;
  padding: 0 14px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lb-footer-pro #lbFooterTopBtn {
  background: #ff8a1a;
  border-color: transparent;
  color: #fff;
}

.lb-footer-pro #lbFooterSellerBtn {
  background: #ff8a1a;
  border-color: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  word-spacing: 1px;
}

.lb-footer-pro .footer-bottom-actions button:hover,
.lb-footer-pro .footer-bottom-actions a:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.lb-footer-pro .lb-admin-trigger {
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 14px;
  margin-right: 10px;
  cursor: pointer;
  padding: 0;
}

.lb-footer-pro .lb-admin-trigger:hover {
  color: #16a34a;
}

.lb-admin-popup-overlay[hidden] {
  display: none;
}

.lb-admin-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.66);
  display: grid;
  place-items: center;
  z-index: 5000;
  padding: 16px;
}

.lb-admin-popup {
  width: min(380px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, #0f172a, #1e293b);
  box-shadow: 0 20px 45px -22px rgba(0, 0, 0, 0.8);
  padding: 18px 16px 16px;
  position: relative;
}

.lb-admin-popup h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.lb-admin-popup form {
  display: grid;
  gap: 10px;
}

.lb-admin-popup input {
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  padding: 0 12px;
  outline: none;
  font-size: 14px;
}

.lb-admin-popup input:focus {
  border-color: #16a34a;
}

.lb-admin-popup-submit {
  height: 42px;
  border-radius: 10px;
  border: 0;
  background: #16a34a;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.lb-admin-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lb-admin-popup-error {
  margin: 0;
  min-height: 16px;
  color: #fca5a5;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .lb-footer-pro .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .lb-footer-pro {
    padding: 30px 12px 0;
    border-radius: 0;
  }
  .lb-footer-pro .footer-glass {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  .lb-footer-pro .footer-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 18px;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .lb-footer-pro .footer-grid::-webkit-scrollbar {
    height: 4px;
  }
  .lb-footer-pro .footer-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
  }
  .lb-footer-pro .footer-brand,
  .lb-footer-pro .footer-col,
  .lb-footer-pro .footer-seller {
    flex: 0 0 75%;
    min-width: 250px;
    scroll-snap-align: start;
  }
  .lb-footer-pro .footer-brand h2 {
    font-size: 24px;
  }
  .lb-footer-pro .footer-col h4,
  .lb-footer-pro .footer-news h4 {
    font-size: 16px;
  }
  .lb-footer-pro .footer-col a {
    font-size: 11px;
    margin: 0 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: underline;
  }
  .lb-footer-pro .footer-brand,
  .lb-footer-pro .footer-col,
  .lb-footer-pro .footer-seller {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 14px;
  }
  .lb-footer-pro .footer-news {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 14px;
  }
  .lb-footer-pro .footer-brand p {
    font-size: 9px;
    margin-bottom: 14px;
  }
  .lb-footer-pro .footer-brand {
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(255, 138, 26, 0.24), rgba(255, 138, 26, 0) 58%),
      linear-gradient(170deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 26px -22px rgba(2, 6, 23, 0.7);
  }
  .lb-footer-pro .footer-brand .footer-logo {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.18);
  }
  .lb-footer-pro .footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 14px;
  }
  .lb-footer-pro .footer-social a:last-child {
    width: auto;
    min-width: 44px;
    padding: 0 10px;
    font-size: 13px;
  }
  .lb-footer-pro .footer-quick-check {
    margin-top: 10px;
    padding: 8px;
    border-radius: 12px;
  }
  .lb-footer-pro .quick-check-title {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .lb-footer-pro .quick-check-form input,
  .lb-footer-pro .quick-check-form button {
    height: 31px;
    font-size: 10px;
    border-radius: 9px;
  }
  .lb-footer-pro .quick-check-msg {
    font-size: 9px;
    margin-top: 6px;
  }
  .lb-footer-pro .footer-seller .seller-kicker {
    font-size: 9px;
    margin-bottom: 8px;
  }
  .lb-footer-pro .footer-seller h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .lb-footer-pro .footer-seller .seller-copy {
    font-size: 10px;
  }
  .lb-footer-pro .footer-seller .seller-points span {
    font-size: 9px;
    padding: 4px 8px;
  }
  .lb-footer-pro .footer-seller .seller-cta {
    min-height: 33px;
    font-size: 10px;
    border-radius: 10px;
  }
  .lb-footer-pro .footer-grid {
    /* Keep footer cards visible on mobile; earlier in this media query we render it as a horizontal scroller. */
    display: flex;
  }
  .lb-footer-pro .footer-glass {
    padding: 12px 14px 8px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 140, 36, 0.12), rgba(255, 140, 36, 0) 38%),
      linear-gradient(180deg, #05184b 0%, #031640 100%);
  }
  .lb-footer-pro .footer-bottom-pro {
    padding: 12px 2px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .lb-footer-pro .footer-bottom-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }
  .lb-footer-pro .footer-bottom-copy {
    width: auto;
    justify-content: flex-start;
    font-size: 12px;
    gap: 12px;
    color: #c7d2fe;
  }
  .lb-footer-pro .footer-bottom-actions {
    position: relative;
    z-index: 4;
    margin-top: 12px;
    margin-bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .lb-footer-pro .footer-bottom-actions button,
  .lb-footer-pro .footer-bottom-actions a {
    min-height: 56px;
    font-size: 13px;
    border-radius: 18px;
    border: 1px solid rgba(255, 171, 90, 0.2);
    background: linear-gradient(135deg, #ff8a1a, #ff9f2f);
    color: #fffdf8;
    box-shadow: 0 18px 28px -22px rgba(255, 138, 26, 0.8);
  }
  .lb-footer-pro #lbFooterSellerBtn {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .lb-footer-pro .lb-admin-trigger {
    color: #dbe5ff;
  }
}

@media (max-width: 768px) {
  body.lb-with-footer {
    padding-bottom: 0 !important;
  }
}

/* Final uniform card look for all footer boxes */
.lb-footer-pro .footer-grid > .footer-brand,
.lb-footer-pro .footer-grid > .footer-col,
.lb-footer-pro .footer-grid > .footer-seller,
.lb-footer-pro .footer-grid > .footer-news {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  padding: 14px !important;
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(255, 138, 26, 0.08), rgba(255, 138, 26, 0) 58%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 12px 24px -22px rgba(0, 0, 0, 0.42) !important;
}

.lb-footer-pro .footer-grid > .footer-brand::after {
  display: none !important;
}

@media (max-width: 768px) {
  .lb-footer-pro .footer-grid > .footer-brand,
  .lb-footer-pro .footer-grid > .footer-col,
  .lb-footer-pro .footer-grid > .footer-seller,
  .lb-footer-pro .footer-grid > .footer-news {
    border-radius: 16px !important;
    padding: 12px !important;
  }
}

/* Final footer shell: curved top + clear body/footer separation */
#siteFooter {
  position: relative;
}
.lb-footer-pro {
  position: relative;
  margin-top: 44px !important;
  border-radius: 32px 32px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 -22px 44px -30px rgba(2, 6, 23, 0.75) !important;
  overflow: hidden;
}
.lb-footer-pro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.28), rgba(255,255,255,0));
  pointer-events: none;
}
@media (max-width: 768px) {
  .lb-footer-pro {
    margin-top: 28px !important;
    border-radius: 26px 26px 0 0 !important;
  }
}

@media (max-width: 768px) {
  /* Minimal shared footer (LIGHT THEME) */
  html:not(.lb-theme-dark) .lb-footer-pro {
    margin-top: 40px !important;
    padding: 0 !important;
    background: #FFF6EE !important;
    color: #1F2937 !important;
    border-radius: 0 !important;
    border-top: 1px solid #E5E7EB !important;
    box-shadow: none !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro::before {
    display: none !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-glass {
    max-width: 760px;
    padding: 18px 16px 22px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-grid {
    display: none !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-bottom-pro {
    border-top: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-bottom-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: min(320px, 100%) !important;
    margin: 0 auto 12px !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-bottom-actions a {
    min-height: 52px !important;
    border-radius: 14px !important;
    border: 0 !important;
    background: #FF8A00 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-bottom-row {
    justify-content: center !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-bottom-copy {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    color: #1F2937 !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .lb-admin-trigger {
    color: #9CA3AF !important;
    font-size: 13px !important;
    text-decoration: none !important;
    margin-right: 0 !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .lb-admin-trigger:hover {
    color: #9CA3AF !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-glass {
    padding-bottom: calc(108px + env(safe-area-inset-bottom)) !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-bottom-actions {
    margin-bottom: 14px !important;
  }
}

@media (max-width: 768px) {
  /* Minimal shared footer (DARK THEME) */
  html.lb-theme-dark .lb-footer-pro {
    margin-top: 40px !important;
    padding: 0 !important;
    background: #0b1220 !important;
    color: #e2e8f0 !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
    box-shadow: none !important;
  }
  html.lb-theme-dark .lb-footer-pro::before {
    display: none !important;
  }
  html.lb-theme-dark .lb-footer-pro .footer-glass {
    max-width: 760px;
    padding: 18px 16px 22px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
  }
  html.lb-theme-dark .lb-footer-pro .footer-grid {
    display: none !important;
  }
  html.lb-theme-dark .lb-footer-pro .footer-bottom-pro {
    border-top: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  html.lb-theme-dark .lb-footer-pro .footer-bottom-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: min(320px, 100%) !important;
    margin: 0 auto 12px !important;
  }
  html.lb-theme-dark .lb-footer-pro .footer-bottom-actions a {
    min-height: 52px !important;
    border-radius: 14px !important;
    border: 0 !important;
    background: #ff8a1a !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
  }
  html.lb-theme-dark .lb-footer-pro .footer-bottom-row {
    justify-content: center !important;
  }
  html.lb-theme-dark .lb-footer-pro .footer-bottom-copy {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    color: #9eb0ca !important;
  }
  html.lb-theme-dark .lb-footer-pro .lb-admin-trigger {
    color: #8fa3c2 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    margin-right: 0 !important;
  }
  html.lb-theme-dark .lb-footer-pro .lb-admin-trigger:hover {
    color: #cbd5e1 !important;
  }
  html.lb-theme-dark .lb-footer-pro .footer-glass {
    padding-bottom: calc(108px + env(safe-area-inset-bottom)) !important;
  }
  html.lb-theme-dark .lb-footer-pro .footer-bottom-actions {
    margin-bottom: 14px !important;
  }
}

/* Light theme footer (desktop/tablet): keep the current dark look only for html.lb-theme-dark. */
@media (min-width: 769px) {
  html:not(.lb-theme-dark) .lb-footer-pro {
    background:
      radial-gradient(90% 120% at 10% -10%, rgba(255,138,26,0.18), rgba(255,138,26,0) 55%),
      radial-gradient(70% 100% at 90% -20%, rgba(59,130,246,0.08), rgba(59,130,246,0) 58%),
      linear-gradient(180deg, #fff6ee 0%, #ffffff 70%);
    color: #475569;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 -22px 44px -34px rgba(15, 23, 42, 0.18) !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro::before {
    background: linear-gradient(90deg, rgba(15,23,42,0), rgba(15,23,42,0.12), rgba(15,23,42,0));
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-grid > .footer-brand,
  html:not(.lb-theme-dark) .lb-footer-pro .footer-grid > .footer-col,
  html:not(.lb-theme-dark) .lb-footer-pro .footer-grid > .footer-seller,
  html:not(.lb-theme-dark) .lb-footer-pro .footer-grid > .footer-news {
    border-color: rgba(15, 23, 42, 0.10) !important;
    background:
      radial-gradient(130% 90% at 100% 0%, rgba(255, 138, 26, 0.08), rgba(255, 138, 26, 0) 58%),
      linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255, 246, 238, 0.72)) !important;
    box-shadow: 0 18px 30px -28px rgba(15, 23, 42, 0.25) !important;
  }

  html:not(.lb-theme-dark) .footer-brand-row,
  html:not(.lb-theme-dark) .footer-brand h2,
  html:not(.lb-theme-dark) .footer-col h4,
  html:not(.lb-theme-dark) .footer-news h4 {
    color: #0f172a;
  }
  html:not(.lb-theme-dark) .footer-logo {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 14px 22px -22px rgba(15, 23, 42, 0.35);
  }
  html:not(.lb-theme-dark) .footer-brand p,
  html:not(.lb-theme-dark) .footer-help-line {
    color: #475569;
  }
  html:not(.lb-theme-dark) .footer-col a {
    color: #475569;
  }
  html:not(.lb-theme-dark) .footer-badge {
    border-color: rgba(249, 115, 22, 0.22);
    background: rgba(255, 138, 26, 0.10);
    color: #0f172a;
  }
  html:not(.lb-theme-dark) .footer-social a,
  html:not(.lb-theme-dark) .footer-help-actions a {
    background: rgba(255,255,255,0.92) !important;
    border: 1px solid rgba(15, 23, 42, 0.10);
    color: #334155;
  }
  /* Remove colorful social tiles in light theme, keep minimal. */
  html:not(.lb-theme-dark) .lb-footer-pro .footer-brand .footer-social a:nth-child(1),
  html:not(.lb-theme-dark) .lb-footer-pro .footer-brand .footer-social a:nth-child(2),
  html:not(.lb-theme-dark) .lb-footer-pro .footer-brand .footer-social a:nth-child(3),
  html:not(.lb-theme-dark) .lb-footer-pro .footer-brand .footer-social a:nth-child(4) {
    background: rgba(255,255,255,0.92) !important;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-seller .seller-kicker {
    color: #f97316;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-seller .seller-copy {
    color: #475569;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-seller .seller-points span {
    background: rgba(255, 138, 26, 0.10);
    border: 1px solid rgba(249, 115, 22, 0.16);
    color: #0f172a;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .footer-seller .seller-cta.primary {
    box-shadow: 0 14px 26px -22px rgba(249, 115, 22, 0.55);
  }
  html:not(.lb-theme-dark) .news-box {
    background: rgba(255,255,255,0.9);
    border-color: rgba(15, 23, 42, 0.10);
  }
  html:not(.lb-theme-dark) .news-box input {
    color: #0f172a;
  }
  html:not(.lb-theme-dark) .news-box input::placeholder {
    color: #94a3b8;
  }
  html:not(.lb-theme-dark) .footer-bottom-pro {
    border-top: 1px solid rgba(15, 23, 42, 0.10);
    color: #64748b;
  }
  html:not(.lb-theme-dark) .footer-bottom-actions button,
  html:not(.lb-theme-dark) .footer-bottom-actions a {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(255,255,255,0.92);
    color: #0f172a;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .lb-admin-trigger {
    color: #64748b;
  }
  html:not(.lb-theme-dark) .lb-footer-pro .lb-admin-trigger:hover {
    color: #475569;
  }
}







