/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1.31
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
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@100;200;300;400;500;600;700;800;900&display=swap');


@font-face {
	font-family: 'CourierNewPS-BoldMT';
	src: url('./assets/fonts/asscouriernewps-boldmt_tt.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}

main.catalog-single {
	max-width: 1140px;
	margin: 0 auto;
}


.catalog {
	font-family: 'Noto Sans', sans-serif;
}

.catalog__title {
	font-size: 36px;
	padding: 48px 0;
	width: 100%;
	background-color: #000;
	color: #fff;
	text-align: center;
	margin-bottom: 70px;
	line-height: 1.1;
	font-weight: 700;
}

.catalog__row {
	display: flex;
	margin-bottom: 120px;
}

.catalog__sidebar {
	flex: 0 0 350px;
	padding-left: 100px;
}


.catalog__card {
	max-width: 900px;
	flex: 1 1 auto;
	background: linear-gradient(to bottom left, #5C5C5C, rgb(58, 58, 58) 70%);
	border-radius: 32px;
	/* overflow: hidden; */
	color: #fff;
	padding: 100px 80px 120px;
	position: relative;
	filter: drop-shadow(11px 13px 5px rgba(0, 0, 0, 0.4));
	box-shadow: inset 8px 11px 14px rgb(101 99 99);
}

.catalog__card article {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.catalog__card-title {
	font-size: 48px;
	line-height: 1;
	text-align: center;
	filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.7));
	margin-bottom: 50px;
	font-family: "Courier New", Courier, monospace;
	font-weight: bold;
}

.catalog__card-img-wr {
	width: 300px;
	height: 300px;
	border-radius: 32px;
	margin-bottom: 60px;
	overflow: hidden;
}

.catalog__card-img-wr img {
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.catalog__card-text h2 {
	font-size: 24px;
}

.catalog__card-text p {
	font-size: 18px;
	margin-block-end: 18px;
	max-width: 680px;
	line-height: 1.2;
}




/* * Open close submenu */

.catalog__sidebar {
	color: #0C0C0C;
}


.catalog__sidebar>ul {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-right: 0;
}

.catalog__sidebar>ul li {
	font-size: 19px;
}


.catalog__sidebar>ul>li {
	list-style: none;
	font-size: 25px;
	font-weight: 700;
}

.catalog__sidebar a {
	font-weight: 400 !important;
	padding-right: 16px;
	display: inline-block;
	margin: 2px 0;
	color: #0C0C0C;
	font-weight: 300;
}

.catalog__sidebar * {
	transition: color 0.3s ease 0s;
}

.catalog__sidebar span:hover,
.catalog__sidebar a:hover,
.catalog__sidebar .article-item.active a {
	color: #EB5FA8;
}

.category-menu,
.article-list {
	list-style: none;
	margin: 5px 0;
}


.category-item .category-menu {
	padding-right: 20px;
}

.article-list {
	padding-right: 35px;
}


.category-item .category-menu,
.article-list {
	height: 0;
	overflow: hidden;
	transition: all 0.3s ease 0s;
}

.article-list:has(>.article-item.active) {
	height: auto;
}

.catalog__sidebar>.category-menu {
	position: relative;
}

.category-menu .toggle::before,
.category-item .toggle::before {
	content: '◀';
	font-size: 0.5em;
	margin-left: 6px;
	display: inline-block;
	position: relative;
	top: -2px;
	transition: all 0.3s ease 0s;

}

.category-item .toggle:has(+.open) {
	color: #EB5FA8;
}

.category-item .toggle:has(+.open)::before {
	transform: rotate(-90deg);
}


.category-item {
	position: relative;
}

.category-item .toggle {
	cursor: pointer;
	font-weight: bold;
}

.category-item.open .category-menu {
	display: block;
}

/**/

@media (max-width: 998px) {

	.catalog__card {
		padding: 80px 40px 100px;
	}

	.catalog__row {
		display: flex;
		flex-direction: column;
		gap: 48px;
		margin-bottom: 60px;
	}

	.catalog__sidebar {
		flex: 1 1 auto;
		padding-left: 50px;
	}
}

@media (max-width: 768px) {


	.catalog__title {
		font-size: 24px;
		padding: 28px 0;
		margin-bottom: 36px;
	}


	.catalog__row {
		display: flex;
		flex-direction: column;
		gap: 48px;
		margin-bottom: 0px;
		padding: 0 6px;

	}

	.catalog__card {
		padding: 36px 20px 36px;
		border-radius: 20px;

	}

	.catalog__card-title {
		font-size: 38px;
		margin-bottom: 32px;
	}

	.catalog__card-img-wr {
		width: 200px;
		height: 200px;
		border-radius: 24px;
		margin-bottom: 32px;
		overflow: hidden;
	}

	.catalog__sidebar {
		position: fixed;
		width: 100%;
		left: 0;
		bottom: 0;
		height: 70vh;
		z-index: 9999999;
		background-color: #fff;
		padding: 20px;
		overflow-y: auto;
		transform: translateY(100%);
		transition: all 0.4s ease 0s;
	}

	.catalog__sidebar::before {
		content: '';
		display: block;
		background-color: #fff;
		position: absolute;
		top: 0;
		left: 0;
		height: 5vh;
		width: 100%;
		transform: translateY(calc(-100% - 1px));
	}

	.catalog__sidebar.open {
		transform: translateY(0);
	}

	.btn-all-cats,
	.sidebar__btn-close {
		display: flex !important;
	}
}


.btn-all-cats {
	justify-content: center;
	align-items: center;
	background-color: #E52139;
	color: white;
	font-size: 16px;
	font-weight: 500;
	border: none;
	border-radius: 50px;
	padding: 5px 25px;
	height: 40px;
	cursor: pointer;
	text-align: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	transition: background 0.3s;
	display: none;
	position: fixed;
	z-index: 100;

	bottom: 13px;
	left: 50%;
	transform: translateX(-50%);
	min-width: 200px;
}

.sidebar__btn-close {
	position: sticky;
	top: 0px;
	left: 0px;
	margin-right: auto;
	margin-left: -20px;
	font-size: 24px;
	background-color: #E52139;
	color: #fff;
	cursor: pointer;
	justify-content: center;
	align-items: center;
	display: none;
	width: 32px;
	height: 32px;
	opacity: 1;
}

.elementor-23 .elementor-element.elementor-element-a137a3f {
	margin-top: 0 !important;
}
