/* Shared select treatment for contact, product sizes and project dialogs. */
#carpet-city-home select:not([multiple]) {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 16px 52px 16px 18px;
  border: 1px solid #b4a080;
  border-radius: 2px;
  color: #453a2b;
  background-color: #f3eddf;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23856b45' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 19px center;
  background-size: 14px 8px;
  box-shadow:
    inset 0 1px 0 #fff9ed,
    0 2px 6px #302e2905;
  font:
    400 16px/1.4 Arial,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition:
    border-color 0.25s,
    background-color 0.25s,
    box-shadow 0.25s;
}
#carpet-city-home select:not([multiple]):hover {
  border-color: #8d7049;
  background-color: #eee4d1;
}
#carpet-city-home select:not([multiple]):focus-visible {
  outline: 2px solid #a17b45;
  outline-offset: 3px;
  border-color: #8d7049;
  box-shadow: 0 0 0 4px #bda27a1a;
}
#carpet-city-home select option {
  color: #453a2b;
  background: #f3eddf;
  font:
    16px/1.5 Arial,
    sans-serif;
}
#carpet-city-home select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
/* Progressive enhancement: style the open picker where the browser supports it. */
@supports (appearance: base-select) {
  #carpet-city-home select:not([multiple]),
  #carpet-city-home select:not([multiple])::picker(select) {
    appearance: base-select;
  }
  #carpet-city-home select:not([multiple])::picker-icon {
    display: none;
  }
  #carpet-city-home select:not([multiple])::picker(select) {
    margin-top: 8px;
    padding: 7px;
    border: 1px solid #b4a080;
    border-radius: 3px;
    background: #f5efe3;
    box-shadow: 0 14px 35px #302e2926;
    max-height: 320px;
    overflow: auto;
  }
  #carpet-city-home select option {
    padding: 13px 14px;
    min-height: 46px;
    border-radius: 2px;
    gap: 14px;
  }
  #carpet-city-home select option:hover,
  #carpet-city-home select option:focus {
    background: #e9ddc7;
    color: #45351f;
    outline: none;
  }
  #carpet-city-home select option:checked {
    background: #ded0b5;
    color: #3b3022;
  }
  #carpet-city-home select option::checkmark {
    color: #876736;
  }
}
