/*
=========================================
  PREMIUM TYPOGRAPHY & FONT STACK
  Inter font family for Apple-like refinement
=========================================
*/
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body, html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Refined heading hierarchy */
h1, .h1, .display-1, .display-2, .display-3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2, .h2, .display-4, .display-5 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h3, .h3, h4, .h4 {
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

h5, .h5, h6, .h6 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.lead {
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.6;
}

p {
  line-height: 1.65;
}

.text-muted {
  letter-spacing: 0.01em;
}

small, .small {
  letter-spacing: 0.02em;
}

.text-uppercase {
  letter-spacing: 0.08em;
}


/*
=========================================
  SCROLL-TRIGGERED REVEAL ANIMATIONS
  Elements with [data-reveal] fade/slide in on scroll
=========================================
*/
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children for product grids */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-reveal-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay per child */
[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.15s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.2s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.25s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.3s; }
[data-reveal-stagger].revealed > *:nth-child(7) { transition-delay: 0.35s; }
[data-reveal-stagger].revealed > *:nth-child(8) { transition-delay: 0.4s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/*
=========================================
  PREMIUM SECTION SPACING
  Apple-like generous whitespace
=========================================
*/
.section-premium {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-premium {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.section-heading {
  margin-bottom: 1rem;
}

.section-subheading {
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
}

@media (min-width: 768px) {
  .section-subheading {
    font-size: 1.25rem;
  }
}


/*
=========================================
  SKELETON LOADING PLACEHOLDERS
  Premium loading states for product grids
=========================================
*/
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-card {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
}

.skeleton-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg,
    var(--bs-tertiary-bg) 25%,
    var(--bs-secondary-bg) 50%,
    var(--bs-tertiary-bg) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-line {
  height: 0.9rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg,
    var(--bs-tertiary-bg) 25%,
    var(--bs-secondary-bg) 50%,
    var(--bs-tertiary-bg) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-line.short {
  width: 60%;
}

.skeleton-line.price {
  width: 40%;
  height: 1.2rem;
  margin-top: 0.75rem;
}

.skeleton-btn {
  height: 2rem;
  border-radius: 2rem;
  width: 100%;
  margin-top: 0.75rem;
  background: linear-gradient(90deg,
    var(--bs-tertiary-bg) 25%,
    var(--bs-secondary-bg) 50%,
    var(--bs-tertiary-bg) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}


/*
=========================================
  PREMIUM TOAST NOTIFICATIONS
  Slide-in success/info toasts
=========================================
*/
.premium-toast {
  min-width: 300px;
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: toast-slide-in 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.premium-toast .toast-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.premium-toast .toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.premium-toast.toast-success {
  background: rgba(25, 135, 84, 0.92);
  color: #fff;
}

.premium-toast.toast-success .toast-icon {
  background: rgba(255, 255, 255, 0.2);
}

.premium-toast.toast-info {
  background: var(--glass-bg);
  color: var(--bs-body-color);
}

.premium-toast.toast-info .toast-icon {
  background: rgba(var(--bs-primary-rgb), 0.15);
  color: var(--bs-primary);
}

[data-bs-theme="dark"] .premium-toast.toast-success {
  background: rgba(25, 135, 84, 0.88);
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/*
=========================================
  ENHANCED BUTTON POLISH
  Smoother hover transitions + press feedback
=========================================
*/
.btn {
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.btn:active {
  transform: scale(0.97);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.05rem;
  border-radius: 2rem;
  font-weight: 600;
}

.btn-primary.btn-lg {
  box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.3);
}

.btn-primary.btn-lg:hover {
  box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.4);
  transform: translateY(-2px);
}

.btn-primary.btn-lg:active {
  transform: translateY(0) scale(0.97);
}


/*
=========================================
  ENHANCED PRODUCT CARD HOVER
  More dramatic lift + image zoom on hover
=========================================
*/

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.filters-accordion .accordion-button {
  padding: .5rem 1rem;
  gap: .5rem;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
}

.filters-accordion .accordion-button::after {
  display: none;
}

.filters-accordion .toggle-icon {
  transition: transform .22s ease;
  transform-origin: center;
}


.filters-accordion .accordion-button:not(.collapsed) .toggle-icon {
  transform: rotate(180deg);
}

.filters-accordion .list-group-item {
  cursor: pointer;
}

.filters-accordion .accordion-body {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}


.product-card {
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 1rem;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Product image container with 4:3 aspect ratio */
.product-img-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.product-card:hover .product-img {
    transform: scale(1.08);
}

/* Product card body responsive padding */
.product-card-body {
    padding: 0.75rem;
}

@media (min-width: 768px) {
    .product-card-body {
        padding: 1rem;
    }
}

/* Product name - allow 2 lines on mobile, single line on larger screens */
.product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    min-height: 2.6em;
}

@media (min-width: 768px) {
    .product-name {
        -webkit-line-clamp: 1;
        white-space: nowrap;
        display: block;
        min-height: auto;
    }
}

/* Responsive font sizes for mobile */
@media (max-width: 575.98px) {
    .product-card .card-title {
        font-size: 0.85rem;
    }
    .product-card .fs-5 {
        font-size: 1rem !important;
    }
    .product-card .btn-sm {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }
    .product-card .small {
        font-size: 0.7rem;
    }
}

.quantity-controls button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Smaller quantity buttons on mobile */
@media (max-width: 575.98px) {
    .quantity-controls button {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .quantity-controls .quantity-display {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        font-size: 0.85rem;
    }
}


/* --- Floating Action Button Styles (Separate) --- */
.fab-stack {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;

}

/* Individual frosted glass FAB */
.fab-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  /* glass appearance */
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  box-shadow: 0 8px 20px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);

  transition: transform 0.18s ease-in-out, box-shadow 0.18s ease-in-out, background 0.18s;
  -webkit-tap-highlight-color: transparent;
}

/* Hover / active polish */
.fab-button:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
}

/* keyboard focus */
.fab-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,140,251,0.12), 0 8px 20px rgba(0,0,0,0.18);
}

/* Override for the cart component to fit in the FAB style */
.fab-button .nav-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary-text-emphasis); /* Use Bootstrap's theme colors */
  -webkit-user-select: none;
  user-select: none;
}

.fab-button .nav-link i {
  font-size: 1.5rem;
}

.fab-button .badge {
  top: 5px !important;
  left: 40px !important;
  font-size: .65em;
}

/* Style for the theme switcher dropdown */
.fab-button.dropdown .nav-link {
  color: var(--bs-primary-text-emphasis);
}

/* Fallbacks / prefers-reduced-transparency */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .fab-stack { background: rgba(255,255,255,0.06); border: 1px solid rgba(0,0,0,0.06); }
  .fab-button { background: rgba(255,255,255,0.06); border: 1px solid rgba(0,0,0,0.06); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .fab-stack, .fab-button {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,0.06);
  }
}

