:root {
	--wd-text-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(45,45,45);
	--wd-text-font-size: 16px;
	--wd-title-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: rgb(45,45,45);
	--wd-entities-title-color-hover: rgb(0, 0, 0);
	--wd-alternative-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 18px;
	--wd-header-el-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,0,0);
	--wd-alternative-color: rgb(255,255,255);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: "Montserrat", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 500;
	--btn-accented-bgcolor: rgb(0,0,0);
	--btn-accented-bgcolor-hover: rgba(0,0,0,0.61);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 110px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://craftbar.shop/wp-content/uploads/2023/09/0_2.jpeg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 600;
}
.wd .product-label.onsale {
	background-color: rgb(221,0,0);
}
.wd .product-label.featured {
	background-color: rgb(102,0,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 890px;
}

@media (max-width: 1024px) {
	:root {
		--wd-text-font-size: 14px;
	--wd-widget-title-font-size: 17px;
	--wd-header-el-font-size: 14px;
	--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-text-font-size: 14px;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font-size: 14px;
	--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 30px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
--wd-cat-brd-radius: 5px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* =====================================================
   STICKY ADD TO CART — CLEAN
   ===================================================== */


/* Usuń zbędne widgety */

.wd-sticky-btn-cart .stock,
.wd-sticky-btn-cart .payu-mini-installments-widget,
.wd-sticky-btn-cart [class*="izi"],
.wd-sticky-btn-cart [class*="woobt"],
.wd-sticky-btn-cart .wd-wishlist-btn {
  display: none !important;
}


/* =====================================================
   STICKY ADD TO CART — LAYOUT
   ===================================================== */

.wd-sticky-btn-container {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 12px;
  min-height: auto;
}


/* Blok produktu nie może się rozpychać */

.wd-sticky-btn-content {
  flex: 0 0 auto !important;
  width: auto !important;
}

.wd-sticky-btn-content * {
  flex: 0 0 auto !important;
}


/* Koszyk tuż obok */

.wd-sticky-btn-cart {
  flex: 0 0 auto !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.wd-sticky-btn-cart > * {
  margin: 0 !important;
}


/* =====================================================
   STICKY ADD TO CART — FORM
   ===================================================== */

.wd-sticky-btn-cart form.cart {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.wd-sticky-btn-cart .price {
  margin-right: 6px;
  white-space: nowrap;
}

.wd-sticky-btn-cart .single_add_to_cart_button {
  padding: 8px 16px;
  font-size: 14px;
}


/* =====================================================
   STICKY ADD TO CART — WYSOKOŚĆ PASKA
   ===================================================== */

.wd-sticky-btn {
  padding: 6px 0;
}


/* =====================================================
   STICKY ADD TO CART — MOBILE
   ===================================================== */

@media (max-width: 768px) {

  .wd-sticky-btn-container {
    gap: 6px;
  }

  .wd-sticky-btn-cart {
    gap: 6px;
  }

  .wd-sticky-btn-cart .quantity {
    display: none;
  }

  .wd-sticky-btn-cart .price {
    font-size: 15px;
    font-weight: 700;
  }

  .wd-sticky-btn-cart .single_add_to_cart_button {
    padding: 9px 14px;
    font-size: 13px;
  }

}


/* =====================================================
   WPC BOUGHT TOGETHER — UKRYJ DOPISEK VAT
   ===================================================== */

.woobt-products .woocommerce-price-suffix {
  display: none !important;
}


/* =====================================================
   WPC BOUGHT TOGETHER — DESKTOP
   Checkbox | nazwa + cena | ilość
   ===================================================== */

@media (min-width: 769px) {

  .woobt-products .woobt-product {
    display: grid !important;

    grid-template-columns:
      26px
      minmax(0, 1fr)
      auto !important;

    grid-template-rows:
      auto
      auto !important;

    align-items: center !important;

    column-gap: 10px !important;
    row-gap: 6px !important;

    width: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 12px 0 !important;

    text-align: left !important;
  }


  /* Checkbox */

  .woobt-products .woobt-product .woobt-choose {
    grid-column: 1 !important;
    grid-row: 1 !important;

    justify-self: start !important;
    align-self: center !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* Nazwa produktu */

  .woobt-products .woobt-product .woobt-title {
    grid-column: 2 !important;
    grid-row: 1 !important;

    justify-self: start !important;
    align-self: center !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
  }

  .woobt-products .woobt-product .woobt-title,
  .woobt-products .woobt-product .woobt-title a,
  .woobt-products .woobt-product .woobt-title span {
    text-align: left !important;
  }


  /* Cena */

  .woobt-products .woobt-product .woobt-price {
    display: inline !important;

    margin-left: 7px !important;
    padding: 0 !important;

    white-space: nowrap !important;

    text-align: left !important;
    font-weight: 700 !important;
  }

  .woobt-products .woobt-product .woobt-price .amount {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
  }


  /* Ilość po prawej */

  .woobt-products .woobt-product .woobt-quantity {
    grid-column: 3 !important;
    grid-row: 1 !important;

    justify-self: end !important;
    align-self: center !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .woobt-products .woobt-product .woobt-quantity .quantity {
    margin: 0 !important;
  }


  /* Wariant pod nazwą produktu */

  .woobt-products .woobt-product .woobt-variations,
  .woobt-products .woobt-product .woobt-variation,
  .woobt-products .woobt-product .variations,
  .woobt-products .woobt-product .variations_form {
    grid-column: 2 !important;
    grid-row: 2 !important;

    justify-self: stretch !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
  }

  .woobt-products .woobt-product select {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    text-align: left !important;
  }

}


/* =====================================================
   WPC BOUGHT TOGETHER — MOBILE
   Checkbox | nazwa + cena | ilość
   ===================================================== */

@media (max-width: 768px) {

  .woobt-products .woobt-product {
    display: grid !important;

    grid-template-columns:
      28px
      minmax(0, 1fr)
      auto !important;

    grid-template-rows:
      auto
      auto !important;

    align-items: center !important;

    column-gap: 8px !important;
    row-gap: 5px !important;

    width: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 12px 0 !important;

    text-align: left !important;
  }


  /* Checkbox */

  .woobt-products .woobt-product .woobt-choose {
    grid-column: 1 !important;
    grid-row: 1 !important;

    justify-self: start !important;
    align-self: center !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* Nazwa produktu */

  .woobt-products .woobt-product .woobt-title {
    grid-column: 2 !important;
    grid-row: 1 !important;

    justify-self: start !important;
    align-self: center !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 14px !important;
    line-height: 1.3 !important;

    text-align: left !important;
  }

  .woobt-products .woobt-product .woobt-title,
  .woobt-products .woobt-product .woobt-title a,
  .woobt-products .woobt-product .woobt-title span {
    text-align: left !important;
  }


  /* Cena */

  .woobt-products .woobt-product .woobt-price {
    display: inline-block !important;

    margin-left: 8px !important;
    padding: 0 !important;

    white-space: nowrap !important;

    text-align: left !important;

    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  .woobt-products .woobt-product .woobt-price .amount {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
  }


  /* Ilość po prawej */

  .woobt-products .woobt-product .woobt-quantity {
    grid-column: 3 !important;
    grid-row: 1 !important;

    justify-self: end !important;
    align-self: center !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* =====================================================
     MOBILE — LEKKI SELEKTOR ILOŚCI
     ===================================================== */

  .woobt-products .woobt-product .woobt-quantity .quantity {
    display: flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }


  /* Minus i plus */

  .woobt-products .woobt-product .woobt-quantity .quantity button,
  .woobt-products .woobt-product .woobt-quantity .quantity .minus,
  .woobt-products .woobt-product .woobt-quantity .quantity .plus {
    width: 32px !important;
    min-width: 32px !important;
    height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;

    font-size: 17px !important;
    line-height: 38px !important;

    text-align: center !important;
  }


  /* Pole z liczbą */

  .woobt-products .woobt-product .woobt-quantity .quantity input.qty {
    width: 26px !important;
    min-width: 26px !important;
    height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;

    font-size: 14px !important;
    line-height: 38px !important;

    text-align: center !important;
  }


  /* Wariant produktu pod nazwą */

  .woobt-products .woobt-product .woobt-variations,
  .woobt-products .woobt-product .woobt-variation,
  .woobt-products .woobt-product .variations,
  .woobt-products .woobt-product .variations_form {
    grid-column: 2 / 4 !important;
    grid-row: 2 !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
  }

  .woobt-products .woobt-product select {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    font-size: 14px !important;
    text-align: left !important;
  }

}


/* ==================================================
   CRAFT BAR – CHECKOUT
   Płatności, przesyłka i podsumowanie produktów
   ================================================== */


/* ==================================================
   1. PŁATNOŚCI
   ================================================== */

.woocommerce-checkout #payment {
    --cb-color: #8b0000;
    --cb-border: #dedede;
    --cb-selected-bg: #fffafa;
    --cb-radius: 8px;

    background: transparent !important;
}

/* Nagłówek */
.woocommerce-checkout #payment::before {
    content: "Płatność";
    display: block;
    margin: 0 0 12px;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/* Lista */
.woocommerce-checkout #payment ul.payment_methods {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Kafelek płatności */
.woocommerce-checkout #payment ul.payment_methods > li {
    position: relative;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--cb-border) !important;
    border-radius: var(--cb-radius) !important;
    background: #fff !important;
    list-style: none !important;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.woocommerce-checkout #payment ul.payment_methods > li:hover {
    border-color: #bdbdbd !important;
}

/* Wybrana metoda */
.woocommerce-checkout
#payment
ul.payment_methods > li:has(> input[type="radio"]:checked) {
    border-color: var(--cb-color) !important;
    background: var(--cb-selected-bg) !important;
    box-shadow: 0 0 0 1px var(--cb-color);
}

/* Ukrycie domyślnego radio */
.woocommerce-checkout
#payment
ul.payment_methods > li > input[type="radio"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
}

/* Treść kafelka */
.woocommerce-checkout
#payment
ul.payment_methods > li > label {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 60px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 12px 16px 12px 48px !important;
    color: #222 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    cursor: pointer;
}

/* Własne radio */
.woocommerce-checkout
#payment
ul.payment_methods > li > label::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border: 2px solid #cbd1d8;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%);
}

.woocommerce-checkout
#payment
ul.payment_methods > li >
input[type="radio"]:checked + label::before {
    border: 5px solid var(--cb-color);
}

/* Logotypy operatorów */
.woocommerce-checkout
#payment
ul.payment_methods > li > label img {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 58px !important;
    max-height: 26px !important;
    margin: 0 !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}

/* Wrappery logo, m.in. Tpay */
.woocommerce-checkout
#payment
ul.payment_methods > li > label span {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    margin: 0 !important;
}

/* Opis wybranej metody */
.woocommerce-checkout #payment .payment_box {
    margin: 0 !important;
    padding: 14px 16px !important;
    border-top: 1px solid #ececec !important;
    border-radius: 0 0 var(--cb-radius) var(--cb-radius) !important;
    background: #f7f7f7 !important;
    color: #555 !important;
    font-size: 13px !important;
}

/* Usunięcie strzałki nad opisem */
.woocommerce-checkout #payment .payment_box::before {
    display: none !important;
}


/* ==================================================
   2. PRZESYŁKA
   ================================================== */

.woocommerce-checkout-review-order-table
tr.woocommerce-shipping-totals.shipping {
    --cb-color: #8b0000;
    --cb-border: #dedede;
    --cb-selected-bg: #fffafa;
    --cb-radius: 8px;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px 0 !important;
}

/* Nagłówek */
.woocommerce-checkout-review-order-table
tr.woocommerce-shipping-totals.shipping > th {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 0 12px !important;
    border: 0 !important;
    color: #222 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

/* Kontener metod */
.woocommerce-checkout-review-order-table
tr.woocommerce-shipping-totals.shipping > td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
}

/* Usunięcie dodatkowego nagłówka mobilnego */
.woocommerce-checkout-review-order-table
tr.woocommerce-shipping-totals.shipping > td::before {
    display: none !important;
    content: none !important;
}

/* Lista metod */
.woocommerce-checkout-review-order-table #shipping_method {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Puste elementy */
.woocommerce-checkout-review-order-table
#shipping_method > li:empty {
    display: none !important;
}

/* Kafelek przesyłki */
.woocommerce-checkout-review-order-table
#shipping_method > li {
    position: relative;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 60px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 1px solid var(--cb-border) !important;
    border-radius: var(--cb-radius) !important;
    background: #fff !important;
    list-style: none !important;
    text-align: left !important;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.woocommerce-checkout-review-order-table
#shipping_method > li:hover {
    border-color: #bdbdbd !important;
}

/* Wybrana metoda */
.woocommerce-checkout-review-order-table
#shipping_method > li:has(> input[type="radio"]:checked) {
    border-color: var(--cb-color) !important;
    background: var(--cb-selected-bg) !important;
    box-shadow: 0 0 0 1px var(--cb-color);
}

/* Radio */
.woocommerce-checkout-review-order-table
#shipping_method > li > input[type="radio"] {
    position: static !important;
    grid-column: 1 !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    accent-color: var(--cb-color);
}

