/* 
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 */

:root {
	--main-font: "Ubuntu", Sans-serif;
	--accent-color: #96c237;
	--primary-color: #252628;
	--secondary-color: #38393C;
}

/* !Elementor fixes */
.elementor-icon .elementor-icon-wrapper {
	display: flex;
}

.elementor-widget-text-editor p:last-child {
	margin-bottom:0px;
}
/* !End Elementor fixes */

input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea#comment:focus,
textarea.elementor-field-textual:focus {
	outline: 1px solid var(--accent-color) !important;
	box-shadow: 0px 0px 10px var(--accent-color) !important;
}

/* !Header */
.top-bar a {
	color: var(--accent-color) !important;	
}

.top-bar a:hover {
	text-decoration: underline;	
}

@media (width <= 767px) {
	.top-bar .separator {
		display: none;
	}
}

@media (width > 767px) {
	.top-bar br {
		display: none;
	}
	
	.my-account-menu-item {
		display: none;
	}
}

.google-reviews a {
	text-align: right;
}

.category-level-0 {
	display: flex;
	font-family: var(--main-font);
	gap: 1rem;
}

.category-level-0 > .category-item {
	width: 16.666%;
	border-right: 1px solid var(--secondary-color);
}

.category-level-0 > .category-item:last-child {
	border-right: none;
}

.category-level-0 .category-link {
	color: #fff;
}

.category-level-0 .category-link:hover {
	color: var(--accent-color) !important;
}

.category-level-0 > .category-item > .category-link {
	display: block;
	font-size: 1.125rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.category-level-1 .category-link {
	font-size: 1rem;
}

.category-item-61 .category-level-1 {
	display: none;
}

body.home .sub-menu {
	margin-top: 2.6rem;
}

.off-canvas-container .elementor-nav-menu .sub-arrow .e-font-icon-svg.fa-svg-chevron-down {
	height: 1em;
	fill: #fff;
	width: 1em;
}

.off-canvas-container .elementor-nav-menu .menu-item a.highlighted .sub-arrow .e-font-icon-svg.fa-svg-chevron-down {
	fill: var(--accent-color);
	transform: rotate(180deg);
}

/* Sticky header activated */
header.sticky-header.elementor-sticky--effects {
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
}
header.sticky-header > .e-con-inner {
	min-height: var(--header-height);
	transition: min-height var(--transition);
}
header.sticky-header.elementor-sticky--effects > .e-con-inner {
	min-height: calc( var(--header-height) * var(--shrink-header-to) );
	padding: 0px;
}

header.sticky-header .logo img,
header.sticky-header img.menu-item-logo {
	transition: transform var(--transition);
}

header.sticky-header.elementor-sticky--effects .logo img {
	transform: scale(.8);
}

header.sticky-header.elementor-sticky--effects .logo-container {
	padding-top: 0.2rem;
	padding-bottom: 0.2rem;
}

header.elementor-sticky--active .elementor-menu-cart__container.elementor-lightbox {
	height: 100vh;
}

@media (width <= 480px) {
	header.sticky-header.elementor-sticky--effects .logo a {
		transform: scale(.5);
	}
	
	header.sticky-header.elementor-sticky--effects .logo img {
		transform: none;
	}
	
	body.home .sub-menu {
		margin-top: 0rem;
	}
	
	.category-level-0 {
		flex-direction: column;
	}
	
	.category-level-0 > .category-item {
		width: 95%;
		border-right: none;
		padding-left: 1rem;
	}

	.category-level-0 > .category-item > .category-link {
		font-size: 0.9rem;
		margin-bottom: 0rem;
		border: 1px solid var(--accent-color);
		border-radius: 5px;
	}
	
	.sub-menu .elementor-sub-item.elementor-item-anchor {
		display: none;
	}
	
	.category-level-0 > .category-item:last-child {
		margin-bottom: 1rem;
	}
}
/* !End Header */

/* !Smart Slider3 fixes */
@media (width > 1920px ) {
	div#n2-ss-2 .n2-ss-slider-3 {
		height: 920px !important;
	}

	.n2-ss-slide-background {
		height: 920px !important;
	}

	.n2-ss-slider .n2-ss-slide-background-image img {
		object-fit: contain;
	}
}

@media ( width = 1920px ) {
	div#n2-ss-2 .n2-ss-slider-3 {
		height: 700px !important;
	}

	.n2-ss-slide-background {
		height: 700px !important;
	}

	.n2-ss-slider .n2-ss-slide-background-image img {
		object-fit: contain;
	}
}