/* 1. Define Color Palettes as CSS Variables */




/*
=========================================
  Dark Mode Styles for Choices.js
=========================================
*/

/* --- Main input container --- */
[data-bs-theme="dark"] .choices__inner {
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
}



/* --- Choices input test --- */
[data-bs-theme="dark"] .choices__input {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  caret-color: var(--bs-body-color);
}

/* --- Dropdown list background --- */
[data-bs-theme="dark"] .choices__list--dropdown {
  background-color: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
}

/* --- Items in the dropdown --- */
[data-bs-theme="dark"] .choices__item--choice {
  color: var(--bs-body-color);
}

/* --- Hovered/highlighted item in the dropdown --- */
[data-bs-theme="dark"] .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: var(--bs-primary);
  color: var(--bs-body-bg);
}

/* --- Selected items (pills/tokens) in the input area --- */
[data-bs-theme="dark"] .choices__item.choices__item--selectable {
    background-color: var(--bs-primary);
    border: 1px solid var(--bs-primary-border-subtle);
    color: #fff;
}

/* --- The 'X' remove button on selected items --- */
[data-bs-theme="dark"] .choices__button {
    filter: invert(1) grayscale(100) brightness(200%); /* Makes the dark icon white */
    opacity: 0.75;
}

[data-bs-theme="dark"] .choices__button:hover {
    opacity: 1;
}




/*
=========================================
  1. COLOR PALETTE
  Colors are now managed dynamically via Admin Theme Settings
  The /Theme endpoint generates CSS variables from database
=========================================
*/
:root {
  /* Primary colors are set dynamically via /Theme CSS endpoint */
  
  /* --- Glassmorphism Light Theme --- */
  /* Brighter, more opaque glass */
  --glass-bg: rgba(255, 255, 255, 0.35); 
  --glass-border: rgba(var(--bs-body-color-rgb), 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  --glass-blur: 12px;
}

[data-bs-theme="dark"] {
  /* Primary colors are set dynamically via /Theme CSS endpoint */

  /* --- Glassmorphism Dark Theme --- */
  /* Darker, more transparent glass (like your example) */
  --glass-bg: rgba(255, 255, 255, 0.08); 
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --glass-blur: 10px;
}

/*
=========================================
  2. ANIMATED ORB BACKGROUND
  This is the new "lava lamp" effect.
=========================================
*/

/* This container holds the orbs */
.bg-animation {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1; /* Sits behind all content */
  overflow: hidden; /* Prevents scrollbars */
  /* Base background color dynamically tied to theme body background */
  background-color: var(--bs-body-bg); 
  transition: background-color 0.3s ease;
}

/* Base style for all orbs */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  /* This blur is what gives the "aurora" look */
  filter: blur(80px); 
  opacity: 0.7;
  animation: float 20s infinite ease-in-out;
  transition: background 0.3s ease-in-out;
}

/* --- LIGHT MODE ORB COLORS --- */
/* We use softer, pastel colors for the light theme */
:root .orb1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #fbc2eb, transparent 60%);
  top: -150px;
  left: -150px;
  animation-duration: 25s;
}
:root .orb2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #a6c1ee, transparent 60%);
  bottom: -150px;
  right: -150px;
  animation-duration: 30s;
  animation-delay: 5s;
}
:root .orb3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #f3e8ff, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 35s;
  animation-delay: 10s;
}

