/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

html {
    scroll-behavior: smooth;
}


.header-drop .w-dropdown-list-h {
    overflow: visible;
}
.header-drop.w-dropdown.source_sidebar .w-dropdown-list {
    width: 100%;
    min-width: auto;
}
.header-drop.w-dropdown.source_sidebar .widget {
    margin-bottom: 1rem;
}
.header-drop .w-dropdown-item i {
    display: none;
}
.header-drop .header-phone {
    display: none;
    white-space: nowrap;
}

.custom-header-socials .w-socials-list {
    display: flex;
    gap: 7px;
}
.custom-header-socials .w-socials-item-link[aria-label="Viber"] {
    background: #9846e0 !important;
}
.custom-header-socials .w-socials-item-link[aria-label="Telegram"] {
    background: #4fa7ff !important;
}

@media screen and (max-width: 680px) {
	 .header-drop {
	 	display: none;
	 }
    .header-drop .w-dropdown-item i {
        display: block;
    }
    .header-drop .w-dropdown-item-title {
        font-size: 0;
    }
    .header-drop .w-dropdown-current .w-dropdown-item:after {
        display: none;
    }
    .header-drop .w-dropdown-item {
        padding-right: 0;
    }
    .header-drop.w-dropdown.source_sidebar .w-dropdown-list {
        width: auto;
    }
    .header-drop .header-phone {
        display: block;
    }
}



@media (min-width: 1141px) {
    .w-nav-list.level_4 li.menu-item-has-children ul {
        display: none !important;
        padding-left: 20px;
        box-shadow: none !important;
    }
    .w-nav-list.level_4 li.menu-item-has-children:hover ul {
        display: block !important;
    }
    .w-nav-list.level_4 li.menu-item-has-children.opened ul {
        display: block !important;
    }
}



header .w-search-form .aws-container,
header .w-search-form .aws-container form {
    height: stretch !important;
}

.aws-search-result {
    top: 120px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 100% !important;
    max-width: 1650px !important;
}

.aws-container .aws-search-form .aws-search-clear {
    display: block !important;
}

@media (max-width: 1024px) {
    .aws-search-result {
        top: 70px !important;
    }
}
@media (max-width: 600px) {
    .aws-search-result {
        top: 50px !important;
    }
}





.header-menu-catalog-btn {
    cursor: pointer;
}
@media (min-width: 1279px) {
    .header-menu-catalog-btn .w-nav-list.level_2 {
        display: none !important;
    }
}

