/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.seo-desc {
    display: none;
}
:is(.woocommerce-shop, .term-54, .term-69, .term-65, .term-68, .term-71, .term-72, .term-91, .term-2880, .term-55, .term-56, .term-57, .term-58, .term-59, .term-66, .term-92, .term-97, .term-3110, .term-67, .term-70, .term-114, .term-132, .term-133, .term-2881, .term-134, .term-139, .term-146, .term-147, .term-144, .term-145, .term-135, .term-148, .term-149, .term-150) .seo-desc {
    display: block;
}
.wd-opened {
    .wd-btn-text  {
        text-indent: -9999px;
        line-height: 0;
    }
    .wd-btn-icon {
        transform: rotate(180deg);
    }
    .wd-btn-text::after {
        content: "Zwiń tekst";
        text-indent: 0;
        display: block;
        line-height: initial;
    }
}

/*ZWIERZUSIE KLUB*/
.dialog.product-points {
    padding: 3px 5px;
    font-weight: 700;
}
.zwierzusie-klub-link a:before, .wd-my-acc-zwierzusie-klub span.wd-nav-icon:before, .woocommerce-MyAccount-navigation-link--zwierzusie-klub a:before {
     content: "\f11e" !important;
     font-family: "woodmart-font";
     font-weight: 400;
     margin-right: 3px;
}

/*HOMEPAGE*/
.recently-viewed .wd-carousel-container {
    margin-bottom: 40px;
}
.thumb-img-carousel {
    img {
        max-width: 80px;
    }
    .product-element-top {
        align-content: center;
    }
}
.baner-home {
    .banner-title:after {
        content: '';
        width: 50px;
        display: block;
        height: 2px;
        background: white;
        margin: 5px 0px 15px 0px;
    }
    .banner-inner {
        text-align: justify;
    }
}
/*BLOG*/
.blog, .single-post {
    .wd-widget, .post-single-page, .wd-single-footer, .wd-page-nav, .comments-area {
        background: white;
        padding: 20px !important;
        border-radius: 15px;
        border: 0 !important;
    }
    .wd-single-footer, .wd-page-nav, .comments-area {
        margin: 20px 0px !important;
    }
}
.blog-style-bg {
    h3.wd-entities-title {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
.single-post .site-content {
    margin-bottom: 20px !important;
}
/*MENU HEADER*/
.wd-header-main-nav a {
    color: var(--nav-color) !important;
}
/*CONTACT FORM*/
.wpcf7-form {
    .sendandcheck {
        display: flex;
        gap: 10px;
        align-items: center;
        p {
            font-size: 11px;
            margin: 0;
            text-align: center;
        }
        .check {
            line-height: 0;
            border-radius: 5px;
            overflow: hidden;
        }
        @media only screen and (max-width: 500px) {
            flex-direction: column;
        }
    }
    .rodo p, .rodo label, .wpcf7-not-valid-tip {
        font-size: 13px;
    }
    .rodo { 
        label {
            margin: -10px 0px 0px 0px;
            cursor: pointer;
            .wpcf7-not-valid-tip {
                margin-left: 5px;
                display: inline;
            }
        }
        .wpcf7-list-item {
            margin: 0px;
        }
    }
}
/*NEWSLETTER*/
.newsletter-form {
    .mail-btn-row {
        display: flex;
        align-items: center;
        margin-bottom: 5px;
    }
    .consent-row {
        display: flex;
        gap: 8px;
        align-items: center;
        font-size: 12px;
    }
    input[type="email"] {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    button {
        background: #8cc63e;
        color: white;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        white-space: pre;
    }
}
/*.shopmagic-form {
    .shopmagic-form-field {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    .shopmagic-form-field label, .shopmagic-form-field-agreement, .shopmagic-message {
        font-size: 13px;
        margin: 0px;
    }
    .shopmagic-input-email {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .shopmagic-submit {
        background: #8cc63e;
        color: white;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    .shopmagic-submit:hover {
        box-shadow: inset 0 0 200px rgba(0,0,0,0.1);
    }
}*/
/*COOKIES INFO*/
#flexiblecookies_container {
    position: fixed;
	bottom:40px;
	left:40px;
	flex-wrap: wrap;
    box-shadow:0 0 50px #00000030;
}
div#flexiblecookies_cookie_banner span.flexiblecookies_cookie_text{
	margin-bottom:15px;
	margin-right:0;
}
div#flexiblecookies_cookie_banner button:hover{
	transform:translatey(-2px);
}
div#flexiblecookies_cookie_banner button, button#flexiblecookies_accept_settings_cookies {
	width:auto;
	padding: 10px 15px;
	transition:0.3s;
}
button#flexiblecookies_accept_cookies {
font-weight: bold;
text-transform: uppercase;
}
button#flexiblecookies_deny_cookies{
	background:#fff;
        border-bottom:2px solid #8cc63e;
	color:#8cc63e;
}

