@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");
:root {
  --status-switch-bg: linear-gradient(135deg, #f8faf8 0%, #f0fdf4 100%);
  --theme-bg: #f8faf8;
  --theme-bg-light: rgb(188 189 188 / 0.40);
  --theme-color: #252830;
  --theme-border-color: #d1d5db;
}

body.theme-dark {
  --status-switch-bg: linear-gradient(135deg, #252830 0%, #252830 100%);
  --theme-bg: #252830;
  --theme-bg-light: rgb(78 78 78 / 0.40);
  --theme-color: #f8faf8;
  --theme-border-color: rgba(255, 255, 255, 0.08);
}

html {
  font-size: clamp(14px, 0.9vw + 12px, 16px);
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}
@media (max-width: 576px) {
  body {
    line-height: 1.5;
  }
}

/* ─── Modern scrollbars (project-wide) ─────────────────────── */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 179, 24, 0.5) transparent;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(91, 179, 24, 0.4);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(91, 179, 24, 0.65);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

/* ─── Override Bootstrap Blue → MIMBA Green ─────────────────
   Applies globally: frontend, vendor panel, admin panel
───────────────────────────────────────────────────────────── */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #5bb318;
  --bs-btn-border-color: #5bb318;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2d5a27;
  --bs-btn-hover-border-color: #2d5a27;
  --bs-btn-focus-shadow-rgb: 91, 179, 24;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #2d5a27;
  --bs-btn-active-border-color: #2d5a27;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #5bb318;
  --bs-btn-disabled-border-color: #5bb318;
  font-weight: 600;
  height: fit-content;
}

.btn-outline-primary {
  --bs-btn-color: #5bb318;
  --bs-btn-border-color: #5bb318;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #5bb318;
  --bs-btn-hover-border-color: #5bb318;
  --bs-btn-focus-shadow-rgb: 91, 179, 24;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5bb318;
  --bs-btn-active-border-color: #5bb318;
  --bs-btn-disabled-color: #5bb318;
  --bs-btn-disabled-border-color: #5bb318;
}

/* Bootstrap primary utility overrides */
.bg-primary {
  background-color: #5bb318 !important;
}

.bg-primary-subtle {
  background-color: #f0fdf4 !important;
}

.text-primary {
  color: #5bb318 !important;
}

.border-primary {
  border-color: #5bb318 !important;
}

.link-primary {
  color: #5bb318 !important;
}

.link-primary:hover {
  color: #2d5a27 !important;
}

/* ─── Form control border radius (all input types) ─────────────────────── */
.form-control,
.form-select,
textarea.form-control,
input[type=text],
input[type=email],
input[type=password],
input[type=search],
input[type=url],
input[type=number],
input[type=tel],
input[type=date],
input[type=datetime-local] {
  border-radius: 0.375rem !important;
}