.catalog-mega-menu-wrapper {
    position: absolute;
    top: 80px;
    left: 0;
    margin: 0 !important;
    width: 100%;
    max-height: 600px;
    overflow-y: auto;
    display: none;
}
.catalog-mega-menu-wrapper.is-open {
    display: block;
    box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, .1);
}
body.catalog-menu-is-open {
    overflow: hidden;
}
.catalog-mega-menu {
    display: grid;
    grid-template-columns: 280px 1fr;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.catalog-mega-menu__left {
    padding: 24px 0;
    border-right: 1px solid #e5e5e5;
}

.catalog-mega-menu__main-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 24px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.catalog-mega-menu__main-item:hover,
.catalog-mega-menu__main-item.is-active {
    background: #f7f7f7;
    color: #c42121;
}

.catalog-mega-menu__right {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 36px 36px 36px 48px;
}

.catalog-mega-menu__panel {
    display: none;
}

.catalog-mega-menu__panel.is-active {
    display: block;
}

.catalog-mega-menu__columns {
    column-count: 2;
    column-gap: 60px;
}

.catalog-mega-menu__group {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
}

.catalog-mega-menu__group-title {
    display: inline-block;
    margin-bottom: 12px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none;
}

.catalog-mega-menu__group-title:hover {
    color: #c42121;
}

.catalog-mega-menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-mega-menu__list .catalog-mega-menu__list {
    margin-top: 8px;
    padding-left: 10px;
}
.catalog-mega-menu__list .catalog-mega-menu__list li {
    margin-bottom: 5px;
}
.catalog-mega-menu__list-item a {
    font-size: 15px;
}
a.catalog-mega-menu__group-title {
    font-size: 15px;
    font-weight: 600;
}
span.catalog-mega-menu__main-title {
    font-size: 14px;
    text-transform: uppercase;
}
.catalog-mega-menu__list .catalog-mega-menu__list li:before {
    content: "–";
    position: relative;
    left: -8px;
}
.catalog-mega-menu__list-item {
    margin-bottom: 10px;
}

.catalog-mega-menu__link {
    color: #555;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.catalog-mega-menu__link:hover {
    color: #c42121;
}

.catalog-mega-menu__mascot {
    position: sticky;
    top: 36px;
    align-self: start;
    min-height: 360px;
    overflow: hidden;
}

.catalog-mega-menu__mascot-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.catalog-mega-menu__mascot-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 24px;
    color: #c42121;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}








.footer-btn-to-top a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.footer-contact-link i {
    color: #e10a0a !important;
}
@media (min-width: 1024px) {
    .footer-contact-link a:hover span {
        color: #e10a0a !important;
    }
}





.custom-card-image-text * {
    color: #fff !important;
}
.custom-card-image-text .post_title a {
    padding: 25px;
    height: 100%;
    display: flex;
    align-items: flex-end;
}


body.single-product div.product.type-product {
    padding: 50px 0;
}
.woocommerce .cart .variations th {
    display: flex;
    align-items: center;
}
.woocommerce .cart .variations td {
    display: block;
}
.variations_form.cart .single_variation_wrap {
    padding-top: 10px;
}
.woocommerce .cart .reset_variations {
    position: static !important;
    padding-top: .5rem;
    line-height: 1 !important;
}




body.us-woo-catalog .cart,body.us-woo-catalog .stock,body.us-woo-catalog .add_to_cart_button,body.us-woo-catalog .type_product a.button {
    display: table !important;
}




.popular-products__title { margin: 0 0 8px; font-size: 40px; line-height: 1.1; }
.popular-products__subtitle { margin-bottom: 24px; color: #8e8e8e; }

.popular-products__tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
	 overflow: auto;
    margin-bottom: 24px;
}

.popular-products__tab {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    cursor: pointer;
    transition: .2s;
	 white-space: nowrap;
}

.popular-products__tab.is-active {
    background: #ef3f33;
    color: #fff;
}

.popular-products__wrap {
    position: relative;
}

.popular-products__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.popular-products__track::-webkit-scrollbar {
    display: none;
}

.popular-products__slide {
    flex: 0 0 280px;
}

.popular-products__slide.is-hidden {
    display: none;
}

.popular-products__card, article.product.type-product {
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.popular-products__image, .product.type-product .post_image {
    aspect-ratio: 1 / 1;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
}

.popular-products__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popular-products__name {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.25;
}

.popular-products__price {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.popular-products__status {
    display: inline-block;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
}

.popular-products__status.in-stock {
    background: #e8f7ea;
    color: #339b45;
}

.popular-products__status.on-order {
    background: #fff3d9;
    color: #b07a00;
}

.popular-products__status.out-of-stock {
    background: #ffd6d6;
    color: #e10a0a;
}

.popular-products__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    cursor: pointer;
}

.popular-products__arrow--prev { left: -21px; }
.popular-products__arrow--next { right: -21px; }

@media (max-width: 767px) {
    .popular-products__title { font-size: 28px; }
    .popular-products__slide { flex: 0 0 220px; }
    .popular-products__arrow { display: none; }
}



.w-grid-item.product.type-product {
    padding: 16px 16px 22px;
    border: 1px solid #eee;
}
.w-grid-item.product.type-product .w-grid-item-h {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.w-grid-item.product.type-product.onbackorder .product_field.stock {
    background: #fff3d9 !important;
    color: #b07a00 !important;
}
.w-grid-item.product.type-product .post_title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 20px;
    height: 60px;
}


div.us_custom_7a8d92a3 {
    padding: 0 !important;
}
.widget-sidebar-cats .sub-menu {
    display: none;
}
.widget-sidebar-cats .menu, .widget-sidebar-cats .menu-item a {
    border: none !important;
}
#menu-sidebar-kategorii-kataloga > li > span,
#menu-sidebar-kategorii-kataloga > li > a {
    position: relative;
    padding-left: 20px;
    width: 100%;
    display: inline-block;
}
#menu-sidebar-kategorii-kataloga > li > span::before,
#menu-sidebar-kategorii-kataloga > li > a::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    /*background-repeat: no-repeat;*/
    /*background-position: center;*/
    /*background-size: contain;*/
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M1.75 5.2V3.15C1.75 2.3768 2.3768 1.75 3.15 1.75H5.2C5.57196 1.75 5.92869 1.89777 6.19142 2.1605L11.8395 7.80858C12.3529 8.32198 12.3529 9.15402 11.8395 9.66742L9.66742 11.8395C9.15402 12.3529 8.32198 12.3529 7.80858 11.8395L2.1605 6.19142C1.89777 5.92869 1.75 5.57196 1.75 5.2Z' stroke='%23999999' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='4.2' cy='4.2' r='0.85' fill='%23999999'/%3E%3C/svg%3E");*/
}
/*#menu-sidebar-kategorii-kataloga > li:first-child > a::before {*/
/*    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Crect x='1.5' y='1.5' width='5' height='5' rx='1' stroke='%23d97b73' stroke-width='1.5'/%3E%3Crect x='9.5' y='1.5' width='5' height='5' rx='1' stroke='%23d97b73' stroke-width='1.5'/%3E%3Crect x='1.5' y='9.5' width='5' height='5' rx='1' stroke='%23d97b73' stroke-width='1.5'/%3E%3Crect x='9.5' y='9.5' width='5' height='5' rx='1' stroke='%23d97b73' stroke-width='1.5'/%3E%3C/svg%3E");*/
/*}*/
#menu-sidebar-kategorii-kataloga > li.important-cat > a {
    font-weight: 600;
    color: #339b45;
}
.widget-sidebar-cats .menu-item-has-children > a,
.widget-sidebar-cats .menu-item-has-children > span {
    position: relative;
    display: block;
    padding-right: 18px;
}
.widget-sidebar-cats .menu-item-has-children > a::after,
.widget-sidebar-cats .menu-item-has-children > span::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
    transition: transform .2s ease;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5L5 6.5L8 3.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.widget-sidebar-cats .menu-item-has-children.is-open > a::after,