button#flexiblecookies_open_settings{
	padding:0;
	padding-bottom:5px;
	background:#fff;
	color:#222;
	border-bottom:2px solid #8cc63e;
}

#flexiblecookies_settings_container, #flexiblecookies_container div#flexiblecookies_cookie_banner{
	color:#222;
	background:#fff;
	flex-wrap: wrap;
	border-radius:10px;
	padding:20px 26px;
}
/*FIX*/
.hide-empty:empty {
    display: none;
}
.title-line-two {
    --title-line-count: 3 !important;
}
ul#menu-kategorie-html-block {
    a.woodmart-nav-link {
        padding: 20px 15px;
    }
    .wd-nav-img {
        width: 32px !important;
        height: 32px !important;
        max-height: 32px !important;
    }
}
.page-title .container, .page-title .container ul {
    margin: 0px !important;
}
.scrollToTop {
    right: 21px !important;
    bottom: 90px !important;
}
@media (max-width: 500px) {
    .scrollToTop {
        display: none !important;
    }
}
/*Google Chrome breadcrumbs problem gray background*/
:is(.breadcrumbs,.yoast-breadcrumb) {
    line-height: inherit;
}
/*carousel mobile margin*/
@media (max-width: 1024px) {
    .wd-carousel-dis-mb .wd-carousel-wrap {
      padding: 15px 0;
    }
}
/*BREADCRUMBS*/
:is(.breadcrumbs, .yoast-breadcrumb) :is(a, span) {
    text-transform: capitalize;
    font-weight: normal;
    font-size: 14px;
}
/*WOOCOMMERCE SHOP PAGE*/
.woocommerce-result-count {
    font-size: 14px;
}
.wd-load-more {
    padding: 20px 35px !important;
    font-size: 15px;
}
.sidebar-shop {
    @media only screen and (min-width: 1025px) {
        height: 100vh;
        overflow-y: scroll;
        scrollbar-width: none;
    }
    border-radius: 10px;
    .elementor-widget-container {
        background: white;
        padding: 20px;
        height: auto !important;
        border-radius: 10px;
    }
    .widget {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .widget:last-child {
        margin: 0;
        padding: 0;
    }
}
/*SINGLE PRODUCT PAGE*/
.single-product-page {
    .important {
        border: 3px dashed #d52c2c;
        padding: 10px;
        list-style-position: inside;
        line-height: 1.6;
        text-align: justify;
        ul {margin: 10px 0px;}
        li {margin-bottom: 5px;}
        p,li:last-child {margin: 0px;}
    }
    .product_meta {
        span.sku_wrapper {
            display: flex;
            border-top: 1px solid #e4e4e4;
            border-bottom: 1px solid #e4e4e4;
            padding: 15px 0px;
            margin: -25px 0px 15px 0px;
            color: #242424;
            span.meta-label {
                width: 20%;
                flex: max-content;
            }
            span.sku {
                text-align: right;
                font-weight: 600;
                width: 80%;
            }
        }
        span.posted_in, span.tagged_as {
            font-size: 13px;
        }
    }
    .wd-wtl-form {
        margin-top: 0px;
    }
    .price-per-kg {
        margin: -20px 0px 0px 0px;
        font-size: 12px;
        span {
            font-size: 12px !important;
        }
    }
    .wd-dynamic-discounts {
        td {
            padding: 10px 15px;
        }
        .prices {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        table tr:last-child td {
            border: 0px;
        }
        .price-per-kg {
            margin: 0px;
        }
        span.amount {
            font-size: 16px;
        }
    }
    .commentlist > li:last-child {
        border-bottom: 0px;
        padding-bottom: 0px;
    }
    .woocommerce-verification-required {
        margin: -15px 0px -15px 0px;
    }
}
/*MY ACCOUNT*/
.wd-registration-page {
    max-width: 100% !important;
}
/*CART & ORDER*/
#place_order:before {
content: "\f147a";
font-family: "woodmart-font";
font-weight: 700;
}
.woocommerce-terms-and-conditions img, p#billing_country_field, p#shipping_country_field, a[data-product_id="22200"] {
    display: none !important;
}
.woocommerce-order {
    background: white;
    max-width: 100% !important;
    padding: 20px;
    border-radius: 10px;
}
form.checkout .woocommerce-error {
    margin: 0px;
}
.woocommerce-checkout-review-order-table { 
    tbody tr:last-of-type {
        border-bottom: 0px;
    }
    .cart-product-label {
        font-weight: 500;
    }
    .amount bdi {
        font-weight: 700;
    }
    tbody {
        border-bottom: 1px solid var(--brdcolor-gray-300);
        max-height: 500px;
        overflow-y: scroll;
        scrollbar-width: thin;
    }
}
.shop_table {
    margin: 0;
    td, th {
        padding: 20px 5px;
    }
}
.wd-checkout-steps {
    text-align: center;
    li span {
        font-size: 25px;
    }
}
.wd-free-progress-bar .progress-msg {
    text-align: center;
}
.wd-cart-totals {
    .woocommerce-shipping-destination {
        display: none;
    }
}
.woocommerce-shipping-totals th:first-child {
    width: 80px;
}
@media only screen and (max-width: 768px) {
    .woocommerce-shipping-totals th:first-child, td[data-title='Wysyłka']:before,
    .wd-manage-on thead .product-total, .wd-manage-on thead .product-name {
        display: none;
    }
    .woocommerce-shipping-methods {
        label {
            font-size: 13px;
        }
    }
    .wd-checkout-coupon-inner,
    .wd-checkout-login-inner {
        text-align: center;
    }
    .shop-table-with-img td {
        padding: 3px 0px;
    }
    a.checkout-button, button#place_order {
        margin-top: 20px;
    }
    .shop_table_responsive {
        td, th {
            padding: 0;
        }
    }
}
.woocommerce-shipping-methods {
    label {
        display: inline-block;
        cursor: pointer;
    }
    input {
        top: 13px !important;
    }
    .shipping-method-description {
        display: none;
        background: #f4f4f4;
        padding: 10px 5px;
        font-size: 11px;
        text-align: center;
        border-radius: 5px;
        margin: 10px 0px 0px 0px;
    }
    input[type="radio"]:checked ~ .shipping-method-description {
        display: block;
    }
    label[for='shipping_method_0_flexible_shipping_single1']:after,
    label[for='shipping_method_0_flexible_shipping_single2']:after,
    label[for='shipping_method_0_flexible_shipping_single4']:after {
        content: '';
        width: 55px;
        height: 42px;
        display: inline-block;
        vertical-align: middle;
        margin-left: 7px;
        border-radius: 5px;
    }
    label[for='shipping_method_0_flexible_shipping_single1']:after {background-image: url('https://zwierzusie.pl/wp-content/uploads/2024/09/inpost-paczkomat.svg');}
    label[for='shipping_method_0_flexible_shipping_single2']:after {background-image: url('https://zwierzusie.pl/wp-content/uploads/2024/09/inpost-kurier.svg');}
    label[for='shipping_method_0_flexible_shipping_single4']:after {background-image: url('https://zwierzusie.pl/wp-content/uploads/2024/09/odbior-osobisty.png');}
}
/*GENERAL*/
.rank-math-breadcrumb {
    p {
        margin: 0px;
    }
    a {
        color: var(--color-gray-500);
    }
    .last {
        font-weight: 600;
    }
    @media only screen and (max-width: 1025px) {
        overflow-x: scroll;
        scrollbar-width: thin;
        p {
            flex-wrap: nowrap;
            white-space: nowrap;
            direction: ltr;
            display: inline-flex;
            gap: 4px;
        }
        /*.last, p .separator:nth-last-of-type(2) {display: none;}
        a:last-of-type {font-weight: 600;color: var(--wd-text-color);}*/
    }
}
@media only screen and (min-width: 768px) {
    .sticky-div {
        position: sticky;
        top: 82px;
    }
}
.yoast-breadcrumb {
    overflow: scroll;
  scrollbar-width: none;
}
a.checkout-button, button#place_order {
    padding: 20px;
    text-transform: uppercase !important;
    font-size: 17px;
}
td.product-name a {
    font-family: var(--wd-text-font);
}
td.product-thumbnail img {
    border: 1px solid #ececec;
    margin-right: 10px;
}
.wd-tooltip {
    cursor: help;
}
.wd-tooltip.help {
    color: #8cc63e;
    font-weight: 500;
}
.wd-tooltip.help:after {
    content: "\f100";
    font-family: "woodmart-font";
    margin-left: 4px;
    vertical-align: middle;
    font-size: 14px;
}
.dialog {
    padding: 5px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    &.info {
        color: #004085;
        background-color: #cce5ff;
    }
    &.success {
        color: #155724;
        background-color: #d4edda;
    }
    &.error {
        color: #721c24;
        background-color: #f8d7da;
    }
}
.dialog:empty { display: none; }