/* --- DARK MODE ORB COLORS --- */
/* We use the vibrant, techy colors from your example */
[data-bs-theme="dark"] .orb1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--bs-primary), transparent 60%);
  opacity: 0.5;
  top: -200px;
  left: -200px;
}
[data-bs-theme="dark"] .orb2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ec4899, transparent 60%);
  opacity: 0.5;
  bottom: -200px;
  right: -200px;
}
[data-bs-theme="dark"] .orb3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #06b6d4, transparent 60%);
  opacity: 0.4;
  top: 50%;
  left: 50%;
}

/* The animation that moves the orbs */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(100px, -100px) scale(1.1); }
  50% { transform: translate(-100px, 100px) scale(0.9); }
  75% { transform: translate(50px, 50px) scale(1.05); }
}

/* This is still needed! 
  It makes the <body> transparent so the 
  .bg-animation behind it is visible. 
*/
body {
  background-color: transparent;
}


/*
=========================================
  3. GLASSMORPHISM EFFECT
  Applies the "frosted glass" look to key components.
=========================================
*/

/* --- Glassmorphism Core Style --- */
/* This now uses our new --glass-bg variables */
.card,
.navbar,
.accordion-item,
.modal-content,
.offcanvas,
.pagination .page-item .page-link {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow);
}

/* --- Component-Specific Fixes --- */

/* Make sure Bootstrap's default backgrounds don't cover our glass */
.bg-body-tertiary,
.bg-transparent,
.list-group {
  background: transparent !important;
}

/* Fix for Accordions */
.accordion-item {
  margin-bottom: 1rem;
  border-radius: .375rem !important;
}
.accordion-button {
  background-color: transparent !important;
}
.accordion-button:not(.collapsed) {
  box-shadow: none;
}

/* Fix for Product Cards - Solid backgrounds for performance */
.product-card {
  background: var(--bs-body-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--bs-border-color) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}