.widget-sidebar-cats .menu-item-has-children.is-open > span::after {
    transform: translateY(-50%) rotate(180deg);
}

.w-post-elm.post_image img {
    object-fit: contain;
}




.projects-types > .vc_column-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.projects-types .project:nth-child(1),
.projects-types .project:nth-child(4) {
    grid-column: span 2;
}

@media (max-width: 1100px) {
    .projects-types > .vc_column-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-types .project:nth-child(1),
    .projects-types .project:nth-child(4) {
        grid-column: span 1;
    }
    .projects-types .project:last-child:nth-child(odd) {
        grid-column: span 2;
    }
    .projects-types .project span.w-text-value {
        font-size: 1.6rem;
    }
}
@media (max-width: 768px) {
    .projects-types > .vc_column-inner {
        gap: 20px;
    }
    .projects-types .project span.w-text-value {
        font-size: 1.3rem;
    }
}
@media (max-width: 500px) {
    .projects-types > .vc_column-inner {
        grid-template-columns: repeat(1, 1fr);
    }
    .projects-types .project:last-child:nth-child(odd) {
        grid-column: span 1;
    }
    .projects-types .project span.w-text-value {
        font-size: 1.1rem;
    }
}



.page-contacts-map iframe {
    width: 100%;
}



.projects-wrapper > .vc_column-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.custom-project::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(0, 0, 0, .3);
    transition: background .3s;
}


@media (hover: hover) {
    .custom-project:hover::before {
        background: rgba(0, 0, 0, .6);
    }
    .custom-project:hover .w-btn {
        background: var(--btn-hover-background);
    }
}


