body {
  font-family: "Poppins", sans-serif;
}

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 90rem !important;
  /* 1152px */
  padding-left: 1rem;
  /* 16px */
  padding-right: 1rem;
  /* 16px */
  width: 100%;
}

@media (min-width: 640px) {
  /* sm */
  .container {
    padding-left: 1rem;
    /* 16px */
    padding-right: 1rem;
    /* 16px */
  }
}

/* Additional style for sticky nav full width background */
#sticky-nav-wrapper.is-sticky {
  background: rgba(0, 35, 24, .85);
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, .3));
  /* Your specific isa-red color ('#790003') */
  /* transition for smooth background appearance if desired */
  /* transition: background-color 0.3s ease-in-out; */
}

:root {
  --mobile-header-height: 62px;
  --isa-theme-color: #e6a400;
  /* Define your theme color here, e.g., amber/gold */
  --isa-red-color: #790003;
  /* Your specific isa-red color ('#790003') */
  --isa-theme: #b91c1c;
  --isa-red-dark: #2e100f;
  --isa-red: #790003;
  --isa-hired: #cc0000;
  --isa-li-dark: #5b0608;
  --isa-rose: #f1695d;
  --isa-pure-red: #cc0000;
  --isa-main: #fce690;
  --isa-primary: #fce690;
  --isa-secondary: #fbc66d;
}

body {
  font-weight: 400;
  color: #fce690;
  background: url("/img/main_bg-min.jpg") center top repeat #012319;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  font-size: 100%;
  line-height: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

:target {
  scroll-margin-top: 80px; /* Height of your fixed header (e.g., 64px) */
}
#mobile-filter-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  z-index: 10000;
  transition: left 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#mobile-filter-overlay.open {
  left: 0;
}

.filter-header {
  background-color: var(--isa-li-dark);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  flex-shrink: 0;
}

.filter-header button {
  background-color: var(--isa-red);
  color: white;
  padding: 6px 14px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

.filter-header button:hover {
  background-color: #6a0c0c;
}

.filter-content {
  display: flex;
  flex-grow: 1;
  overflow: hidden;
}

.filter-category-panel {
  flex-shrink: 0;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 38%;
  background-color: var(--isa-red);
  border-right: 1px solid #333;
}

.filter-options-panel {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 62%;
  background-color: var(--isa-red-dark);
  padding: 10px;
}

.filter-category-panel::-webkit-scrollbar,
.filter-options-panel::-webkit-scrollbar {
  display: none;
}

.filter-category-item {
  border-bottom: 2px solid #2e100f;
  padding: 9px 10px;
  padding-left: 20px;
  cursor: pointer;
}

.filter-category-item:hover {
  background-color: #333;
}

.filter-category-item.active {
  background-color: #450a0a;
  font-weight: 600;
  color: white;
}

.filter-option-item {
  list-style-type: none;
  margin-bottom: 0.1rem;
}

.filter-option-item label {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
  color: #e0e0e0;
  gap: 0.5rem;
  overflow: hidden;
}

.filter-option-item label:hover {
  background-color: #333;
}

.filter-option-item.selected label {
  background-color: #6a0c0c;
  font-weight: 600;
  color: white;
}

.option-label.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
}

.filter-search-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #1a1a1a;
  padding: 0.75rem 1rem;
  margin-bottom: 0;
  border-radius: 0;
  border: 2px solid #fce690;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
}

#filter-options-list-container-wrapper {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#filter-options-list-container-wrapper::-webkit-scrollbar {
  display: none;
}

.filter-footer {
  background-color: #0d0d0d;
  padding: 1rem;
  border-top: 1px solid #333;
  text-align: center;
  flex-shrink: 0;
}

.filter-footer button {
  width: 100%;
  background-color: var(--isa-main);
  color: var(--isa-red);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

.filter-footer button:hover {
  background-color: #6a0c0c;
}

#active-filters-summary {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #333;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: #e0e0e0;
  margin-top: 77px;
}

@media (min-width: 1024px) {
  #active-filters-summary {
    display: none !important;
  }
}

.active-filter-tag {
  background-color: #fce690;
  color: #2e100f;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 0.25rem; 
}

.active-filter-tag .clear-filter-btn-text {
  background: none;
  border: none;
  color: #790003;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  margin-left: 0.25rem;
  line-height: 1;
}