/* Nazwa i cena */
.woocommerce-checkout-review-order-table
#shipping_method > li > label {
    grid-column: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #222 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    cursor: pointer;
}

/* Cena */
.woocommerce-checkout-review-order-table
#shipping_method .woocommerce-Price-amount {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-align: right !important;
}

/* Logo dodawane jako osobny element */
.woocommerce-checkout-review-order-table
#shipping_method > li > img {
    display: none !important;
}

/* Logo znajdujące się w etykiecie */
.woocommerce-checkout-review-order-table
#shipping_method > li > label img {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 50px !important;
    max-height: 25px !important;
    margin: 0 8px 0 0 !important;
    object-fit: contain !important;
}

/* Przycisk wyboru punktu */
.woocommerce-checkout-review-order-table
.woocommerce-shipping-totals button,
.woocommerce-checkout-review-order-table
.woocommerce-shipping-totals .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 14px 0 0 !important;
    float: none !important;
}

/* Informacja o punkcie odbioru */
.woocommerce-checkout-review-order-table
.woocommerce-shipping-totals td > p {
    margin: 10px 0 0 !important;
    text-align: left !important;
}

/* Usunięcie pustej przestrzeni w metodzie pobraniowej */
.woocommerce-checkout-review-order-table
#shipping_method > li:nth-child(5) > br,
.woocommerce-checkout-review-order-table
#shipping_method > li:nth-child(5) > p:empty,
.woocommerce-checkout-review-order-table
#shipping_method > li:nth-child(5) > div:empty {
    display: none !important;
}

