.custom-select-opener,
.custom-select-panel .custom-select-option:first-child {
    display: none;
}

.custom-select-container .custom-select-panel {
    max-height: 300px;
    overflow-y: auto;
    position: initial;
    display: flex;
    justify-content: space-between;
}

.custom-select-panel .custom-select-option {
    width: 50%;
    text-align: center;
    border-right: 1px solid #b2b2b2;
}

.custom-select-panel .custom-select-option:last-of-type {
    border-bottom: unset;
}

.single-product .ak-product__add-to-cart .single_add_to_cart_button.disabled {
    position: relative;
}

.single-product .ak-product__add-to-cart .ak-product__variations_form .single_add_to_cart_button.disabled:after {
    width: 100%;
    height: 100%;
    content: 'proszę wybrać wersję';
    position: absolute;
    background-color: var(--ak-accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

html[lang="en-US"] .single-product .ak-product__add-to-cart .ak-product__variations_form .single_add_to_cart_button.disabled:after {
    content: 'please choose version';
}

html[lang="en-US"] .single-product .outofstock .ak-product__add-to-cart .ak-product__variations_form .single_add_to_cart_button.disabled:after,
.single-product .outofstock .ak-product__add-to-cart .ak-product__variations_form .single_add_to_cart_button.disabled:after {
    content: unset;
}

.filter-items.filter-checkbox {
    flex-wrap: wrap;
    margin-bottom: 0 !important;
}

.filter-items.filter-checkbox input {
    display: none;
}

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item>a:hover,
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item>label>a:hover,
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item>a,
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item>label>a {
    color: #000;
}

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active>a,
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active>label>a {
    color: #000;
    text-decoration: underline;
}

.ak-products__filters-row .ak-filters-popup {
    flex-direction: column !important;
}

.ak-products__filters-row .ak-filters-popup .filter-items {
    height: 0;
    position: inherit !important;
    justify-content: flex-start !important;
}

.ak-products__filters-row .ak-filters-popup .filter-items {
    height: auto;
    margin: 20px 0 !important;

    display: flex;
}

.yith-wcan-filters,
.yith-wcan-filters .yith-wcan-filter,
.yith-wcan-filters .yith-wcan-filter .filter-title {
    margin-bottom: 0 !important;
}

.yith-wcan-filters .yith-wcan-filter .filter-title {
    font-weight: 300;
    cursor: pointer;
    color: #000;
}

.ak-products__filters-row .ak-filters-popup .filter-title {
    font-weight: 400;
}

.ak-products__filters-row .ak-filters-popup .filter-item {
    width: 15%;
}

.ak-products__filters-row .ak-filters-popup :not(:last-of-type) {
    margin-bottom: 20px;
}

.ak-products__filters-row .ak-filters-popup .yith-wcan-reset-filters {
    cursor: pointer;
    text-transform: uppercase;
    padding: 0;
}

/* Menu special colors */

.site-header li:not(.right-col)>.sub-menu li.sale a,
.ak-mobile-menu-popup .menu-item.sale a {
    color: var(--ak-accent-color);
}



/* .site-header li:not(.right-col)>.sub-menu li.quick-shipping a{
    color: #3f7edd;
} */

.site-footer__menu ul {
    justify-content: center;
}


@keyframes productsspiner {

    0%,
    80%,
    100% {
        box-shadow: 0 10px 0 -5px;
    }

    40% {
        box-shadow: 0 10px 0 0;
    }
}

.lmp_rotate,
.lmp_rotate:before,
.lmp_rotate:after {
    border-radius: 50%;
    width: 10px !important;
    height: 10px !important;

    animation-fill-mode: both;

    animation: productsspiner 1.8s infinite ease-in-out !important;
}

.lmp_rotate {
    color: #ea431f;
    font-size: 10px;
    margin: 40px auto;
    position: relative;
    text-indent: -9999em;

    transform: translateZ(0);

    animation-delay: -0.16s !important;
}

.lmp_rotate:before,
.lmp_rotate:after {
    content: "";
    position: absolute;
    top: 0;
}

.lmp_rotate:before {
    left: -20px;
    animation-delay: -0.32s !important;
}

.lmp_rotate:after {
    left: 20px;
}

.woocommerce-pagination {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--ak-header-height);
    padding: 0 var(--ak-main-spacing);
    font-size: 16px;
    border-bottom: 1px solid #b2b2b2;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    width: 100%;

}

.woocommerce-pagination ul.page-numbers li {
    margin: 0 10px;
}

.woocommerce-pagination ul.page-numbers li.previous {
    margin-right: auto;
}

.woocommerce-pagination ul.page-numbers span {
    margin-right: auto;
    margin-left: 0;

}

.woocommerce-pagination ul.page-numbers span,
.woocommerce-pagination ul.page-numbers a {
    text-transform: uppercase;
    border-bottom: 1px solid #fff;

    transition: all .4s ease-in-out;
}

.woocommerce-pagination ul.page-numbers span:hover,
.woocommerce-pagination ul.page-numbers a:hover {
    border-color: #000;
}

.woocommerce-pagination ul.page-numbers span.current {
    border-color: #000;
}

.woocommerce-pagination ul.page-numbers span.inactive {
    opacity: 0;
    visibility: hidden;
    width: 0;
}

.woocommerce-pagination ul.page-numbers li:first-child a,
.woocommerce-pagination ul.page-numbers li:last-child a {
    display: block;
    position: relative;
}

.woocommerce-pagination ul.page-numbers li.next {
    margin-left: auto;
    margin-right: 0;
}

.archive.tax-product_cat .ak-page__title-row {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: calc(var(--ak-main-spacing) + 70px);
}

.archive.tax-product_cat .ak-page__title-row p {
    margin-bottom: 0;
}

.blog-page__blog-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.blog-page__blog-items.ak-blog__grid--4-cols .ak-post-item{
    width: 25%;
}

.blog-page__blog-items.ak-blog__grid--2-cols .ak-post-item{
    width: 50%;
}

/* .site-footer__menu .social-media.menu-item-mobile-only{
    display: none;
} */

.site-footer__menu .social-media,
.ak-mobile-menu-popup .social-media.menu-item{
    display: flex;
    gap: 10px;
}

.ak-mobile-menu-popup .social-media.menu-item a,
.site-footer__menu .social-media a{
    width: 30px;
    height: 30px;
}

.site-footer__menu .social-media a img,
.ak-mobile-menu-popup .social-media.menu-item a img{
    width: 100%;
    height: 100%;
}

.site-footer__menu .social-media a img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(282deg) brightness(108%) contrast(105%);
}

