.nav-wrap-thu {
  overflow: hidden;
}
.nav-wrap-thu .flex-control-nav.flex-control-thumbs li {
  width: unset !important;
  flex: unset !important;
}
.nav-wrap-thu .gallery-nav {
  margin-top: 15px;
}

/* Orlen paczka */
.form-checkout form .wp-block-columns>div #shipping_method li label[for=shipping_method_0_flexible_shipping_single26]:before {
background-image:  url(/wp-content/uploads/2025/08/orlen.png);
}

.orlen-btn {
  width: 100%;
}
.orlen-btn button {
  background: #c90032;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  border: none;
  padding: 16px 0;
  width: 100%;
  font-weight: 700;
  cursor: pointer;
}

#shiporlen {
  width: 100%;
  margin-top: 20px;
}

#paczka_w_ruchu_punkt_odbioru_field,
#op-select-from-map {
  display: none !important;
}

.form-checkout form .wp-block-columns > div #shipping_method li label[for=shipping_method_0_flexible_shipping_single9]:before {
  background-image: url(/wp-content/themes/wp-legia/img/dpd-pickup.png);
}

.dpd-btn {
  width: 100%;
}
.dpd-btn button {
  background: #c90032;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  border: none;
  padding: 16px 0;
  width: 100%;
  font-weight: 700;
}

#dpd_pickup_point_id_field, .js--choose-point-dpd {
  display: none !important;
}

#shipdpd {
  width: 100%;
  margin-top: 20px;
}
#shipdpd .dpd-places {
  background: #dcd7e3;
  padding: 10px;
  position: relative;
}
#shipdpd .dpd-places:before {
  content: "";
  display: block;
  border: 1em solid #dcd7e3;
  border-right-color: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
  position: absolute;
  top: -0.75em;
  left: 0;
  margin: -1em 0 0 2em;
}

.banner-before-title {
  padding: 20px 0 5px;
}
.banner-before-title img {
  width: 100%;
  height: auto;
}

.legia-omnibus {
  margin-top: 20px;
  font-size: 14px;
  line-height: 16.1px;
}
@media (min-width: 768px) {
  .legia-omnibus {
    font-size: 14.25px;
    line-height: 16.3875px;
  }
}
@media (min-width: 992px) {
  .legia-omnibus {
    font-size: 14.5px;
    line-height: 16.675px;
  }
}
@media (min-width: 1200px) {
  .legia-omnibus {
    font-size: 14.75px;
    line-height: 16.9625px;
  }
}
@media (min-width: 1550px) {
  .legia-omnibus {
    font-size: 15px;
    line-height: 17.25px;
  }
}
.legia-omnibus img {
  width: 40px;
  filter: invert(1);
  opacity: 0.8;
}

body.single-product .entry-summary p.price {
  position: relative;
}
body.single-product .entry-summary p.price.loaded * {
  position: relative;
  transform: unset;
}
body.single-product .entry-summary p.price.loaded:after {
  display: none;
}
body.single-product .entry-summary p.price:after {
  content: "";
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  min-height: 80px;
  max-height: 80px;
  background-image: url("../img/spinner.gif");
  position: absolute;
  top: 0;
  left: 0;
  background-position: center;
  background-size: cover;
}
body.single-product .entry-summary p.price * {
  position: absolute;
  transform: translateY(-9000px);
}
body.single-product table.variations th, body.single-product table.variations td {
  padding-bottom: 15px;
}
body.single-product table.variations .reset_variations {
  background: #A9AAAC;
  color: #fff;
  padding: 2px 10px;
  margin-top: 15px;
  transition: all 500ms;
}
body.single-product table.variations .reset_variations:hover {
  background: #09C348;
}

.signs p {
  line-height: 1 !important;
}

.woocommerce-product-gallery__image a {
  display: block;
}

.legia-product-customize .product-data {
  margin-bottom: 0;
}

.page-template-page-personalizacja .legia-product-customize .product-picker .options {
  z-index: 9999;
  max-height: 500px;
  overflow: auto;
}

.woocommerce-billing-fields__field-wrapper .address-field .woocommerce-input-wrapper,
.woocommerce-billing-fields__field-wrapper .address-field .woocommerce-input-wrapper span {
  display: block !important;
}

.archive .product .product-bg, .search .product .product-bg {
  height: 305px;
}