@media ( 1280px <= width <= 1470px ) {
	div#n2-ss-2 .n2-ss-slider-3 {
		height: 535px !important;
	}

	.n2-ss-slide-background {
		height: 535px !important;
	}

	.n2-ss-slider .n2-ss-slide-background-image img {
		object-fit: contain;
	}
}

/* !Footer */
.site-copyright,
.footer-signature-link a {
	font-size: 0.8rem;
	font-family: Ubuntu;
	color: #fff;
}

.footer-signature-link a:hover {
	color: var(--accent-color);
}
/* !End Footer */

/* !Mini Cart */
.widget_shopping_cart_content .cart_item .attachment-woocommerce_thumbnail {
	border-radius: 5px;
}
/* !End Mini Cart */

/* !Cart */
.elementor-widget-woocommerce-cart .woocommerce table.cart td {
	border-top: 1px dashed var(--secondary-color) !important;
}

.elementor-widget-woocommerce-cart .woocommerce table.cart td.product-thumbnail img {
	border-radius: 5px;
}

.elementor-widget-woocommerce-cart .woocommerce table.cart td.product-quantity input {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
}

body.woocommerce-cart .cart_totals .order-total,
body.woocommerce-cart .cart_totals .woocommerce-shipping-totals {
	display: none;
}

@media ( width < 767px ) {
	.woocommerce table.cart .product-thumbnail, 
	.woocommerce-page #content table.cart .product-thumbnail, 
	.woocommerce-page table.cart .product-thumbnail {
		display: block;
	}
	
	.woocommerce table.cart .product-thumbnail:before {
		display: none;
	}
	
	.woocommerce table.cart .product-thumbnail img {
		width: 100%;
	}
	
	.woocommerce table.cart .woocommerce-cart-form__cart-item.cart_item {
		padding-left: 0px;
		padding-right: 0px;
	}
}
/* !End Cart */

/* !Checkout */
.e-woo-select2-wrapper .select2-results__option {
	color: #69727d !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], 
.select2-container--default .select2-results__option--highlighted[data-selected] {
	color: #fff !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table .cart_item td {
	border-bottom: 1px dashed var(--secondary-color) !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table .order-total td,
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table .order-total th {
	border-top: 1px dashed var(--secondary-color) !important;
}

.woocommerce-checkout-review-order-table .product-name img {
	border-radius: 5px;
}

#payment::before {
	content: 'Начини на плащане';
	font-family: Ubuntu;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 30px;
	display: block;
}
/* !End Checkout */

/* !Homepage */
.homepage-grid-categories .image-cat img {
	transition: all 0.3s ease-in-out 0s;
}

.homepage-grid-categories .image-cat:hover img {
	transform: translateY(-15px);
	-webkit-transform: translateY(-15px);
	opacity: 0.8;
}

@media (width < 767px) {
	.homepage-grid-categories .image-cat:hover img {
		transform: none;
	}

	.homepage-grid-categories .headings {
		position: absolute;
		bottom: 1rem;
		left: 1rem;
	}

	.homepage-grid-categories .image-cat:after {
		content: '';
		display: block;
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		background-color: rgba(0,0,0, 0.6);
	}
}
/* !End Homepage */

/* !Loop items */
.product-image-container {
	position: relative;
}

.product-image-container .img-hover {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
}

.product-image-container:hover .img-thumb img {
	transform: rotateY(-90deg);
	-webkit-transform: rotateY(-90deg);
	opacity: 1;
	transition: all 0.4s linear 0s;
}

.product-image-container:hover .img-hover {
	transform: rotateY(0);
	-webkit-transform: rotateY(0);
	opacity: 1;
	transition: all 0.4s linear 0s;
}

.single-post-loop-item .e-con-inner > div:first-child {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.single-post-loop-item .e-con-inner > div:last-child {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.single-product-loop-item .product-info {
	height: 100%;
}

span.discount-badge {
	display: flex;
    justify-content: center;
    align-items: center;
	width: 40px;
    height: 40px;
    background: var(--accent-color);
	color: #ffffff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--main-font);
}

.wt-related-products span.discount-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
}

.status-label-shortcode {
	right: 0 !important;
	margin: 0 auto;
	text-align: center;
	width: max-content;
}

.product-status {
	background-color: var(--accent-color);
	font-family: 'Ubuntu';
	font-weight: 700;
	text-transform: uppercase;
	padding: 0.2rem 1rem;
	border-radius: 1rem;
	color: #ffffff !important;
}

@media (width < 767px) {
	.single-product-loop-item .product-info {
		height: unset;
	}
}
/* !End Loop items */

/* !Single product */
.single-product p.stock.out-of-stock {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff !important;
	font-family: 'Ubuntu';
	text-transform: uppercase;
	font-weight: 700;
	background-color: var(--accent-color);
	min-height: 44px;
	border-radius: 3px;
	padding: 0 1rem;
	margin-bottom: 0 !important;
}
.single-product .product_meta {
	flex-direction: column;
}

.variations .label {
	padding: 0;
	display: flex !important;
	color: var(--accent-color);
	text-transform: uppercase;
}

.single-product .swiper-wrapper > div,
.single-product .jet-gallery-swiper-thumb .jet-woo-swiper-control-thumbs__item-image img {
	border-radius: 5px;
}
.product-modules-table {
	display: flex;
	flex-direction: column;
	font-family: var(--main-font);
}

.table-headings {
	display: flex;
	border: 1px solid var(--secondary-color);
}

.table-headings > div {
	padding: 1rem 0.5rem;
	font-weight: 700;
	color: var(--accent-color);
}

.single-module {
	display: flex;
	align-items: center;
	border: 1px solid var(--secondary-color);
	border-top: none;
}

.single-module > div {
	padding: 1rem 0.5rem;
	position: relative;
}

.module-description {
	flex-basis: 25%;
}

.module-image,
.module-shirina,
.module-dulbochina,
.module-visochina,
.module-price {
	flex-basis: 15%;
}

.tbi_button_container2 {
	margin-left: 15px;
	overflow-y: unset;
}

.tbi_button_container2 .tbi_button2 {
	margin: 0px;
	min-width: unset;
}

#tbi_button_body {
	width: max-content;
	border-radius: 3px;
	height: 42px;
}

#tbi_button_body .tbi_button_line:last-child {
    display: none !important;
}

