/* Header boxed estilo Americe jewelry — Fantasia KIDS */

.fantasia-header.tf-header {
	z-index: 500;
}

@media (min-width: 1200px) {
	.fantasia-header.tf-header {
		position: sticky;
		top: 0;
	}
}

.fantasia-header-boxed.header-s10 {
	background-color: var(--white, #fff);
	margin-bottom: 0 !important;
}

.fantasia-header-boxed .container {
	max-width: 1320px;
}

.fantasia-header-boxed .header-inner {
	gap: 12px;
	min-width: 0;
	max-width: 100%;
}

.fantasia-header-boxed .header-left,
.fantasia-header-boxed .header-right {
	flex: 0 0 auto;
}

.fantasia-header-boxed .header-center {
	flex: 1 1 auto;
	min-width: 0;
}

.fantasia-header-boxed .box-nav-menu {
	gap: 16px;
	flex-wrap: nowrap;
	justify-content: center;
}

@media (min-width: 1200px) and (max-width: 1399px) {
	.fantasia-header-boxed .box-nav-menu {
		gap: 12px;
	}

	.fantasia-header-boxed .item-link {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

.fantasia-header .logo-site img {
	max-height: 48px;
	width: auto;
}

.fantasia-header .header-inner {
	align-items: center;
}

.fantasia-megamenu {
	width: min(960px, calc(100vw - 32px));
	min-width: min(960px, calc(100vw - 32px));
	max-width: min(960px, calc(100vw - 32px));
	padding: 1.5rem 1.5rem 2rem;
	box-sizing: border-box;
}

.fantasia-megamenu .container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.fantasia-megamenu .mega-menu-item,
.fantasia-megamenu .sub-menu_list {
	min-width: 0;
}

.fantasia-megamenu .sub-menu_link {
	white-space: normal;
	overflow-wrap: anywhere;
}

.fantasia-header .sub-menu.fantasia-megamenu {
	left: 50%;
	right: auto;
	transform: translateX(-50%) translateY(10px);
}

.fantasia-header .menu-item:hover .sub-menu.fantasia-megamenu {
	transform: translateX(-50%) translateY(0);
}

.fantasia-megamenu .menu-heading {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.fantasia-megamenu .menu-heading a {
	color: inherit;
	text-decoration: none;
}

.fantasia-megamenu .menu-heading a:hover {
	text-decoration: underline;
}

.fantasia-nav-feat img {
	object-fit: cover;
}

.fantasia-topbar-icons .nav-icon-item {
	color: inherit;
}

.fantasia-topbar-icons .count {
	font-size: 0.65rem;
}

#shoppingCart.popup-shopping-cart .tf-mini-cart-items {
	min-height: 120px;
}

#shoppingCart .tf-mini-cart-bottom {
	padding-bottom: 0.5rem;
}

.modal-search .form-search-nav input {
	width: 100%;
}

.modal-log .captcha-row {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	flex-wrap: wrap;
}

.modal-log .captcha-row img {
	border-radius: 4px;
	border: 1px solid var(--line, #e6e7e9);
}

@media (max-width: 1199.98px) {
	.fantasia-header .header-left {
		flex: 1;
		display: flex;
		justify-content: center;
	}
}

@media (max-width: 767.98px) {
	.fantasia-header .logo-site img {
		max-height: 40px;
	}
}

/* Menú corporativo a pantalla completa (estilo WordPress) y pie legal del menú móvil */

.fantasia-menu-footer {
	padding: 1.25rem 1.25rem 1.5rem;
	border-top: 1px solid var(--line, #e8e8e8);
}

.fantasia-menu-legal {
	line-height: 1.5;
}

.fantasia-menu-legal p {
	font-size: 0.8rem;
}

.box-open-corporate-menu {
	align-items: center;
	flex-shrink: 0;
	margin-left: 16px;
}

.box-open-corporate-menu .fantasia-corporate-menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	background-color: rgba(136, 135, 137, 0.08);
	color: inherit;
	font-size: 19px;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.box-open-corporate-menu .fantasia-corporate-menu-btn:hover,
.box-open-corporate-menu .fantasia-corporate-menu-btn:focus {
	background-color: rgba(136, 135, 137, 0.14);
	color: inherit;
	text-decoration: none;
}

.fantasia-header .header-right {
	display: flex;
	align-items: center;
	gap: 0;
}

body.fantasia-corporate-menu-open {
	overflow: hidden;
}

.fantasia-corporate-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999999;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	padding: 32px 64px;
	background: rgba(17, 16, 19, 0.99);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
	box-sizing: border-box;
	overflow-y: auto;
}

.fantasia-corporate-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.fantasia-corporate-overlay__close {
	align-self: flex-end;
	flex-shrink: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	padding: 0.5rem;
	margin-bottom: 1.5rem;
}

.fantasia-corporate-overlay__inner {
	width: 100%;
	max-width: none;
}

.fantasia-corporate-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fantasia-corporate-nav__item + .fantasia-corporate-nav__item {
	margin-top: 0;
}

.fantasia-corporate-nav__link {
	display: block;
	padding: 0;
	color: #fff;
	font-family: "DM Sans", sans-serif;
	font-size: 2.25625rem;
	font-weight: 600;
	line-height: 1.05;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.fantasia-corporate-nav__link:hover,
.fantasia-corporate-nav__link:focus {
	color: #fff;
	opacity: 0.72;
	text-decoration: none;
}

@media (max-width: 767.98px) {
	.fantasia-corporate-overlay {
		padding: 24px 20px;
	}

	.fantasia-corporate-nav__link {
		font-size: clamp(1.65rem, 7vw, 2.1rem);
	}
}
