/* =========================================
   ORIGINAL BASE STYLES
   ========================================= */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth; /* Added for smooth anchor scrolling */
}

body {
  margin-bottom: 60px;
}

/* =========================================
   ACCSZONE MOBILE & DROPDOWN FIXES
   ========================================= */

/* Smooth Horizontal Scroll for Categories */
.mobile-category-scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mobile-category-scroll::-webkit-scrollbar { 
    display: none; 
}

/* Category Dropdown (AccsZone Style - White & Clean) */
.category-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 50;
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 10px;
    border: 1px solid #e2e8f0;
    max-height: 70vh;
    overflow-y: auto;
    width: 100%;
    max-width: 400px; 
}
.category-dropdown.active { 
    display: block; 
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Menu Category Toggle */
.mobile-cat-toggle {
    cursor: pointer;
    user-select: none;
}
.mobile-cat-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.mobile-cat-list.open {
    max-height: 500px;
}

/* =========================================
   STICKY CATALOG NAVIGATION UTILITIES
   ========================================= */

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}