/* Input group: keep 0.375rem on outer corners only */
.input-group .form-control:not(:last-child),
.input-group .form-select:not(:last-child) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group .form-control:not(:first-child),
.input-group .form-select:not(:first-child) {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.input-group-text {
  border-radius: 0.375rem;
}

.input-group .input-group-text:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .input-group-text:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* ─── Modern toggle switch (Bootstrap form-switch, project-wide) ────────── */
.form-check.form-switch {
  --toggle-track-width: 52px;
  --toggle-track-height: 28px;
  --toggle-knob-size: 22px;
  --toggle-knob-offset: 3px;
  --toggle-primary: #5bb318;
  --toggle-primary-hover: #2d5a27;
  min-height: auto;
  padding-left: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.form-check.form-switch .form-check-input {
  position: relative;
  width: var(--toggle-track-width);
  height: var(--toggle-track-height);
  margin: 0;
  margin-right: 0.75rem;
  background-color: #e5e7eb;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.25s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  background-image: none;
}

.form-check.form-switch .form-check-input:hover {
  background-color: #d1d5db;
}

.form-check.form-switch .form-check-input:checked {
  background-color: var(--toggle-primary);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-check.form-switch .form-check-input:checked:hover {
  background-color: var(--toggle-primary-hover);
}

.form-check.form-switch .form-check-input::after {
  content: "";
  position: absolute;
  top: var(--toggle-knob-offset);
  left: var(--toggle-knob-offset);
  width: var(--toggle-knob-size);
  height: var(--toggle-knob-size);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-check.form-switch .form-check-input:checked::after {
  transform: translateX(calc(var(--toggle-track-width) - var(--toggle-knob-size) - 2 * var(--toggle-knob-offset)));
}

.form-check.form-switch .form-check-input:focus {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 0.25rem rgba(91, 179, 24, 0.25);
}

.form-check.form-switch .form-check-input:checked:focus {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 0.25rem rgba(91, 179, 24, 0.25);
}

.form-check.form-switch .form-check-label {
  cursor: pointer;
  user-select: none;
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 575.98px) {
  .form-check.form-switch .form-check-input {
    margin-right: 0.5rem;
  }
}
/* ========== Global focus: group vs standalone ==========
 * When an input/select/textarea is inside a "group" wrapper (icon+input, button+input, etc.),
 * the focus effect (border + box-shadow) applies to the PARENT wrapper, not the field.
 * Standalone fields keep the focus ring on themselves.
 * Accessibility: visible focus ring, good contrast; invalid/disabled states preserved.
 * ========================================================= */
:root {
  --focus-border-color: #5bb318;
  --focus-ring-shadow: 0 0 0 0.25rem rgba(91, 179, 24, 0.25);
}

/* Standalone fields (not inside a group): focus ring on the field */
.form-control:focus,
.form-select:focus,
.form-control:focus-visible,
.form-select:focus-visible,
textarea.form-control:focus,
textarea.form-control:focus-visible {
  border-color: var(--focus-border-color) !important;
  box-shadow: var(--focus-ring-shadow) !important;
  outline-color: var(--primary-color) !important;
}

.input-group .form-control:focus,
.input-group .form-select:focus,
.input-group .form-control:focus-visible,
.input-group .form-select:focus-visible,
.input-group textarea.form-control:focus,
.input-group textarea.form-control:focus-visible,
.shop-search-bar .form-control:focus,
.shop-search-bar .form-select:focus,
.shop-search-bar .form-control:focus-visible,
.shop-search-bar .form-select:focus-visible,
.shop-search-bar textarea.form-control:focus,
.shop-search-bar textarea.form-control:focus-visible {
  outline: none !important;
  border: none !important;
  box-shadow: 0 0 0 0.25rem rgba(91, 179, 24, 0) !important;
  background-color: transparent !important;
}

.shop-search-bar .form-control {
  color: var(--bg-light);
}

/* ----- Group wrappers: focus effect on the container -----
 * Supported patterns: .input-group, .auth-input-wrap, .nav-search-combo, .shop-search-bar,
 * .header-search-wrap (wraps input-group), .vendor-header-search (wraps input-group),
 * and any element with .focus-within-group utility.
 */
.input-group:focus-within,
.shop-search-bar:focus-within,
.focus-within-group:focus-within {
  border-color: var(--focus-border-color) !important;
  box-shadow: var(--focus-ring-shadow) !important;
  outline: 3px solid var(--primary-color) !important;
  outline-offset: 3px !important;
}

.input-group:focus-within,
.focus-within-group:focus-within {
  border-radius: 5px;
}

.nav-search-combo .input-group:focus-within,
.nav-search-combo .shop-search-bar:focus-within,
.nav-search-combo .focus-within-group:focus-within {
  border-radius: unset;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  outline-offset: unset !important;
}

/* Border on group children when wrapper has focus (exclude invalid so validation styles win) */
.input-group:focus-within .form-select:not(.is-invalid),
.input-group:focus-within > .btn,
.auth-input-wrap:focus-within .form-control:not(.is-invalid),
.auth-input-wrap:focus-within .form-select:not(.is-invalid),
.shop-search-bar:focus-within input:not([disabled]):not([readonly]),
.focus-within-group:focus-within .form-control:not(.is-invalid),
.focus-within-group:focus-within .form-select:not(.is-invalid),
.focus-within-group:focus-within > .btn {
  border-color: transparent !important;
}

.auth-input-wrap .form-control:focus,
.auth-input-wrap .form-select:focus,
.auth-input-wrap textarea.form-control:focus,
.nav-search-combo .form-control:focus,
.nav-search-combo .form-select:focus,
.nav-search-combo select:focus,
.shop-search-bar input:focus,
.focus-within-group .form-control:focus,
.focus-within-group .form-select:focus,
.focus-within-group textarea.form-control:focus {
  box-shadow: none !important;
}

/* Disabled/readonly: no focus highlight (browser does not focus them; this reinforces no ring if any) */
.input-group .form-control:disabled,
.input-group .form-select:disabled,
.auth-input-wrap .form-control:disabled,
.auth-input-wrap .form-select:disabled {
  border-color: var(--bs-border-color) !important;
}

/* Form check (checkbox/radio/switch) checked */
.form-check-input:checked,
.form-switch .form-check-input:checked {
  background-color: #5bb318 !important;
  border-color: #5bb318 !important;
}

/* ─── Modern Admin/Vendor Action Buttons ──────────────────── */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  min-height: 2rem;
  border-radius: 50px;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
}

/* Action column: vertically align buttons in table cells */
.card .table td .d-flex.justify-content-end,
.table-responsive .table td .d-flex.justify-content-end {
  align-items: center;
}

.trust-badges-section .trust-badge-item {
  cursor: pointer;
  outline: none;
}
.trust-badges-section .trust-badge-item:focus-visible {
  box-shadow: 0 0 0 2px rgba(91, 179, 24, 0.5);
  border-radius: 999px;
}

.trust-badge-popover.popover {
  border-radius: 20px;
  border: 1px solid rgba(91, 179, 24, 0.2);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  max-width: 260px;
}

.trust-badge-popover .popover-header {
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #f0fdf4;
  border-bottom: 1px solid rgba(91, 179, 24, 0.1);
}

.trust-badge-popover .popover-body {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.5;
}

.btn-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-action-view {
  background: #f0fdf4;
  color: #15803d;
}

.btn-action-view:hover {
  background: #15803d;
  color: #fff;
}

.btn-action-edit {
  background: #eff6ff;
  color: #2563eb;
}

.btn-action-edit:hover {
  background: #2563eb;
  color: #fff;
}

.btn-action-approve {
  background: #f0fdf4;
  color: #16a34a;
}

.btn-action-approve:hover {
  background: #16a34a;
  color: #fff;
}

.btn-action-reject {
  background: #fff7ed;
  color: #ea580c;
}

.btn-action-reject:hover {
  background: #ea580c;
  color: #fff;
}

.btn-action-delete {
  background: #fef2f2;
  color: #dc2626;
}

.btn-action-delete:hover {
  background: #dc2626;
  color: #fff !important;
}

.btn-action-suspend {
  background: #fffbeb;
  color: #d97706;
}

.btn-action-suspend:hover {
  background: #d97706;
  color: #fff;
}

.btn-action-reply {
  background: #f0f9ff;
  color: #0284c7;
}

.btn-action-reply:hover {
  background: #0284c7;
  color: #fff;
}

.btn-action-info {
  background: #f0f9ff;
  color: #0369a1;
}

.btn-action-info:hover {
  background: #0369a1;
  color: #fff;
}

.btn-action-warning {
  background: #fffbeb;
  color: #d97706;
}

.btn-action-warning:hover {
  background: #d97706;
  color: #fff;
}

.btn-action-success {
  background: #f0fdf4;
  color: #16a34a;
}

.btn-action-success:hover {
  background: #16a34a;
  color: #fff;
}

/* ─── Product List Action Buttons (compact, cute) ─────────── */
.product-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.product-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.product-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-action-view {
  background: #ecfdf5;
  color: #059669;
}

.product-action-view:hover {
  background: #059669;
  color: #fff;
}

.product-action-approve {
  background: #d1fae5;
  color: #10b981;
}

.product-action-approve:hover {
  background: #10b981;
  color: #fff;
}

.product-action-reject {
  background: #ffedd5;
  color: #f97316;
}

.product-action-reject:hover {
  background: #f97316;
  color: #fff;
}

.product-action-delete {
  background: #fee2e2;
  color: #ef4444;
}

.product-action-delete:hover {
  background: #ef4444;
  color: #fff;
}

/* Panel Filter Button – minimum width (content-sized) */
.btn-filter {
  background: #5bb318;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.45rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: auto;
  min-width: 0;
  height: fit-content;
  white-space: nowrap;
}

.btn-filter.w-100 {
  width: auto !important;
}

.btn-filter:hover {
  background: #2d5a27;
  color: #fff;
  transform: translateY(-1px);
}

/* Panel Add/New Button */
.btn-panel-primary {
  background: linear-gradient(135deg, #5bb318, #2d5a27);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  height: fit-content;
  white-space: nowrap;
}
.btn-panel-primary-outline {
  background: transparent;
  border: 1px solid #5bb318;
  color: #5bb318;
  border-radius: 50px;
  padding: 0.1rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  height: fit-content;
  white-space: nowrap;
}

.btn-panel-primary:hover {
  background: linear-gradient(135deg, #2d5a27, #5bb318);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(91, 179, 24, 0.35);
}

:root {
  --primary-color: #5bb318;
  /* MIMBA Green */
  --primary-rgb: 91, 179, 24;
  --primary-light: #f7fee7;
  --primary-dark: #2d5a27;
  --secondary-color: #d97706;
  /* Amber */
  --secondary-hover: #b45309;
  --accent-color: #78350f;
  /* Earth Brown */
  --text-dark: #1a2e1a;
  /* Deep Forest */
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  /* Elevation System */
  --shadow-sm: 0 4px 6px -1px rgba(91, 179, 24, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(91, 179, 24, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(91, 179, 24, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(91, 179, 24, 0.15);
  --shadow-primary: 0 12px 24px -6px rgba(91, 179, 24, 0.3);
  /* Spacing & Transitions */
  --transition-base: all 0.2s ease-in-out;
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  /* Glass / Navbar */
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(0, 0, 0, 0.06);
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══ Mobile sidebar (offcanvas) ═══════════════════════════════ */
#mobileSidebar {
  --msb-w: min(310px, 86vw);
  --msb-bg: #ffffff;
  --msb-fg: #1e293b;
  --msb-muted: #94a3b8;
  --msb-border: #f1f5f9;
  --msb-accent: var(--primary-color, #5bb318);
  --msb-accent-bg: rgba(91, 179, 24, 0.07);
  --msb-hover: #f8fafc;
  --msb-radius: 10px;
  width: var(--msb-w) !important;
  max-width: 90vw;
  background: var(--msb-bg) !important;
  border: none !important;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
}
#mobileSidebar .msb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--msb-border);
}
#mobileSidebar .msb-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--msb-hover);
  color: var(--msb-muted);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
#mobileSidebar .msb-close:hover {
  background: #e2e8f0;
  color: var(--msb-fg);
}
#mobileSidebar .msb-search {
  position: relative;
  padding: 0.65rem 0.875rem;
  border-bottom: 1px solid var(--msb-border);
}
#mobileSidebar .msb-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--msb-radius);
  padding: 0 0.75rem;
  transition: border-color 0.15s;
}
#mobileSidebar .msb-search-box:focus-within {
  border-color: var(--msb-accent);
}
#mobileSidebar .msb-search-icon {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--msb-muted);
}
#mobileSidebar .msb-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--msb-fg);
  outline: none;
}
#mobileSidebar .msb-search-input::placeholder {
  color: var(--msb-muted);
}
#mobileSidebar .mobile-sidebar-suggestions {
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  top: 100%;
  z-index: 1060;
  max-height: 260px;
  overflow-y: auto;
}
#mobileSidebar {
  /* Customer user card (mobile sidebar) */
}
#mobileSidebar .msb-user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  margin: 0 0.75rem 0.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--msb-accent-bg) 0%, rgba(91, 179, 24, 0.04) 100%);
  border: 1px solid rgba(91, 179, 24, 0.12);
  text-decoration: none;
  color: var(--msb-fg);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 64px;
}
#mobileSidebar .msb-user-card:hover {
  background: linear-gradient(135deg, rgba(91, 179, 24, 0.12) 0%, rgba(91, 179, 24, 0.06) 100%);
  border-color: rgba(91, 179, 24, 0.2);
  box-shadow: 0 4px 12px rgba(91, 179, 24, 0.1);
  color: var(--msb-fg);
}
#mobileSidebar .msb-user-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--msb-hover);
}
#mobileSidebar .msb-user-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#mobileSidebar .msb-user-card-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--msb-muted);
}
#mobileSidebar .msb-user-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
#mobileSidebar .msb-user-card-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--msb-fg);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#mobileSidebar .msb-user-card-email {
  font-size: 0.75rem;
  color: var(--msb-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#mobileSidebar .msb-user-card-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--msb-muted);
  opacity: 0.8;
}
#mobileSidebar .msb-user-card-guest {
  cursor: default;
  margin-bottom: 0.5rem;
  padding: 0.4rem;
  height: auto;
  min-height: unset;
}
#mobileSidebar .msb-user-card-guest .msb-user-card-avatar-placeholder {
  background: #5bb318;
  color: #ffffff;
}
#mobileSidebar .msb-user-card-guest:hover {
  color: var(--msb-fg);
}
#mobileSidebar .msb-user-card-guest {
  pointer-events: none;
}
#mobileSidebar .msb-user-card-guest.active {
  pointer-events: auto;
}
#mobileSidebar .msb-user-card-guest .msb-user-card-btn {
  pointer-events: auto;
}
#mobileSidebar .msb-user-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--msb-accent);
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#mobileSidebar .msb-user-card-btn:hover {
  color: #fff;
  opacity: 0.95;
  transform: scale(1.02);
}
#mobileSidebar .msb-body {
  flex: 1 1 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1.5rem;
}
#mobileSidebar .msb-section-label {
  padding: 0.75rem 1rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--msb-muted);
}
#mobileSidebar .msb-divider {
  height: 1px;
  margin: 0.5rem 1rem;
  background: var(--msb-border);
}

