section#collection-grid h1,
section#collection-grid h2 {
  font-size: 24px;
}

section#collection-grid input {
  -webkit-appearance: none !important;
     -moz-appearance: none !important;
          appearance: none !important;
}

section#collection-grid #qf-filter-wrapper {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 20px;
  margin-bottom: 80px;
}

section#collection-grid #qf-filter-wrapper .desktop-filter-heading {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: black;
  padding-bottom: 10px;
  margin-bottom: 20px;
  margin-top: 0;
  border-bottom: 2px solid black;
  letter-spacing: .48px;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  section#collection-grid #qf-filter-wrapper {
    grid-template-columns: 2fr 5fr;
  }
}

@media only screen and (max-width: 991.98px) {
  section#collection-grid #qf-filter-wrapper {
    grid-template-columns: 1fr;
  }
  section#collection-grid #qf-filter-wrapper .desktop-filter-heading {
    display: none;
  }
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 0;
  height: max-content;
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 95px);
  overflow-y: auto;
  box-sizing: border-box;
  transition: top .5s linear;
  padding-right: 15px;
  width: 300px;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper.open {
  padding-bottom: 50px;
}

@media only screen and (max-width: 991.98px) {
  section#collection-grid #qf-filter-wrapper .filter-container-wrapper .filter-group-display__submit {
    padding-bottom: 15px;
  }
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .filter-group-display__submit input {
  width: 100%;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .reset-filter-wrapper {
  display: none;
}

@media only screen and (max-width: 991.98px) {
  section#collection-grid #qf-filter-wrapper .filter-container-wrapper {
    z-index: 99999;
    position: fixed;
    border-radius: 0;
    padding: 18px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    width: 100%;
    bottom: 0;
    top: unset;
    left: 0;
  }

  section#collection-grid #qf-filter-wrapper .filter-container-wrapper .filter-scroll-wrapper {
    overflow-y: hidden;
    max-height: 0;
    transition: 0.2s ease-in;
    width: 100vw;
    margin-left: -15px;
    padding: 0 15px;
    background-color: #ffffff;
  }
  
  section#collection-grid #qf-filter-wrapper .filter-container-wrapper.open .mobile-filter-heading {
    padding-bottom: 15px;
  }
  
  section#collection-grid #qf-filter-wrapper .filter-container-wrapper.open .filter-scroll-wrapper {
    overflow-y: scroll;
    max-height: 60vh;
  }
  section#collection-grid #qf-filter-wrapper .filter-container-wrapper.open .reset-filter-wrapper {
    position: fixed;
    inset: auto 0 15px 0;
    display: none;
  }
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .mobile-filter-heading {
  display: none;
  padding-bottom: 0px;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .mobile-filter-heading > svg {
  scale: 1 -1;
  pointer-events: none;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .mobile-filter-heading.open > svg {
  scale: 1 1;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .mobile-filter-heading h2 {
  font-size: 16px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: inherit;
  letter-spacing: normal;
  text-transform: uppercase;
  font-weight: 300;
  color: #5a5a5b;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .mobile-filter-heading h2 svg {
  margin-right: 5px;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .mobile-filter-heading svg {
  cursor: pointer;
  transition: 0.3s ease;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .mobile-filter-heading svg.open {
  transform: rotateX(180deg);
}

@media only screen and (max-width: 991.98px) {
  section#collection-grid #qf-filter-wrapper .filter-container-wrapper .mobile-filter-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 10px;
  }
  
  section#collection-grid #qf-filter-wrapper .filter-container-wrapper .mobile-filter-heading svg path {
    fill: #000000;
  }
}

@media only screen and (max-width: 991.98px) {
  section#collection-grid #qf-filter-wrapper .filter-container-wrapper .custom-filter-wrapper {
    display: none;
  }
  section#collection-grid #qf-filter-wrapper .filter-container-wrapper .custom-filter-wrapper.open {
    display: block;
    margin-top: 15px;
  }
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .custom-filter-wrapper .price-filter-container {
  margin: 20px 0;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .custom-filter-wrapper .price-filter-container .filter-heading {
  margin: 0;
  font-size: 16px;
  letter-spacing: .32px;
  line-height: 1.25;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .custom-filter-wrapper .custom-filter.price-filter-container.open .filter-body {
  display: block;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .selected-filter-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

@media only screen and (max-width: 991.98px) {
  section#collection-grid #qf-filter-wrapper .filter-container-wrapper .selected-filter-wrapper {
    margin-top: 15px;
  }
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .selected-filter-wrapper .selected-filter {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 13px;
  font-weight: 300;
  background: #f5f5f5;
  border-radius: 100px;
  padding: 3px 15px 3px 10px;
  text-transform: capitalize;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .selected-filter-wrapper .selected-filter[data-filter-name="availability"] {
  display: none !important;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .selected-filter-wrapper .selected-filter:hover svg {
  rotate: 90deg;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .selected-filter-wrapper .selected-filter svg {
  margin-right: 5px;
  width: 10px;
  height: 10px;
  transition: all 0.3s;
}

section#collection-grid #qf-filter-wrapper .filter-container-wrapper .selected-filter-wrapper .selected-filter svg path {
  fill: black;
}

section#collection-grid #qf-filter-wrapper .custom-filter {
  background-color: white;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid hsla(0, 0%, 60%, .25);
}

section#collection-grid #qf-filter-wrapper .custom-filter[data-filter-name="availability"] {
  display: none !important;
}

section#collection-grid #qf-filter-wrapper .custom-filter.availability .filter-body > label > div {
  width: fit-content; 
  padding: 0 10px;
}

section#collection-grid #qf-filter-wrapper .custom-filter[data-theme=sale] {
  display: none;
  background-color: transparent;
  border-radius: 0px;
  padding: 0;
}

section#collection-grid #qf-filter-wrapper .custom-filter[data-theme=sale] input {
  position: absolute;
}

section#collection-grid #qf-filter-wrapper .custom-filter label {
  display: block;
  position: relative;
  text-transform: capitalize;
}

section#collection-grid #qf-filter-wrapper .custom-filter .button {
  width: unset;
  text-align: center;
}