[data-bs-theme="dark"] .product-card {
  background: var(--bs-body-bg) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
[data-bs-theme="dark"] .product-card:hover {
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Fix for the Footer */
footer.footer,
footer.bg-body-tertiary {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(var(--glass-blur));
  border-top: 1px solid var(--glass-border) !important;
}

/* Fix for auth/checkout input groups */
.input-group-text {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
}


/*
=========================================
  4. ACTIVE STATE STYLING
  Fixes for pagination, filters, and accordions
=========================================
*/

/* --- Filter/List Group Active State Fix --- */
.list-group-item.active {
  background-color: var(--bs-primary) !important;
  color: #ffffff !important;
  border-color: var(--bs-primary) !important;
  box-shadow: var(--glass-shadow);
  transform: scale(1.02); /* Add a slight "pop" */
}

.list-group-item.active span,
.list-group-item.active i {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .list-group-item.active {
  background-color: var(--bs-primary) !important;
  color: #ffffff !important;
  border-color: var(--bs-primary) !important;
}

[data-bs-theme="dark"] .list-group-item.active span,
[data-bs-theme="dark"] .list-group-item.active i {
  color: #ffffff !important;
}

/* --- Pagination Active State Fix --- */
.pagination .page-item.active .page-link {
  background-color: var(--bs-primary) !important;
  color: #ffffff !important;
  border-color: var(--bs-primary) !important;
  box-shadow: var(--glass-shadow);
  transform: scale(1.05); /* Add a slight "pop" */
}

/* --- Accordion Button Active (Open) State --- */
.accordion-button:not(.collapsed) {
  /* Tints the background with the primary color */
  background: rgba(var(--bs-primary-rgb), 0.1) !important;
  /* Makes the text the primary color */
  color: var(--bs-primary) !important;
  box-shadow: none !important;
}

/* --- (Optional but Recommended) Hover Effects --- */

/* Hover state for non-active filter links */
.list-group-item:not(.active):hover {
  background: rgba(var(--bs-primary-rgb), 0.05) !important;
  border-color: rgba(var(--bs-primary-rgb), 0.2) !important;
  /* transform: scale(1.02); */
  transition: transform 0.2s ease, background 0.2s ease;
}

/* Hover state for non-active pagination links */
.pagination .page-item:not(.active) .page-link:hover {
  background: rgba(var(--bs-primary-rgb), 0.05) !important;
  border-color: rgba(var(--bs-primary-rgb), 0.2) !important;
  /* transform: translateY(-2px); */
  transition: transform 0.2s ease, background 0.2s ease;
}

/*
=========================================
  5. NAVBAR STICKY & STACKING FIX
  Makes navbar stick to top and ensures dropdowns appear over page content
=========================================
*/

/*
  We give the navbar 'position: sticky' with top: 0 so it sticks to the top,
  and a high z-index (1030) to ensure it and its children
  (like the dropdown menu) render on top of all other content.
*/
.navbar {
  position: sticky !important; 
  top: 0;
  z-index: 1030;      
}

/*
=========================================
  6. DROPDOWN MENU FROST FIX
  Increases blur and opacity for dropdowns
=========================================
*/

/* --- Light Mode Dropdown --- */
/* Solid background for better readability */
:root .dropdown-menu {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--bs-border-color) !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* --- Dark Mode Dropdown --- */
/* Solid background for better readability */
[data-bs-theme="dark"] .dropdown-menu {
  background: #212529 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid #495057 !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}


/*
=========================================
  8. THEME COLOR & STAT CARD EXPANSION
=========================================
*/

/* --- 1. DEFINE LIGHT MODE COLORS --- */
:root {
  /* --bs-primary and its variants are already defined */
  
  --bs-success: #198754;
  --bs-success-rgb: 25, 135, 84;
  --bs-success-text-emphasis: #0a3622; /* Dark green */
  
  --bs-warning: #ffc107;
  --bs-warning-rgb: 255, 193, 7;
  --bs-warning-text-emphasis: #664d03; /* Dark yellow */

  --bs-danger: #dc3545;
  --bs-danger-rgb: 220, 53, 69;
  --bs-danger-text-emphasis: #58151c; /* Dark red */
  
  --bs-info: #0dcaf0;
  --bs-info-rgb: 13, 202, 240;
  --bs-info-text-emphasis: #055160; /* Dark cyan */
}

/* --- 2. DEFINE DARK MODE COLORS --- */
[data-bs-theme="dark"] {
  /* --bs-primary and its variants are already defined */

  /* Use Bootstrap's light color variants for dark mode */
  --bs-success: #75b798;
  --bs-success-rgb: 117, 183, 152;
  --bs-success-text-emphasis: #75b798; /* Light green */
  
  --bs-warning: #ffda6a;
  --bs-warning-rgb: 255, 218, 106;
  --bs-warning-text-emphasis: #ffda6a; /* Light yellow */
  
  --bs-danger: #dc3545;
  --bs-danger-rgb: 220, 53, 69;
  --bs-danger-text-emphasis: #dc3545; /* Light red */

  --bs-info: #6edff6;
  --bs-info-rgb: 110, 223, 246;
  --bs-info-text-emphasis: #6edff6; /* Light cyan */
}

/* --- 3. NEW STAT CARD CLASSES --- */
/* These override the default .card glass and add a color tint */

.stat-card-primary,
.stat-card-success,
.stat-card-warning,
.stat-card-danger,
.stat-card-info {
  /* This uses the RGB variable of the *current* theme 
     to create a 20% opacity background. */
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.stat-card-primary {
  background: rgba(var(--bs-primary-rgb), 0.2) !important;
  border-color: rgba(var(--bs-primary-rgb), 0.3) !important;
  /* Use the high-contrast text color for the theme */
  color: var(--bs-primary-text-emphasis) !important;
}

.stat-card-success {
  background: rgba(var(--bs-success-rgb), 0.2) !important;
  border-color: rgba(var(--bs-success-rgb), 0.3) !important;
  color: var(--bs-success-text-emphasis) !important;
}

.stat-card-warning {
  background: rgba(var(--bs-warning-rgb), 0.2) !important;
  border-color: rgba(var(--bs-warning-rgb), 0.3) !important;
  color: var(--bs-warning-text-emphasis) !important;
}

.stat-card-danger {
  background: rgba(var(--bs-danger-rgb), 0.2) !important;
  border-color: rgba(var(--bs-danger-rgb), 0.3) !important;
  color: var(--bs-danger-text-emphasis) !important;
}

.stat-card-info {
  background: rgba(var(--bs-info-rgb), 0.2) !important;
  border-color: rgba(var(--bs-info-rgb), 0.3) !important;
  color: var(--bs-info-text-emphasis) !important;
}

/* Ensure links inside the cards also get the right color */
.stat-card-danger a,
.stat-card-danger a:hover {
    color: var(--bs-danger-text-emphasis) !important;
}


/*
=========================================
  9. GLASS TABLE STYLING
  Makes tables transparent with glass effects
=========================================
*/

/* 1. Make the main table transparent */
.table {
  /* Remove Bootstrap's default table background */
  --bs-table-bg: transparent !important;
  /* Use our body color for the table text */
  color: var(--bs-body-color);
  /* Change table borders to our glass border color */
  border-color: var(--glass-border) !important;
}

/* 2. Style the table header row */
.table > thead {
  /* Use a very subtle glass tint for the header */
  background-color: rgba(var(--bs-primary-rgb), 0.05);
  border-color: var(--glass-border);
}

.table > thead th {
   color: var(--bs-body-color); /* Ensure header text is visible */
   border-bottom-width: 1px;
}

/* 3. Style the table hover state */
.table-hover > tbody > tr:hover {
  /* On hover, apply a subtle primary-color tint */
  background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
  color: var(--bs-body-color) !important;
}

/* 4. Add rounded corners to the table's container */
/* This makes the table fit inside the rounded glass card */
.card-body .table-responsive {
    border-radius: 0.375rem; /* Bootstrap's default card radius */
    overflow: hidden; /* This clips the table's corners */
}

/* 5. Ensure the table fills the rounded container */
.card-body .table-responsive .table {
    margin-bottom: 0 !important; /* Remove default table margin */
}

/* 6. Fix for special table rows (like 'Out of Stock') */
tr.table-danger,
[data-bs-theme="dark"] tr.table-danger {
    background-color: rgba(var(--bs-danger-rgb), 0.2) !important;
    color: var(--bs-danger-text-emphasis) !important;
    border-color: rgba(var(--bs-danger-rgb), 0.3) !important;
}



/*
=========================================
  7. ADMIN SIDEBAR FROST FIX (Final)
  Adds frost AND a visible primary border
=========================================
*/

/* --- 1. Set the main glass properties (for all sizes) --- */

/* Light Mode */
:root #adminSidebar {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--glass-border);
  border-radius: 0px 8px 8px 0px; /* Rounded top-right and bottom-right corners */
}

/* Dark Mode */
[data-bs-theme="dark"] #adminSidebar {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

/* --- 2. Fix the DESKTOP border (lg screens and up) --- */
/* This selector targets the sidebar ONLY on large screens */
@media (min-width: 992px) {
  #adminSidebar.offcanvas-lg.offcanvas-start {
    /* FORCE the border-right to be the primary color */
    border-right-color: var(--bs-primary) !important;
    border-right-width: 1px !important; /* Ensure it has a width */
  }
}

/* --- 3. Fix the MOBILE/TABLET border (md screens and down) --- */
/* This selector targets the sidebar ONLY when it's a slide-out menu */
@media (max-width: 991.98px) {
  /* Light Mode */
  :root #adminSidebar.offcanvas.offcanvas-start {
    border-color: rgba(var(--bs-body-color-rgb), 0.2) !important;
  }
  
  /* Dark Mode */
  [data-bs-theme="dark"] #adminSidebar.offcanvas.offcanvas-start {
    border-color: rgba(255, 255, 255, 0.2) !important;
  }
}


/*
=========================================
  10. BLUE COLOR OVERRIDE FIX
  Forces all components to use the new primary (purple) palette
=========================================
*/

/* --- 1. Default Link Colors (Fixes Footer, Pagination) --- */
:root {
  /* Set the default link color to our primary palette */
  --bs-link-color: var(--bs-primary);
  --bs-link-color-rgb: var(--bs-primary-rgb);
  --bs-link-hover-color: var(--bs-primary-text-emphasis);
}

/* Ensure all links (<a> tags) use this */
a {
  color: var(--bs-link-color);
  text-decoration: none; /* Optional: I prefer cleaner links */
}
a:hover {
  color: var(--bs-link-hover-color);
}

/* --- 2. Primary Button (Fixes Search Button) --- */
.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #FFFFFF !important; /* White text on purple */
}
.btn-primary:hover,
.btn-primary:focus {
  /* Get a bit darker on hover */
  background-color: var(--store-primary-hover, var(--bs-primary-text-emphasis)) !important;
  border-color: var(--store-primary-hover, var(--bs-primary-text-emphasis)) !important;
  color: #FFFFFF !important;
}

