/* MATU PRINT v111.39.9.73 — povinné volby: jasný placeholder, bez „mrtvého“ košíku */
.m59-shop #product-calculator .field[data-field-kind="select"]{
  position:relative;
  padding:11px 12px 12px;
  border:1px solid transparent;
  border-radius:13px;
  transition:border-color .18s,background .18s,box-shadow .18s;
}
.m59-shop #product-calculator .field[data-field-kind="select"].matu-choice-pending{
  background:linear-gradient(180deg,#faf8ff 0%,#f7f9ff 100%);
  border-color:#8667e8;
  box-shadow:0 0 0 3px rgba(89,100,232,.08);
}
.m59-shop #product-calculator .field[data-field-kind="select"].matu-choice-done{
  background:linear-gradient(180deg,#fbfbff 0%,#fff 100%);
  border-color:#d9d8ef;
}
.m59-shop #product-calculator .field[data-field-kind="select"]>span:first-child{padding-right:94px}
.m59-shop #product-calculator .matu-choice-status{
  position:absolute;
  right:11px;
  top:9px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:23px;
  padding:3px 8px;
  border-radius:999px;
  font-size:9px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
  pointer-events:none;
}
.m59-shop #product-calculator .matu-choice-pending .matu-choice-status{
  background:linear-gradient(105deg,#bd31e4 0%,#874be7 48%,#566eea 100%);
  color:#fff;
  box-shadow:0 3px 10px rgba(90,91,228,.18);
}
.m59-shop #product-calculator .matu-choice-done .matu-choice-status{background:#efeffd;color:#625ee0}

/* Placeholder leží přímo nad textovou částí nativního selectu. Hodnota pod ním zůstává
   technicky beze změny, takže se nerozbíjí kalkulace ani React stav. */
.m59-shop #product-calculator .matu-choice-placeholder{
  position:absolute;
  z-index:3;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:0 11px;
  border-radius:8px 0 0 8px;
  background:#fff;
  color:#665bd9!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:720!important;
  white-space:nowrap;
  text-overflow:ellipsis;
  pointer-events:none;
}
.m59-shop #product-calculator .matu-choice-placeholder[hidden]{display:none!important}

.m59-shop #product-calculator .matu-choice-pending select,
.m59-shop #product-calculator .matu-choice-done select{
  appearance:none;
  -webkit-appearance:none;
  padding-right:38px!important;
  background-image:linear-gradient(45deg,transparent 50%,#626ce9 50%),linear-gradient(135deg,#626ce9 50%,transparent 50%)!important;
  background-position:calc(100% - 17px) 50%,calc(100% - 11px) 50%!important;
  background-size:6px 6px,6px 6px!important;
  background-repeat:no-repeat!important;
}
.m59-shop #product-calculator .matu-choice-pending select{
  border-color:#7365e6!important;
  box-shadow:0 0 0 2px rgba(98,91,229,.10)!important;
  cursor:pointer;
}
.m59-shop #product-calculator .matu-choice-done select{border-color:#cfd4ea!important}
.m59-shop #product-calculator .matu-choice-pending select:focus{
  outline:3px solid rgba(98,91,229,.20);
  outline-offset:2px;
}

/* Tlačítko NENÍ vizuálně deaktivované. Při chybějící volbě zůstává normálně výrazné a
   po kliknutí zákazníka navede k prvnímu poli, které musí potvrdit. */
.m59-shop #product-calculator .add-button.matu-choice-blocked{
  opacity:1!important;
  filter:none!important;
  cursor:pointer!important;
}

.matu-choice-alert{
  grid-column:1/-1;
  margin:0;
  padding:10px 12px;
  border:1px solid #c6c4f1;
  border-radius:10px;
  background:linear-gradient(105deg,#fbf8ff,#f7f8ff);
  color:#6558c9;
  font-size:11px;
  font-weight:700;
  line-height:1.5;
}

@media(max-width:640px){
  .m59-shop #product-calculator .field[data-field-kind="select"]{padding:10px}
  .m59-shop #product-calculator .matu-choice-status{right:9px;top:8px}
  .m59-shop #product-calculator .field[data-field-kind="select"]>span:first-child{padding-right:87px}
}