.ak-mobile-menu-popup{
    z-index: 21474836311;
}

.site-header li .sub-menu li.right-col .sub-menu li.social-media.facebook,
.site-header li .sub-menu li.right-col .sub-menu li.social-media.instagram{
    position: relative;
}

.site-header li .sub-menu li.right-col .sub-menu li.social-media.facebook:before,
.site-header li .sub-menu li.right-col .sub-menu li.social-media.instagram:before {
    content: '';
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.site-header li .sub-menu li.right-col .sub-menu li.social-media.facebook:before{
    background-image: url('/wp-content/themes/anka-krystyniak/assets/img/new_round_facebook.png');

}

.site-header li .sub-menu li.right-col .sub-menu li.social-media.instagram:before{
    background-image: url('/wp-content/themes/anka-krystyniak/assets/img/new_round_instagram.png');

}

.ak-post-item__description .title{
    font-size: 28px;
}

.ak-post-item__description .read-more-link{
    font-size: 20px;
}

#CybotCookiebotDialog{
    font-family: "Founders Grotesk", apple-system, BlinkMacSystemFont, sans-serif!important;
    border-radius: 0 !important;
}

#CookiebotWidget{
    font-family: "Founders Grotesk", apple-system, BlinkMacSystemFont, sans-serif!important;
}

#CybotCookiebotDialog #CybotCookiebotDialogHeader,
#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-main-logo{
    display: none!important;
}

#CybotCookiebotDialog *{
    font-size: 16px !important;
    letter-spacing: normal;
    line-height: 18px;
    font-weight: 300 !important;
}