[data-bs-theme="dark"] .btn-primary {
   background-color: var(--bs-primary) !important; 
   border-color: var(--bs-primary) !important;
   color: #FFFFFF !important; 
}
[data-bs-theme="dark"] .btn-primary:hover,
[data-bs-theme="dark"] .btn-primary:focus {
   background-color: var(--store-primary-hover, var(--bs-primary-text-emphasis)) !important;
   border-color: var(--store-primary-hover, var(--bs-primary-text-emphasis)) !important;
   color: #FFFFFF !important; 
}


/* --- 3. Outline Button (Fixes Footer Social Icons) --- */
.btn-outline-primary {
  color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #FFFFFF !important; /* White text on primary bg */
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

[data-bs-theme="dark"] .btn-outline-primary {
  color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}
[data-bs-theme="dark"] .btn-outline-primary:hover,
[data-bs-theme="dark"] .btn-outline-primary:focus {
  color: #FFFFFF !important;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

/* --- 4. Admin Sidebar Links (Fixes blue link text) --- */
#adminSidebar .nav-link {
  /* Use the default body text color */
  color: var(--bs-body-color);
}
#adminSidebar .nav-link:hover {
  color: var(--bs-primary);
}

/* --- 5. Admin Sidebar *Active* Link (Fixes solid blue bg) --- */
#adminSidebar .nav-link.active {
  background-color: var(--bs-primary) !important;
  color: #FFFFFF !important; /* White text on solid bg */
}

[data-bs-theme="dark"] #adminSidebar .nav-link.active {
  background-color: var(--bs-primary) !important;
  color: #FFFFFF !important; 
}

/* --- 6. Text Primary (Just in case) --- */
.text-primary {
  color: var(--bs-primary) !important;
}

/*
=========================================
  11. CHECKOUT & SECONDARY BUTTON FIX
=========================================
*/

