/* 
 * Premium Luxury Design System for Heera Ornaments
 * Multi-Page Scalable Architecture (Touch-Scrollable Track + Mobile Offcanvas Drawer)
 */

:root {
  --font-family-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --bs-body-font-family: var(--font-family-base);
  --bs-body-bg: #F8FAFC;
  --bs-body-color: #0F172A;
  --bs-primary: #87652D;
  --bs-primary-rgb: 135, 101, 45;

  --gold-primary: #87652D;
  --gold-dark: #6D4F20;
  --gold-light: #FBF8F1;
  --gold-border: #E8DCBF;
  --border-color: #E2E8F0;
  --border-subtle: #F1F5F9;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-base) !important;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* Centralized SVG Icon Styling */
.svg-icon {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  flex-shrink: 0;
  pointer-events: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-family-base) !important;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.02em;
}

/* ========================================================= */
/* Luxury Responsive Header & Multi-Page Navigation */
/* ========================================================= */
.navbar-wrapper {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  z-index: 1020;
}

.brand-navbar-logo {
  height: 42px;
  width: auto;
  min-width: 140px;
  max-width: 220px;
  display: block;
}

/* Desktop Horizontal Navigation (Supports Arbitrary Number of Tabs) */
.nav-tabs-desktop {
  gap: 0.35rem;
  margin-bottom: -1px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.nav-tabs-desktop::-webkit-scrollbar {
  display: none;
}

.nav-tab-desktop-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748B;
  text-decoration: none;
  border-bottom: 2.5px solid transparent;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-tab-desktop-item:hover {
  color: #0F172A;
  border-bottom-color: #CBD5E1;
}

.nav-tab-desktop-item.active {
  color: #87652D !important;
  font-weight: 700 !important;
  border-bottom-color: #87652D !important;
}

/* Mobile Touch-Scrollable Horizontal Navigation Bar */
.mobile-nav-track {
  background-color: #F8FAFC;
  border-top: 1px solid var(--border-subtle);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mobile-nav-track::-webkit-scrollbar {
  display: none;
}

.mobile-nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease-in-out;
}

.mobile-nav-item:hover {
  color: #0F172A;
  background-color: #F1F5F9;
}

.mobile-nav-item.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #9E7A3B 0%, #87652D 100%) !important;
  border-color: #87652D !important;
  box-shadow: 0 2px 5px rgba(135, 101, 45, 0.25);
}

/* Menu Hamburger Toggle Button */
.btn-nav-toggle {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  color: #475569;
  transition: all 0.15s ease;
}

.btn-nav-toggle:hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

/* User Profile Badge */
.user-profile-badge {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50rem !important;
  transition: all 0.15s ease;
}

.user-profile-badge:hover, .user-profile-badge:focus {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
}

.dropdown-toggle::after {
  display: none !important;
}

.user-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9E7A3B 0%, #87652D 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile Slide-Out Navigation Drawer Links */
.drawer-nav-group-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  padding: 0.5rem 0.75rem 0.25rem;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}

.drawer-nav-item:hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

.drawer-nav-item.active {
  background-color: var(--gold-light);
  color: var(--gold-dark);
  font-weight: 700;
  border-left: 3px solid var(--gold-primary);
}

/* ========================================================= */
/* Buttons */
/* ========================================================= */
.btn {
  font-family: var(--font-family-base) !important;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  border-radius: 0.45rem;
  padding: 0.45rem 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: all 0.15s ease-in-out;
}

/* Icon-Only Buttons */
.btn-icon-action {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0.4rem !important;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  color: #475569;
  flex-shrink: 0;
  transition: all 0.15s ease-in-out;
}

.btn-icon-action .svg-icon {
  margin: 0 !important;
}