#CybotCookiebotDialog #CybotCookiebotDialogBodyContentTitle{
    font-weight: 400 !important;
}

#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogTabContent{
    margin-left: 0!important;
}

#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonSliderWrapper{
    height: 22px!important;
    width: 47px!important;
}

#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonSlider:before{
    width: 14px!important;
    height: 14px!important;
}

#CybotCookiebotDialog.CybotEdge.CybotMultilevel .CybotCookiebotDialogBodyBottomWrapper{
    align-items: center;
}

#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper{
    margin-top: 0!important;
}

#CybotCookiebotDialog input:checked+.CybotCookiebotDialogBodyLevelButtonSlider{
    background-color: #ea431f!important;
}

#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a{
    color: #000!important;
}

#CybotCookiebotDialog.CybotEdge.CybotMultilevel .CybotCookiebotDialogBodyBottomWrapper{
    border-top: 1px solid #D6D6D6!important;
    padding-top: 1em!important;
}

#CybotCookiebotDialog a:hover:after, #CybotCookiebotDialog a:hover:before, #CybotCookiebotDialog button:hover:after, #CybotCookiebotDialog button:hover:before{
    border-color: #ea431f!important;;
}

#CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll{
    background-color: #ea431f!important;
    border-color: #ea431f!important;
    border-radius: 0!important;
    transition: all .4s ease-in-out;
}

#CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll:hover{
    background-color: #000!important;
    border-color: #000!important;
    opacity: 1!important;
}

#CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
#CybotCookiebotDialog #CybotCookiebotDialogBodyButtonDecline{
    background-color: #fff !important;
    border-radius: 0 !important;
    color: #ea431f !important;
    border-color: #ea431f !important;
    transition: all .4s ease-in-out;
}

#CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection:hover,
#CybotCookiebotDialog #CybotCookiebotDialogBodyButtonDecline:hover{
    color: #000 !important;
    border-color: #000 !important;
    opacity: 1!important;

}

#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton{
    width: 200px!important;
    padding: 0.7em 1em;
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane label:not([for=CybotCookiebotDialogBodyLevelButtonNecessary]) .CybotCookiebotDialogBodyLevelButtonDescription:hover,
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover,
#CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a{
    color: #ea431f !important;
}

#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive{
    border-color: transparent!important;
    border-bottom: 1px solid #ea431f!important;
    color: #ea431f!important;
}

#CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentCookieContainerButton, #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentIABv2Tab{
    display: flex!important;
}

#CybotCookiebotDialogTabContent .CybotCookiebotDialogDetailBulkConsentCount{
    background-color: #ea431f!important;
    color: #fff!important;
    width: 20px!important;
    height: 20px!important;
    font-size: 12px !important;

    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#CookiebotWidget .CookiebotWidget-consent-details button{
    color: #ea431f!important;
    font-weight: 300!important;
}

#CookiebotWidget .CookiebotWidget-consent-details button svg,
#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-consents-list li.CookiebotWidget-approved svg{
    fill: #ea431f!important;
}

#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw{
    font-weight: 300!important;
    border-color: #ea431f!important;
    border-radius: 0!important;
}

#CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change{
    font-weight: 300 !important;
    border-color: #ea431f !important;
    border-radius: 0 !important;
    background-color: #ea431f!important;
}

#CookiebotWidget strong{
    font-weight: 300!important;
}

.site-header li:not(.right-col)>.sub-menu{
    height: 130px!important;
}

.site-header__cart-popup .site-cart__product-item .product-item-controls.mobile-controls{
    display: none;
}




/* Rozdzielczość strony Safari i Chrome */
@media (min-width: 1441px) {
    .site-footer__menu ul li:not(:first-of-type) {
        margin-left: 45px;
    }

    .site-header li:not(.right-col)>.sub-menu{
        height: 180px!important;
    }

}