section#collection-grid #qf-filter-wrapper .custom-filter .filter-heading {
  margin: 0px;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: .32px;
  line-height: 1.25;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
}

section#collection-grid #qf-filter-wrapper .custom-filter .filter-heading .icon {
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.48' height='13.13'%3E%3Cpath d='M5.33 13.13V7.462H0v-1.82h5.33V0h1.794v5.642h5.356v1.82H7.124v5.668Z' fill='%23000000'/%3E%3C/svg%3E");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

section#collection-grid #qf-filter-wrapper .custom-filter .filter-body {
  display: none;
}

section#collection-grid #qf-filter-wrapper .custom-filter.open .filter-heading .icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='2'%3E%3Cpath fill='%23000000' d='M0 0h12v2H0z'/%3E%3C/svg%3E");
}

section#collection-grid #qf-filter-wrapper .custom-filter.open .filter-body {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

section#collection-grid #qf-filter-wrapper .filter-body label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}

section#collection-grid #qf-filter-wrapper .filter-body label input {
  width: 0;
  height: 0;
  border: none;
  background: transparent;
}

section#collection-grid #qf-filter-wrapper .filter-body label div {
  display: flex;
  padding: 0;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  border-radius: 22px;
  border: 1px solid #c9c9c9;
  min-width: 35px;
  min-height: 35px;
  padding: 0 8px;
}

section#collection-grid #qf-filter-wrapper .filter-body label div span {
  display: block;
  width: 23px;
  height: 23px;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
}

section#collection-grid #qf-filter-wrapper .filter-body label:hover div {
  border-color: #000000;
}

section#collection-grid #qf-filter-wrapper .filter-body label input:checked + div {
  background: #000000;
  border-color: #000000;
  color: white;
}

section#collection-grid #qf-filter-wrapper .sort-by {
  position: relative;
  margin-bottom: 20px;
}