.clear-all-filters-btn-summary {
  background-color: #790003;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

#filter-icon-tick {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 10px;
  height: 10px;
  background-color: #4caf50;
  border-radius: 50%;
  display: none;
  z-index: 10;
}

.selected-filter-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.selected-filter-tag {
  background-color: #6a0f0f;
  color: #f0f0f0;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  display: inline-flex;
  align-items: center;
}

.remove-tag-icon-text {
  margin-left: 0.25rem;
  cursor: pointer;
  font-weight: bold;
  padding: 0 0.125rem;
}

.remove-tag-icon-text:hover {
  color: #f5c5c5;
}

#loading-buffer-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background-color: var(--isa-theme-color);
  z-index: 99999;
  display: none;
  transition: width 0.2s ease-out, opacity 0.3s ease-out;
  opacity: 1;
}

.menu-open {
  transform: translateX(0%);
}

.menu-closed {
  transform: translateX(-100%);
}

.menu-transition {
  transition: transform 0.3s ease-in-out;
}

.shadow-custom {
  box-shadow: 0 14px 19px 0 rgba(12, 13, 13, 0.7);
}

/* Style dropdown options */
select:focus {
  outline: none;
}

select option {
  /* Using a default Tailwind dark red for approximation */
  background-color: #450a0a;
  /* Closest default: red-900 or darker */
  /* Use custom color */
  color: #fce690;
  /* brand-gold-light */
}

select option:hover {
  background-color: #000;
  /* black */
  color: #fff;
  /* white */
}

/* Custom CSS for Navbar Background */
.navbar-custom-bg {
  background-color: black;
  background-image: linear-gradient(
    180deg,
    rgba(120, 0, 20, 0.9) 0%,
    rgba(176, 0, 32, 0.7) 50%,
    rgba(220, 20, 60, 0.4) 100%
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  height: 60px;
  border-bottom: 1px solid rgba(255, 0, 43, 0.2);
}

.footer-custom-bg {
  background: #000 url(../images/marble.jpeg) 50% 50% no-repeat;
    background-size: cover;
    color: #fff6d7;

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 0, 43, 0.2);
}

/* Custom CSS for the %off badge */
.store-red-icon {
  display: inline-block;
  width: auto;
  white-space: nowrap;
  height: auto;
  background-image: linear-gradient(264deg, #ff5e00 -2.73%, #d60004 93.92%);
  border-radius: 3px 4px 4px 3px;
  border-left: 1px solid #d60004;
  margin-left: 6px;
  position: relative;
  color: #fff;
  text-align: center;
  -webkit-font-feature-settings: "liga" off, "clig" off;
  font-feature-settings: "liga" off, "clig" off;
  font-size: 10.575px;
  font-style: normal;
  font-weight: 800;
  line-height: 19.886px;
  letter-spacing: 1px;
  padding: 0 6px 0 7px;
  vertical-align: middle;
  text-transform: none;
}

/* Custom CSS for Dropdown Arrow */
.dropdown-arrow::after {
  content: "";
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  transition: transform 0.3s ease-in-out;
}

/* Arrow rotation on hover/open */
.group:hover .dropdown-arrow::after,
.dropdown-trigger.open .dropdown-arrow::after {
  transform: rotate(225deg) translateY(0px);
}

/* Styling for dropdown menu items */
.dropdown-menu a {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.875rem;
  /* text-sm */
  border-bottom-width: 1px;
}

.dropdown-menu a:last-child {
  border-bottom-width: 0px;
}

/* Mobile Menu specific styles */
#mobile-menu > div > * {
  border-bottom: 1px solid #404040;
  /* border-neutral-700 */
}

#mobile-menu > div > *:last-child {
  border-bottom: none;
}

/* Mobile dropdown sub-items */
#mobile-location-menu a {
  padding-left: 1.5rem;
  /* pl-6 */
  border-bottom: 1px solid #404040;
  /* border-neutral-700 */
}

#mobile-location-menu a:last-child {
  border-bottom: none;
}
@media (max-width: 1180px) {
  /*
       Replace '#mobile-location-trigger::after' with the
       EXACT selector you found using developer tools for the unwanted arrow.
       It might be something like '.dropdown-trigger::after',
       '#mobile-menu button::after', etc.
    */
  #mobile-location-trigger::after {
    content: none !important; /* Hide the pseudo-element */
    display: none !important; /* Ensure it takes no space */
  }
}