/* --- 1. Secondary Button (Fixes "Back to Cart") --- */
.btn-outline-secondary {
  /* Use the body text color for the non-hovered state */
  color: var(--bs-body-color) !important;
  border-color: var(--glass-border) !important;
  /* Give it a subtle glass background */
  background-color: var(--glass-bg) !important;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  /* On hover, use the primary color */
  color: #FFFFFF !important;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

[data-bs-theme="dark"] .btn-outline-secondary:hover,
[data-bs-theme="dark"] .btn-outline-secondary:focus {
  color: #FFFFFF !important;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

/* --- 2. Checkout Stepper (Fixes blue pills) --- */
.nav-pills .nav-link {
  /* Make non-active steps glassy */
  background-color: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--bs-body-color) !important;
  opacity: 0.7; /* Make them look 'dimmed' */
}
.nav-pills .nav-link.active {
  /* Make the active step our solid primary color */
  background-color: var(--bs-primary) !important;
  color: #FFFFFF !important;
  opacity: 1.0;
  box-shadow: var(--glass-shadow);
}
.nav-pills .nav-link.disabled {
  /* Make disabled steps even more glassy and faded */
  background-color: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  opacity: 0.4 !important;
}

[data-bs-theme="dark"] .nav-pills .nav-link.active {
  color: #FFFFFF !important;
  background-color: var(--bs-primary) !important;
}

/*
=========================================
  12. FORM CHECKBOX & RADIO FIX
=========================================
*/

/* --- 1. Style the checked state --- */
.form-check-input:checked {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

/* --- 2. Style the focus outline --- */
.form-check-input:focus {
  /* This uses our primary color for the glow */
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25) !important;
  border-color: var(--bs-primary) !important;
}


/*
=========================================
  13. LIST GROUP FROST FIX
  Increases blur and opacity for list items
=========================================
*/

/* --- Light Mode List Items --- */
:root .list-group-item {
  background-color: transparent;
  border-radius: 5px;
  border-color: var(--glass-border);
}

/* --- Dark Mode List Items --- */
[data-bs-theme="dark"] .list-group-item {
  background-color: transparent;
  border-color: var(--glass-border);
  border-radius: 5px;
}

/* This fixes the borders for lists inside cards 
  (like your "Order Items" list) 
*/
.card > .list-group-flush .list-group-item {
    border-width: 0 0 1px !important; /* Only show the bottom border */
}
/* Fix for the last item in a flush list */
.card > .list-group-flush .list-group-item:last-child {
    border-bottom-width: 0 !important;
    
}

/* This putd a 2px border radius on the selected list item */
.list-group-item.active {
    border-radius: 5px;
}

[data-bs-theme="dark"] .list-group-item.active {
    border-color: var(--bs-primary) !important;
    border-radius: 5px;
}

/*
=========================================
  14. ACCORDION FOCUS RING FIX
  Changes the blue glow to our theme purple
=========================================
*/

.accordion-button:focus {
  /* This uses our primary color for the glow */
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25) !important;
  /* We also need to set the border color */
  border-color: rgba(var(--bs-primary-rgb), 0.8) !important;
}

/* =========================================
   15. MOBILE & TABLET APP NAVIGATION DOCK
   ========================================= */
.mobile-app-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    padding: 6px 12px calc(env(safe-area-inset-bottom, 8px) + 6px);
    background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.16);
    box-shadow: 0 -4px 24px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.08);
    transition: transform 0.3s ease;
}

[data-bs-theme="dark"] .mobile-app-dock {
    background: rgba(20, 24, 33, 0.94);
    border-top: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.25);
    box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.45);
}

.mobile-dock-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.65); /* Theme aware inactive color */
    padding: 3px 6px;
    border-radius: 12px;
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
    min-width: 58px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-dock-item:hover,
.mobile-dock-item:focus {
    color: var(--bs-primary);
}

.mobile-dock-item:active {
    transform: scale(0.92);
}

.mobile-dock-icon {
    font-size: 1.15rem;
    line-height: 1;
    margin-bottom: 2px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 28px;
    border-radius: 14px;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.08); /* Theme aware inactive pill */
    color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.8);
    border: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-dock-item:hover .mobile-dock-icon {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.16);
    color: var(--bs-primary);
    transform: translateY(-1px);
}

.mobile-dock-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.1;
    transition: all 0.2s ease;
}

.mobile-dock-item.active {
    color: var(--bs-primary) !important;
}

.mobile-dock-item.active .mobile-dock-icon {
    background: var(--bs-primary) !important;
    color: #ffffff !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 3px 10px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.38);
    transform: translateY(-2px);
}

.mobile-dock-item.active .mobile-dock-icon i {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.mobile-dock-item.active .mobile-dock-label {
    font-weight: 700;
}

/* =========================================
   Mobile Footer App-Style Navigation
   ========================================= */
.mobile-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-footer-card {
    background: var(--bs-card-bg, #ffffff);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-footer-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--bs-body-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.mobile-footer-trigger:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: -2px;
}

.footer-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.chevron-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(var(--bs-secondary-rgb, 108, 117, 125), 0.12);
    color: var(--bs-secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.28s ease, background-color 0.2s ease, color 0.2s ease;
}

.mobile-footer-trigger[aria-expanded="true"] .chevron-badge,
.mobile-footer-trigger:not(.collapsed) .chevron-badge {
    transform: rotate(180deg);
    background: var(--bs-primary);
    color: #ffffff;
}

.mobile-footer-content {
    padding: 6px 8px 10px 8px;
    border-top: 1px solid var(--bs-border-color-translucent);
    background: rgba(var(--bs-body-color-rgb, 0, 0, 0), 0.02);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mobile-footer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    color: var(--bs-body-color);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.18s ease;
}

.mobile-footer-link:hover,
.mobile-footer-link:active {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1);
    color: var(--bs-primary);
    padding-left: 16px;
}

.mobile-footer-link i {
    opacity: 0.45;
    font-size: 1.1rem;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.mobile-footer-link:hover i,
.mobile-footer-link:active i {
    opacity: 1;
    transform: translateX(3px);
}

.mobile-footer-social {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color-translucent);
    color: var(--bs-body-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    text-decoration: none;
}

.mobile-footer-social:hover,
.mobile-footer-social:active {
    background: var(--bs-primary);
    color: #ffffff;
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.3);
}

[data-bs-theme="dark"] .mobile-footer-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .mobile-footer-social {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 84px !important;
    }
}