section#collection-grid #qf-filter-wrapper .sort-container-label {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: .32px;
  line-height: 1.25;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
}
 
section#collection-grid #qf-filter-wrapper .sort-container {
  cursor: pointer;
  position: relative;
  color: #000000;
  background-color: #fff;
  border: 1px solid #CFCFCF;
}

@media screen and (max-width: 768px) {
  section#collection-grid #qf-filter-wrapper .sort-container {
    margin-top: 15px;
  }
}

section#collection-grid #qf-filter-wrapper .sort-container select {
  background-color: white;
  padding: 10px 36px 10px 15px;
  border-radius: 0;
  border: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  color: #000000;
}

section#collection-grid #qf-filter-wrapper .sort-container select:focus-visible {
  outline: none;
}

section#collection-grid #qf-filter-wrapper .sort-container svg {
  position: absolute;
  width: 15px;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

section#collection-grid #qf-filter-wrapper .sort-container select:focus-visible svg {
  transform: rotateX("180deg");
}

section#collection-grid #qf-filter-wrapper #reset-filters {
  display: block;
  margin: 0 auto;
  margin-top: 20px;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-transform: capitalize;
}

section#collection-grid #qf-filter-wrapper .collection-showing {
  margin-top: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  color: #000000;
}

section#collection-grid #qf-filter-wrapper .custom-filter-load-more {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: auto;
  margin-top: 25px;
  position: relative;
  font-family: bolton,Helvetica Neue,Helvetica,sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: none;
  background: transparent;
  color: #000000;
  padding: 14px 52px;
  cursor: pointer;
  border: 2px solid #000000;
  text-transform: uppercase;
  border-radius: 100px;
}

section#collection-grid #qf-filter-wrapper .custom-filter-load-more:hover {
  color: #fff;
  background-color: #000000;
}

@media only screen and (max-width: 991.98px) {
  section#collection-grid #qf-filter-wrapper .custom-filter-load-more {
    margin-top: 40px;
  }
}

section#collection-grid #qf-filter-wrapper .custom-filter-load-more .load-more-spinner {
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  right: calc(-50% + 25px);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: 0.3s all;
}

section#collection-grid #qf-filter-wrapper .custom-filter-load-more .load-more-spinner .spinner-circle-outer {
  width: 100%;
  height: 100%;
}