.single-product .available-on-backorder,
.single-product .product_meta .sku_wrapper,
.single-product .product_meta .posted_in:last-child {
	display: none;
}

.single-product .variations th.label {
	align-items: center;
}

.single-product .variations .woo-selected-variation-item-name {
	color: #fff;
}

.single-product .woocommerce-product-attributes-item.woocommerce-product-attributes-item--dimensions,
.single-product .woocommerce-product-attributes-item.woocommerce-product-attributes-item--weight {
	display: none;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    border-top: 1px solid hsla(0,0%,50.2%,.5019607843) !important;
    border-bottom: 1px solid hsla(0,0%,50.2%,.5019607843) !important;
}

.woocommerce table.shop_attributes td {
	padding-left: 1rem;
}

.wt-related-products ul.products:not(.owl-carousel) {
	display: flex;
	gap: 0.8rem;
}

.woocommerce-page .wt-related-products ul.products:not(.owl-carousel) li.product {
	width: 25% !important;
}

.wt-related-products .jet-compare-button__container {
    display: none;
}

.wt-related-products li.product {
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
	overflow: hidden;
}

.wt-related-products li.product:hover {
    border-color: var(--accent-color);
    box-shadow: 0px 0px 10px 0px var(--accent-color);
}

.wt-related-products .price,
.wt-related-products h2.woocommerce-loop-product__title {
    padding: 0 1rem !important;
}

.wt-related-products a.add_to_cart_button {
	margin: 0 1rem 1rem;
}

.wt-related-products span.onsale {
	display: none !important;
}

.single-product .wt-related-products li.product a h2.woocommerce-loop-product__title {
    font-family: "Ubuntu", Sans-serif;
    font-size: 1.125rem;
    text-transform: uppercase;
    color: #FFFFFF;
	margin-bottom: 20px;
	min-height: 5rem;
}

.single-product .wt-related-products li.product a span.price {
    color: var( --e-global-color-text );
    font-family: "Ubuntu", Sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
}

.wt-related-products .owl-theme .owl-nav [class*=owl-] {
	background: #ffffff;
}

.wt-related-products .owl-theme .owl-nav .dashicons::before {
	color: var(--accent-color);
}

.wt-related-products a.add_to_cart_button {
	font-family: "Ubuntu", Sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    line-height: 1.5rem;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    background-color: var(--e-global-color-accent);
    border-color: var(--e-global-color-accent);
    transition: all 0.2s;
}

.wt-related-products a.add_to_cart_button:hover {
	background-color: transparent;
	color: var(--accent-color);
}

