/* ================================
   stylizacja wysyłki w #shipping-option
   ================================ */

/* reset dziwnych efektów Woo */
#shipping-option .wc-block-components-radio-control--highlight-checked:after {
  content: none !important;
  border: none !important;
}

#shipping-option .wc-block-components-shipping-rates-control__package
.wc-block-components-radio-control {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
}

#shipping-option .wc-block-components-radio-control__option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
}

#shipping-option .wc-block-components-radio-control__option:hover {
  border-color: rgba(232,188,161,0.6);
  background: #fefbf8;
}

#shipping-option .wc-block-components-radio-control__option-checked,
#shipping-option .wc-block-components-radio-control__option--checked-option-highlighted {
  border-color: rgb(232,188,161) !important;
  box-shadow: none;
  background-color: #fdfbf9;
}

/* ukryj input */
#shipping-option .wc-block-components-radio-control__input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none;
}


#shipping-option .method-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* teksty */
#shipping-option .wc-block-components-radio-control__label {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

#shipping-option .wc-block-components-radio-control__secondary-label {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

#shipping-option .wc-block-components-radio-control__label-group {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: auto;
}

#shipping-option .wc-block-components-radio-control__label {
  flex: 0 1 auto;
}

/* usuń duplikat BEZPŁATNIE */
#shipping-option .wc-block-components-radio-control__option .wc-block-checkout__shipping-option--free::after {
  display: none !important;
}

/* animacja przy wyborze */
#shipping-option .wc-block-components-radio-control__option-checked::before {
  transform: scale(1.08);
  transition: transform 0.25s ease;
}

/* --- przycisk pod kafelkiem "Dostawa do punktu" --- */
#shipping-option #apaczka_mp_geowidget_show_map {
  display: block;
  width: 240px; /* szerzej, wygląda proporcjonalnie */
  margin: 20px auto 0; /* automatyczne wyśrodkowanie względem kafelka */
  background-color: rgb(232,188,161);
  color: #fff !important;
  font-weight: 600;
  font-size: 15.5px;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  box-shadow: none !important;
  text-align: center;
  transition: background-color .2s ease, transform .1s ease;
}

#shipping-option #apaczka_mp_geowidget_show_map:hover {
  background-color: rgb(214,162,133);
  transform: translateY(-1px);
}

#shipping-option .wc-block-components-radio-control__secondary-label {
  background: transparent;
  color: #ECC3B2 !important;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  width: auto;
  display: inline-block;
  margin-left: auto;
  white-space: nowrap;
}

#shipping-option .wc-block-components-radio-control__secondary-label {
  flex-shrink: 0;
}
