.height-variants {
  margin-top: 10px;
  margin-bottom: 10px;
/*  margin: 25px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee; */
}

.height-box {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  margin: 5px;
  text-decoration: none;
  color: #333;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.height-box:hover {
  background: #e9f2ec;
  border-color: #2f5d3a;
}

.height-box.active {
  border-color: #2f5d3a;
  background: #2f5d3a;
  color: #fff;
  transform: scale(0.95);
}
.reset_variations {
  visibility: collapse!important;
  display: none!important;
}
/*
/* ukryj cenę w Divi tylko jeśli jest formularz wariantów */
.single-product.product-type-variable .et_pb_wc_price {
  display: none !important;
}

/* ukryj cenę nad przyciskiem koszyka */
.single_variation_wrap .woocommerce-variation-price {
  display: none !important;
}

/* zmniejszenie odstępu tabeli wariantów */
.woocommerce div.product form.cart .variations {
  margin-bottom: 5px !important;
}

/* usuń padding w komórkach */
.woocommerce div.product form.cart .variations td {
  padding: 4px 0 !important;
}

/* usuń przestrzeń pod swatchami */
.woo-variation-swatches .variable-items-wrapper {
  margin-bottom: 0 !important;
}

/* usuń dodatkowy odstęp wrappera */
td.value.woo-variation-items-wrapper {
  padding-bottom: 0 !important;
}
/* 🔹 produkt wariantowy – linia nad przyciskiem */
.single-product .single_variation_wrap {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e5e5e5;
}

/* 🔹 produkt prosty – linia nad koszykiem */
.single-product form.cart:not(.variations_form) {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e5e5e5;
}
.height-box.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
/* ❌ usuń tooltip (chmurkę) */
.woo-variation-swatches .variable-item::before,
.woo-variation-swatches .variable-item::after {
    display: none !important;
}
/* dodaj ":" po labelu */
.woocommerce div.product form.cart .variations th.label label::after {
    content: ":";
}

/* 🔹 1 kolumna (usuń sidebar) */
.woocommerce-page #left-area {
    width: 100% !important;
}

.woocommerce-page #sidebar {
    display: none !important;
}

/* 🔹 kontener 70% szerokości */
.woocommerce-page #main-content .container {
    max-width: 70% !important;
    width: 70% !important;
}

/* 🔹 wycentrowanie */
.woocommerce-page #main-content .container {
    margin: 0 auto;
}

/* usuń pionową linię Divi (sidebar separator) */
.woocommerce-page #main-content .container:before {
    display: none !important;
}

/* 🔹 TYLKO sklep (nie homepage!) */
.woocommerce-shop ul.products li.product,
.tax-product_cat ul.products li.product {
    
    /* wygląd karty */
    padding: 10px !important;
    background-color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ececec;
    text-align: center;
}

/* 🔹 hover */
.woocommerce-shop ul.products li.product:hover,
.tax-product_cat ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

/* 🔹 obraz */
.woocommerce-shop ul.products li.product img,
.tax-product_cat ul.products li.product img {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

/* 🔹 tytuł */
.woocommerce-shop ul.products li.product h2,
.tax-product_cat ul.products li.product h2 {
    font-weight: 600;
    font-size: 16px;
    color: #2d2d2d;
    margin: 10px 0 5px;
}

/* 🔹 cena */
.woocommerce-shop ul.products li.product .price,
.tax-product_cat ul.products li.product .price {
    font-size: 18px;
    font-weight: 700;
    color: #1f3d2b;
}

/* 🔹 usuń przycisk */
.woocommerce-shop ul.products li.product .button,
.tax-product_cat ul.products li.product .button {
    display: none !important;
}

/* 🔹 wrapper (góra sklepu) */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin: 0;
}

/* 🔹 ustawienie w jednej linii */
.woocommerce .woocommerce-result-count {
    float: left;
    font-size: 14px;
    color: #666;
    line-height: 40px;
}

