/* CSS Document */

body { background: url("../images/bgall.png") center repeat;}

.uk-section-default {
background: url("../images/bgall.png") center repeat;
}

/* Lista WooCommerce — wyglad kart ze starego sklepu NOO Organici.
   Wczytuj po arkuszach motywu. Dotyczy standardowego ul.products > li.product.
   Roboto zostanie uzyte, jezeli jest zaladowane przez motyw.
   CSS nie wymaga NOO, Font Awesome ani zmian w HTML. */
body ul.products {
    --bb-columns: 4;
    --bb-orange: #d56900;
    --bb-orange-hover: #ad5500;
    display: grid;
    grid-template-columns: repeat(var(--bb-columns), minmax(0, 1fr));
    gap: 24px 30px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

body ul.products.columns-1 { --bb-columns: 1; }
body ul.products.columns-2 { --bb-columns: 2; }
body ul.products.columns-3 { --bb-columns: 3; }
body ul.products.columns-4 { --bb-columns: 4; }
body ul.products.columns-5 { --bb-columns: 5; }
body ul.products.columns-6 { --bb-columns: 6; }

/* Stare clearfixy WooCommerce nie moga zajmowac komorek siatki. */
body ul.products::before,
body ul.products::after {
    content: none;
}

body ul.products > li.product {
    position: relative;
    display: flex;
    flex-direction: column;
    float: none;
    clear: none;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #f4eede;
    border-radius: 0;
    box-shadow: none;
    color: #212121;
    font-family: "Roboto", Arial, sans-serif;
    text-align: center;
    list-style: none;
    transition: border-color 180ms ease;
}

body ul.products > li.product:hover,
body ul.products > li.product:focus-within {
    border-color: var(--bb-orange);
}

body ul.products > li.product > a.woocommerce-LoopProduct-link {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    text-decoration: none;
}

body ul.products > li.product a img.attachment-woocommerce_thumbnail {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 5 / 7;
    object-fit: contain;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}

body ul.products > li.product .woocommerce-loop-product__title {
    box-sizing: border-box;
    min-height: 80px;
    margin: 0;
    padding: 15px 8px 0;
    color: #212121;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    transition: color 180ms ease;
}

body ul.products > li.product a:hover .woocommerce-loop-product__title {
    color: var(--bb-orange);
}

body ul.products > li.product .price {
    display: block;
    margin: auto 0 0;
    padding: 10px 8px 15px;
    color: #696969;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0;
    text-transform: none;
}

body ul.products > li.product .price .amount { color: inherit; }
body ul.products > li.product .price bdi { white-space: nowrap; }
body ul.products > li.product .price .woocommerce-Price-currencySymbol { margin-left: 0.2em; }
body ul.products > li.product .price del { opacity: 0.65; font-weight: 400; }
body ul.products > li.product .price ins { background: none; text-decoration: none; }

body ul.products > li.product > a.button,
body ul.products > li.product > a.added_to_cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    height: auto;
    margin: 0;
    padding: 12px 10px;
    background: var(--bb-orange);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
    transition: background-color 180ms ease;
}

/* Ikona niezalezna od czcionek ikon starego motywu. */
body ul.products > li.product > a.add_to_cart_button::before {
    content: "";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 3h3l3 12h11l3-9H7' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='20' r='2'/%3E%3Ccircle cx='18' cy='20' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 3h3l3 12h11l3-9H7' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='20' r='2'/%3E%3Ccircle cx='18' cy='20' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

body ul.products > li.product > a.button:hover,
body ul.products > li.product > a.added_to_cart:hover {
    background: var(--bb-orange-hover);
    color: #fff;
}

body ul.products > li.product > a:focus-visible {
    outline: 3px solid #212121;
    outline-offset: 3px;
    z-index: 2;
}

/* Zachowaj komunikaty i stany AJAX WooCommerce. */
body ul.products > li.product > a.button.loading { padding-right: 32px; }
body ul.products > li.product > a.added_to_cart { border-top: 1px solid #fff; }
body ul.products > li.product .star-rating { align-self: center; margin: 10px auto 0; }

@media (max-width: 959px) {
    body ul.products[class] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
    }
    body ul.products.columns-1 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 479px) {
    body ul.products[class] { gap: 20px 12px; }
    body ul.products > li.product .woocommerce-loop-product__title {
        min-height: 78px;
        padding: 12px 6px 0;
        font-size: 15px;
    }
    body ul.products > li.product > a.button,
    body ul.products > li.product > a.added_to_cart { font-size: 12px; padding: 12px 6px; }
}

@media (max-width: 359px) {
    body ul.products[class] { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    body ul.products > li.product,
    body ul.products > li.product .woocommerce-loop-product__title,
    body ul.products > li.product > a.button,
    body ul.products > li.product > a.added_to_cart { transition: none; }
}



@media (max-width: 960px) {


.woofc-count.woofc-count-top-right {
  bottom: 20px;
  left: 20px;
  top: auto;
  right: auto;
}
}