/* ASTRA */
#masthead .site-primary-header-wrap {
	padding: 0;
	max-width: var(--max-width);
}

.ast-header-sticked {
	margin-top: -1px;
}

.main-header-bar.ast-sticky-active {
	box-shadow: none;
}

.ast-logo-title-inline .ast-site-identity {
	padding: 0;
}

header .custom-logo-link:focus,
.ast-header-break-point .site-branding:focus,
.ast-header-break-point .custom-logo-link:focus {
	outline: none;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
	height: 60px;
	width: 40px;
}

@media (max-width: 1024px) {

	header .custom-logo-link img,
	.ast-header-break-point .site-branding img,
	.ast-header-break-point .custom-logo-link img {
		max-width: 100%;
		height: 30px;
		width: auto;
	}

	[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
		height: 30px;
		width: 20px;
	}
}

@media (max-width: 400px) {

	header .custom-logo-link img,
	.ast-header-break-point .site-branding img,
	.ast-header-break-point .custom-logo-link img {
		max-width: 220px;
		height: auto;
		margin-top: 4px;
	}
}


.ast-button-wrap .menu-toggle.main-header-menu-toggle {
	padding: 0;
}

.ast-mobile-popup-drawer .ast-mobile-popup-header {
	min-height: 0;
	padding: 32px 32px 0;
}

.ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close {
	padding: 6px 0;
	font-size: 1rem;
}

.ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close svg {
	width: 24px;
	height: auto;
}

@media (max-width: 1024px) {
	.ast-mobile-popup-drawer .ast-mobile-popup-header {
		padding: 16px 16px 0;
	}

	.ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close {
		padding: 0;
		font-size: 0.875rem;
	}

	.ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close svg {
		width: 14px;
	}
}

#ast-mobile-popup-wrapper .ast-nav-menu {
	gap: 32px;
}

.ast-primary-sticky-header-active .menu-toggle {
	pointer-events: all;
}

.site-header-primary-section-right {
	align-items: end;
}

button.menu-toggle,
.ast-site-header-cart {
	pointer-events: all;
	cursor: pointer;
	transition: all 0.3s ease;
}

button.menu-toggle:hover,
.ast-site-header-cart:hover {
	filter: drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.25));
	transform: translateY(-2px);
	/* Optional lifting effect */
}

.ast-icon-shopping-cart {
	font-size: 20px;
	line-height: 1;
}

.main-navigation .menu-item .menu-link {
	--size: 10px;
	--transition: 0.3s ease;
	display: inline-flex !important;
	align-items: center;
	position: relative;
	gap: 8px;
	padding-left: 0;
	/* space grows here on hover */
	transition: padding-left var(--transition),
		margin-right var(--transition);
}

.main-navigation .menu-item .menu-link::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	background-color: var(--ast-global-color-3);
	margin: 0;
	transform: translate(-100%, -50%) scale(0);
	opacity: 0;
	transition: all var(--transition);
}

.main-navigation .menu-item .menu-link:focus {
	outline: none;
}

.main-navigation .menu-item .menu-link:hover {
	--move: calc(var(--size) * 3);
	padding-left: var(--move) !important;
	margin-right: calc(var(--move) * -1);
}

.main-navigation .menu-item .menu-link:hover::before {
	transform: translate(0, -50%) scale(1);
	opacity: 1;
}


.ast-scroll-to-top-right {
	right: 50px;
}

.ast-scroll-top-icon .ast-icon {
	display: block;
	margin-top: -3px;
}

.ast-desktop .site .ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
	max-width: 420px;
}

@media (max-width: 480px) {
	.ast-desktop .site .ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
		max-width: 251px;
	}
}

.ast-mobile-popup-inner {
	margin: 34px 26px;
	position: relative;
	overflow: visible !important;
}

@media (max-width: 1024px) {
	.ast-mobile-popup-inner {
		margin: 24px 16px;
	}
}

@media (max-width: 480px) {
	#ast-mobile-popup-wrapper .ast-mobile-popup-drawer .ast-mobile-popup-inner {
		width: 100%;
		max-width: calc(100vw - 32px);
	}
}

:root {
	--deco-size: 21px;
}

@media (max-width: 1024px) {
	:root {
		--deco-size: 18px;
	}
}

@media (max-width: 767px) {
	:root {
		--deco-size: 15px;
	}
}

.ast-mobile-popup-inner {
	position: relative;
	/* visible height = 8/21 of the tile, same proportion as your current setup */
	--deco-height: calc(var(--deco-size) * 8 / 21);
}

.ast-mobile-popup-inner::before,
.ast-mobile-popup-inner::after {
	content: '';
	position: absolute;
	top: calc(var(--deco-height) * -1 + 1px);
	left: 0;
	right: 0;
	z-index: 1;
	height: var(--deco-height);
	background-color: var(--ast-global-color-0);
	mask: url("../img/border-deco.svg");
	-webkit-mask-size: auto var(--deco-size);
	mask-size: auto var(--deco-size);
	-webkit-mask-repeat: round no-repeat;
	mask-repeat: round no-repeat;
	-webkit-mask-position: top left;
	mask-position: top left;
}

.ast-mobile-popup-inner::after {
	top: auto;
	bottom: calc(var(--deco-height) * -1 + 1px);
	mask-position: bottom left;
}

[class*="border-deco"] {
	position: relative;
	/* visible height = 8/21 of the tile, same proportion as your current setup */
	--deco-height: calc(var(--deco-size) * 8 / 21);
}

[class*="border-deco"]::before,
[class*="border-deco"]::after {
	content: '';
	position: absolute;
	top: calc(var(--deco-height) * -1 + 1px);
	left: 0;
	right: 0;
	z-index: 1;
	height: var(--deco-height);
	background-color: var(--ast-global-color-0);

	-webkit-mask-image: url("../img/border-deco.svg");
	mask-image: url("../img/border-deco.svg");
	-webkit-mask-size: auto var(--deco-size);
	mask-size: auto var(--deco-size);
	-webkit-mask-repeat: round no-repeat;
	mask-repeat: round no-repeat;
	-webkit-mask-position: top left;
	mask-position: top left;
}

[class*="border-deco"]::after {
	top: auto;
	bottom: calc(var(--deco-height) * -1 + 1px);
	-webkit-mask-position: bottom left;
	mask-position: bottom left;
}

.border-deco-white::before,
.border-deco-white::after {
	background-color: white;
}

@media (max-width: 921px) {
	.ast-mobile-popup-drawer.active .ast-mobile-popup-content {
		display: flex !important;
	}
}

@media (min-width: 922px) {
	.ast-mobile-popup-drawer.active .ast-desktop-popup-content {
		display: flex !important;
	}
}

@media (max-width: 921px) {
	.ast-mobile-popup-drawer.active .ast-mobile-popup-content {
		padding-left: 32px;
		padding-bottom: 32px;
	}
}

.ast-mobile-popup-drawer .ast-mobile-popup-content,
.ast-mobile-popup-drawer .ast-desktop-popup-content {
	flex: 1 auto;
	flex-flow: column;
	justify-content: space-between;
}

.ast-mobile-popup-inner [data-section="section-hb-social-icons-1"] {
	padding: 0 !important;
}

.ast-woo-shop-archive .site-content>.ast-container {
	max-width: none;
	padding: 0;
}