.woocommerce .woocommerce-ordering {
    float: right;
}

/* 🔹 czyszczenie floatów */
.woocommerce .woocommerce-ordering::after,
.woocommerce .woocommerce-result-count::after {
    content: "";
    display: block;
    clear: both;
}

/* 🔹 SELECT (sortowanie) */
.woocommerce .woocommerce-ordering select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* 🔹 hover */
.woocommerce .woocommerce-ordering select:hover {
    border-color: #2f5d3a;
}

/* 🔹 focus */
.woocommerce .woocommerce-ordering select:focus {
    outline: none;
    border-color: #2f5d3a;
    box-shadow: 0 0 0 2px rgba(47,93,58,0.15);
}

/* 🔹 odstęp od nagłówka */
.woocommerce .woocommerce-result-count {
    margin-bottom: 20px;
}

.woocommerce .woocommerce-ordering {
    margin-bottom: 20px;
}

/* 🔹 responsywność */
@media (max-width: 768px) {
    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        float: none;
        text-align: center;
        display: block;
    }

    .woocommerce .woocommerce-ordering {
        margin-top: 10px;
    }
}

/* 🔹 PAGINACJA – wrapper */
.woocommerce nav.woocommerce-pagination {
    text-align: center;
    margin: 40px 0;
}

/* 🔹 lista */
.woocommerce nav.woocommerce-pagination ul {
    border: none;
    display: inline-flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}

/* 🔹 usuń default Woo */
.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

/* 🔹 przyciski */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* 🔹 hover */
.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: #2f5d3a;
    color: #2f5d3a;
}

/* 🔹 aktywna strona */
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #2f5d3a;
    color: #fff;
    border-color: #2f5d3a;
}

/* 🔹 poprzednia / następna */
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
    font-weight: 500;
}

body.woocommerce-cart #content-area {
    min-height: calc(100vh - 220px);
}
/* 🔹 LINKI (nazwy produktów) */
.wc-block-components-product-name {
    color: #2f5d3a !important;
    font-weight: 600;
    font-size: 16px;
}

.wc-block-components-product-name:hover {
    color: #1f3d2b !important;
}

/* 🔹 INPUTY */
.wc-block-components-text-input input,
.wc-block-components-select select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* 🔹 FOCUS */
.wc-block-components-text-input input:focus,
.wc-block-components-select select:focus {
    border-color: #2f5d3a;
    box-shadow: 0 0 0 2px rgba(47,93,58,0.15);
    outline: none;
}

/* 🔹 LABEL */
.wc-block-components-text-input label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

/* 🔹 RADIO (wysyłka / odbiór) */
.wc-block-components-radio-control__option {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

/* 🔹 ACTIVE RADIO */
.wc-block-components-radio-control__option--checked {
    border-color: #2f5d3a;
    background: rgba(47,93,58,0.05);
}

/* 🔹 HOVER RADIO */
.wc-block-components-radio-control__option:hover {
    border-color: #2f5d3a;
}

/* 🔹 SEKCJE (np. adres, dostawa) */
.wc-block-components-checkout-step {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

/* 🔹 TYTUŁY */
.wc-block-components-checkout-step__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* 🔹 CHECKBOX */
.wc-block-components-checkbox label {
    font-size: 14px;
}

/* 🔹 PRZYCISK "Kupuję i płacę" */
.wc-block-components-checkout-place-order-button {
    background-color: #2f5d3a !important;
    color: #fff !important;
    border-radius: 8px;
    border: none !important;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.25s ease;
}

#additional_info h2 {
    display: none !important;
}

.wc-block-checkout__terms {
    margin-top: 15px;
}

.wc-block-checkout__terms a {
    text-decoration: underline;
    font-weight: 700;
}

.wc-block-checkout__terms + fieldset {
    margin-top: 10px;
}

.wc-block-checkout__terms .wc-block-components-checkbox__label {
    font-size: 15px;
}