/* ── Category tree ──────────────────────────────────────────── */
#mobileSidebar .msb-cat-tree {
  list-style: none;
  margin: 0;
  padding: 0 0.625rem;
}

#mobileSidebar .msb-cat-tree li {
  margin: 0;
}

.msb-cat-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.625rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--msb-fg);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.msb-cat-link:hover {
  background: var(--msb-hover);
}

.msb-cat-link.is-active {
  background: var(--msb-accent-bg);
  color: var(--msb-accent);
}

.msb-cat-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  opacity: 0.65;
}
.is-active > .msb-cat-icon {
  opacity: 1;
}

.msb-cat-arrow {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--msb-muted);
  transition: transform 0.25s ease;
}

.msb-cat-toggle[aria-expanded=true] .msb-cat-arrow {
  transform: rotate(90deg);
}

/* Sub-list (children) — hidden by default */
#mobileSidebar .msb-cat-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobileSidebar .msb-cat-sub.is-open {
  max-height: 600px;
}

.msb-cat-child {
  padding-left: 2.35rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: #64748b;
}

.msb-tree-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbd5e1;
  margin-right: 0.4rem;
  vertical-align: middle;
}
.is-active > .msb-tree-dot {
  background: var(--msb-accent);
}

/* ── Quick links nav ────────────────────────────────────────── */
#mobileSidebar .msb-nav {
  list-style: none;
  margin: 0;
  padding: 0 0.625rem;
}

.msb-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.625rem;
  border-radius: 8px;
  color: var(--msb-fg);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.msb-nav-link iconify-icon {
  font-size: 1.05rem;
  opacity: 0.6;
  flex-shrink: 0;
}
.msb-nav-link:hover {
  background: var(--msb-hover);
}

.msb-nav-link.is-active {
  background: var(--msb-accent-bg);
  color: var(--msb-accent);
}
.msb-nav-link.is-active iconify-icon {
  opacity: 1;
}

.msb-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15em 0.55em;
  border-radius: 999px;
  background: var(--msb-accent);
  color: #fff;
}

/* Mobile sidebar search – suggestion dropdown on top */
.mobile-sidebar-search {
  position: relative;
  z-index: 1060;
  overflow: visible;
}

.mobile-sidebar-search .input-group {
  border-radius: 0.5rem;
}

.mobile-sidebar-search .form-control:focus {
  box-shadow: none;
}

.mobile-sidebar-suggestions {
  position: absolute !important;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1060;
  max-height: 280px;
  overflow-y: auto;
}

/* Mobile header search + suggestions (in navbar) */
.mobile-header-row {
  min-width: 0; /* allow flex shrink to prevent overflow */
}

.mobile-header-search {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  z-index: 1060;
  overflow: visible;
}

.mobile-header-search .input-group {
  min-width: 0;
}

.mobile-header-search .form-control {
  min-width: 0;
  font-size: 0.9rem;
}

.mobile-header-suggestions {
  position: absolute !important;
  left: 50% !important;
  top: 100%;
  transform: translate(-50%);
  z-index: 1060;
  max-height: min(320px, 60vh);
  min-width: 350px !important;
  overflow-y: auto;
}

@media (max-width: 575.98px) {
  .home-alt-nav .container {
    flex-wrap: nowrap;
  }
  .home-alt-nav .mobile-header-search {
    flex: 1 1 auto;
    min-width: 0;
  }
  .home-alt-nav .mobile-header-search .form-control {
    font-size: 0.85rem;
  }
  .home-alt-nav .d-lg-none.d-flex {
    gap: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    min-width: 0;
  }
  .home-alt-nav .navbar-toggler {
    padding: 0.35rem;
    flex-shrink: 0;
  }
}
/* (Old mobile sidebar category rules removed – replaced by #mobileSidebar scoped block above) */
/* Navbar Customization */
/* Glassmorphism Navbar */
.navbar {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  padding: 0.8rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--theme-color) !important;
  margin: 0 10px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff !important;
  background-color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.05) 0%, rgba(45, 90, 39, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--primary-color);
}

