/*
Theme Name:   hjemlo
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/

.cart_totals .woocommerce-shipping-methods li,
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li {
  flex-wrap: wrap;
}


.cart_totals .woocommerce-shipping-methods li label,
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li label {

}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li .local-pickup-description {
  width: 100%;
  line-height: 1.5;
  font-size: 0.875rem;
  margin-top: -0.25rem;
}


.wc-block-components-address-form .wc-block-components-address-form__country {
  order: 1;
}

.wc-block-components-address-form .wc-block-components-address-form__first_name {
  order: 2;
}

.wc-block-components-address-form .wc-block-components-address-form__last_name {
  order: 3;
}

.wc-block-components-address-form .wc-block-components-address-form__company {
  order: 4;
}

.wc-block-components-address-form .wc-block-components-address-form__address_1 {
  order: 6;
}

.wc-block-components-address-form .wc-block-components-address-form__address_2-toggle {
  order: 7;
}

.wc-block-components-address-form .wc-block-components-address-form__address_2 {
  order: 7;
}

.wc-block-components-address-form .wc-block-components-address-form__postcode {
  order: 8;
}

.wc-block-components-address-form .wc-block-components-address-form__city {
  order: 9;
}

.wc-block-components-address-form .wc-block-components-address-form__phone {
  order: 10;
}

.wc-block-components-address-form .wc-block-components-address-form__ihumbak-billing-vat {
  order: 5;
}

#shipping.wc-block-components-address-form .wc-block-components-address-form__ihumbak-billing-vat {
  display: none;
}

/* === Opis kategorii pod listą produktów === */
.term-description {
  margin-top: 50px;
  padding: 40px 0 10px;
  border-top: 1px solid #ececec;
  max-width: 900px;
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.75;
}

.term-description p {
  margin: 0 0 18px;
}

/* Pierwszy akapit – lekko wyróżniony jako "lead" */
.term-description > p:first-of-type {
  font-size: 16.5px;
  color: #2c2c2c;
}

/* Podnagłówki h4 */
.term-description h4 {
  margin: 32px 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.2px;
  position: relative;
  padding-left: 14px;
}

.term-description h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: #2c7a4b; /* dopasuj do koloru akcentu sklepu */
  border-radius: 2px;
}

/* Lista linków "Se også" – siatka pigułek zamiast bulletów */
.term-description .desc-links ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.term-description .desc-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.term-description .desc-links li::before {
  content: none; /* usuwa ewentualne dziedziczone bullety */
}

.term-description .desc-links a {
  display: block;
  padding: 12px 16px;
  background: #f6f7f5;
  border: 1px solid #ececec;
  border-radius: 8px;
  color: #2c2c2c;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.term-description .desc-links a:hover {
  background: #fff;
  border-color: #2c7a4b;
  color: #2c7a4b;
  transform: translateY(-1px);
}

/* Zdanie zamykające */
.term-description .desc-end {
  margin-top: 28px;
  padding: 16px 20px;
  background: #fafafa;
  border-left: 3px solid #2c7a4b;
  border-radius: 4px;
  font-style: italic;
  color: #444;
}

/* Mobile */
@media (max-width: 600px) {
  .term-description {
    margin-top: 30px;
    padding-top: 28px;
    font-size: 14.5px;
  }
  .term-description .desc-links ul {
    grid-template-columns: 1fr;
  }
}
