:root {
    --mdc-theme-primary: #961d20;
    --mdc-theme-secondary: #961d20; 
    --mdc-checkbox-checked-color: #961d20;
    /* --mdc-ripple-press-opacity: #961d20; */
}

.range-label{

    background-color: var(--gray-800);
    padding: 0.3rem 1rem;
    color: white;
    position: absolute;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    top: 35%;
    left: 50%;
    transform: translate(-50%, -100%);
}
.ripple {
    overflow: hidden;
    position: relative;
}

.ripple:before {
    pointer-events: none;
    background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    transition: transform 0.5s, opacity 1s;
}

.ripple:hover:before {
    transform: scale(0, 0);
    opacity: 0.2;
}
.selected {
    color: #961d20; /* Change this to your desired color */
}

.mdc-slider .mdc-slider__thumb-knob {
   
    border: 2px solid #fff!important;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.4)!important;
    box-shadow: 0 1px 4px rgba(0,0,0,.4)!important;
    /* background: var(--color-primary-dark)!important; */
    border-radius: 50%;
}

li.autocart-filters:hover {
    color: var(--mdc-theme-primary) !important;
}


/* .autocart-filters *:hover {
    color: var(--mdc-theme-primary)
} */
.autocart-filters label{
    font-family: 'Circular Std', sans-serif;
    margin: auto 0;
}

@font-face {
    font-family: 'Circular Std';
    src: url('fonts/CircularStd-Medium.woff2') format('woff2'),
         url('fonts/CircularStd-Medium.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  .mdc-chip{
    box-shadow: 0 1px 4px rgba(0,0,0,.4)!important;
    border: 2px solid var(--mdc-theme-primary) !important;
    background-color: #ffffff;
  }


  #tabs-viewer{
    /* height: fit-content; */
    position: sticky;
    max-height: 75vh;
    overflow: auto;
  }

  .overflow-x-scroll {
    scroll-snap-type: x mandatory;
}

.flex-shrink-0 {
    scroll-snap-align: start;
}

.sticky-container{
    position: sticky;
}
.bg-custom-red {
    background-color: rgb(150 29 32 / 10%);
  }
  
  .bg-custom-red-light {
    background-color: rgb(217 72 74 / 50%);

  }
  
  .bg-custom-red-opacity {
    background-color: rgb(150 29 32 / 30%);
  }

  .mdc-list-item {
    height: 48px;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding: 0 16px;
    overflow: hidden;
}
.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label {
    color: var(--mdc-theme-primary) !important;
}
li.mdc-list-item:hover {
  background-color:var(--mdc-theme-primary);
  color: #fff;
}


.btn-process {
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
    background-color: #256EFF;
    box-shadow: 0px 15px 27px 2px rgba(37, 110, 255, 0.28);
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 3rem;
    border-radius: 1rem;
    color: #fff;
    cursor: pointer;
  }
  
  .btn-ring:after {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    margin: 0 8px;
    border-radius: 50%;
    border: 3px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: ring 1.2s linear infinite;
  }
  
  @keyframes ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .btn-ring.loading {
    display: inline-block;
  }
  
  .loading .btn-ring {
    display: block;
  }

  .ac-accordion-content {
    padding: 10px;
    display: block; /* Start with display: block to ensure proper height transition */
    overflow: hidden; /* Hide overflowing content */
    transition: height 0.3s ease; /* Add transition for height */
}

.collapsed .ac-accordion-content {
    height: 0; /* Collapse the content by setting height to 0 */
    padding-top: 0;
    padding-bottom: 0;
    transition: height 0.3s ease; /* Add transition for height */
}


.order-mobile-first {
  order: 2;
}

.order-mobile-second {
  order: 1;
}

/* Web Order (Normal order on larger screens) */
.order-web-first {
  order: 1;
}

.order-web-second {
  order: 2;
}

#slide-out-filters{
  transition: 300ms ease-in-out;
    /* translate: -100%; */
    
}

/* Styles for screens wider than 768px (web view) */
@media screen and (min-width: 768px) {
  .container {
    width: 70%;
    margin: 0 auto;
  }

  h1 {
    font-size: 2em;
  }

  #slide-out-filters{
      translate: 0;
      translate: 0px;
      position: static;
      z-index: 40;
      width: 25%;
  }
}

/* Styles for screens narrower than 768px (mobile view) */
@media screen and (max-width: 768px) {
  .sticky-container{
    position: static;
  }
/* 
  #applied-filters-container{
    position: fixed;
    bottom: 0px;
    z-index: 50;
    width: 100%;
    right: 0;
  } */
}