@use '../utils/' as *;

/* WooCommerce Css Start */


.strb-settings-option-select .choices[data-type*="select-one"]::after {
    border: 0;
    background-color: transparent;
    transform: translateY(-50%);
    margin-top: 0;
    right: 16px;
    content: '';
    transform-origin: center;
    color: #616266;
    font-weight: 500;
    height: auto;
    width: auto;
    transition: transform .2s ease-in-out;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #777778;
}
.strb-settings-option-select .choices.is-open[data-type*="select-one"]::after {
    transform: translateY(-50%) rotate(-180deg);
}
  .strb-settings-option-select .choices__inner {
    min-width: 180px;
    height: 38px;
    background-color: transparent;
    border: 1.5px solid rgba($color: $black, $alpha: .1);
    border-radius: 4px;
    padding: 0 !important;
    padding-right: 16px !important;
    transition: all .3s ease-in-out;
  }
  .strb-settings-option-select .choices.is-focused .choices__inner {
    background-color: transparent;
    border-color:  rgba($color: $black, $alpha: .1);
  }
  .strb-settings-option-select .choices.is-open .choices__inner {
    background-color: transparent;
    border-color: var(--strb-theme-primary);
  }
  .strb-settings-option-select .choices__item.choices__item--selectable {
    color: #121420;
  }
  .strb-settings-option-select .choices__list--single{
    padding: 0 20px;
    height: 44px;
    line-height: 42px;
  }
  .strb-settings-option-select .choices__list--dropdown, 
  .strb-settings-option-select .choices__list[aria-expanded]{
    transition: all .3s ease-in-out;
    visibility: hidden;
    opacity: 0;
  }

  .strb-settings-option-select .is-active.choices__list--dropdown, 
  .strb-settings-option-select .is-active.choices__list[aria-expanded] {
    visibility: visible;
    opacity: 1;
}

  .strb-settings-option-select .is-flipped.is-open .choices__inner {
    border-radius: 8px;
}

.strb-settings-option-select .choices__list--dropdown, 
.is-flipped .choices__list[aria-expanded],
.strb-settings-option-select .choices__list[aria-expanded] {
    background-color: var(--strb-common-white);
    border: 1.5px solid rgba($color: $black, $alpha: .1);
    border-radius: 8px;
    min-width: 100%;
}

.strb-settings-option-select .choices__list--dropdown .choices__item, .choices__list[aria-expanded] .choices__item{
    padding: 0;
    padding-left: 16px;
    padding-bottom: 3px;
    color: #777778;
}

.strb-settings-option-select .choices[data-type*="select-one"] .choices__input{
     display: none;
}
.strb-settings-option-select .choices__item.choices__item--choice.is-selected{
    color: #3C42E0;
}
.strb-settings-option-select .choices__item.choices__item--choice:hover{
    color: #3C42E0;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted::after, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted::after, .choices__placeholder {
	opacity: 1;
}