.woocommerce-checkout-review-order-table
#shipping_method > li:nth-child(5) {
    height: auto !important;
    min-height: 60px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}


/* ==================================================
   3. PRODUKT W PODSUMOWANIU
   ================================================== */

/* Główny kontener produktu */
.woocommerce-checkout-review-order-table
.wd-checkout-prod {
    align-items: flex-start !important;
}

/* Zdjęcie */
.woocommerce-checkout-review-order-table
.wd-checkout-prod-img {
    align-self: flex-start !important;
}

/* Treść i cena */
.woocommerce-checkout-review-order-table
.wd-checkout-prod-cont {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    column-gap: 20px !important;
    row-gap: 10px !important;
}

/* Nazwa, edycja, dostawa i ilość */
.woocommerce-checkout-review-order-table
.wd-checkout-prod-title {
    grid-column: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Cena */
.woocommerce-checkout-review-order-table
.wd-checkout-prod-total {
    grid-column: 2 !important;
    align-self: start !important;
    margin: 0 !important;
    padding-top: 0 !important;
    white-space: nowrap !important;
    text-align: right !important;
}


/* ==================================================
   4. DESKTOP
   ================================================== */

@media (min-width: 768px) {

    /* Normalna wysokość InPost Paczkomat Pobranie */
    .woocommerce-checkout-review-order-table
    #shipping_method > li:nth-child(5) {
        max-height: 60px !important;
        overflow: hidden !important;
    }
}


