/* StarzSweets Boutique — 3D Dropdowns v1 */

select:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;

  min-height: 49px;
  max-width: 100%;
  padding: 12px 49px 12px 16px;

  color: #58172a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;

  border: 1px solid #a47a40;
  border-bottom: 3px solid #92652d;
  border-radius: 12px;

  background-color: #fff6e7;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M2 2l7 7 7-7' fill='none' stroke='%23683020' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(180deg,
      #ffffff 0%,
      #fffaf0 34%,
      #f1dfbf 78%,
      #e2c394 100%);

  background-position:
    right 17px center,
    center;

  background-size:
    18px 12px,
    100% 100%;

  background-repeat: no-repeat;

  box-shadow:
    inset 0 2px 1px rgba(255,255,255,.95),
    inset 0 -2px 3px rgba(127,79,31,.13),
    0 4px 0 rgba(104,62,28,.20),
    0 7px 13px rgba(54,21,22,.15);

  text-shadow: 0 1px 0 rgba(255,255,255,.8);

  cursor: pointer;
  transition:
    box-shadow .18s ease,
    transform .18s ease,
    border-color .18s ease;
}

select:not([multiple]):hover {
  border-color: #a47731;
  box-shadow:
    inset 0 2px 1px #fff,
    inset 0 -2px 3px rgba(127,79,31,.13),
    0 5px 0 rgba(104,62,28,.24),
    0 9px 17px rgba(54,21,22,.19);
}

select:not([multiple]):focus-visible {
  outline: 3px solid #e2ae43;
  outline-offset: 3px;
}

select:not([multiple]):active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 4px rgba(80,35,25,.12),
    0 2px 0 rgba(104,62,28,.20);
}

select:not([multiple]):disabled {
  opacity: .55;
  cursor: not-allowed;
}

select option {
  color: #58172a;
  background: #fff8ec;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  select:not([multiple]) {
    transition: none;
  }
}


/* Boutique 3D flavor dropdown sizing */
select.flavor-choice {
  display: block !important;
  width: min(100%, 360px) !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 50px !important;
  padding: 12px 48px 12px 16px !important;
  font-size: 16px !important;
  border-radius: 12px !important;
  background-position: right 17px center, center !important;
  background-size: 18px 12px, 100% 100% !important;
}
