:root {
  --header-navbar-height: 82px;
  --modal-height: min(75vh, calc(100vh - var(--header-navbar-height) * 2));
  --modal-header-height: 52px;
  --modal-footer-height: 89px;
  --modal-body-height: calc(var(--modal-height) - var(--modal-header-height) - var(--modal-footer-height));
}

@media screen and (max-width: 768px) {
  :root {
    --header-navbar-height: 50px;
    --modal-height: calc(100vh - var(--header-navbar-height));
    --modal-body-height: calc(var(--modal-height) - var(--modal-footer-height));
  }
}

#result-list-filter {
  display: block;
}

.search-bar-section {
  background: #B2C2C180;
  padding: 12px 0;
}

@media screen and (max-width: 768px) {
  .search-bar-section {
    background: #B2C2C180;
    padding: 4px 0;
  }
}

.search-bar-container .form-control {
  padding: 12px 8px;
  border: 0;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  height: auto;
  line-height: 1;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .search-bar-container .form-control {
    padding: 8px;
  }
}

.search-bar-container .form-control>* {
  flex: 1;
}

.search-bar-container .form-icon-search {
  max-width: 20px;
}

@media screen and (max-width: 768px) {
  .search-bar-container .form-icon-search {
    max-width: 16px;
  }
}

.search-bar-container input {
  border: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #B2C2C1;
}

.search-bar-container input::placeholder {
  color: #B2C2C1;
}

@media screen and (max-width: 768px) {
  .search-bar-container input {
    font-size: 12px;
  }
}

.filter-action {
  background-color: #fff;
  position: fixed;
  bottom: 0;
  /* Vị trí từ đáy của màn hình */
  left: 0;
  width: 100%;
  z-index: 999;
  /* Đảm bảo phần tử hiển thị trên các phần tử khác */
  transition: bottom 0.5s ease;
  box-shadow: 0px 2px 8px 0px #0000004D;
  padding: 4px;
}

.filter-action.filter-action-hidden {
  bottom: -100%;
  pointer-events: none;
}

.form-control+.form-keywords {
  margin-top: 16px;
}

.form-keyword {
  padding: 8px 12px;
  background-color: #fff;
  border-radius: 20px;
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}

.form-keyword .text {
  font-size: 16px;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .form-keyword {
    padding: 6px 8px;
    font-size: 9px;
  }

  .form-keyword .text {
    font-size: 13px;
  }
}

