/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

html {
    scroll-padding-top: 140px; /* Zapobiega zasłanianiu treści przez sticky header */
    scroll-behavior: smooth;
}

body, html {
	overflow-x: hidden;
}

p:last-child {
	margin-bottom: 0px;
}

a {
	color: inherit;
}

.elementor-widget-text-editor a:hover {
	color: inherit;
	opacity: 0.8;
}

.elementor-widget-text-editor ul, .elementor-widget-text-editor ol {
	margin-bottom: 15px;
}

.elementor-widget-heading a:hover {
	color: inherit;
	opacity: 0.8;
}

.elementor-menu-toggle {
    padding:0px;
	z-index: 9999;
}

ul.elementor-nav-menu--dropdown a, ul.elementor-nav-menu--dropdown a:focus, ul.elementor-nav-menu--dropdown a:hover {
	border-left: none!important;
}

.elementor-icon {
	display: inline;
}

.elementor-widget-woocommerce-cart .woocommerce {
	font-family: inherit;
}

@media screen and (min-width: 1024px) {
	.desktop-hide {
		display: none!important;
	}
}

/* Paddings */

.e-parent {
	--padding-top: 70px;
	--padding-left: 50px;
	--padding-right: 50px;
	--padding-bottom: 70px;
}

.half-top-padding {
	--padding-top: 40px;
}

.half-bottom-padding {
	--padding-bottom: 40px;
}

/* Woocommerce Single product page */

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
	margin: 0px;
	font-size: 100%;
}

.woocommerce .wcml-dropdown.product {
	margin:0px;
}

.wcml-dropdown {
	width: 100px;
}

.woocommerce div.product div.images {
	margin: 0px;
}

/* Woocommerce Listing page */

.no-subcategories .categories-grid {
	display: none;
}

.categories-grid ul {
	display: inline-block!important;
}

.categories-grid ul li {
	display: inline-block!important;
	margin: 0px 5px 5px 0px!important;
	padding: 0px 8px!important;
	border: 1px solid #eaeaea;
	border-radius: 8px;
}

.categories-grid ul li img {
	display: none!important;
}

/* Others */

.grecaptcha-badge {
	visibility: hidden;
}

.jet-popup.jet-popup--front-mode .jet-popup__container-inner {
	overflow: visible;
}

.oem-numbers table tbody>tr:nth-child(odd)>td, .oem-numbers table tbody>tr:nth-child(odd)>th {
	background: transparent;
}

.oem-numbers table td, .oem-numbers table th {
    border: 1px solid var( --e-global-color-dd64d31 );
    line-height: inherit;
    padding: 5px 12px;
    vertical-align: middle;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	z-index: 98; 
}

/* Header cart */

.elementor-menu-cart__main {
	width: 400px;
}

/* Cart page */

.woocommerce-cart-form__contents tbody tr:last-child {
	display: none;
}

.cart-qty {
	display: flex;
    margin-top: 10px;
    gap: 5px;
    align-items: center;
}

.cart-qty input {
    height: 30px;
    border-radius: 8px;
}

.woocommerce table.shop_table {
	border: none;
}

@media screen and (max-width: 960px) {
	.e-parent {
		--padding-top: 50px;
		--padding-left: 50px;
		--padding-right: 50px;
		--padding-bottom: 60px;
	}

	.half-top-padding {
		--padding-top: 25px;
	}

	.half-bottom-padding {
		--padding-bottom: 25px;
	}
}

@media screen and (max-width: 479px) {
	.e-parent {
		--padding-top: 50px;
		--padding-left: 20px;
		--padding-right: 20px;
		--padding-bottom: 60px;
	}
	.half-top-padding {
		--padding-top: 25px;
	}

	.half-bottom-padding {
		--padding-bottom: 25px;
	}
}