body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
	padding: 0;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

.header-container {
	display: flex;
	max-width: 1180px;
	margin: 0 auto;
}

.header-logo {
	width: 130px;
}

.header-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.header-top-bar {
	padding: 10px 0;
	background: #F3F1F2;
	font-size: 14px;
}

/* .site-header a:visited {
	color: #201600;
} */

.header-top-bar .header-container {
	justify-content: space-between;
}

.top-bar-search-form {
	position: relative;
}

.top-bar-search-form button {
	/* display: none; */
	position: absolute;
	display: flex;
	width: 20px;
	height: 20px;
	background: url('/wp-content/themes/agskindermo/css/../img/header/search-icon.svg') no-repeat;
	cursor: pointer;
	overflow: hidden;
	font-size: 0;
	top: 50%;
	transform: translateY(-50%);
	left: 12.5px;
	border: none;
}

.top-bar-search-form input {
	padding: 0;
	width: 484px;
	/* height: 36px; */
	padding-bottom: 8px;
	padding-top: 8px;
	border: 1px solid #20160033;
	background: #F3F1F2;
	padding-left: 40px;
	padding-right: 20px;
	border-radius: 7px;
}

.top-bar-search-form input::-webkit-search-cancel-button {
	right: 20px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	transition: background-color 5000s ease-in-out 0s;
}

/* .top-bar-search-form::before {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	background: url('/wp-content/themes/agskindermo/css/../img/header/search-icon.svg');
	top: 50%;
	transform: translateY(-50%);
	left: 10px;
} */

.off-canvas-menu__btn {
	display: none !important;
}

/* Right side of top-bar */

.top-bar-wrapper {
	display: flex;
	align-items: center;
	gap: 40px;
}

.top-bar-menu {
	font-family: 'Open Sans';
}

.top-bar-menu ul {
	display: flex;
	gap: 20px;
}

.top-bar-menu li {
	list-style-type: none;
}

.top-bar-menu li a {
	display: block;
	color: #201600;
	text-decoration: none;
}

/* top-bar-lang */

.top-bar-lang {
	display: flex;
	align-items: center;
	width: 75px;
	height: 30px;
}

.top-bar-lang a {
	border-radius: 200px;
	border: 1px solid #201600;
}

.wpml-ls-legacy-dropdown a {
	padding: 5px 0;
	padding-left: 20px;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
	border-top: none;
}

.wpml-ls-legacy-dropdown a span {
	vertical-align: unset;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
	padding-right: 0;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
	border: none !important;
	border-top: none !important;
	background: url('/wp-content/themes/agskindermo/css/../img/header/lang-arrow-icon.svg') no-repeat;
	width: 15px;
	height: 10px;
}


/* header-nav */

.header-wrapper {
	padding: 23px 0;
	/*padding-top: 23px;*/
}

.header-wrapper .header-container {
	justify-content: space-between;
	align-items: center;
}

/* .header-menu a {
	color: #201600;
	text-transform: uppercase;
} */


.main-navigation ul {
	display: flex;
	font-size: 14px;
}


/* header buttons */

.header-buttons {
	display: flex;
	gap: 20px;
}

.header-buttons * {
	width: 40px;
	height: 40px;
}

.header-cart,
.header-wishlist {
	position: relative;
}

.header-cart li {
	list-style-type: none;
}

.cart-count {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	right: 0;
	bottom: 0;
	width: 16px !important;
	height: 16px !important;
	border-radius: 100%;
	background: #000;
	color: #fff;
	border: 1px solid #C49564;
	font-size: 8px;
}




/* Top header sub menu */

/* .main-navigation .sub-menu {
	box-shadow: none;
	background: #395469;
}

.main-navigation .sub-menu li a {
	color: #fff;
}

.main-navigation .sub-menu li {
	border-right: 1px solid #000;
	text-align: center;
}

.main-navigation .sub-menu li:nth-child(2n) {
	border-right: none;
} */





/* Fixed Header */

.site-header.header-sticky-active {
	padding-bottom: var(--sticky-header-height, 0px);
}

.header-wrapper-fixed {
	position: fixed;
	width: 100%;
	background: #f7f7f7;
	z-index: 9999;
	top: 0;
	box-shadow: 0 2px 12px rgb(0 0 0 / 6%);
}


/* MEDIA */


@media (max-width:1180px) {
	.header-container {
		padding: 0 10px;
	}

}

@media (max-width:1080px) {

	.main-navigation ul {
		font-size: 13px;
		gap: 15px;
	}

	.header-buttons {
		gap: 10px;
	}

	.header-buttons * {
		width: 35px;
		height: 35px;
	}

	.cart-count {
		width: 16px;
		height: 16px;
	}
}


@media (max-width:998px) {

	.header-menu {
		display: none;
	}

	.off-canvas-menu__btn {
		display: flex !important;
	}

	.header-buttons {
		gap: 20px;
		align-items: center;
	}

	.top-bar-search-form input {
		font-family: 'Open Sans';
		width: 380px;
	}
}

@media (max-width:740px) {
	.top-bar-search-form input {
		width: 250px;
	}

	.menu-top-bar-menu-container {
		display: none;
	}

	.header-buttons {
		gap: 10px;
	}


}

@media (max-width:500px) {
	.header-buttons * {
		width: 30px;
		height: 30px;
	}
}

@media (max-width:400px) {
	.top-bar-search-form input {
		width: 165px;
	}
}