/* =========================================
   16. PRODUCTS CATALOG & APP-LIKE CONTROLS
   ========================================= */
.products-hero {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.08) 0%, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.02) 100%);
    border-radius: var(--bs-border-radius-xl, 1rem);
    border: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

[data-bs-theme="dark"] .products-hero {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.16) 0%, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.04) 100%);
    border: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.25);
}

.quick-filter-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    scrollbar-width: none;
.category-scroll-divider {
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12) !important;
}

.quick-filter-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 8px 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.quick-filter-scroll::-webkit-scrollbar {
    display: none;
}

.quick-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.05);
    border: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.14);
    color: var(--bs-body-color);
    box-shadow: 0 2px 6px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.05);
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.category-chip-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-chip-name {
    line-height: 1.2;
}

.quick-filter-chip:hover {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.3);
    color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.18);
}

.quick-filter-chip:hover .category-chip-icon {
    background: var(--bs-primary);
    color: #ffffff;
}

.quick-filter-chip.active {
    background: linear-gradient(135deg, var(--bs-primary) 0%, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.88) 100%) !important;
    color: #ffffff !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 4px 16px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.38) !important;
    font-weight: 600;
    transform: translateY(-2px);
}

.quick-filter-chip.active .category-chip-icon {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

/* Dark Mode Theme-Aware Category Cards */
[data-bs-theme="dark"] .quick-filter-chip {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.22);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .quick-filter-chip .category-chip-icon {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.2);
    color: rgba(255, 255, 255, 0.95);
}

[data-bs-theme="dark"] .quick-filter-chip:hover {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.22);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.45);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.3);
}

[data-bs-theme="dark"] .quick-filter-chip:hover .category-chip-icon {
    background: var(--bs-primary);
    color: #ffffff;
}

[data-bs-theme="dark"] .quick-filter-chip.active {
    background: linear-gradient(135deg, var(--bs-primary) 0%, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.85) 100%) !important;
    color: #ffffff !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 4px 20px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.5) !important;
}

[data-bs-theme="dark"] .quick-filter-chip.active .category-chip-icon {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.active-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 50rem;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
    color: var(--bs-primary);
    border: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.25);
    text-decoration: none;
    transition: all 0.2s ease;
}

.active-filter-badge:hover {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.22);
    color: var(--bs-primary);
    transform: translateY(-1px);
}

.active-filter-badge i {
    font-size: 0.75rem;
}

.filter-sidebar-card {
    border-radius: var(--bs-border-radius-xl, 1rem);
    border: 1px solid var(--bs-border-color-translucent);
    position: -webkit-sticky;
    position: sticky;
    top: clamp(85px, 15vh, 160px);
    z-index: 100;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    scrollbar-width: thin;
    transition: top 0.25s ease, box-shadow 0.2s ease;
}

.filter-sidebar-card::-webkit-scrollbar {
    width: 4px;
}

.filter-sidebar-card::-webkit-scrollbar-thumb {
    background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.25);
    border-radius: 4px;
}

/* --- Mobile & Tablet Frosted Glass Bottom Sheet --- */
.app-bottom-sheet {
    height: min(85vh, 760px) !important;
    max-height: 90vh !important;
    border-top-left-radius: 28px !important;
    border-top-right-radius: 28px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border-top: 1.5px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.25) !important;
    border-left: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12) !important;
    border-right: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12) !important;
    border-bottom: none !important;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.18), 0 -4px 18px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12) !important;
    display: flex;
    flex-direction: column;
}

[data-bs-theme="dark"] .app-bottom-sheet {
    background: rgba(18, 22, 32, 0.88) !important;
    backdrop-filter: blur(32px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(190%) !important;
    border-top-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.38) !important;
    border-left-color: rgba(255, 255, 255, 0.08) !important;
    border-right-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55), 0 -4px 22px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.22) !important;
}

.offcanvas-backdrop.show {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background-color: rgba(15, 23, 42, 0.5) !important;
}

.sheet-drag-handle-wrapper {
    padding: 10px 0 6px;
    display: flex;
    justify-content: center;
    cursor: grab;
}

.sheet-drag-handle {
    width: 44px;
    height: 5px;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35);
    border-radius: 999px;
    transition: all 0.25s ease;
}

.app-bottom-sheet:active .sheet-drag-handle,
.sheet-drag-handle-wrapper:hover .sheet-drag-handle {
    background: var(--bs-primary);
    width: 54px;
    transform: scaleY(1.2);
}

.bottom-sheet-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.2);
}

.sheet-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-primary);
    margin-bottom: 0.65rem;
}

.sheet-sort-select {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.25);
    border-radius: 14px;
    font-weight: 500;
    padding: 10px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-bs-theme="dark"] .sheet-sort-select {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35);
    color: #f1f5f9;
}

.sheet-sort-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb, 13, 110, 253), 0.25);
}

