/* Front (DM-706): wygląd z motywu (klasy ap5-*), tu tylko to, czego AP5 nie miał. */
.pd-bundle-add-btn[disabled] { opacity: .5; cursor: not-allowed; }
.pd-bundle-add .pd-bundle-error { margin-top: 10px; }

/* Wybór kombinacji składnika na karcie zestawu (DM-3120): etykieta nad listą, lista jak wybór wariantu na karcie produktu
   (motyw: .product-variants select), na całą szerokość kolumny, więc listy wszystkich składników są równe. */
#ap5-product-list .pd-bundle-variant-wrap { margin-top: 10px; }
#ap5-product-list .pd-bundle-variant-label {
  display: block;
  margin: 0 0 4px;
  color: var(--mr_color__primary);
  font-weight: var(--mr_fontweight__medium);
  line-height: 1.25;
  text-align: left;
}
#ap5-product-list .pd-bundle-variant {
  display: block;
  width: 100%;
  min-width: 0;
  height: 41px;
  padding: 0 40px 0 20px;
  font-size: var(--mr_fontsize__small);
  line-height: 39px;
  color: var(--mr_color__primary);
  text-overflow: ellipsis;
  border-radius: 200px;
  -webkit-appearance: none;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg width='11' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 8.635a.768.768 0 0 1-.545-.225L.225 3.68a.77.77 0 1 1 1.09-1.09L5.5 6.776 9.685 2.59a.77.77 0 0 1 1.09 1.089l-4.73 4.73a.768.768 0 0 1-.545.225z' fill='%2301A3C9'/%3E%3C/svg%3E") no-repeat right 18px center / 11px 11px;
  cursor: pointer;
}
#ap5-product-list .pd-bundle-variant:focus { border-color: var(--mr_color__primary); box-shadow: none; }
@media (max-width: 767px) {
  #ap5-product-list .pd-bundle-variant { padding: 0 30px 0 14px; background-position: right 12px center; }
}

/* Pole ilości jak #quantity_wanted w motywie (style motywu celują w to id). */
.product-quantity #pd_bundle_qty {
  border: 1px solid var(--mr_color__sweetblue);
  border-radius: 200px;
  line-height: 1.25;
  font-size: var(--mr_fontsize__small);
  font-weight: var(--mr_fontweight__medium);
  text-align: center;
  width: 100%;
  max-width: 134px;
  padding: 16.5px 35px;
  margin: 0;
  z-index: 1;
  height: 41px;
  color: #273370;
  background-color: #fff;
}
@media (min-width: 768px) {
  .product-quantity #pd_bundle_qty { max-width: 184px; }
}