.single-product table.variations .variable-item-contents span.price {
	color: var(--accent-color);
	font-family: var(--main-font);
}

.single-product .single_variation_wrap .woocommerce-variation-price {
	display: none;
}

.woocommerce div.product form.cart .reset_variations {
	font-family: var(--main-font);
    font-size: 1.2em;
    margin-top: 1rem;
    display: block;
}

@media (width <= 767px) {
	.elementor-jet-single-add-to-cart form.cart {
		flex-wrap: wrap !important;
	}
	
	.tbi_button_container2 {
		margin-left: 0px;
		margin-top: 1rem;
	}
	
	#tbi_button_body {
		min-width: 148px;
	}
	
	.product-inquiry,
	.product-pdf {
		margin-top: 3.6rem;
	}
	.product-modules-table {
		gap: 1rem;
	}
	
	.table-headings {
		display: none;
	}
	
	.module-description,
	.module-image,
	.module-shirina,
	.module-dulbochina,
	.module-visochina,
	.module-price {
		flex-basis: 100%;
	}
	
	.single-module {
		flex-direction: column;
		justify-content: center;
		border-top: 1px solid var(--secondary-color);
	}
	
	.single-module > div {
		width: 100%;
		text-align: center;
		border-top: 1px solid var(--secondary-color);
		padding-top: 3rem;
	}
	
	.single-module > div:first-child {
		border-top: none;
	}
	
	.module-image:before,
	.module-description:before,
	.module-shirina:before,
	.module-dulbochina:before,
	.module-visochina:before,
	.module-price:before {
		position: absolute;
		top: 10px;
		left: 0;
		right: 0;
		font-size: 1.3rem;
		font-weight: 600;
		color: var(--accent-color);
	}
	
	.module-image:before {
		content: 'Схема';
	}
	
	.module-description:before {
		content: 'Описание';
	}
	
	.module-shirina:before {
		content: 'Ширина, mm';
	}
	
	.module-dulbochina:before {
		content: 'Дълбочина, mm';
	}
	
	.module-visochina:before {
		content: 'Височина, mm';
	}
	
	.module-price:before {
		content: 'Цена, mm';
	}
}
/* !End single product */

/* !Categories */
.subcategories-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(31.5%, 1fr));
    grid-template-rows: repeat(1, 1fr);
    grid-auto-flow: row;
    grid-gap: 1.5rem;
}

.subcategory-item h3 {
    font-family: "Ubuntu", Sans-serif;
    font-size: 1rem;
    text-align: center;
	margin-bottom: 0px;
}

.subcategory-item h3 mark {
	color: var(--accent-color);
	margin-left: 0.2rem;
	background-color: transparent;
}

.subcategory-item img {
    width: 100%;
    border-radius: 5px;
}

@media (width <= 767px) {
	.filters-container {
		display: none;
	}
}
/* !End Categories */

/* !Thank you page */
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
	display: flex;
	justify-content: center;
}
/* !End thank you page */

/* !Consent plugin modifications */
.cs-info-bar.bar_small .cs_action_btn,
.cs-modal-content .cs_action_btn {
	background-color: #96c237 !important;
	text-transform: uppercase !important;
}

.cs-modal-content .custom-switch.custom-switch-btn {
	--cs-color-active-toggle-button: #96c237!important;
}

.cs-modal-content .cs_setting_save_button {
	color: #ffffff !important;
}

.cs_preview_container>div>div .cs-modal:not(.cs-modal-admin) .custom-switch .custom-switch-input:checked+.custom-switch-btn {
	background: #96c2378c !important;
}

@media (width <= 480px) {
	.cs_preview_container.bar_small .btns_column .btn-row {
		flex-direction: column-reverse;
	}
}

/* Това е ако искам да сменя background цвета на лентата и попъп прозорецът */
.cs-info-bar.bar_small,
.cs-modal-dialog .cs-modal-content {
	background-color: #252628 !important;
}
/* !End consent plugin modifications */

/* !Comments form */
.comment-form label { 
	display: none !important; 
}

#reply-title,
.comment-form p {
	font-family: var(--main-font) !important;
}

.comment-form .submit {
	border-color: var(--accent-color);
	background-color: var(--accent-color);
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
}

.comment-form .submit:hover {
	background-color: transparent;
	color: var(--accent-color);
}

.comment-form #comment,
.comment-form #author,
.comment-form #email {
	background-color: var(--secondary-color);
	color: #fff;
}

/* !Search results */
.search-results .product-categories {
	display: none
}
/* !End search results */