/* Global Button System */
.btn-primary-custom {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom:hover {
  background-color: var(--text-dark);
  /* Non-green hover */
  border-color: var(--text-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
  background-color: var(--text-dark);
  /* Unified non-green hover */
  border-color: var(--text-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(30, 41, 59, 0.15);
}

.btn-outline-primary-custom {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 2px 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-outline-danger-custom {
  background-color: transparent;
  border: 2px solid var(--bs-danger);
  color: var(--bs-danger);
  padding: 2px 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.btn-outline-primary-custom:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-outline-danger-custom:hover {
  background-color: var(--bs-danger);
  color: var(--white);
  border-color: var(--white);
}

/* Nav icon buttons (cart, wishlist, compare) */
.nav-icon-btn {
  background: rgba(91, 179, 24, 0.08);
  transition: var(--transition-smooth);
  height: 45px;
  width: 45px;
  display: grid;
  place-items: center;
  padding: 0 !important;
}

.nav-icon-btn:hover {
  background: rgba(91, 179, 24, 0.15);
  color: var(--primary-color) !important;
}

.nav-icon-btn.active {
  background: rgba(91, 179, 24, 0.2);
  color: var(--primary-color) !important;
}

.nav-icon-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--primary-color);
  color: white;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-icon-badge:empty,
.nav-icon-badge[style*="display: none"] {
  display: none !important;
}

/* Customer notification panel (dropdown) */
.dropdown-notification .dropdown-menu {
  min-width: 360px;
  max-width: min(400px, 100vw - 24px);
  width: 100%;
}

.customer-notification-panel {
  padding: 0 !important;
  overflow: hidden;
}

.customer-notification-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.customer-notification-panel-header h6 {
  color: #0f172a;
  font-size: 1rem;
}

.customer-notification-panel-body {
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.customer-notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.2s;
}

.customer-notification-item:hover {
  background: rgba(91, 179, 24, 0.06);
}

.customer-notification-item--unread {
  background: rgba(91, 179, 24, 0.04);
}

.customer-notification-item--unread .customer-notification-title {
  font-weight: 600;
}

.customer-notification-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(91, 179, 24, 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.customer-notification-content {
  flex: 1;
  min-width: 0;
}

.customer-notification-title {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.customer-notification-message {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.4;
  text-wrap: wrap;
}

.customer-notification-time {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 4px;
  display: inline-block;
}

.customer-notification-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.customer-notification-empty-icon {
  font-size: 2.5rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
  text-align: center;
}

.customer-notification-panel-footer {
  padding: 0.75rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.customer-notification-view-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

.customer-notification-view-all:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 576px) {
  .dropdown-notification .dropdown-menu {
    min-width: 300px;
    max-width: calc(100vw - 24px);
  }
}
/* Ensure perfect circles for icons */
.rounded-circle.btn {
  padding: 0 !important;
  width: 45px !important;
  height: 45px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Modern Quantity Control */
.quantity-control {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  padding: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-size: 1.2rem;
}

.quantity-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(91, 179, 24, 0.2);
}

.quantity-input {
  width: 50px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  background: transparent;
}

.quantity-input:focus {
  outline: none;
}

/* Cards */
/* Modern Cards */
.card-custom {
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  overflow: hidden;
  height: 100%;
}

/* No hover transform for generic cards - only product cards get lift effect */
.card-custom:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

/* Product cards: subtle lift on hover (no scale) */
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(91, 179, 24, 0.12);
}

.card-img-container {
  height: 250px;
  overflow: hidden;
  background-color: #f0f0f0;
  width: 100%;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

/* Newsletter */
.newsletter-section {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
  border-radius: 30px;
  margin-top: 50px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Footer - Modern Design */
.footer-modern {
  margin-top: 5rem;
  background: linear-gradient(175deg, #0a1612 0%, #0f1f0f 18%, #132a18 45%, #0d1b0d 100%);
  color: #e8eef4;
  position: relative;
  overflow: hidden;
  border-radius: 2rem 2rem 0 0;
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.2);
}

.footer-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(91, 179, 24, 0.45) 20%, rgba(91, 179, 24, 0.8) 50%, rgba(91, 179, 24, 0.45) 80%, transparent 100%);
  opacity: 0.9;
}

.footer-modern::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(91, 179, 24, 0.06), transparent 70%);
}

.footer-modern .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-modern .footer-brand .footer-logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.25s ease;
}

.footer-modern .footer-brand:hover .footer-logo {
  transform: scale(1.02);
}

.footer-modern .footer-desc {
  color: rgba(232, 238, 244, 0.72);
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 320px;
  font-weight: 400;
}

.footer-modern .footer-title {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(232, 238, 244, 0.95);
  margin-bottom: 1.125rem;
  position: relative;
  padding-left: 0;
}

.footer-modern .footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color, #5bb318), rgb(53, 182, 231), #5bb318);
  border-radius: 1px;
}

.footer-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.footer-modern .footer-link {
  display: inline-block;
  color: rgba(232, 238, 244, 0.72);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  margin-bottom: 0.5rem;
}

.footer-modern .footer-link:hover {
  color: #a8e063;
  transform: translateX(5px);
  opacity: 1;
}

.footer-modern .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(232, 238, 244, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-modern .footer-contact-item i {
  color: var(--primary-color);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-modern .footer-social {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.footer-modern .footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #a8e063;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

.footer-modern .footer-social a:hover {
  background: linear-gradient(135deg, #5bb318, #4a9a14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(91, 179, 24, 0.35);
}

.footer-modern .footer-newsletter {
  background: transparent;
  border: none;
  padding: 0;
  display: grid;
  place-items: center;
}

.footer-modern .newsletter-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 420px;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}

.footer-modern .newsletter-form .newsletter-icon {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  flex-shrink: 0;
  opacity: 0.9;
}

.footer-modern .newsletter-form:focus-within {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(91, 179, 24, 0.4);
  box-shadow: 0 0 0 3px rgba(91, 179, 24, 0.12);
}

.footer-modern .newsletter-input {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  width: 100%;
  font-size: 0.9375rem;
}

.footer-modern .newsletter-input:focus {
  box-shadow: none !important;
}

.footer-modern .newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer-modern .newsletter-form .btn-subscribe {
  padding: 0.2rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-modern .newsletter-form .btn-subscribe:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(91, 179, 24, 0.4);
}

.footer-modern .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
}

.footer-modern .footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.footer-modern .footer-badges img {
  height: 24px;
  opacity: 0.7;
  filter: grayscale(1) brightness(1.5);
}

.footer-modern .footer-copyright {
  color: rgba(232, 238, 244, 0.45);
  font-size: 0.8125rem;
  font-weight: 500;
}

.footer-modern .footer-payment {
  margin-top: 1.25rem;
}

.footer-modern .footer-payment-label {
  color: rgba(232, 238, 244, 0.5) !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(6px);
}

.footer-payment-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.footer-modern .footer-legal-link {
  font-weight: 500;
  color: rgba(232, 238, 244, 0.55);
}

.footer-modern .footer-legal-link:hover {
  color: #a8e063;
}

.footer-modern .footer-container {
  position: relative;
  z-index: 1;
}

@media (max-width: 575.98px) {
  .footer-modern .newsletter-form .btn-primary-custom.btn-subscribe {
    width: auto !important;
    margin-bottom: unset;
  }
}
@media (max-width: 991.98px) {
  .footer-modern .footer-desc {
    max-width: 100%;
  }
  .footer-modern .footer-social {
    justify-content: flex-start;
  }
}
/* Footer – modern mobile */
@media (max-width: 767.98px) {
  .footer-modern.footer-mobile-modern {
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
  .footer-modern {
    border-radius: 1.5rem 1.5rem 0 0;
  }
  .footer-modern .footer-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .footer-modern .footer-top {
    row-gap: 2rem;
  }
  .footer-modern .footer-brand-col {
    text-align: center;
  }
  .footer-modern .footer-title::after {
    left: 0;
  }
  .footer-modern .footer-newsletter-col .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-modern .footer-brand {
    justify-content: center;
    margin-bottom: 1rem;
  }
  .footer-modern .footer-brand .footer-logo {
    height: 34px;
  }
  .footer-modern .footer-desc {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }
  .footer-modern .footer-social {
    justify-content: center;
    margin-top: 1rem;
    gap: 0.65rem;
  }
  .footer-modern .footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.2rem;
  }
  .footer-modern .footer-links-col {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .footer-modern .footer-title {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: rgba(226, 232, 240, 0.95);
  }
  .footer-modern .footer-links-list .footer-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.25rem;
    min-height: 44px;
    line-height: 1.4;
    font-size: 0.9rem;
    margin-bottom: 0;
    border-radius: 8px;
  }
  .footer-modern .footer-newsletter-col {
    margin-top: 0.5rem;
  }
  .footer-modern .footer-newsletter-col .footer-title {
    margin-bottom: 0.75rem;
  }
  .footer-modern .footer-payment {
    margin-top: 1.5rem;
    text-align: center;
  }
  .footer-modern .footer-payment-label {
    display: block;
    margin-bottom: 0.5rem;
  }
  .footer-modern .footer-payment-badges {
    justify-content: center;
  }
  .footer-modern .footer-payment-badge {
    padding: 0.4rem 0.6rem;
    font-size: 1.15rem;
  }
  .footer-modern .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.1);
  }
  .footer-modern .footer-bottom-inner {
    gap: 1.25rem;
  }
  .footer-modern .footer-copyright {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
  .footer-modern .footer-legal-link {
    padding: 0.5rem 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .footer-modern.footer-mobile-modern {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    padding-bottom: 1.25rem;
  }
  .footer-modern .footer-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .footer-modern .footer-top {
    row-gap: 1.75rem;
  }
  .footer-modern .footer-brand .footer-logo {
    height: 30px;
  }
  .footer-modern .footer-bottom-inner {
    gap: 1rem;
  }
}
/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-section {
    padding: 60px 0;
    text-align: center;
  }
  .sticky-lg-top {
    position: static !important;
    margin-bottom: 2rem;
  }
}
@media (max-width: 575.98px) {
  .card-img-container {
    height: 200px;
  }
  .section-title {
    font-size: 2rem;
  }
  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    margin-bottom: 10px;
  }
  .d-flex.gap-3 {
    flex-direction: column;
  }
}
/* Fix for horizontal scroll on some mobile browsers */
.row {
  margin-right: -10px;
  margin-left: -10px;
}

/* Offcanvas Mobile Sidebar Styling */
.offcanvas {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  border-radius: 0 30px 30px 0;
}

.offcanvas-header {
  border-bottom: 1px solid var(--glass-border);
}

.offcanvas .nav-link {
  font-size: 1.1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

/* Page Link Section Styling */
.pages-grid .card-custom {
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border: none;
}

/* --- Product Detail Overhaul (pd-) --- */
/* Gallery Layout */
.pd-gallery-container {
  display: flex;
  gap: 20px;
}

.pd-main-img-box {
  flex-grow: 1;
  height: 420px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--card-shadow);
}

.pd-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.pd-thumbnails-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-thumb {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-smooth);
  background: var(--white);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumb.is-active {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(91, 179, 24, 0.2);
}

.pd-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pd-gallery-nav:hover {
  background: var(--primary-color);
  color: var(--white);
}

.pd-gallery-prev {
  left: 15px;
}

.pd-gallery-next {
  right: 15px;
}

/* Variant Selection */
.pd-variant-chip {
  padding: 8px 16px;
  border: 1px solid #dee2e6;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  background: var(--white);
}

.pd-variant-chip:hover {
  border-color: var(--primary-color);
}

.pd-variant-chip.is-active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* ─── MIMBA Toaster (modern) – success / error / warning / info ──────────── */
.toast-container,
.mimba-toaster-container {
  position: fixed;
  top: 24px;
  right: 24px;
  left: auto;
  bottom: auto;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(400px, 100vw - 40px);
  pointer-events: none;
}

.mimba-toaster-container {
  pointer-events: auto;
}

.mimba-toast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  padding-bottom: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
  border: none;
  opacity: 0;
  transform: translateX(100%) scale(0.96);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
  overflow: hidden;
}