@media (max-width: 576px) {
    .ak-products__filters-row .ak-filters-popup .filter-item {
        width: 100%;
    }

    .single-product .single-product-slider__button-next {
        display: block;
    }

    .single-product .single-product-slider__button-next:after {
        left: 17px;
        width: 80%;
        height: 80%;
    }

    .custom-select-container .custom-select-panel {
        flex-wrap: wrap;
    }

    .custom-select-panel .custom-select-option {
        width: 100%;
    }

    .site-footer__menu ul {
        justify-content: flex-start;
    }

    .woocommerce-pagination ul.page-numbers li.next,
    .woocommerce-pagination ul.page-numbers li.previous,
    .woocommerce-pagination ul.page-numbers span.inactive {
        display: none;
    }

    .woocommerce-pagination ul.page-numbers {
        justify-content: center;
    }

    .archive.tax-product_cat .ak-page__title-row {
        padding-right: var(--ak-main-spacing);
    }


    .blog-page__blog-items.ak-blog__grid--4-cols .ak-post-item,
    .blog-page__blog-items.ak-blog__grid--2-cols .ak-post-item,
    .ak-products__grid--4-cols .ak-product-item,
    .ak-products__grid--2-cols .ak-product-item{
        width: 50%;
    }

    .blog-page__blog-items.ak-blog__grid--4-cols .ak-post-item .title,
    .blog-page__blog-items.ak-blog__grid--2-cols .ak-post-item .title{
        font-size: 20px;
    }

    .blog-page__blog-items.ak-blog__grid--4-cols .ak-post-item .ak-post-item__description,
    .blog-page__blog-items.ak-blog__grid--2-cols .ak-post-item .ak-post-item__description{
        padding: 20px;
    }

    .blog-page__blog-items.ak-blog__grid--4-cols .ak-post-item .title .date-published,
    .blog-page__blog-items.ak-blog__grid--2-cols .ak-post-item .title .date-published{
        font-size: 16px;
    }

    .page-template-template-blog .ak-products__filters-row{
        display: none;
    }

    .site-footer__menu .social-media{
        margin-left: auto!important;
    }

    .ak-post-item__description .read-more-link{
        font-size: 16px;
    }

    #CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton{
        width: 100%!important;
    }

    #CybotCookiebotDialogBodyLevelButtonsSelectPane{
        padding: 0!important;
    }

    #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper{
        padding-top: 0!important;
    }

    #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper:first-child{
        padding-top: 16px!important;
    }

    #CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails{
        justify-content: flex-start!important;
        margin-left: 16px!important;
    }

    .border-bottom2{
        border-bottom: 1px solid #000!important;
    }
    
    .site-header__cart-popup .site-cart__header{
        justify-content: flex-start;
        height: calc(var(--ak-header-height) + 10px);
    }

    .site-header__cart-popup .site-cart__checkout-btn{
        top: 0;
        width: 70%;
        right: 0;
        left: auto;
        height: 80px;
    }

    .site-header__cart-popup .site-cart__product-item .product-item-controls.desktop-controls{
        display: none;
    }
    
    .site-header__cart-popup .site-cart__product-item .product-item-controls.mobile-controls{
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        margin-top: auto;
    }

    .site-header__cart-popup .site-cart__product-item > a{
        display: flex;
        flex-direction: row-reverse;
        gap: 10px;
    }

    .site-header__cart-popup .site-cart__product-item > a img,
    .site-header__cart-popup .site-cart__product-item .product-item-description{
        width: 50%;
        object-fit: contain;
    }

    .site-header__cart-popup .site-cart__product-item .product-item-description{
        height: calc(50% + 16px);
        margin: 0;
    }

    .site-header__cart-popup .site-cart__product-item .remove_from_cart_button{
        right: auto;
        left: calc(50% + 10px);;
        bottom: var(--ak-main-spacing);
        top: auto;
    }

    .site-header__cart-popup .site-cart__product-item:last-of-type{
        border-bottom: 1px solid #b2b2b2;
    }

    .site-header__cart-popup .site-cart__products-list{
        height: calc(100vh - (var(--ak-header-height) * 2 + 70px));
    }

    .site-header__cart-popup .site-cart__product-item .product-item-controls .qty-buttons .plus-btn{
        margin-left: 0;
    }
   
}