.products.isAdd {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.product-card__image {
    width: 100%;
    height: 300px;
    display: block;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}
.product-card__content {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.custom-grid-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}


.variation-icon {
    width: 90px;
    padding: 6px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
}
.variation-icon span {
    font-size: 12px !important;
}
.single_add_to_cart_button {
    width: auto !important;
    min-width: 200px;
}
.woocommerce-breadcrumb {
    font-weight: 600;
}
.woocommerce-breadcrumb a {
    font-weight: 400 !important;
    color: #5d5d5d !important;
}
.woocommerce div.product .images {
    width: 40%;
    margin-bottom: 5rem;
}
.woocommerce div.product .summary {
    width: 57%;
}
.woocommerce-product-gallery__image {
    aspect-ratio:1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.woocommerce-product-gallery__image img {
    width: auto;
    min-width: 200px;
    margin: auto;
}
.woocommerce-product-gallery ol>li img {
    aspect-ratio: unset;
}
.woocommerce .product_meta>span {
    padding-bottom: 10px;
    display: block;
}
.woocommerce .product .summary .price {
    margin: 10px 0 20px;
}
.woocommerce-product-details__short-description {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.woocommerce-product-details__short-description p {
    margin: 0 !important;
}
.woocommerce-product-details__short-description p span {
    font-size: 14px !important;
}
.single_add_to_cart_button {
    width: 100%;
    background: var(--btn-hover-background) !important;
}
.woocommerce .product_meta>span.posted_in {
    color: #5d5d5d !important;
}
.woocommerce .product_meta>span.posted_in a {
    margin-top: 5px;
    display: block;
    width: fit-content;
    color: #25282B !important;
    border-bottom: 1px solid #25282B;
}
.product_add_info {
    margin: 20px 0;
}
.product_add_info_item {
    padding: 12px 0;
    display: flex;
    gap: 10px;
}
.product_add_info_item:not(:first-child) {
    border-top: 1px solid #eee;
}
.product_add_info_item svg {
    flex: 0 0 22px;
    height: 22px;
}
.product_add_info_item_text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.product_add_info_item_text span {
    font-weight: 600;
}
.woocommerce-Tabs-panel {
    width: 100%;
    max-width: 700px;
}
.woocommerce-Tabs-panel--description p {
    width: 100%;
}



.woocommerce-tabs.wc-tabs-wrapper {
    margin-top: 100px !important;
}
.woocommerce-tabs .tabs {
    gap: 0;
    border-bottom: 1px solid #eee;
}
.woocommerce-tabs .tabs li a {
    padding: 10px 20px;
    display: block;
    color: var(--color-content-text) !important;
}
.woocommerce-tabs .tabs li.active a {
    color: var(--color-content-link) !important;
    border-bottom: 1px solid var(--color-content-link);
}



.woocommerce .related .products_slider ul.products {
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    display: grid;
}
.woocommerce .related .products_slider {
    margin-top: 20px;
    padding: 0 1.2rem;
}
.woocommerce .related .products_slider .button {
    font-size: 14px !important;
    width: 100%;
}
.woocommerce .related .products_slider ul.products li {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
}

.product-form-zadat-vopros p:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.product-form-zadat-vopros p:nth-child(2) [data-name="textarea-303"] {
    grid-column: 1 / 4;
}
.product-form-zadat-vopros p:nth-child(2) [type="submit"] {
    grid-column: 2 / 3;
}



@media (max-width: 767px) {
    .woocommerce div.product .images {
        width: 100%;
    }
    .woocommerce div.product .summary {
        width: 100%;
        clear: both;
    }
    .woocommerce-tabs.wc-tabs-wrapper {
        margin-top: 50px !important;
    }
    .product-form-zadat-vopros p:nth-child(2) {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    .product-form-zadat-vopros p:nth-child(2) [data-name="textarea-303"] {
        grid-column: 1 / 2;
    }
    .product-form-zadat-vopros p:nth-child(2) [type="submit"] {
        grid-column: 1 / 2;
    }

    .single-product .product.type-product {
        display: flex;
        flex-direction: column;
    }
    .single-product .product.type-product > * {
        /*order: 2;*/
    }
    .single-product .product.type-product > .summary {
        order: 0;
    }
    .single-product .product.type-product .woocommerce-product-gallery {
        margin: 0 auto 30px !important;
        max-width: 100%;
    }
    section#shop {
        max-width: 100%;
    }
    .woocommerce .related .products_slider ul.products {
        margin: 0 !important;
    }
    .woocommerce-product-gallery ol {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .variations_form.cart .variations tbody tr th,
    .variations_form.cart .variations tbody tr td {
        display: block;
    }
    .single-product .product.type-product .woocommerce-product-gallery {
        width: calc(100vw - 30px) !important;
    }
}


.woocommerce-order-received .woocommerce-order {
    padding: 30px 0 80px;
}
.woocommerce-thankyou-order-details {
    margin: 40px 0;
    padding: 40px 30px;
    width: 100%;
    max-width: 1200px;
    background: none;
    border-radius: 10px;
    box-shadow: 3px 6px 20px rgba(0, 0, 0, .1);
}
.woocommerce-thankyou-order-details li {
    margin-bottom: 0 !important;
}
.woocommerce-custom-details {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.woocommerce-table--order-details {
    background: none;
    margin: 0;
    border: none;
    width: 100%;
}
.woocommerce-order-details,
.woocommerce-customer-details {
    margin: 0 !important;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 3px 6px 20px rgba(0, 0, 0, .1);
}



@media (max-width: 500px) {
    .woocommerce-thankyou-order-details {
        margin: 30px 0 15px;
    }
    .woocommerce-thankyou-order-details,
    .woocommerce-order-details,
    .woocommerce-customer-details {
        padding: 20px 15px;
    }
    .woocommerce-custom-details {
        gap: 15px;
    }
}