.mimba-toast--visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.mimba-toast--exiting {
  opacity: 0;
  transform: translateX(100%) scale(0.96);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.mimba-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: left;
  animation: mimba-toast-progress-shrink 5s linear forwards;
}

@keyframes mimba-toast-progress-shrink {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
.mimba-toast-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.mimba-toast-message {
  flex: 1;
  font-size: 0.9375rem;
  color: #111827;
  line-height: 1.5;
  font-weight: 500;
  padding-top: 2px;
}

.mimba-toast-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin: -6px -6px 0 0;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #6b7280;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.mimba-toast-close:hover {
  color: #111827;
  background: rgba(0, 0, 0, 0.06);
}

.mimba-toast--success {
  box-shadow: 0 24px 48px rgba(22, 163, 74, 0.12), 0 0 0 1px rgba(22, 163, 74, 0.08);
}

.mimba-toast--success .mimba-toast-icon {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.14);
}

.mimba-toast--success .mimba-toast-progress {
  color: #16a34a;
}

.mimba-toast--error {
  box-shadow: 0 24px 48px rgba(220, 38, 38, 0.1), 0 0 0 1px rgba(220, 38, 38, 0.08);
}

.mimba-toast--error .mimba-toast-icon {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
}

.mimba-toast--error .mimba-toast-progress {
  color: #dc2626;
}

.mimba-toast--warning {
  box-shadow: 0 24px 48px rgba(217, 119, 6, 0.1), 0 0 0 1px rgba(245, 158, 11, 0.08);
}

.mimba-toast--warning .mimba-toast-icon {
  color: #d97706;
  background: rgba(245, 158, 11, 0.14);
}

.mimba-toast--warning .mimba-toast-progress {
  color: #d97706;
}

.mimba-toast--info {
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.1), 0 0 0 1px rgba(59, 130, 246, 0.08);
}

.mimba-toast--info .mimba-toast-icon {
  color: #2563eb;
  background: rgba(59, 130, 246, 0.12);
}

.mimba-toast--info .mimba-toast-progress {
  color: #2563eb;
}

@media (max-width: 576px) {
  .toast-container,
  .mimba-toaster-container {
    top: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
  .mimba-toast {
    padding: 16px 18px;
    padding-bottom: 12px;
  }
}
/* Form hint (replaces Bootstrap alert for inline tips) */
.form-hint-box {
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

@media (max-width: 991.98px) {
  .pd-gallery-container {
    flex-direction: column;
  }
  .pd-thumbnails-grid {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 5px;
    order: 2;
  }
  .pd-main-img-box {
    height: 320px;
    order: 1;
  }
  .pd-thumb {
    flex-shrink: 0;
  }
}
.col,
[class*=col-] {
  padding-right: 10px;
  padding-left: 10px;
}

/* --- Checkout & Utility Overrides --- */
.checkout-card {
  height: auto !important;
  transform: none !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
  transition: none !important;
}

.checkout-card:hover {
  transform: none !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
}

/* ── Modern Checkout Sidebar ── */
.checkout-sidebar-modern {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(45, 90, 39, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.checkout-sidebar-modern.card-custom,
.checkout-sidebar-modern.checkout-card {
  transform: none !important;
}

.checkout-sidebar-modern:hover {
  transform: none !important;
}

.checkout-sidebar-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, #3d7a2e 100%);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-sidebar-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.checkout-sidebar-icon iconify-icon {
  color: white;
}

.checkout-sidebar-body {
  overflow: visible;
}

.checkout-sidebar-no-scroll {
  max-height: none !important;
  overflow: visible !important;
}

.checkout-product-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-product-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: 14px;
  border: 1px solid rgba(91, 179, 24, 0.08);
  transition: var(--transition-base);
}

.checkout-product-item:hover {
  background: var(--primary-light);
  border-color: rgba(91, 179, 24, 0.15);
}

.checkout-product-img-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.checkout-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-product-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.checkout-product-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.checkout-product-price {
  color: var(--primary-color);
  font-size: 0.95rem;
}

.checkout-totals {
  padding: 1rem 0;
  border-top: 1px dashed rgba(91, 179, 24, 0.2);
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.checkout-total-row.checkout-total-final {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--primary-color);
  margin-bottom: 0;
}

.checkout-place-btn {
  box-shadow: 0 8px 20px rgba(91, 179, 24, 0.35);
}

.checkout-place-btn:hover {
  box-shadow: 0 12px 28px rgba(91, 179, 24, 0.4);
}

.checkout-trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(91, 179, 24, 0.06) 100%);
  border-radius: 14px;
  border: 1px solid rgba(91, 179, 24, 0.12);
}

.checkout-trust-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.transition-hover {
  transition: var(--transition-smooth) !important;
}

.transition-hover:hover {
  transform: translateY(-3px);
}

.cursor-pointer {
  cursor: pointer;
}

.extra-small {
  font-size: 0.75rem;
}

/* Vendor Hub Layout */
:root {
  --sidebar-width: 280px;
}