/* ==================================================
   5. MOBILE
   ================================================== */

@media (max-width: 767px) {

    /* Nagłówki */
    .woocommerce-checkout #payment::before,
    .woocommerce-checkout-review-order-table
    tr.woocommerce-shipping-totals.shipping > th {
        font-size: 17px !important;
    }

    /* ------------------------------
       Płatności mobile
       ------------------------------ */

    .woocommerce-checkout #payment ul.payment_methods {
        gap: 8px !important;
    }

    .woocommerce-checkout
    #payment
    ul.payment_methods > li > label {
        min-height: 56px !important;
        padding: 11px 12px 11px 46px !important;
        gap: 10px !important;
        font-size: 14px !important;
        white-space: normal !important;
    }

    .woocommerce-checkout
    #payment
    ul.payment_methods > li > label::before {
        left: 14px !important;
    }

    .woocommerce-checkout
    #payment
    ul.payment_methods > li > label img {
        max-width: 50px !important;
        max-height: 24px !important;
    }

    /* ------------------------------
       Przesyłka mobile
       ------------------------------ */

    .woocommerce-checkout-review-order-table
    tr.woocommerce-shipping-totals.shipping {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        padding: 18px 0 !important;
    }

    .woocommerce-checkout-review-order-table
    tr.woocommerce-shipping-totals.shipping > th {
        padding-bottom: 10px !important;
    }

    .woocommerce-checkout-review-order-table
    #shipping_method {
        width: 100% !important;
        gap: 8px !important;
    }

    .woocommerce-checkout-review-order-table
    #shipping_method > li {
        grid-template-columns: 18px minmax(0, 1fr) !important;
        width: 100% !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 11px 13px !important;
        column-gap: 10px !important;
    }

    .woocommerce-checkout-review-order-table
    #shipping_method > li > label {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    .woocommerce-checkout-review-order-table
    #shipping_method .woocommerce-Price-amount {
        flex: 0 0 auto !important;
        margin-left: 8px !important;
        white-space: nowrap !important;
    }

    /* Nieco wyższy kafelek dla długiej nazwy */
    .woocommerce-checkout-review-order-table
    #shipping_method > li:nth-child(5) {
        min-height: 86px !important;
        max-height: 100px !important;
        overflow: hidden !important;
    }

    /* ------------------------------
       Produkt mobile
       ------------------------------ */

    .woocommerce-checkout-review-order-table
    .wd-checkout-prod {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-top: 5px !important;
    }

    /* Przycisk usuwania */
    .woocommerce-checkout-review-order-table
    .wd-checkout-remove-btn-wrap {
        position: absolute !important;
        top: 10px !important;
        left: 0 !important;
        z-index: 2 !important;
        margin: 0 !important;
    }

    /* Zdjęcie na górze */
    .woocommerce-checkout-review-order-table
    .wd-checkout-prod-img {
        order: 1 !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 0 14px !important;
        padding: 0 0 0 28px !important;
        text-align: left !important;
    }

    .woocommerce-checkout-review-order-table
    .wd-checkout-prod-img img {
        display: block !important;
        width: auto !important;
        max-width: 110px !important;
        height: auto !important;
        margin: 0 !important;
    }

    /* Treść pod zdjęciem */
    .woocommerce-checkout-review-order-table
    .wd-checkout-prod-cont {
        order: 2 !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .woocommerce-checkout-review-order-table
    .wd-checkout-prod-title {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* Cena pod treścią */
    .woocommerce-checkout-review-order-table
    .wd-checkout-prod-total {
        display: block !important;
        width: 100% !important;
        margin: 12px 0 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* Ilość */
    .woocommerce-checkout-review-order-table
    .wd-checkout-prod .quantity {
        margin-top: 12px !important;
        margin-bottom: 0 !important;
    }
}

/* =====================================================
   WOODMART — PODSUMOWANIE KOSZYKA
   Nagłówek przesyłki nad metodami, bez miniaturek
   ===================================================== */

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 100% !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping > th,
.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping > td {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping > th {
    padding: 0 0 12px !important;
    border: 0 !important;
    text-align: left !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping > td {
    padding-top: 0 !important;
    text-align: right !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping #shipping_method {
    width: 100% !important;
    max-width: none !important;
    text-align: right !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping #shipping_method > li {
    text-align: right !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
#shipping_method img {
    display: none !important;
}
/* KOSZYK — przesyłka na pełną szerokość, wyrównana do prawej */
.elementor-widget-wd_cart_totals .cart-totals-inner table.shop_table,
.elementor-widget-wd_cart_totals .cart-totals-inner table.shop_table > tbody {
    display: block !important;
    width: 100% !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
table.shop_table > tbody > tr:not(.shipping) {
    display: table !important;
    width: 100% !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.cart-subtotal > th,
.elementor-widget-wd_cart_totals .cart-totals-inner
tr.cart-subtotal > td {
    border-bottom: 0 !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping > th,
.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping > td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: right !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping > th {
    padding: 18px 0 16px !important;
    border: 0 !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping > td {
    padding: 0 0 20px !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
#shipping_method,
.elementor-widget-wd_cart_totals .cart-totals-inner
#shipping_method > li,
.elementor-widget-wd_cart_totals .cart-totals-inner
.woocommerce-shipping-destination,
.elementor-widget-wd_cart_totals .cart-totals-inner
.woocommerce-shipping-calculator {
    text-align: right !important;
}

.elementor-widget-wd_cart_totals .cart-totals-inner
#shipping_method img {
    display: none !important;
}
.elementor-widget-wd_cart_totals .cart-totals-inner
tr.woocommerce-shipping-totals.shipping > th {
    text-align: left !important;
}@media (max-width: 576px) {
	/* =====================================================
   WOODMART SHOP SIDEBAR — MOBILE CLS FIX
   Wstępny stan off-canvas przed załadowaniem pełnego CSS
   ===================================================== */

@media (max-width: 1024px) {

  body.woodmart-archive-shop
  :where(.wd-sidebar-hidden-md-sm)
  > :where(.wd-sidebar.sidebar-container) {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;

    width: min(300px, 80vw);
    max-width: 80vw;
    height: 100vh;

    z-index: 500;
    overflow-y: auto;

    background-color: var(--bgcolor-white, #fff);

    transform: translate3d(-110%, 0, 0);
  }

  /* Gdy WoodMart otworzy sidebar */
  body.woodmart-archive-shop
  :where(.wd-sidebar-hidden-md-sm)
  > :where(.wd-sidebar.sidebar-container.wd-opened) {
    transform: translate3d(0, 0, 0);
  }

}
}