/*  */
.accordion2 .title {
  display: block;
  padding: 40px 0;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

@media screen and (max-width: 768px) {
  .accordion2 .title {
    padding: 24px 0;
    font-size: 16px;
    line-height: 27px;
  }
}

.filter-block {
  border-bottom: 1px solid #B2C2C1
}

.accordion2 .title {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 0;
}

.filter-block .filter-block-header::before,
.filter-block .filter-block-header::after {
  display: none;
}

@media screen and (max-width: 768px) {
  .filter-block .filter-block-header {
    /* padding: 16px 0; */
    color: #051817;
  }
}

.filter-block-header svg {
  width: 18.5px;
  height: 18.5px;
}

@media screen and (max-width: 768px) {
  .filter-block-header svg {
    width: 14px;
    height: 14px;
  }
}

.title .icon-minus {
  display: none;
}

.toggle:checked+.title .icon-plus {
  display: none;
}

.toggle:checked+.title .icon-minus {
  display: inline-block;
}

.toggle:checked+.title+.content {
  max-height: none;
  padding: 40px 0;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  .filter-block .toggle:checked+.title+.content {
    padding: 0 0 24px;
  }

  .filter-block-more {
    margin-top: 24px;
  }
}

.filter-block-more a,
.filter-block-more button {
  border: 0;
  padding: 0;
  color: #051817;
  background-color: transparent;
}

.filter-block-inner+.filter-block-inner {
  margin-top: 40px;
}

.filter-block-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-block-content h3 {
  font-size: 17px;
  font-weight: 700;
  border-left: 4px solid #B2C2C1;
  padding-left: 4px;
  margin-bottom: 24px;
}

.grid-2-col .grid-item {
  width: calc(50% - 16px * 2 / 3);
  max-width: calc(50% - 16px * 2 / 3);
}

.grid-3-col .grid-item {
  width: calc(33.33% - 16px * 2 / 3);
  max-width: calc(33.33% - 16px * 2 / 3);
}

.grid-4-col .grid-item {
  width: calc(25% - 16px * 2 / 3);
  max-width: calc(25% - 16px * 2 / 3);
}

@media screen and (max-width: 768px) {
  .filter-block-grid {
    gap: 12px;
  }

  .grid-2-col .grid-item {
    width: calc(50% - 12px * 2 / 3);
    max-width: calc(50% - 12px * 2 / 3);
  }

  .grid-3-col .grid-item {
    width: calc(33.33% - 12px * 2 / 3);
    max-width: calc(33.33% - 12px * 2 / 3);
  }

  .filter-block-grid.grid-3-col .grid-item {
    max-width: max-content;
    width: auto;
  }

  .grid-4-col .grid-item {
    width: calc(25% - 12px * 2 / 3);
    max-width: calc(25% - 12px * 2 / 3);
  }

  .grid-2-col-sm .grid-item {
    width: calc(50% - 12px * 2 / 3);
    max-width: calc(50% - 12px * 2 / 3);
  }
}

.filter-control {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 8px;
  gap: 0 6px;
  min-width: 100px;
  margin-bottom: 0;
}

.filter-control .remove-filter {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  font-size: 16px;
  padding: 0 10px;
  z-index: 3;
  cursor: pointer;
  text-align: center;
  line-height: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 2px;
}

.filter-control input:not(.filter-price) {
  cursor: pointer;
  opacity: 0;
  margin: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.check-mark {
  line-height: 1;
}

.check-mark img {
  object-fit: contain;
  width: 18px;
  height: 18px;
}

.check-mark svg {
  width: 16px;
  height: 16px;
}

@media screen and (max-width: 768px) {
  .check-mark svg {
    width: 14px;
    height: 14px;
  }

}

@media screen and (max-width: 768px) {
  .check-mark img {
    min-width: 14px;
    min-height: 14px;
    width: 14px;
    height: 14px;
  }

}

.checked {
  display: none;
}

.filter-control input:checked+.check-mark,
.filter-control input:checked+.check-mark+.filter-bg {
  border-color: #21D4C8;
  background: #EDFCFB;
}

.filter-control input:checked+.check-mark .checked {
  display: block;
}

.filter-control input:checked+.check-mark .uncheck {
  display: none;
}

.filter-control .text-content {
  margin-bottom: 0;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0.04em;
}

.filter-control .text-content b {
  margin-bottom: 2px;
}

.filter-control .text-content .small {
  font-size: 12px;
}

.filter-control .text-content .small.m-top {
  margin-top: 8px;
}

@media screen and (max-width: 768px) {
  .filter-control .text-content {
    font-size: 12px;
    line-height: 10.8px;
  }

  .filter-control .text-content .small {
    font-size: 9px;
  }

  .filter-control .text-content .small.m-top {
    margin-top: 4px;
  }
}

.filter-select {
  position: relative;
  border: 1px solid #B2C2C1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.filter-select .select-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

.filter-select .select-arrow svg {
  width: 18px;
  height: 10px;
}

.filter-control select {
  cursor: pointer;
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 14px 40px 14px 16px;
  width: 321px;
  max-width: 100%;
  height: auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  border: 0;
}

@media screen and (max-width: 768px) {
  .filter-control select {
    font-size: 12px;
  }
}

.filter-select-control {
  padding: 0;
}

.filter-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid #B2C2C1;
  border-radius: 8px;
  z-index: -1;
}

.hide-border .filter-bg {
  border: 0 !important;
}

.more-filter {
  padding: 40px 0;
  display: flex;
  justify-content: flex-end;
}

.more-filter button {
  border: 0;
  background-color: transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.filter-action .filter-action-button {
  width: 343px;
  height: 56px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #35F1E5 0%, #21D4C8 100%);
  border-radius: 8px;
  border: none;
  letter-spacing: 1px;
  text-align: center;
  font-size: 14pt !important;
  color: #fff !important;
}

@media screen and (max-width: 768px) {
  .filter-action .filter-action-button {
    height: 48px;
  }
}

.filter-action .filter-action-button:hover {
  background: linear-gradient(180deg, #21D4C8 0%, #35F1E5 100%);
}

.filter-action .filter-action-button:active {
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

@media screen and (max-width: 768px) {
  .more-filter {
    padding: 16px 0;
  }
}

/*  */
body.modal-open {
  padding-right: 0 !important;
  height: 100vh;
}

.modal-custom {
  overflow: visible !important;
  background-color: #00000068;
}

.modal-custom .modal-content::-webkit-scrollbar {
  display: none;
}

.modal-custom .modal-header {
  background-color: #fff;
  position: relative;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
}

.modal-custom .close {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: transparent;
  border: 0;
  font-size: 10px;
  line-height: 10px;
}

.modal-custom .close svg {
  height: 18px;
}

.modal-custom .modal-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
  padding: 0 20px;
}

.modal-custom .modal-body {
  padding: 0;
}

.modal-filter-block h6 {
  margin: 0;
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 25px;
  background: #F5F5F5;
}

.modal-filter-block .filter-bg {
  z-index: 1;
  border-radius: 0;
  border: 0;
}

.modal-filter .filter-control:first-child {
  border-top: 1px solid #B2C2C1
}

.modal-filter .filter-control {
  border-bottom: 1px solid #B2C2C1;
}

.modal-filter .filter-control input:checked+.check-mark+.filter-bg {
  border: 1px solid #21D4C8;
  /* background: #edfcfb36; */
  background: none;

}

@media screen and (max-width: 768px) {
  .modal-filter .modal-filter-block {
    padding-top: 52px;
  }

  .modal-filter .modal-filter-block .m-backtotop {
    margin-bottom: -52px;
  }

  .modal-body-top {
    margin-bottom: -52px;
  }
}

.modal-custom .modal-footer {
  padding: 16px;
  text-align: center;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  box-shadow: 0px -4px 4px 0px #00000014;
  background-color: #fff;
}

.modal-custom .modal-footer button {
  width: 343px;
  height: 56px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #35F1E5 0%, #21D4C8 100%);
  border-radius: 8px;
  border: none;
  letter-spacing: 1px;
  text-align: center;
  font-size: 14pt !important;
  color: #fff !important;
}

.modal-custom .modal-footer button:hover {
  background: linear-gradient(180deg, #21D4C8 0%, #35F1E5 100%);
}

.modal-custom .modal-footer button:active {
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

/*  */
.filter-field-container,
.filter-message-container {
  padding: 4px 0;
}

.filter-field-container {
  display: flex;
  gap: 8px;
  overflow: auto;
}

.filter-block-content {
  position: relative;
}

.filter-block-content .small {
  font-size: 13px;
}

.filter-block-content .text-weight {
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .filter-block-content .text-weight {
    margin-bottom: 10px;
  }
}

.custom-scrollbar::-webkit-scrollbar {
  height: 2px;
  width: 109px;
}

/* Track */
.custom-scrollbar::-webkit-scrollbar-track {
  background: #ebf0f0;
}

/* Handle */
.custom-scrollbar::-webkit-scrollbar-thumb {
  height: 2px;

  background: #b2c2c1;
}

/* Handle on hover */
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.filter-field {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 3px;
  align-items: center;
  border: 1px solid #B2C2C1;
  padding: 7px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  min-width: max-content;
  cursor: pointer;
}

.filter-field.active {
  border: 1px solid #21D4C8;
  background-color: rgb(237, 252, 251);
}

.filter-field.show-filter::after {
  content: '';
  display: inline-block;
  width: 15px;
  height: 14px;
  background-image: url('/wp-content/themes/shop-isle-pro/custom-images/icon-drop-down.png');
  background-size: cover;
  margin-left: 2px;
}

.filter-message-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-message-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Roboto;
  font-size: 22px;
  font-weight: 400;
  line-height: 31px;
}

.filter-message-left .check-mark {
  line-height: 0;
}

@media screen and (max-width: 768px) {
  .filter-message-left {
    font-size: 14px;
  }
}

.filter-message-left .filter-control {
  padding: 0;
}

.filter-message-right {
  display: flex;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .filter-message-right {
    font-size: 12px;
  }

  .filter-message-right img {
    width: 15px;
    object-fit: contain;
  }
}

.filter-products {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 0;
}

.filter-products .card {
  width: 20%;
  max-width: 20%;
  word-break: break-all;
  padding: 0 8px;
}

@media screen and (max-width: 768px) {
  .filter-products .card {
    width: 33.33%;
    max-width: 33.33%;
    padding: 0 4px;
  }
}

.card__heading--small {
  font-weight: 400;
}

.filter-products .card__heading--small {
  font-family: "PT Sans", sans-serif;
  font-size: 16px;
  margin-bottom: 0px !important;
}

.small,
.card__heading {
  font-family: "Noto Sans JP", sans-serif;
}

.card__heading--small,
.card__information .small,
.card__heading {
  display: -webkit-box;
  /* -webkit-line-clamp: 1; */
  /* -webkit-box-orient: vertical; */
  overflow: hidden;
}

.small {
  display: inline-block;
  color: #05181780;
}

.filter-products .card__heading {
  font-size: 16px;
  font-weight: 400;
}

@media screen and (max-width: 768px) {
  .filter-products .card__heading--small {
    font-size: 15px;
  }

  .filter-products .card__heading {
    font-size: 14px;
  }

  .small {
    font-size: 10px;
  }

  .card__information>* {
    margin-bottom: 4px;
  }
}

.card-product-price {
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
}

.card-product-price .price {
  font-family: Roboto;
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
}

@media screen and (max-width: 768px) {
  .card-product-price .price {
    font-size: 16px;
  }
}

.card-product-star {
  margin-bottom: 8px;
  display: flex;
  gap: 1px;
}

.card-product-star img {
  width: 20px;
}

@media screen and (max-width: 768px) {
  .card-product-star img {
    width: 16px;
  }
}

.card-product-reviews {
  font-family: Roboto;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}

.product-card-wp .card__caption {
  gap: 12px 8px;
}

.filter-products .card__caption span {
  font-size: 14px;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .filter-products .card__caption span {
    font-size: 10px;
  }

  .product-card-wp .card__caption {
    gap: 8px
  }
}

.card__caption span.bg-green {
  background: #D5E5E0;
  color: #27795C;
}

.card__caption span.bg-light-green {
  background: #E3F5DD;
  color: #68BB4B;
}


.card__caption span.bg-blue {
  background: #21D4C8;
  color: #fff;

}

.card__caption span.bg-brow {
  background: #F4E1CF;
  color: #66380E;
}


.card__caption span.bg-pink {
  background: #FFF0F5;
  color: #EA578C;

}

.card__caption span.bg-yellow {
  background: #FFF5D1;
  color: #DCAC00;
}

.card__caption span.bg-orange {
  background: #FFE8D2;
  color: #FF8F28;
}

.card__alert {
  font-size: 10px;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.card__alert span {
  padding: 4px;
  border: 1px solid #B2C2C1;
  border-radius: 3px;
  display: inline-block;
  line-height: 15px;
  letter-spacing: 1.5px;
  font-size: 14px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .card__alert {
    font-size: 11px;
  }
}

/* Update */
.grid-1-col .grid-item {
  width: 100%;
  max-width: 100%;
}

.filter-block-inner .form-control {
  max-width: 100%;
  padding: 12px 16px;
  height: auto;
  display: flex;
  align-items: center;
  gap: 0 8px;
  border-radius: 8px;
}

@media screen and (min-width: 769px) {
  .filter-block-inner .form-control {
    width: 624px;
  }

  .filter-block-inner .filter-price-control {
    width: 30%;
  }
}

.filter-block-inner .filter-input {
  border: 0;
  font-size: 16px;
  line-height: 28px;
  width: 100%;
  padding-right: 30px;
}

.red {
  color: #ED293E;
}

.error-message {
  display: none;
  margin-top: 8px;
}

.error .form-control,
.error .filter-control .filter-bg {
  border-color: #ED293E;
}

.error .error-message {
  display: block;
}

.modal {
  transition: none;
}

.modal-filter.in {
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: none;
}

.modal-open .modal {
  padding-right: 0 !important;
}

.modal-custom .modal-dialog {
  width: fit-content;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .modal-filter.in {
    align-items: flex-end;
  }

  .modal-custom .modal-dialog {
    width: 100%;
    height: calc(100% - 50px);
  }

  .modal-filter .modal-content {
    height: 100%;
    border-radius: 0 !important;
    width: 100%;
    border: 0;
  }

  .modal-filter .modal-body {
    padding-top: 52px;
  }

  .modal-filter .modal-header {
    margin-top: -52px;
  }
}

.modal-filter .modal-body {
  height: var(--modal-body-height);
  overflow: auto;
}

.modal-filter .modal-body::-webkit-scrollbar {
  display: none;
}

.modal-body-top {
  padding: 16px 0;
}

.modal-alphabet {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px 0;
}

.modal-alphabet.column-10 {
  grid-template-columns: repeat(10, 1fr);
  margin-bottom: 8px;
}

.modal-alphabet .alphabetical-character {
  display: inline-block;
  font-weight: 700;
  color: #B2C2C1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #B2C2C1;
}

.modal-alphabet span.alphabetical-character {
  cursor: default;
}

.modal-alphabet .alphabetical-character.active {
  color: #21D4C8;
  cursor: pointer;
}

.modal-alphabet .alphabetical-character span {
  text-transform: uppercase !important;
}

@media screen and (min-width: 769px) {
  .modal-alphabet .alphabetical-character {
    padding: 5px 0;
  }
}

#modal-brand-list .modal-alphabet .alphabetical-character:nth-child(9n):not(.more) {
  border-right: 0;
}

#modal-fragrancespice-list .modal-alphabet .alphabetical-character:nth-child(10n):not(.more) {
  border-right: 0;
}

.modal-alphabet .more {
  width: 100%;
  border-right: 1px solid #B2C2C1;
}

.modal-more {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.04em;
  color: #B2C2C1;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
}

#modal-fragrancespice-list .modal-more {
  grid-template-columns: repeat(10, 1fr);
}

.modal-more a.active {
  color: #21D4C8;
}

.modal-more a {
  font-weight: 700;
  color: #B2C2C1;
  grid-column: span 2;
  text-align: center;
  border-right: 1px solid #B2C2C1;
}

@media screen and (min-width: 769px) {
  .modal-more a {
    padding: 3px 0;
  }
}

.m-backtotop {
  text-align: right;
  padding: 6px 15px;
}


.m-backtotop button {
  background: none;
  border: 0;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0 5px;
}

.m-backtotop button svg {
  width: 12px;
  transform: rotate(180deg);
}

.modal-custom .modal-content {
  position: relative;
  max-width: 100%;
  width: 480px;
  overflow: auto;
  border-radius: 8px;
}

@media screen and (min-width: 769px) {
  .modal-custom .modal-content {
    max-height: var(--modal-height);
  }
}

.bottom-page-wrap {
  z-index: 0;
}

/* DROPDOWN */

.filter-block-inner .form-control {
  position: relative;
}

.form-dropdown {
  display: none;
  background: #fff;
  max-height: 240px;
  overflow-x: hidden;
  overflow-y: auto;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  padding: 0;
  border-radius: 8px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  height: 0;
}

.success .form-dropdown {
  display: block;
  height: auto;
  padding: 12px;
  margin-top: 10px;
  border: 1px solid #B2C2C1;
}

.filter-loading {
  height: 26px !important;
  width: 26px !important;
  right: 10px;
  left: auto;
  top: 16px;
  margin: 0;
  display: none;
  border-left: 2px solid #B2C2C1;
}

.filter-loading-2 {
  height: 26px !important;
  width: 26px !important;
  right: 10px;
  left: auto;
  top: 16px;
  margin: 0;
  display: none;
  border-left: 2px solid #B2C2C1;
}

/* .show .loading {
display:none;
} */
@media screen and (max-width: 768px) {
  .filter-control {
    padding: 16px 8px;
  }
}

.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}

.filer-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  font-size: 22px;
}

.filer-close:hover {
  color: rgb(74, 234, 220);
}

.filter-price {
  width: 340px;
  max-width: 100%;
}

.error .filter-control .filter-price {
  border: 1px solid #ED293E;
}

@media screen and (max-width: 768px) {
  .filter-price {
    width: 100%;
  }
}

.filter-block-price {
  align-items: center;
}

.filter-price-control {
  border: 0;
  padding: 0 !important;
}

.filter-price-control .filter-price {
  border: 1px solid #eaeaea;
  height: 56px;
  border-radius: 8px;
  padding: 12px 16px;
}

.filter-block-inner .form-control {
  position: relative;
}

.form-dropdown {
  display: none;
  background: #fff;
  height: 200px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: 10px;
  border-radius: 8px;
  border: 1px solid #B2C2C1;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.form-dropdown.show {
  display: block;
}

@media screen and (max-width: 768px) {
  .filter-control {
    padding: 12px 8px;
  }
}

.filter-container .filter-block:nth-last-child(-n+5) {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

.toggle-filter .filter-block:nth-last-child(-n+5) {
  max-height: none;
  opacity: 1;
  visibility: visible;
}

.section-filter-products {
  padding-bottom: 0 !important;
}

.section-filter-products .pagination {
  margin-bottom: 80px;
}

@media screen and (max-width: 768px) {
  .section-filter-products .pagination {
    margin-bottom: 40px;
  }
}

.sort-block {
  display: none;
}

.sort-block.show {
  display: flex !important;
}

.sort-field {
  display: inline-block;
  border: 1px solid #B2C2C1;
  padding: 7px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  min-width: max-content;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  select.sort-field {
    min-width: unset;
    width: 82px;
    background: none;
  }
}

.sort-field.active {
  border: 1px solid #21D4C8;
  background-color: rgb(237, 252, 251);
}

.sort-block select.sort-field {
  font-family: inherit;
  padding: 0px 5px;
  height: 30px;
}

.btn-sort {
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#filter_form {
  background-color: #fff;
}

.section-header-sticky {
  box-shadow: rgb(145 145 145 / 16%) 0px 2px 5px;
  position: sticky;
  overflow: auto;
  transition: top 0.5s ease;
  z-index: 10;
  top: 80px;
  max-height: calc(100vh - 80px - 64px);
}

body.admin-bar .section-header-sticky {
  top: calc(80px + 32px);
  max-height: calc(100vh - 80px - 64px - 32px);
}

@media screen and (max-width: 768px) {
  .section-header-sticky {
    top: 50px;
    max-height: calc(100vh - 50px - 54px);
  }

  body.admin-bar .section-header-sticky {
    top: calc(98px);
    max-height: calc(100vh - 50px - 54px - 32px - 16px);
  }
}

.section-header-hidden {
  top: -100% !important;
}

.padding-bottom-product-filter {
  padding-bottom: 88px;
}

.padding-bottom-product-filter.no-padding {
  padding-bottom: 0;
}

@media screen and (max-width: 768px) {
  .padding-bottom-product-filter {
    padding-bottom: 88px;
  }

  .padding-bottom-product-filter.no-padding {
    padding-bottom: 0;
  }
}

#top-search-result {
  background: #F2F2F2;
  height: 34px;
  border-top: 1px solid #B2C2C1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#top-search-result span {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  letter-spacing: 0.04em;
  text-align: center;
}

.bottom-page-wrap {
  display: none;
}

.mb-24px {
  margin-bottom: 24px
}

#brand-seo-tag h1 {
  font-size: 32px !important;
}

.product-review-detail {
  margin-top: 24px;
  padding: 24px 16px;
}

.product-review-item {
  padding: 24px 16px;
  border: 1px solid #B2C2C1;
  border-radius: 8px;
  font-size: 12px;
  background-color: #f5f5f5;
}

.product-review-item + .product-review-item {
  margin-top: 16px;
}

.product-review-item .review-info {
  justify-content: space-between;
  display: flex;
  gap: 16px;
}

.product-review-item span {
    color: #555B5B;
}

.product-review-item > .review-content {
  margin: 22px 0 0;
  font-size: 13px;
}

.product-review-item > .product-name {
  margin-top: 12px;
  margin-bottom: 0;
  font-weight: 500;
}