.vendor-wrapper {
  display: flex;
  min-height: 100vh;
}

.vendor-sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  max-width: 85vw;
  background: linear-gradient(180deg, #fff 0%, #f8fdf5 100%);
  border-right: 1px solid rgba(91, 179, 24, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1002;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  box-shadow: 4px 0 20px rgba(45, 90, 39, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vendor-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 2rem;
  background: #f8fafc;
  min-width: 0;
  width: 100%;
}

.vendor-top-header {
  position: sticky;
  top: 10px;
  z-index: 999;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 3px rgba(108, 107, 107, 0.2) !important;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .vendor-top-header {
    padding: 0.875rem 1rem;
  }
}
@media (min-width: 992px) {
  .vendor-top-header {
    margin-bottom: 1.25rem;
    padding: 0.875rem 1.25rem;
  }
}
.vendor-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
}

@media (min-width: 768px) {
  .vendor-header-inner {
    gap: 0.75rem;
  }
}
.vendor-nav-toggle {
  padding: 0.5rem 0.75rem;
}

.vendor-header-search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 400px;
}

.vendor-header-search .vendor-search-input-group {
  min-width: 0;
}

.vendor-header-search .input-group-text {
  padding-left: 0.75rem;
}

@media (min-width: 768px) {
  .vendor-header-search .input-group-text {
    padding-left: 1rem;
  }
}
.vendor-header-search .form-control {
  min-width: 0;
}

.vendor-header-notif {
  flex-shrink: 0;
  line-height: 1;
}

/* Vendor header search: dropdown positioning (same as .header-search-wrap) */
.vendor-header-search {
  position: relative;
  overflow: visible;
  z-index: 1060; /* ensure suggestion box appears above sibling elements (dropdowns, buttons) in header */
}

.vendor-header-search .search-suggestions-box {
  max-height: min(420px, 70vh);
  min-width: 280px;
  width: 100%;
}

@media (max-width: 768px) {
  .vendor-header-search .search-suggestions-box {
    left: 0;
    right: 0;
    min-width: 0;
  }
}
.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.4rem 1.5rem;
  color: #64748b;
  text-decoration: none;
  transition: var(--transition-base);
  border-radius: 12px;
  margin: 0.2rem 1rem;
  font-weight: 500;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(91, 179, 24, 0.08);
  color: var(--primary-color);
}

.sidebar-link i {
  width: 24px;
  margin-right: 12px;
}

/* Sidebar brand & modern badge (admin / vendor) */
.sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sidebar-logo {
  display: block;
}

.sidebar-brand-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: linear-gradient(135deg, rgba(91, 179, 24, 0.14) 0%, rgba(91, 179, 24, 0.06) 100%);
  border: 1px solid rgba(91, 179, 24, 0.22);
  padding: 0.1rem 0.65rem;
  border-radius: 50px;
  box-shadow: 0 1px 2px rgba(91, 179, 24, 0.08);
}

.sidebar-brand-badge i {
  font-size: 0.6rem;
  opacity: 0.95;
  line-height: 0;
}

.sidebar-brand-badge-vendor {
  color: #0d6efd;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.14) 0%, rgba(13, 110, 253, 0.06) 100%);
  border-color: rgba(13, 110, 253, 0.28);
  box-shadow: 0 1px 2px rgba(13, 110, 253, 0.08);
}

.sidebar-brand-badge-vendor i {
  opacity: 0.95;
}

/* Sidebar tree menu – groups; only nav scrolls, sidebar does not */
.sidebar-nav {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.sidebar-group {
  margin-bottom: 0.15rem;
}

.sidebar-group-toggle {
  display: flex;
  align-items: center;
  width: 94%;
  padding: 0.4rem 1.5rem;
  margin: 0.2rem 1rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #64748b;
  font-weight: 500;
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-base);
}

.sidebar-group-toggle:hover {
  background: rgba(91, 179, 24, 0.08);
  color: var(--primary-color);
}

.sidebar-group-toggle i:first-of-type {
  width: 24px;
  margin-right: 12px;
  flex-shrink: 0;
}