.btn-icon-action:hover {
  background-color: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

.btn-icon-action.btn-action-view {
  color: #475569;
  border-color: var(--border-color);
}

.btn-icon-action.btn-action-view:hover {
  background-color: #F1F5F9;
  color: #0F172A;
  border-color: #94A3B8;
}

.btn-icon-action.btn-action-edit {
  color: #87652D;
  border-color: #E2E8F0;
}

.btn-icon-action.btn-action-edit:hover {
  background-color: var(--gold-light);
  color: var(--gold-dark);
  border-color: var(--gold-primary);
}

.btn-icon-action.btn-action-delete {
  color: #DC2626;
  border-color: #FECACA;
}

.btn-icon-action.btn-action-delete:hover {
  background-color: #FEF2F2;
  color: #991B1B;
  border-color: #DC2626;
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  gap: 0.35rem;
}

.btn-gold {
  background-color: var(--gold-primary);
  color: #ffffff;
  border: 1px solid var(--gold-dark);
}

.btn-gold:hover, .btn-gold:focus {
  background-color: var(--gold-dark);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(135, 101, 45, 0.2);
}

.btn-outline-gold {
  background-color: #ffffff;
  color: var(--gold-primary);
  border: 1px solid #E2E8F0;
}

.btn-outline-gold:hover {
  background-color: var(--gold-light);
  color: var(--gold-dark);
  border-color: var(--gold-primary);
}

/* ========================================================= */
/* Cards */
/* ========================================================= */
.card-luxury {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0.65rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
}

.card-header-luxury {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 1.15rem;
}

/* ========================================================= */
/* Badges */
/* ========================================================= */
.badge {
  font-family: var(--font-family-base) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 0.35rem;
}

.badge-gold {
  background-color: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
}

/* ========================================================= */
/* Tables */
/* ========================================================= */
.table-luxury thead th {
  background-color: #F8FAFC;
  color: #64748B;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.table-luxury tbody td {
  vertical-align: middle;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: #334155;
  white-space: nowrap;
}

/* Form Controls */
.form-control, .form-select {
  font-family: var(--font-family-base) !important;
  border-color: var(--border-color);
  background-color: #ffffff;
  font-size: 0.875rem;
  border-radius: 0.45rem;
  color: #0F172A;
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 0.2rem rgba(135, 101, 45, 0.15);
}

.form-label {
  font-weight: 600;
  color: #334155;
  font-size: 0.825rem;
}

/* Photo Preview Box */
.photo-preview-box {
  width: 100%;
  height: 180px;
  background-color: #F8FAFC;
  border: 1px dashed var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.photo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image Thumbnails */
.table-img-thumb,
.mobile-img-thumb,
.mobile-product-thumb {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 0.45rem;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background-color: #F8FAFC;
  flex-shrink: 0;
  display: block;
}

/* Word Wrapping Utility */
.word-wrap-break {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  line-height: 1.35;
}

/* ========================================================= */
/* Horizontal Scrollable Category Chips */
/* ========================================================= */
.category-chip-track {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 2px;
  padding-bottom: 2px;
}

.category-chip-track::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #475569;
  background-color: #F1F5F9;
  border: 1px solid var(--border-color);
  border-radius: 50rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.category-chip:hover {
  background-color: #E2E8F0;
  color: #0F172A;
}

.category-chip.active {
  background-color: var(--gold-light);
  color: var(--gold-dark);
  border-color: var(--gold-border);
}

/* ========================================================= */
/* Pagination */
/* ========================================================= */
.page-item .page-link {
  font-family: var(--font-family-base) !important;
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
  border-color: var(--border-color);
  padding: 0.45rem 0.85rem;
  border-radius: 0.45rem;
  margin: 0 2px;
}

.page-item .page-link:hover {
  background-color: var(--gold-light);
  color: var(--gold-dark);
  border-color: var(--gold-primary);
}

.page-item.active .page-link {
  background: linear-gradient(135deg, #9E7A3B 0%, #87652D 100%) !important;
  border-color: #87652D !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(135, 101, 45, 0.25);
}

.page-item.disabled .page-link {
  color: #94A3B8;
  background-color: #F8FAFC;
  border-color: var(--border-color);
}

/* ========================================================= */
/* Responsive Rules for Mobile */
/* ========================================================= */
@media (max-width: 576px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .brand-navbar-logo {
  height: 42px;
  width: auto;
  min-width: 140px;
  max-width: 220px;
  display: block;
}

  .btn-sm {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.8rem !important;
  }

  .btn-icon-action {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
}

@media (max-width: 768px) {
  .offcanvas.offcanvas-end {
    width: 100% !important;
    max-width: 100vw !important;
  }
}

/* Mobile Product Card Clean Footer */
.card-product-footer {
  margin: 12px -14px -14px -14px;
  padding: 8px 14px;
  background-color: #F8FAFC;
  border-top: 1px solid var(--border-color);
  border-bottom-left-radius: 0.65rem;
  border-bottom-right-radius: 0.65rem;
}

/* Stat Metric Icon Badge */
.stat-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* ==========================================================================
   ULTRA-PREMIUM LIGHT LUXURY DESIGN SYSTEM (HEERA ORNAMENTS)
   ========================================================================== */

:root {
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --lux-bg-page: #FAF9F6;
  --lux-bg-card: #FFFFFF;
  --lux-gold-primary: #87652D;
  --lux-gold-hover: #705323;
  --lux-gold-accent: #D4AF37;
  --lux-gold-light: #FAF6ED;
  --lux-gold-border: #E8DCBF;
  --lux-text-main: #1E293B;
  --lux-text-muted: #64748B;
  --lux-border-subtle: #EDE8DD;
  --lux-shadow-card: 0 10px 30px -5px rgba(135, 101, 45, 0.07), 0 4px 12px rgba(0, 0, 0, 0.03);
  --lux-shadow-hover: 0 20px 40px -10px rgba(135, 101, 45, 0.15), 0 8px 16px rgba(0, 0, 0, 0.05);
}

.lux-serif {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

.lux-card {
  background: #ffffff;
  border: 1px solid var(--lux-border-subtle);
  border-radius: 16px;
  box-shadow: var(--lux-shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lux-card:hover {
  border-color: var(--lux-gold-border);
  box-shadow: var(--lux-shadow-hover);
}

.lux-gated-box {
  background: radial-gradient(100% 100% at 50% 0%, #FFFFFF 0%, #FAF7F0 100%);
  border: 1px solid var(--lux-gold-border);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  box-shadow: var(--lux-shadow-card);
  max-width: 620px;
  margin: 1.5rem auto;
  position: relative;
  overflow: hidden;
}

.lux-gated-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #87652D 0%, #D4AF37 50%, #87652D 100%);
}

.lux-lock-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FAF6ED 0%, #F3EBD8 100%);
  border: 1.5px solid var(--lux-gold-border);
  color: var(--lux-gold-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(135, 101, 45, 0.12);
}

.btn-lux-primary {
  background: linear-gradient(135deg, #87652D 0%, #755523 100%);
  color: #FFFFFF;
  border: 1px solid #755523;
  font-weight: 600;
  font-size: 13.5px;
  padding: 0.65rem 1.75rem;
  border-radius: 50rem;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-lux-primary:hover {
  background: linear-gradient(135deg, #705323 0%, #5E431B 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(135, 101, 45, 0.28);
  transform: translateY(-1px);
}

.btn-lux-outline {
  background: #FFFFFF;
  color: var(--lux-gold-primary);
  border: 1.5px solid var(--lux-gold-border);
  font-weight: 600;
  font-size: 13.5px;
  padding: 0.65rem 1.75rem;
  border-radius: 50rem;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-lux-outline:hover {
  background: var(--lux-gold-light);
  border-color: var(--lux-gold-primary);
  color: var(--lux-gold-primary);
  transform: translateY(-1px);
}

.lux-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid var(--lux-border-subtle);
  padding: 4px 12px;
  border-radius: 50rem;
  font-size: 11.5px;
  color: var(--lux-text-muted);
  font-weight: 500;
}


/* Uniform Category Card Image Frame */
.category-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #F8FAFC;
  position: relative;
  overflow: hidden;
  display: block;
}

.category-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.lux-card:hover .category-image-wrap img {
  transform: scale(1.06);
}


/* ==========================================================================
   LUXURY CUSTOM SCROLLBAR (BRUSHED GOLD THEME)
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #FAF8F5;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4AF37 0%, #87652D 100%);
  border-radius: 8px;
  border: 2px solid #FAF8F5;
}

::-webkit-scrollbar-thumb:hover {
  background: #755523;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #C5A059 #FAF8F5;
}

/* ==========================================================================
   LIVE SEARCH AUTOCOMPLETE DROPDOWN (HIGH Z-INDEX & ELEVATION)
   ========================================================================== */
.search-wrapper-relative {
  position: relative !important;
  z-index: 1060 !important;
}

#liveSuggestionsDropdown {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #FFFFFF !important;
  border: 1px solid #E6DCBF !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 45px -10px rgba(135, 101, 45, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  max-height: 340px !important;
  overflow-y: auto !important;
  z-index: 1070 !important;
}

.search-suggestion-item {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  border-bottom: 1px solid #F5EFE3;
  transition: all 0.2s ease;
  background: #FFFFFF;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover,
.search-suggestion-item:focus {
  background: #FAF6ED !important;
  padding-left: 20px;
}


/* Portal Banner Hero Section */
.portal-banner {
  background: radial-gradient(circle at 50% 30%, #FFFFFF 0%, #F5EFE6 100%) !important;
  border-bottom: 1px solid #EAE2D0 !important;
  padding: 1.5rem 1rem 1.25rem 1rem !important;
  text-align: center !important;
  position: relative !important;
  z-index: 1000 !important;
}

@media (min-width: 768px) {
  .portal-banner {
    padding: 2.5rem 1rem 2rem 1rem !important;
  }
}

.search-input-wrapper {
  position: relative !important;
  max-width: 540px !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  z-index: 1001 !important;
}

/* Modern Luxury Search Capsule */
.lux-search-capsule {
  background: #FFFFFF !important;
  border: 1.5px solid #E2D7C3 !important;
  border-radius: 50rem !important;
  box-shadow: 0 4px 18px -2px rgba(135, 101, 45, 0.08) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 4px 5px 4px 14px !important;
}

.lux-search-capsule:focus-within {
  border-color: #87652D !important;
  box-shadow: 0 6px 24px -2px rgba(135, 101, 45, 0.16), 0 0 0 3px rgba(135, 101, 45, 0.1) !important;
}

.lux-search-capsule .form-control {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  color: #1E293B !important;
  font-size: 13.5px !important;
}

.lux-search-capsule .form-control::placeholder {
  color: #94A3B8 !important;
  font-size: 13px !important;
}

/* Luxury Card & Buttons */
.lux-card {
  background: #FFFFFF !important;
  border: 1px solid #EAE2D0 !important;
  border-radius: 14px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.lux-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 32px -8px rgba(135, 101, 45, 0.18) !important;
  border-color: #C5A059 !important;
}

.btn-gold {
  background: linear-gradient(135deg, #A88434 0%, #87652D 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: all 0.25s ease !important;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #B8933D 0%, #957033 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(135, 101, 45, 0.25) !important;
}

.badge-gold {
  background-color: #FBF7EE !important;
  color: #87652D !important;
  border: 1px solid #E6DCBF !important;
}

.btn-lux-primary {
  background: linear-gradient(135deg, #A88434 0%, #87652D 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.65rem 1.5rem !important;
  transition: all 0.25s ease !important;
}

.btn-lux-primary:hover {
  background: linear-gradient(135deg, #B8933D 0%, #957033 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(135, 101, 45, 0.25) !important;
}

.btn-lux-outline {
  background: #FFFFFF !important;
  color: #87652D !important;
  border: 1px solid #D8C6A0 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.65rem 1.5rem !important;
  transition: all 0.25s ease !important;
}

.btn-lux-outline:hover {
  background: #FBF7EE !important;
  color: #6D4F20 !important;
  border-color: #87652D !important;
}

/* Gold Theme Checkbox & Form Controls */
.form-check-input:checked {
  background-color: #87652D !important;
  border-color: #87652D !important;
  box-shadow: 0 2px 6px rgba(135, 101, 45, 0.25) !important;
}

.form-check-input:focus {
  border-color: #87652D !important;
  box-shadow: 0 0 0 0.25rem rgba(135, 101, 45, 0.15) !important;
}

/* Luxury Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #D4C49E;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #87652D;
}

/* Firefox Scrollbar Support */
* {
  scrollbar-width: thin;
  scrollbar-color: #D4C49E #F1F5F9;
}

/* Override Bootstrap form-check-input negative margin hack */
.share-cat-checkbox {
  float: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 12px !important;
  position: static !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.cat-share-row {
  transition: background-color 0.15s ease;
}

.cat-share-row:hover {
  background-color: #FAF8F4 !important;
}

.suggestions-dropdown,
#searchSuggestionsDropdown {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #FFFFFF !important;
  border: 1px solid #E6DCBF !important;
  border-radius: 12px !important;
  box-shadow: 0 25px 60px -10px rgba(0,0,0,0.35), 0 10px 25px rgba(135,101,45,0.25) !important;
  z-index: 99999 !important;
  max-height: 350px !important;
  overflow-y: auto !important;
}

main.container {
  position: relative;
  z-index: 1 !important;
}


/* ==========================================================================
   ULTRA-LUXURY SEARCH AUTOCOMPLETE SUGGESTIONS
   ========================================================================== */
.lux-sugg-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #FFFFFF;
  border-bottom: 1px solid #F6EFE6;
  transition: all 0.2s ease;
  position: relative;
}

.lux-sugg-item:last-child {
  border-bottom: none;
}

.lux-sugg-item:hover {
  background: #FAF6ED !important;
  padding-left: 18px;
}

.lux-sugg-thumb-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: #FAF8F5;
  border: 1px solid #EAE2D0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lux-sugg-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lux-sugg-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.25;
}

.lux-sugg-subtitle {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.2;
  margin-top: 2px;
}

.lux-sugg-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.lux-sugg-badge-cat {
  background: #FAF4E6;
  color: #87652D;
  border: 1px solid #E6DCBF;
}

.lux-sugg-badge-prod {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.lux-sugg-arrow {
  color: #C5A059;
  font-size: 13px;
  transition: transform 0.2s ease;
}

.lux-sugg-item:hover .lux-sugg-arrow {
  transform: translateX(3px);
  color: #87652D;
}


/* ==========================================================================
   CATEGORY & COLLECTION CARD SYSTEM (FLAWLESS SPACING)
   ========================================================================== */
.category-card-body {
  padding: 14px 16px !important;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  text-align: center;
  border-top: 1px solid #F1ECE1;
}

.category-card-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  margin-bottom: 4px !important;
  line-height: 1.3 !important;
}

.category-card-desc {
  font-size: 11.5px !important;
  color: #64748B !important;
  margin-bottom: 10px !important;
  line-height: 1.35 !important;
}

.category-card-footer {
  padding-top: 8px !important;
  border-top: 1px solid #F6EFE6 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px !important;
  color: #64748B !important;
}

/* ==========================================================================
   SPACING SYSTEM EXTENSIONS (Half-step & Decimal Spacing Support)
   Guarantees proper margins, paddings, and gaps so elements never collide
   ========================================================================== */
.gap-0\.5 { gap: 0.125rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2\.5 { gap: 0.75rem !important; }
.gap-3\.5 { gap: 1.25rem !important; }

.p-0\.5 { padding: 0.125rem !important; }
.p-1\.5 { padding: 0.375rem !important; }
.p-2\.5 { padding: 0.75rem !important; }
.p-3\.5 { padding: 1.25rem !important; }

.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-2\.5 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }

.px-0\.5 { padding-left: 0.125rem !important; padding-right: 0.125rem !important; }
.px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.px-2\.5 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-3\.5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }

.mb-0\.5 { margin-bottom: 0.125rem !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.mb-2\.5 { margin-bottom: 0.75rem !important; }
.mb-3\.5 { margin-bottom: 1.25rem !important; }

.mt-0\.5 { margin-top: 0.125rem !important; }
.mt-1\.5 { margin-top: 0.375rem !important; }
.mt-2\.5 { margin-top: 0.75rem !important; }

.ms-0\.5 { margin-left: 0.125rem !important; }
.ms-1\.5 { margin-left: 0.375rem !important; }
.me-0\.5 { margin-right: 0.125rem !important; }
.me-1\.5 { margin-right: 0.375rem !important; }

.g-2\.5 { --bs-gutter-x: 0.75rem !important; --bs-gutter-y: 0.75rem !important; }
.g-3\.5 { --bs-gutter-x: 1.25rem !important; --bs-gutter-y: 1.25rem !important; }

/* ==========================================================================
   PORTAL ACCESS STRIP (Wholesale Access Banner & Button Spacing)
   ========================================================================== */
.portal-access-strip {
  background: linear-gradient(180deg, #FAF7F0 0%, #F5EFE4 100%) !important;
  border-top: 1px solid #EAE2D0 !important;
  border-bottom: 1px solid #EAE2D0 !important;
  padding: 4rem 1.25rem !important;
  text-align: center !important;
  margin-top: 2.5rem !important;
  position: relative !important;
}

.portal-access-strip .access-buttons-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 1.5rem !important;
}

.portal-access-strip .access-buttons-wrap .btn {
  min-width: 175px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 0 1.5rem !important;
  white-space: nowrap !important;
  letter-spacing: 0.01em !important;
  border-radius: 8px !important;
}

@media (max-width: 575.98px) {
  .portal-access-strip {
    padding: 3rem 1rem !important;
    margin-top: 1.5rem !important;
  }
  .portal-access-strip .access-buttons-wrap {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .portal-access-strip .access-buttons-wrap .btn {
    width: 100% !important;
    min-width: 100% !important;
  }
}