section#collection-grid #qf-filter-wrapper .custom-filter-load-more .load-more-spinner.show {
  width: 30px;
  height: 30px;
  opacity: 1;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range ::-moz-selection {
  color: #fafafa;
  background: #000;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range ::selection {
  color: #fafafa;
  background: #000;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .wrapper {
  width: 400px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 25px 40px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range header h2 {
  font-size: 24px;
  font-weight: 600;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range header p {
  margin-top: 5px;
  font-size: 12px;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .price-input {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .price-input .price-input-hidden {
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  pointer-events: none;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .price-input .field {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .price-input .field * {
  font-size: 12px;
  font-weight: 300;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .price-input .field:first-of-type input {
  text-align: left;
  padding-left: 5px;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .price-input .field:last-of-type input {
  text-align: right;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .field input {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: 100%;
  outline: none;
  font-size: 12px;
  border: none;
  -moz-appearance: textfield;
  background: #FAFAFA;
  -webkit-appearance: none;
  max-width: 37px;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range input[type=number]::-webkit-outer-spin-button,
section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .price-input .separator {
  width: 130px;
  display: flex;
  font-size: 12px;
  align-items: center;
  justify-content: center;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .slider {
  height: 5px;
  position: relative;
  background: #e5e5e5;
  border-radius: 5px;
  translate: 0;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .slider .progress {
  height: 5px;
  left: 0;
  right: 0;
  position: absolute;
  border-radius: 5px;
  translate: 0;
  background: #000000;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .range-input {
  position: relative;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .range-input input {
  position: absolute;
  width: 100%;
  height: 5px;
  top: -5px;
  background: none;
  pointer-events: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  border: none;
  padding: 0;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range .range-input input.range-min {
  left: -2px;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range input[type=range]::-webkit-slider-thumb {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #000000;
  pointer-events: auto;
  -webkit-appearance: none;
}

section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range input[type=range]::-moz-range-thumb {
  height: 10px;
  width: 10px;
  border: none;
  border-radius: 50%;
  background: #000000;
  pointer-events: auto;
  -moz-appearance: none;
}

@media only screen and (max-width: 991.98px) {
  section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range input[type=range]::-webkit-slider-thumb {
    height: 26px;
    width: 26px;
  }
  section#collection-grid #qf-filter-wrapper .price-wrapper .custom-range input[type=range]::-moz-range-thumb {
    height: 26px;
    width: 26px;
  }
}

section#collection-grid #qf-filter-wrapper .price-wrapper button {
  margin-top: 8px;
  width: 100%;
}

section#collection-grid .collection-grid-wrapper .collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 3%;
  grid-row-gap: 45px;
  position: relative;
}

section#collection-grid .collection-grid-wrapper .collection-grid .spinner {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: none;
  width: 30px;
  height: 30px;
}

section#collection-grid .collection-grid-wrapper .collection-grid .spinner .check-circle-outer, section#collection-grid .collection-grid-wrapper .collection-grid .spinner .spinner-circle-outer {
  --circle-size: 100px;
}

section#collection-grid .collection-grid-wrapper .collection-grid.loading .product-card, section#collection-grid .collection-grid-wrapper .collection-grid.loading #collection-advert, section#collection-grid .collection-grid-wrapper .collection-grid.loading #collection-advert-2 {
  opacity: 0.6;
  filter: blur(2.4px) grayscale(0.2);
}

section#collection-grid .collection-grid-wrapper .collection-grid.loading .spinner {
  display: block;
}

@media only screen and (max-width: 991.98px) {
  section#collection-grid .collection-grid-wrapper .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 20px;
  }
}

.collection-item-count {
  color: #000000;
  font-weight: 300;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin: 0 0 15px;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  padding-right: 10px;
}

.collection-item-count span {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  display: inline-block;
  font-weight: 300;
}

@media only screen and (max-width: 991.98px) {
  .collection-item-count {
    display: none;
  }
}

// animated check mark
.check-circle-outer, 
.spinner-circle-outer {
  --check-color: #000000;
  --circle-size: 50px;
  --check-width: calc( var(--circle-size) / 20 );

  width: var(--circle-size);
  height: var(--circle-size);
  position: relative;
  margin: auto; 
  border-radius: 50%;
  overflow: hidden;
}

.check-circle-outer .check-circle, 
.spinner-circle-outer .check-circle, 
.check-circle-outer .spinner-circle,
.spinner-circle-outer .spinner-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid;
  border-color: #000000;
  opacity: 0.2;
}

.check-circle-outer .check-circle-mask, 
.spinner-circle-outer .check-circle-mask
.check-circle-outer .spinner-circle-mask, 
.spinner-circle-outer .spinner-circle-mask{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px transparent solid;
  border-left-color: #000000;
  opacity: 0;
}

.check-circle-outer .check-circle,
.spinner-circle-outer .check-circle {
  animation: show 300ms ease 950ms forwards;
}

.check-circle-outer .check-circle-mask,
.spinner-circle-outer .check-circle-mask{
  --spin-end: 70deg;
  animation: spin-circle 300ms ease  350ms forwards;
}

.check-circle-outer .spinner-circle-mask,
.spinner-circle-outer .spinner-circle-mask{
  --spin-end: 0deg;
  animation: spin-circle 1000ms ease  forwards infinite;
}

@keyframes show {
  to { opacity: 1;}
}

@keyframes spin-circle {
  0% {rotate: 320deg;
      opacity: 1;
  }

  99% { 
      rotate: var(--spin-end);
      opacity: 1;
  }
  100%{
      opacity: 0;
  }
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

// LOADER
.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid var(--accent-1-color); /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}