.sidebar-group-toggle .sidebar-group-chevron {
  margin-left: auto;
  font-size: 0.85rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.sidebar-group-toggle[aria-expanded=true] .sidebar-group-chevron {
  transform: rotate(180deg);
}

.sidebar-group-toggle[aria-expanded=true] {
  background: rgba(91, 179, 24, 0.08);
  color: var(--primary-color);
}

.sidebar-collapse {
  border: none;
}

.sidebar-group-inner {
  padding: 0.25rem 0 0.5rem 1rem;
}

.sidebar-link-child {
  padding-left: 2rem !important;
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  margin: 5px 1rem !important;
  font-size: 0.9rem;
}

.sidebar-footer {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Shrunk footer buttons (admin & vendor sidebars) */
.sidebar-footer .btn-view-market,
.sidebar-footer .btn-aside-logout {
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  border-radius: 10px;
}

.sidebar-footer .btn-view-market-icon {
  width: 24px;
  height: 24px;
}

.sidebar-footer .btn-view-market-icon i {
  font-size: 0.95rem;
}

.sidebar-footer .btn-view-market-arrow {
  font-size: 1.25rem;
}

.sidebar-footer .btn-aside-logout-icon i {
  font-size: 0.95rem;
}

.sidebar-footer .vendor-sidebar-share {
  margin-bottom: 0.5rem;
}

.sidebar-panel .vendor-sidebar-mobile-profile {
  flex-shrink: 0;
}

/* View Market button – modern CTA in vendor sidebar */
.btn-view-market {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  background: linear-gradient(135deg, #5bb318 0%, #4a9a14 50%, #3d8212 100%);
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(91, 179, 24, 0.35), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn-view-market:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 179, 24, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-view-market:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(91, 179, 24, 0.3);
}

.btn-view-market-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.btn-view-market-icon i {
  font-size: 1.1rem;
}

.btn-view-market-text {
  flex: 1;
  text-align: left;
}

.btn-view-market-arrow {
  font-size: 1.5rem;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.btn-view-market:hover .btn-view-market-arrow {
  transform: translateX(4px);
}

/* Vendor/Admin header avatar */
.vendor-header-avatar,
.admin-header-avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

/* Vendor aside mobile profile avatar */
.vendor-aside-avatar {
  width: 48px;
  height: 48px;
}

.admin-aside-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

/* Modern aside logout button (vendor & admin) */
.btn-aside-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-aside-logout:hover {
  color: #fff;
  background: #dc2626;
  border-color: #dc2626;
  transform: translateY(-1px);
}

.btn-aside-logout:active {
  transform: translateY(0);
}

.btn-aside-logout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-aside-logout-icon i {
  font-size: 1.1rem;
}

.btn-aside-logout-text {
  flex: 1;
  text-align: left;
}

/* Backdrop overlay for mobile sidebar (click to close) */
.vendor-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

@media (max-width: 991.98px) {
  .vendor-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .vendor-sidebar {
    transform: translateX(-100%);
  }
  .vendor-main {
    margin-left: 0;
    padding: 1rem 1rem 1.5rem;
  }
  .vendor-sidebar.show {
    transform: translateX(0);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
  }
  .vendor-sidebar .sidebar-nav {
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  /* Prevent body scroll when sidebar is open on mobile */
  .vendor-panel-body.vendor-sidebar-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  .profile-avatar-wrapper {
    left: 50% !important;
    transform: translateX(-50%);
    bottom: -60px !important;
  }
  .profile-avatar {
    width: 120px !important;
    height: 120px !important;
    border-radius: 28px !important;
  }
}
.mobile-nav-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
}

.vendor-wrapper .mobile-nav-toggle {
  display: none !important;
}

/* Profile Elements */
.profile-cover {
  height: 240px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 24px 24px 0 0;
  position: relative;
}

.profile-avatar-wrapper {
  position: absolute;
  bottom: -60px;
  left: 40px;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  border: 6px solid #fff;
  border-radius: 36px;
  box-shadow: var(--shadow-md);
  background: #fff;
}

.btn-upload-cover {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: var(--transition-base);
}

.btn-upload-cover:hover {
  background: rgba(255, 255, 255, 0.3);
}

.card-custom {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.bg-primary-light {
  background-color: var(--primary-light) !important;
}

.bg-success-subtle {
  background-color: rgba(91, 179, 24, 0.1) !important;
}

.text-success {
  color: var(--primary-color) !important;
}

.op-50 {
  opacity: 0.5;
}

.bg-primary-subtle {
  background-color: rgba(91, 179, 24, 0.1) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.border-light-subtle {
  border-color: rgba(0, 0, 0, 0.05) !important;
}

.sticky-lg-top {
  z-index: 10;
}

/* Payment field grouping */
.payment-fields {
  padding-top: 20px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

/* --- Success Page Animations --- */
.success-check-anim {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.order-detail-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

.confetti-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  z-index: -1;
}

.success-container {
  animation: slideUpFade 0.8s ease-out forwards;
}

@keyframes slideUpFade {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* --- Modern Global Refinements --- */
.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.shadow-xl {
  box-shadow: var(--shadow-xl) !important;
}

/* Section Title Refinement */
.section-title {
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: var(--radius-pill);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* --- Home Page Specific Styles --- */
/* Promo Banner */
.promo-img-container {
  transition: var(--transition-smooth);
  transform: rotate(2deg);
}

.promo-img-container:hover {
  transform: rotate(0deg);
}

/* Card Action Overlay */
.card-img-container {
  position: relative;
  overflow: hidden;
}

.card-action-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  display: flex;
  justify-content: center;
  transition: var(--transition-smooth);
  opacity: 0;
}

.product-card:hover .card-action-overlay {
  bottom: 0;
  opacity: 1;
}

.product-card-actions {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 2;
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #555;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-action-btn:hover {
  background: var(--primary-color, #5bb318);
  color: #fff;
  border-color: var(--primary-color, #5bb318);
  transform: scale(1.1);
}

.product-action-btn.active {
  background: var(--primary-color, #5bb318);
  color: #fff;
  border-color: var(--primary-color, #5bb318);
}

.product-action-btn.wishlist-toggle-btn.in-wishlist,
.product-action-btn.wishlist-toggle-btn.active {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

.product-action-btn.wishlist-toggle-btn.in-wishlist:hover,
.product-action-btn.wishlist-toggle-btn.active:hover {
  background: #c82333;
  border-color: #bd2130;
}

.product-action-btn.compare-toggle-btn.in-compare {
  background: var(--primary-color, #5bb318);
  color: #fff;
  border-color: var(--primary-color, #5bb318);
}

.btn-white-custom {
  background: var(--white);
  color: var(--primary-color);
  border: none;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.btn-white-custom:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 2;
}

.wishlist-btn:hover {
  color: #e74c3c;
  transform: scale(1.1);
}

.wishlist-btn iconify-icon.text-danger,
.wishlist-btn.in-wishlist iconify-icon {
  color: #e74c3c !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spin-animation {
  animation: spin 0.8s linear infinite;
}

/* Compare Button (product cards) */
.compare-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 2;
}

.compare-btn:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.compare-btn.in-compare {
  color: var(--primary-color);
}

/* --- Shop Page Modernization --- */
/* Top Category Menu */
.category-top-menu {
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.cat-menu-item {
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  color: var(--text-muted);
  cursor: pointer;
}

.cat-menu-item:hover,
.cat-menu-item.active {
  background: var(--primary-light);
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* Sidebar Category Tree */
.category-tree .nav-link {
  padding: 0.8rem 0;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-base);
}

.category-tree .nav-link:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.sub-tree .nav-link {
  border-bottom: none;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sub-tree .nav-link::before {
  content: "•";
  margin-right: 10px;
  color: var(--primary-color);
  opacity: 0.5;
}

.transition-rotate {
  transition: transform 0.3s ease;
}

.rotate-90 {
  transform: rotate(90deg);
}

/* Search Glass */
.search-glass {
  background: #f1f5f9;
  transition: var(--transition-base);
}

/* .search-glass is used with .input-group; group focus is global above. Only background change here. */
.search-glass:focus-within {
  background: var(--white);
}

/* Site-wide rounding override for pill buttons */
.btn.rounded-pill {
  border-radius: 999px !important;
  padding-left: 1.8rem !important;
  padding-right: 1.8rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: fit-content;
}

/* Premium Newsletter Overrides */
.newsletter-modern {
  background: var(--primary-light);
  border-radius: 2rem;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.newsletter-modern::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color);
  opacity: 0.05;
  border-radius: 50%;
}

/* Modern Focus States */
:focus-visible {
  outline: 3px solid var(--primary-color) !important;
  outline-offset: 3px !important;
}

/* Link Button Hover */
.btn-link {
  text-decoration: none !important;
  transition: var(--transition-base) !important;
  font-weight: 500 !important;
}

.btn-link:hover {
  color: var(--primary-color) !important;
  transform: translateX(3px);
}

/* Sorting Dropdown Customization */
.shop-sort-select {
  border-radius: 50px !important;
  padding-left: 1.5rem !important;
  padding-right: 2.5rem !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: var(--shadow-sm) !important;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

/* Sidebar Active Highlighting */
.category-tree .nav-link.active-cat {
  background: var(--primary-light);
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  border-radius: 8px;
  padding-left: 10px !important;
}

/* sidebar-glass Styling */
.sidebar-glass {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07) !important;
}

/* Category Tree count badges */
.category-tree .badge {
  font-size: 0.7rem;
  padding: 0.35em 0.65em;
  background-color: var(--bg-light) !important;
  color: var(--text-muted) !important;
  border-radius: 6px;
}

/* Rating Heart/Star Styles */
.rating-filter-item {
  cursor: pointer;
  transition: var(--transition-base);
}

.rating-filter-item:hover {
  color: var(--primary-color);
}

.filter-check-group .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Active Filter Chips */
.active-filters-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
}

.filter-chip {
  background: var(--white);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-base);
}

.filter-chip:hover {
  background: var(--primary-color);
  color: var(--white);
}

.filter-chip i {
  font-size: 0.7rem;
}

/* Modernized Category Tree */
.category-tree .nav-link {
  border-left: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-dark) !important;
  padding: 0.8rem 1rem !important;
}

.category-tree .nav-link:hover {
  padding-left: 1.5rem !important;
  background: rgba(30, 41, 59, 0.02);
}

.category-tree .nav-link.active-cat {
  border-left-color: var(--primary-color);
  background: var(--primary-light) !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding-left: 1.2rem !important;
}

/* ─── Live Search Suggestions ────────────────────────────── */
.search-suggestions-box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  /*background: #fff;*/
  background: var(--primary-light);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  z-index: 1060; /* above Bootstrap dropdowns (1055) and mega menu */
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  max-height: min(420px, 70vh);
  overflow-y: auto;
}

.search-suggestions-box .sug-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #9ca3af;
  padding: 0.6rem 1rem 0.3rem;
}

.search-suggestions-box .sug-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.55rem 1rem;
  text-decoration: none;
  color: #1f2937;
  font-size: 0.875rem;
  transition: background 0.15s;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.search-suggestions-box .sug-item:hover {
  background: #f0fdf4;
  color: #5bb318;
}

.search-suggestions-box .sug-item img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
}

.search-suggestions-box .sug-item-info {
  text-align: left;
  min-width: 0;
}

.search-suggestions-box .sug-item-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestions-box .sug-item-sub {
  font-size: 0.77rem;
  color: #6b7280;
}

.search-suggestions-box .sug-icon {
  font-size: 1.1rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.search-suggestions-box .sug-divider {
  height: 1px;
  background: #f3f4f6;
  margin: 0.25rem 0;
}

.search-suggestions-box .sug-footer {
  display: block;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5bb318;
  text-align: center;
  text-decoration: none;
  border-top: 1px solid #f3f4f6;
}

.search-suggestions-box .sug-footer:hover {
  background: #f0fdf4;
}

.search-suggestions-box .sug-empty {
  padding: 1.5rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

.search-suggestions-box .sug-item-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
}

.search-suggestions-box .sug-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f3f4f6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header search (admin/vendor) – responsive */
.header-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 420px;
  z-index: 1060; /* so .search-suggestions-box (inside) appears above header/sidebar */
  overflow: visible;
}

.header-search-wrap .search-suggestions-box {
  max-height: min(420px, 70vh);
  min-width: 280px;
  width: 100%;
}

@media (max-width: 767.98px) {
  .header-search-wrap {
    max-width: 100%;
  }
  .header-search-wrap .search-suggestions-box {
    left: 0;
    right: 0;
    min-width: 0;
  }
}
/* Frontend nav search – consistent suggestion panel */
.nav-search-combo .search-suggestions-box {
  max-height: min(420px, 70vh);
}

.search-suggestions-box .sug-item {
  transition: background 0.2s ease, color 0.2s ease;
}

/* ─── MIMBA Custom Pagination ─────────────────────────────── */
.mimba-pagination-nav {
  margin-top: 2.5rem;
}

.mimba-pagination-nav .pagination {
  gap: 6px;
  flex-wrap: wrap;
}

/* Base page link */
.mimba-page-link {
  width: 44px;
  height: 44px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 12px !important;
  border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
  background: #fff !important;
  color: #374151 !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  /* Override Bootstrap 5 CSS variables */
  --bs-pagination-active-bg: var(--primary-color);
  --bs-pagination-active-border-color: var(--primary-color);
  --bs-pagination-active-color: #fff;
  --bs-pagination-hover-bg: var(--primary-light);
  --bs-pagination-hover-color: var(--primary-color);
  --bs-pagination-focus-bg: var(--primary-light);
  --bs-pagination-focus-color: var(--primary-color);
  --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(91, 179, 24, 0.25);
  --bs-pagination-color: #374151;
  --bs-pagination-bg: #fff;
  --bs-pagination-border-color: rgba(0, 0, 0, 0.08);
  --bs-pagination-disabled-bg: #f8f9fa;
  --bs-pagination-disabled-color: #adb5bd;
  --bs-pagination-disabled-border-color: rgba(0, 0, 0, 0.05);
}

/* Hover state */
.mimba-page-link:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 12px rgba(91, 179, 24, 0.3) !important;
  transform: translateY(-2px);
}

/* Active (current) page */
.page-item.active .mimba-page-link,
.mimba-page-active {
  background: var(--primary-color) !important;
  color: #fff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 12px rgba(91, 179, 24, 0.35) !important;
}

/* Disabled state */
.page-item.disabled .mimba-page-link {
  background: #f8f9fa !important;
  color: #c0c6cd !important;
  border-color: rgba(0, 0, 0, 0.05) !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: not-allowed;
}

/* Prev/Next nav buttons — slightly wider */
.mimba-page-nav {
  width: auto !important;
  padding: 0 1rem !important;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* "..." dots */
.mimba-page-dots {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #9ca3af !important;
  cursor: default;
}

.mimba-page-dots:hover {
  transform: none !important;
  background: transparent !important;
  color: #9ca3af !important;
}

/* Info text */
.mimba-pagination-info {
  font-size: 0.82rem;
  color: #6b7280;
}

/* Backward compatibility for plain Bootstrap pagination classes */
.pagination .page-link {
  --bs-pagination-active-bg: var(--primary-color);
  --bs-pagination-active-border-color: var(--primary-color);
  --bs-pagination-active-color: #fff;
  --bs-pagination-hover-bg: var(--primary-light, #f7fee7);
  --bs-pagination-hover-color: var(--primary-color);
  --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(91, 179, 24, 0.25);
  --bs-pagination-color: #374151;
}

.page-item.active .page-link {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

.page-link:focus {
  box-shadow: 0 0 0 3px rgba(91, 179, 24, 0.25) !important;
  outline: none !important;
}

/* Role Selector Cards */
.role-selector-card {
  transition: var(--transition-smooth);
  background: #fff;
  border: 2px solid #eee !important;
}

.role-selector-card:hover {
  border-color: var(--primary-color) !important;
  background: var(--primary-light);
}

.role-selector-card.active {
  border-color: var(--primary-color) !important;
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.cursor-pointer {
  cursor: pointer;
}

.uppercase {
  text-transform: uppercase;
}

.extra-small {
  font-size: 0.75rem;
}

.card-icon {
  height: 60px;
  width: 60px;
  display: grid;
  place-items: center;
  padding: 0 !important;
}
.card-icon-sm {
  height: 45px;
  width: 45px;
  display: grid;
  place-items: center;
  padding: 0 !important;
}

.navbar > .container {
  flex-wrap: nowrap;
}

/* ─── Panel breadcrumb ─────────────────────────────────────────── */
.bc {
  margin: 0 0 0.625rem;
}

.bc__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1;
}

.bc__item {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.bc__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 0.4rem;
  color: var(--bs-secondary-color, #8a919e);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.bc__home:hover {
  color: var(--primary-color, #5bb318);
  background-color: rgba(91, 179, 24, 0.08);
}

.bc__link {
  color: var(--bs-secondary-color, #8a919e);
  text-decoration: none;
  transition: color 0.15s ease;
}
.bc__link:hover {
  color: var(--primary-color, #5bb318);
}

.bc__item--active .bc__current {
  color: var(--primary-color, #5bb318);
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: rgba(91, 179, 24, 0.1);
  border-radius: 0.35rem;
}

.bc__sep {
  display: inline-flex;
  align-items: center;
  user-select: none;
  pointer-events: none;
  color: var(--bs-border-color, #d5d9e0);
  font-size: 0.75rem;
  margin: 0 0.4rem;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .bc {
    margin-bottom: 0.375rem;
  }
  .bc__list {
    font-size: 0.75rem;
  }
  .bc__home {
    width: 22px;
    height: 22px;
  }
  .bc__sep {
    margin: 0 0.3rem;
    font-size: 0.7rem;
  }
}
/* ─── Shared Empty State (Compare, Wishlist, Cart) ────────── */
.compare-empty {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fdf5 0%, #fff 100%);
  border-radius: 20px;
  border: 2px dashed rgba(91, 179, 24, 0.2);
  text-align: center;
  padding: 3rem 1.5rem;
}

.compare-empty .empty-icon {
  width: 120px;
  height: 120px;
  background: rgba(91, 179, 24, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.position-unset {
  position: unset !important;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 10 !important;
}

.rounded-pill-smp {
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: fit-content;
  padding: 5px 7px;
}

.bi::before, [class*=" bi-"]::before, [class^=bi-]::before {
  line-height: 0 !important;
  vertical-align: middle !important;
}

.dropdown-menu-custom {
  min-width: 200px;
}
.dropdown-menu-custom li .dropdown-item {
  display: flex;
  align-items: center;
}
.dropdown-menu-custom li .dropdown-item:focus, .dropdown-menu-custom li .dropdown-item:active {
  background: transparent;
  color: var(--primary-color);
}
.dropdown-menu-custom li .dropdown-item:hover {
  background-color: var(--primary-light) !important;
  color: var(--primary-color);
}
.dropdown-menu-custom li .dropdown-item.text-danger:hover {
  background-color: var(--bs-danger-bg-subtle) !important;
  color: var(--primary-color);
}
.dropdown-menu-custom li:first-child .dropdown-item {
  border-radius: 4px 4px 0 0 !important;
}
.dropdown-menu-custom li:last-child .dropdown-item {
  border-radius: 0 0 4px 4px !important;
}

/*# sourceMappingURL=style.css.map */