.quick-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--bs-border-color-rgb, 222, 226, 230), 0.8);
    color: var(--bs-body-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.quick-filter-chip:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.18);
}

.quick-filter-chip.active {
    background: var(--bs-primary) !important;
    color: #ffffff !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 6px 18px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35);
    font-weight: 600;
    transform: translateY(-1px);
}

[data-bs-theme="dark"] .quick-filter-chip {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .quick-filter-chip:hover {
    border-color: var(--bs-primary);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .quick-filter-chip.active {
    background: var(--bs-primary) !important;
    color: #ffffff !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.45);
}

.app-bottom-sheet-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-top: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.2) !important;
    z-index: 10;
    margin-top: auto;
}

[data-bs-theme="dark"] .app-bottom-sheet-footer {
    background: rgba(18, 22, 32, 0.9) !important;
    border-top-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.3) !important;
}

.sheet-reset-btn {
    font-weight: 600;
    border-color: rgba(var(--bs-secondary-color-rgb, 108, 117, 125), 0.35);
    transition: all 0.2s ease;
}

.sheet-reset-btn:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.08);
}

.sheet-apply-btn {
    font-weight: 600;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 4px 16px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sheet-apply-btn:hover,
.sheet-apply-btn:active {
    box-shadow: 0 6px 22px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.5);
    transform: translateY(-1px);
}

/* =========================================
   Modern Home Screen Enhancements
   ========================================= */
.hero-carousel-container,
.hero-modern-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-section,
.hero-modern-section {
    position: relative;
    height: 55vh;
    min-height: 420px;
    max-height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay,
.hero-modern-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.8) 100%);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    border-radius: 20px;
}

.hero-content,
.hero-modern-content {
    position: relative;
    z-index: 5;
    max-width: 780px;
    margin: 0 auto;
}

.hero-title,
.hero-modern-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.hero-subtext,
.hero-modern-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.card-hover-lift {
    transition: transform .3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .3s cubic-bezier(0.23, 1, 0.32, 1), border-color .3s ease;
    border-radius: 16px;
}

.card-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

.category-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.25s ease;
}

.category-card:hover .category-icon-circle {
    background: var(--bs-primary);
    color: #ffffff;
    transform: scale(1.05);
}

.hero-pill-badge {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-modern-title {
    font-size: clamp(2.1rem, 4.5vw, 3.6rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.hero-modern-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-cta-btn {
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.45) !important;
}

.hero-secondary-btn {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.22s ease;
}

.hero-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.hero-carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
    transition: all 0.2s ease;
    z-index: 10;
}

.hero-carousel-prev {
    left: 20px;
}

.hero-carousel-next {
    right: 20px;
}

.hero-carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.hero-indicators {
    bottom: 18px;
    margin-bottom: 0;
}

.hero-indicator-pill {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    margin: 0 4px;
    transition: all 0.25s ease;
}

.hero-indicator-pill.active {
    width: 44px;
    background: #ffffff;
}

/* Trust Strip */
.trust-card {
    background: var(--bs-card-bg, #ffffff);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.25);
}

.trust-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.trust-card:hover .trust-icon-box {
    background: var(--bs-primary);
    color: #ffffff;
}

.trust-title {
    font-size: 0.92rem;
    line-height: 1.2;
}

.trust-desc {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-top: 2px;
}

/* Modern Section Headers */
.section-kicker-pill {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1);
    color: var(--bs-primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.18);
}

.section-title-modern {
    letter-spacing: -0.02em;
}

.section-link-btn {
    transition: all 0.2s ease;
}

.section-link-btn:hover {
    transform: translateX(2px);
}

/* Category Discovery Grid Cards */
.category-grid-card {
    background: var(--bs-card-bg, #ffffff);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: var(--bs-body-color);
}

.category-grid-card:hover {
    transform: translateY(-4px);
    border-color: var(--bs-primary);
    box-shadow: 0 10px 24px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.15);
    color: var(--bs-primary);
}

.category-card-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.category-grid-card:hover .category-card-icon-badge {
    background: var(--bs-primary);
    color: #ffffff;
}

.category-card-link i {
    transition: transform 0.2s ease;
}

.category-grid-card:hover .category-card-link {
    color: var(--bs-primary) !important;
}

.category-grid-card:hover .category-card-link i {
    transform: translateX(4px);
}

/* Brand Tiles */
.brand-pill-card {
    background: var(--bs-card-bg, #ffffff);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    color: var(--bs-body-color);
}

.brand-pill-card:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
}

/* VIP Perks Card */
.home-perks-card {
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.08) 0%, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.02) 100%);
    border: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.16);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.perks-pill {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
    color: var(--bs-primary);
    border: 1px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.22);
}

/* Dark Mode Home Screen Adaptations */
[data-bs-theme="dark"] .hero-modern-carousel {
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.28);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .trust-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .trust-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .category-grid-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .category-grid-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .brand-pill-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .brand-pill-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--bs-primary);
}

[data-bs-theme="dark"] .home-perks-card {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.16) 0%, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.04) 100%);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.28);
}

/* Cart Badge Real-Time Bump Animation */
@keyframes cartBadgeBump {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.cart-bump-animation {
    display: inline-block !important;
    animation: cartBadgeBump 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}