/**
 * Óptica Gràcia Custom — CSS
 * Version 1.3.56
 */

/**
		 * ------------------------------------------------------
		 * LISTADOS DE PRODUCTOS
		 * ------------------------------------------------------
		 */

		.products li.product {
			position: relative;
		}

		.products li.product .e33-wishlist-button {

			position: absolute;

			top: -16px !important;
			right: -10px !important;

			z-index: 10;

			width: 30px !important;
			height: 30px !important;

			padding: 0;
			margin: 0;

			display: flex;
			align-items: center;
			justify-content: center;

			background: transparent !important;
			border: 0 !important;
			border-radius: 0;

			color: #444444 !important;
			font-size: 30px !important;
			font-weight: 400 !important;
			line-height: 1;
			text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
			cursor: pointer;
		}


		/**
		 * ------------------------------------------------------
		 * OCULTAR ETIQUETA NATIVA DE WOOCOMMERCE
		 * ------------------------------------------------------
		 *
		 * WooCommerce genera automáticamente la etiqueta
		 * .onsale en los listados.
		 *
		 * La ocultamos únicamente dentro de los listados
		 * para evitar que aparezca junto a nuestra etiqueta
		 * personalizada .e33-producto-oferta.
		 *
		 * No afecta a las fichas individuales.
		 */

		.products li.product .onsale {
			display: none !important;
		}


		/**
		 * Tooltip de los listados.
		 */

		.products li.product
		.e33-wishlist-button::after {

			content: attr(aria-label);

			position: absolute;

			right: 42px;
			top: 50%;

			transform: translateY(-50%);

			white-space: nowrap;

			padding: 6px 9px;

			background: #222;
			color: #fff;

			font-size: 12px;
			font-weight: 400;
			line-height: 1;

			border-radius: 3px;

			opacity: 0;
			visibility: hidden;

			pointer-events: none;

			transition:
			opacity 0.2s ease;
		}


		.products li.product .e33-wishlist-button:hover {
			background: transparent !important;
			color: #444444 !important;
		}

		.products li.product .e33-wishlist-button.e33-wishlist-active {
			background: transparent !important;
			border: 0 !important;
			color: #397FC2 !important;
			font-weight: 400 !important;
		}

		.products li.product .e33-wishlist-button svg {
			display: block;
			width: 30px;
			height: 30px;
			fill: none;
			stroke: currentColor;
			stroke-width: 1.6;
			stroke-linecap: round;
			stroke-linejoin: round;
		}

		.products li.product .e33-wishlist-button.e33-wishlist-active svg {
			fill: currentColor;
		}


		.products li.product
		.e33-wishlist-button:hover::after {

			opacity: 1;
			visibility: visible;
		}




		/**
		 * ------------------------------------------------------
		 * PRODUCTO INDIVIDUAL
		 * ------------------------------------------------------
		 */

		.e33-wishlist-single {

			display: flex;

			align-items: center;
			justify-content: center;

			gap: 8px;

			width: 100%;

			padding: 8px 0;
			margin: 12px 0;

			background: #00000017 !important;

			border: 0 !important;

			color: #444444 !important;

			font-size: 16px;
			font-weight: 400;
			color: #444444 !important;

			line-height: 1;

			cursor: pointer;

			text-align: center;
		}


		.e33-wishlist-single:hover,
		.e33-wishlist-single:focus {
			background: #00000017 !important;
			border: 0 !important;
			color: #444444 !important;
		}


		.e33-wishlist-single
		.e33-wishlist-heart {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			flex: 0 0 auto;
			width: 30px;
			height: 30px;
			margin: 0;
			padding: 0;
			color: #444444 !important;
			line-height: 1;
			vertical-align: middle;
		}

		.e33-wishlist-single .e33-wishlist-heart svg {
			display: block;
			width: 30px;
			height: 30px;
			fill: none;
			stroke: currentColor;
			stroke-width: 1.6;
			stroke-linecap: round;
			stroke-linejoin: round;
		}


		.e33-wishlist-single.e33-wishlist-active
		.e33-wishlist-heart {
			color: #397FC2 !important;
			font-weight: 400 !important;
		}

		.e33-wishlist-single.e33-wishlist-active
		.e33-wishlist-heart svg {
			fill: currentColor;
		}

		.e33-wishlist-single
		.e33-wishlist-label {

			display: inline-flex;

			align-items: center;

			flex: 0 0 auto;

			margin: 0;
			padding: 0;

			font-size: 16px;
			font-weight: 400;
			color: #444444 !important;

			line-height: 1;
		}



		.e33-wishlist-single:hover {
			opacity: 0.75;
		}


		/**
		 * ------------------------------------------------------
		 * CONTADOR DE FAVORITOS DEL HEADER
		 * ------------------------------------------------------
		 */

		.e33-favoritos-header-link {
			position: relative !important;
		}

		.e33-favoritos-count {

			position: absolute;

			top: -8px;
			right: -10px;

			min-width: 18px;
			height: 18px;

			padding: 0 4px;

			display: flex;
			align-items: center;
			justify-content: center;

			background: #fff;
			color: #000;

			border-radius: 50%;

			font-family: 'Poppins', sans-serif;
			font-size: 10px;
			font-weight: 500;
			line-height: 18px;

			text-align: center;

			box-sizing: border-box;

			pointer-events: none;
		}


		/**
		 * ------------------------------------------------------
		 * PÁGINA DE FAVORITOS
		 * ------------------------------------------------------
		 */

		.e33-favoritos {
			width: 100%;
		}


		.e33-favoritos-grid {

			display: grid;

			grid-template-columns:
				repeat(5, minmax(0, 1fr));

			gap: 24px;

			width: 100%;
		}


		.e33-favorito-producto {

			position: relative;

			min-width: 0;
		}


		/**
		 * Imagen.
		 */

		.e33-favorito-imagen {

			position: relative;

			display: block;

			width: 100%;

			overflow: hidden;
		}


		.e33-favorito-imagen img {

			display: block;

			width: 100%;

			height: auto;
		}


		/**
		 * Segunda imagen.
		 */

		.e33-favorito-imagen-secundaria {

			position: absolute;

			top: 0;
			left: 0;

			width: 100%;
			height: 100%;

			object-fit: contain;

			opacity: 0;

			transition:
				opacity 0.3s ease;
		}


		.e33-favorito-imagen:hover
		.e33-favorito-imagen-secundaria {

			opacity: 1;
		}


		/**
		 * ------------------------------------------------------
		 * ETIQUETAS DE PRODUCTO
		 * ------------------------------------------------------
		 */

		.e33-favorito-badge {

			position: absolute;

			top: 6px;
			left: 6px;

			z-index: 8;

			padding: 6px 10px;

			font-size: 12px;
			font-weight: 500;

			line-height: 1;

			text-transform: uppercase;

			pointer-events: none;
		}


		/**
		 * Oferta.
		 */

		.e33-favorito-oferta {

			background: #0b5e8d;
			color: #fff;
		}


		/**
		 * Agotado.
		 */

		.e33-favorito-agotado {

			background: #222;
			color: #fff;
		}


		/**
		 * Corazón de favoritos.
		 *
		 * Usa SVG para evitar problemas de renderizado del carácter
		 * Unicode y de -webkit-text-stroke en Safari.
		 */

		.e33-favorito-producto .e33-wishlist-favorito {
			position: absolute;
			top: -16px;
			right: -10px;
			z-index: 10;
			width: 30px;
			height: 30px;
			padding: 0;
			margin: 0;
			display: flex;
			align-items: center;
			justify-content: center;
			background: transparent !important;
			background-color: transparent !important;
			background-image: none !important;
			border: 0 !important;
			border-radius: 0;
			box-shadow: 0 12px 35px rgba(0,0,0,.12) !important;
			-webkit-box-shadow: none !important;
			-webkit-appearance: none !important;
			appearance: none !important;
			color: #444444 !important;
		cursor: pointer;
			text-shadow: none !important;
		}

		.e33-favorito-producto .e33-wishlist-favorito svg {
			display: block;
			width: 40px;
			height: 40px;
			fill: none;
			stroke: currentColor;
			stroke-width: 1.6;
			stroke-linecap: round;
			stroke-linejoin: round;
		}

		.e33-favorito-producto .e33-wishlist-favorito:hover,
		.e33-favorito-producto .e33-wishlist-favorito:focus,
		.e33-favorito-producto .e33-wishlist-favorito:active {
			background: transparent !important;
			background-color: transparent !important;
			border: 0 !important;
			box-shadow: none !important;
			color: #444444 !important;
		}

		.e33-favorito-producto .e33-wishlist-favorito.e33-wishlist-active {
			background: transparent !important;
			background-color: transparent !important;
			border: 0 !important;
			box-shadow: none !important;
			color: #397FC2 !important;
		}

		.e33-favorito-producto .e33-wishlist-favorito.e33-wishlist-active svg {
			fill: currentColor;
		}


		/**
		 * Tooltip.
		 */

		.e33-favorito-producto
		.e33-wishlist-favorito::after {

			content: attr(aria-label);

			position: absolute;

			right: 42px;
			top: 50%;

			transform: translateY(-50%);

			white-space: nowrap;

			padding: 6px 9px;

			background: #222;
			color: #fff;
			
			font-size: 12px;
			font-weight: 400;

			line-height: 1;

			border-radius: 3px;

			opacity: 0;
			visibility: hidden;

			pointer-events: none;

			transition:
				opacity 0.2s ease;
		}


		.e33-favorito-producto
		.e33-wishlist-favorito:hover::after {

			opacity: 1;
			visibility: visible;
		}


		/**
		 * Nombre.
		 */

		.e33-favorito-nombre {

			margin: 12px 0 6px;

			padding: 0;

			text-align: center;

			font-size: 16px;

			line-height: 0.85 !important;

			font-weight: 400;
		}


		.e33-favorito-nombre a {

			text-decoration: none;

			color: inherit;
		}


		/**
		 * Precio.
		 */

		.e33-favorito-precio {

			margin: 0 0 10px;

			text-align: center;

			font-size: 18px;

			line-height: 1.3;

			font-weight: 500;
		}



		/**
		 * Botón Comprar en favoritos.
		 */

		.e33-favorito-producto .e33-favorito-comprar {

			visibility: hidden !important;
			transform: translateY(-15px);
			display: table !important;
			width: 170px !important;
			text-align: center;
			margin-left: auto !important;
			margin-right: auto !important;
			padding: 6px 14px !important;
			box-sizing: border-box;
			background: #397FC2 !important;
			color: #ffffff !important;
			border: 1px solid #397FC2 !important;
			border-radius: 3px !important;
			font-weight: 500 !important;
			text-decoration: none !important;
			transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, visibility 0s linear 0.25s;
		}

		.e33-favorito-producto:hover .e33-favorito-comprar {

			visibility: visible !important;
			pointer-events: auto !important;
			transform: translateY(0);
			background: #397FC2 !important;
			color: #ffffff !important;
			border-color: #397FC2 !important;
			transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, visibility 0s linear 0s;
		}
		/**
		 * Paginación.
		 */

		.e33-favoritos-paginacion {

			display: flex;

			justify-content: center;

			align-items: center;

			flex-wrap: wrap;

			gap: 6px;

			width: 100%;

			margin: 35px 0 10px;
		}


		.e33-favoritos-paginacion a,
		.e33-favoritos-paginacion span {

			display: inline-flex;

			align-items: center;
			justify-content: center;

			min-width: 36px;
			height: 36px;

			padding: 0 10px;

			border: 0;

			background: #fff;

			color: inherit;

			text-decoration: none;

			font-size: 14px;

			line-height: 1;

			cursor: pointer;
		}


		.e33-wishlist-single .e33-wishlist-label,
		.e33-wishlist-single .e33-wishlist-label:hover,
		.e33-wishlist-single .e33-wishlist-label:focus {
			color: #444444 !important;
			-webkit-text-fill-color: #444444 !important;
		}


		.e33-favoritos-paginacion span.current {

			background: #4a7bba;

			color: #fff;

			border: 0;
		}


		.e33-favoritos-paginacion a:hover {

			background: #f5f5f5;
		}


		/**
		 * Estado vacío / error.
		 */

		.e33-favoritos-vacio,
		.e33-favoritos-error {

			width: 100%;

			text-align: center;

			padding: 30px 0;
		}


		/**
		 * Tablet.
		 */

		@media (max-width: 1024px) {

			.e33-favoritos-grid {

				grid-template-columns:
					repeat(4, minmax(0, 1fr));

				gap: 20px;
			}

		}


		/**
		 * Móvil.
		 */

		@media (max-width: 767px) {

			.e33-favoritos-grid {

				grid-template-columns:
					repeat(2, minmax(0, 1fr));

				gap: 18px;
			}

			.e33-favorito-nombre {
				font-size: 14px;
			}

			.e33-favorito-precio {
				font-size: 14px;
			}

		}

.products li.product {
			position: relative;
		}


		.products li.product
		.e33-product-image-hover {

			position: absolute;

			top: 0;
			left: 0;

			width: 100%;
			height: 100%;

			object-fit: contain;

			opacity: 0;

			transition:
				opacity 0.3s ease;

			pointer-events: none;

			z-index: 2;
		}


		.products li.product:hover
		.e33-product-image-hover {

			opacity: 1;
		}


		/**
		 * ======================================================
		 * ETIQUETA AGOTADO
		 * ======================================================
		 */

		.products li.product {
			position: relative;
		}


		.products li.product
		.e33-producto-agotado {

			position: absolute;

			top: 6px;
			left: 6px;

			z-index: 5;

			padding: 6px 10px;

			background: #222;

			color: #fff;

			font-size: 12px;
			font-weight: 500;

			line-height: 1;

			text-transform: uppercase;
		}


		/**
		 * ======================================================
		 * ETIQUETA OFERTA
		 * ======================================================
		 */

		.products li.product
		.e33-producto-oferta {

			position: absolute;

			top: 6px;
			left: 6px;

			z-index: 5;

			padding: 6px 10px;

			background: #0b5e8d;

			color: #fff;

			font-size: 12px;
			font-weight: 500;

			line-height: 1;

			text-transform: uppercase;
		}

/**
		 * ------------------------------------------------------
		 * Elemento que contiene el tooltip.
		 * ------------------------------------------------------
		 */

		.e33-header-tooltip {

			position: relative !important;

		}


		/**
		 * ------------------------------------------------------
		 * Tooltip.
		 * ------------------------------------------------------
		 */

		.e33-header-tooltip::after {

			content: attr(data-tooltip);

			position: absolute;

			top: calc(100% + 10px);
			left: 50%;

			transform: translateX(-50%);

			z-index: 9999;

			white-space: nowrap;

			padding: 7px 10px;

			background: #222;
			color: #fff;

			font-family: 'Poppins', sans-serif;
			font-size: 12px;
			font-weight: 400;

			line-height: 1.2;

			border-radius: 3px;

			opacity: 0;
			visibility: hidden;

			pointer-events: none;

			transition:
				opacity 0.2s ease,
				visibility 0.2s ease;

		}


		/**
		 * ------------------------------------------------------
		 * Mostrar tooltip al pasar el ratón.
		 * ------------------------------------------------------
		 */

		.e33-header-tooltip:hover::after {

			opacity: 1;
			visibility: visible;

		}

/**
		 * ------------------------------------------------------
		 * Botón del carrito de Elementor.
		 * ------------------------------------------------------
		 */

		#elementor-menu-cart__toggle_button {

			position: relative !important;

		}


		/**
		 * ------------------------------------------------------
		 * Tooltip.
		 * ------------------------------------------------------
		 */

		#elementor-menu-cart__toggle_button::after {

			content: 'Cesta de la compra';

			position: absolute;

			top: calc(100% + 10px);
			left: 50%;

			transform: translateX(-50%);

			z-index: 9999;

			white-space: nowrap;

			padding: 7px 10px;

			background: #222;
			color: #fff;

			font-family: 'Poppins', sans-serif;
			font-size: 12px;
			font-weight: 400;

			line-height: 1.2;

			border-radius: 3px;

			opacity: 0;
			visibility: hidden;

			pointer-events: none;

			transition:
				opacity 0.2s ease,
				visibility 0.2s ease;

		}


		/**
		 * ------------------------------------------------------
		 * Mostrar tooltip.
		 * ------------------------------------------------------
		 */

		#elementor-menu-cart__toggle_button:hover::after {

			opacity: 1;
			visibility: visible;

		}


		/**
		 * ------------------------------------------------------
		 * Flechas del teletipo
		 * ------------------------------------------------------
		 */

		.e33-promo-arrow:hover,
		.e33-promo-arrow:focus,
		.e33-promo-arrow:active {
			background: transparent !important;
			color: #fff !important;
			border: 0 !important;
		}

/**
 * ------------------------------------------------------
 * BOTÓN COMPRAR - LISTADOS DE PRODUCTOS
 * ------------------------------------------------------
 */

.products li.product a.button {
	visibility: hidden !important;
	transform: translateY(-15px);
	display: table !important;
	width: 172px;
	text-align: center;
	margin-left: auto !important;
	margin-right: auto !important;
	background: #397FC2 !important;
	color: #ffffff !important;
	font-weight: 500 !important;
	transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, visibility 0s linear 0.25s;
}

.products li.product:hover a.button {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: translateY(0);
	background: #397FC2 !important;
	color: #ffffff !important;
	border-color: #444444 !important;
	transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, visibility 0s linear 0s;
}



/**
 * ------------------------------------------------------
 * MEGA MENÚ MARCAS - ESCRITORIO
 * Quitar sombra solamente en escritorio.
 * ------------------------------------------------------
 */

#elementor-popup-modal-21009 .dialog-widget-content {
	box-shadow: 0 12px 35px rgba(0,0,0,.12) !important;
}


/**
 * ------------------------------------------------------
 * PÁGINA DE MARCA - IMAGEN DE PORTADA
 * ------------------------------------------------------
 */

.e33-marca-portada {
	position: relative;
	width: calc(100% - 24px);
	height: 400px;
	margin-left: 12px;
	margin-right: 12px;
	overflow: hidden;
	border-radius: 12px;
	box-sizing: border-box;
}

.e33-marca-portada-imagen {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: inherit;
}

.e33-marca-portada-titulo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: calc(100% - 30px);
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: #ffffff;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 0 8px #000;
	pointer-events: none;
}

@media (min-width: 1025px) and (max-width: 1200px) {
	.e33-marca-portada {
		height: 260px;
	}

	.e33-marca-portada-titulo {
		font-size: 37px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.e33-marca-portada {
		height: 220px;
	}

	.e33-marca-portada-titulo {
		font-size: 34px;
	}
}

@media (max-width: 767px) {
	.e33-marca-portada {
		height: 160px;
	}

	.e33-marca-portada-titulo {
		font-size: 27px;
	}
}

/* En pantallas pequeñas mantenemos la proporción original de la
 * portada para evitar recortar la parte inferior de la imagen. */
@media (max-width: 520px) {
	.e33-marca-portada {
		height: auto !important;
		border-radius: 12px !important;
	}

	.e33-marca-portada-imagen {
		height: auto !important;
		border-radius: 12px !important;
	}

	.e33-marca-logo {
		width: 120px !important;
		max-width: 120px !important;
		height: auto !important;
	}
}

/**
 * ------------------------------------------------------
 * MEGA MENÚ MARCAS - LOGOS UNIFORMES
 * Reducir el espacio entre logos y hacer que todos
 * ocupen una celda de tamaño uniforme en escritorio.
 * ------------------------------------------------------
 */

/**
 * ------------------------------------------------------
 * CONTENEDOR DEL MEGAMENÚ GAFAS DE SOL
 * ------------------------------------------------------
 * El panel se posiciona mediante JavaScript respecto al
 * elemento del menú que lleva la clase e33-menu-gafas-sol.
 */
.e33-og-sunglasses-menu-panel {
	position: fixed;
	z-index: 99999;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	box-shadow: 0 12px 35px rgba(0,0,0,.12);
	max-height: calc(100vh - 100px);
	overflow-y: auto;
}

.e33-og-sunglasses-menu-panel[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	.e33-og-sunglasses-menu-panel {
		max-height: calc(100vh - 90px);
	}
}

/*
 * ------------------------------------------------------
 * MEGAMENÚ DE MARCAS - AJUSTE RESPONSIVE
 * ------------------------------------------------------
 * Los logos se han normalizado a 800x200.
 * Aquí reducimos el tamaño de cada celda y el espacio entre
 * ellas para que el conjunto resulte más compacto y no haya
 * recortes en tablet ni móvil.
 */

.e33-megamenu-marcas {
	display: grid !important;
	justify-content: center !important;
	align-items: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

.e33-megamenu-marcas .e33-megamenu-marca {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;	
	box-sizing: border-box !important;
	min-width: 0 !important;
}

.e33-megamenu-marcas .e33-megamenu-marca-logo {
	display: block !important;
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
	max-height: 36px !important;
	object-fit: contain !important;
	margin: 0 auto !important;
}

/* PC: 10 marcas por fila, conjunto más compacto */
@media (min-width: 1201px) {
	.e33-megamenu-marcas {
		grid-template-columns: repeat(10, 100px) !important;
		column-gap: 8px !important;
		row-gap: 8px !important;
	}

	.e33-megamenu-marcas .e33-megamenu-marca {
		width: 100px !important;
		height: 40px !important;
	}

	.e33-megamenu-marcas .e33-megamenu-marca-logo {
		width: 92px !important;
		max-width: 92px !important;
		max-height: 34px !important;
	}
}

/* Tablet: 6 marcas por fila */
@media (min-width: 768px) and (max-width: 1200px) {
	.e33-megamenu-marcas {
		grid-template-columns: repeat(6, 105px) !important;
		column-gap: 8px !important;
		row-gap: 8px !important;
	}

	.e33-megamenu-marcas .e33-megamenu-marca {
		width: 105px !important;
		height: 40px !important;
	}

	.e33-megamenu-marcas .e33-megamenu-marca-logo {
		width: 96px !important;
		max-width: 96px !important;
		max-height: 34px !important;
	}
}

/* Móvil: 3 marcas por fila, con margen de seguridad */
@media (max-width: 767px) {
	.e33-megamenu-marcas {
		grid-template-columns: repeat(3, 96px) !important;
		column-gap: 7px !important;
		row-gap: 7px !important;
		padding-left: 4px !important;
		padding-right: 4px !important;
	}

	.e33-megamenu-marcas .e33-megamenu-marca {
		width: 96px !important;
		height: 38px !important;
	}

	.e33-megamenu-marcas .e33-megamenu-marca-logo {
		width: 88px !important;
		max-width: 88px !important;
		max-height: 32px !important;
	}
}

/* El popup de Elementor da foco automático al primer logo (Arnette).
 * No mostramos ese marco cuando el foco procede del ratón, pero mantenemos
 * el indicador para navegación real con teclado (:focus-visible). */
.e33-megamenu-marcas .e33-megamenu-marca:focus:not(:focus-visible) {
	outline: none !important;
	box-shadow: none !important;
}

/* Elementor puede conservar el foco del primer enlace al abrir el popup.
 * El megamenú se abre con el ratón, por lo que evitamos el marco negro
 * que aparece alrededor de Arnette (primer logo). */
.e33-megamenu-marcas .e33-megamenu-marca:focus,
.e33-megamenu-marcas .e33-megamenu-marca:focus-visible,
.e33-megamenu-marcas .e33-megamenu-marca:active {
	outline: none !important;
	box-shadow: none !important;
	border: 0 !important;
}

.e33-megamenu-marcas .e33-megamenu-marca-logo {
	outline: none !important;
	border: 0 !important;
}

/**
 * ------------------------------------------------------
 * CABECERA DE ARCHIVOS FILTRADOS DE GAFAS DE SOL
 * ------------------------------------------------------
 */
.e33-sunglasses-archive-header {
	position: relative;
	width: calc(100vw - 24px);
	max-width: none;
	height: 400px;
	/* WooCommerce imprime el listado dentro de un contenedor con
	 * separación superior. Sacamos la cabecera de ese contenedor para
	 * que tenga el mismo ancho y posición visual que la portada de marca. */
	margin-top: -92px;
	margin-left: calc(50% - 50vw + 12px);
	margin-right: 0;
	margin-bottom: 30px;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	aspect-ratio: auto;
	min-height: 0;
	overflow: hidden;
	border-radius: 12px;
	box-sizing: border-box;
	line-height: 0;
}

.e33-sunglasses-archive-header-image {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: 50% 56% !important;
	border-radius: inherit;
	margin: 0 !important;
	padding: 0 !important;
	vertical-align: top;
	filter: none !important;
	opacity: 1 !important;
}

/* Igual que la portada normal de marca: no aplicamos una capa de
 * oscurecimiento adicional sobre la fotografía. */
.e33-sunglasses-archive-header-overlay {
	position: absolute;
	inset: 0;
	background: transparent !important;
	pointer-events: none;
}

.e33-sunglasses-archive-header-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: calc(100% - 30px);
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: #ffffff;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 0 8px #000;
	pointer-events: none;
}

@media (min-width: 1025px) and (max-width: 1200px) {
	.e33-sunglasses-archive-header {
		height: 260px;
		margin-top: -76px;
	}

	.e33-sunglasses-archive-header-title {
		font-size: 37px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.e33-sunglasses-archive-header {
		height: 220px;
		margin-top: -60px;
	}

	.e33-sunglasses-archive-header-title {
		font-size: 34px;
	}
}

@media (max-width: 767px) {
	.e33-sunglasses-archive-header {
		width: calc(100vw - 20px);
		height: 160px;
		margin-top: -38px;
		margin-left: calc(50% - 50vw + 10px);
		margin-right: 0;
		margin-bottom: 22px;
		border-radius: 8px;
	}

	.e33-sunglasses-archive-header-title {
		font-size: 27px;
	}
}

/**
 * ------------------------------------------------------
 * MEGAMENÚ GAFAS DE SOL
 * ------------------------------------------------------
 */
 .e33-megamenu-gafas-sol {
	width: 100%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding: 18px;
	box-sizing: border-box;
}

.e33-megamenu-gafas-sol-generos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.e33-megamenu-gafas-sol-genero {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1600 / 530;
	border-radius: 10px;
	text-decoration: none !important;
}

.e33-megamenu-gafas-sol-genero-imagen {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: transform .25s ease;
}

.e33-megamenu-gafas-sol-genero:hover .e33-megamenu-gafas-sol-genero-imagen {
	transform: scale(1.025);
}

.e33-megamenu-gafas-sol-genero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 48%;
	background: linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0));
	pointer-events: none;
}

.e33-megamenu-gafas-sol-genero-titulo {
	position: absolute;
	left: 14px;
	bottom: 12px;
	z-index: 2;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff !important;
	text-decoration: none !important;
	text-shadow: 0 1px 4px rgba(0,0,0,.65);
}

.e33-megamenu-gafas-sol-marcas {
	display: grid;
	grid-template-columns: repeat(10, minmax(70px, 1fr));
	gap: 8px;
	align-items: center;
}

.e33-megamenu-gafas-sol-marca {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 42px;
	text-decoration: none !important;
}

.e33-megamenu-gafas-sol-marca-logo {
	display: block !important;
	width: 100% !important;
	max-width: 92px !important;
	height: auto !important;
	max-height: 34px !important;
	object-fit: contain !important;
}

@media (min-width: 768px) and (max-width: 1200px) {
	.e33-megamenu-gafas-sol-generos {
		gap: 10px;
		margin-bottom: 18px;
	}
	.e33-megamenu-gafas-sol {
		padding: 16px;
	}
	.e33-megamenu-gafas-sol-genero {
		aspect-ratio: 1600 / 530;
	}
	.e33-megamenu-gafas-sol-marcas {
		grid-template-columns: repeat(6, minmax(70px, 1fr));
	}
}

@media (max-width: 767px) {
	.e33-megamenu-gafas-sol {
		padding: 16px;
	}
	.e33-megamenu-gafas-sol-generos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-bottom: 14px;
	}
	.e33-megamenu-gafas-sol-genero {
		aspect-ratio: 1600 / 530;
	}
	.e33-megamenu-gafas-sol-genero-titulo {
		left: 10px;
		bottom: 8px;
		font-size: 14px;
	}
	.e33-megamenu-gafas-sol-marcas {
		grid-template-columns: repeat(3, minmax(70px, 1fr));
		gap: 7px;
	}
}


/**
 * ------------------------------------------------------
 * CONTENEDOR DEL MEGAMENÚ GAFAS GRADUADAS
 * ------------------------------------------------------
 */
.e33-og-prescription-menu-panel {
	position: fixed;
	z-index: 99999;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	box-shadow: 0 12px 35px rgba(0,0,0,.12);
	max-height: calc(100vh - 100px);
	overflow-y: auto;
}

.e33-og-prescription-menu-panel[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	.e33-og-prescription-menu-panel {
		max-height: calc(100vh - 90px);
	}
}

/**
 * ------------------------------------------------------
 * MEGAMENÚ GAFAS GRADUADAS
 * ------------------------------------------------------
 */
 .e33-megamenu-gafas-graduadas {
	width: 100%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding: 18px;
	box-sizing: border-box;
}

.e33-megamenu-gafas-graduadas-generos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.e33-megamenu-gafas-graduadas-genero {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1600 / 530;
	border-radius: 10px;
	text-decoration: none !important;
}

.e33-megamenu-gafas-graduadas-genero-imagen {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: transform .25s ease;
}

.e33-megamenu-gafas-graduadas-genero:hover .e33-megamenu-gafas-graduadas-genero-imagen {
	transform: scale(1.025);
}

.e33-megamenu-gafas-graduadas-genero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 48%;
	background: linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0));
	pointer-events: none;
}

.e33-megamenu-gafas-graduadas-genero-titulo {
	position: absolute;
	left: 14px;
	bottom: 12px;
	z-index: 2;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff !important;
	text-decoration: none !important;
	text-shadow: 0 1px 4px rgba(0,0,0,.65);
}

.e33-megamenu-gafas-graduadas-marcas {
	display: grid;
	grid-template-columns: repeat(10, minmax(70px, 1fr));
	gap: 8px;
	align-items: center;
}

.e33-megamenu-gafas-graduadas-marca {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 42px;
	text-decoration: none !important;
}

.e33-megamenu-gafas-graduadas-marca-logo {
	display: block !important;
	width: 100% !important;
	max-width: 92px !important;
	height: auto !important;
	max-height: 34px !important;
	object-fit: contain !important;
}

@media (min-width: 768px) and (max-width: 1200px) {
	.e33-megamenu-gafas-graduadas-generos {
		gap: 10px;
		margin-bottom: 18px;
	}
	.e33-megamenu-gafas-graduadas {
		padding: 16px;
	}
	.e33-megamenu-gafas-graduadas-genero {
		aspect-ratio: 1600 / 530;
	}
	.e33-megamenu-gafas-graduadas-marcas {
		grid-template-columns: repeat(6, minmax(70px, 1fr));
	}
}

@media (max-width: 767px) {
	.e33-megamenu-gafas-graduadas {
		padding: 16px;
	}
	.e33-megamenu-gafas-graduadas-generos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-bottom: 14px;
	}
	.e33-megamenu-gafas-graduadas-genero {
		aspect-ratio: 1600 / 530;
	}
	.e33-megamenu-gafas-graduadas-genero-titulo {
		left: 10px;
		bottom: 8px;
		font-size: 14px;
	}
	.e33-megamenu-gafas-graduadas-marcas {
		grid-template-columns: repeat(3, minmax(70px, 1fr));
		gap: 7px;
	}
}


/* v1.5.1: categoría principal encima del título en archivos filtrados */
.e33-sunglasses-archive-header-category {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	width: calc(100% - 30px);
	color: #fff;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: .04em;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 0 8px #000;
	pointer-events: none;
}
.e33-sunglasses-archive-header-title { top: 53%; }
.e33-megamenu-marca-nombre {
	display: block;
	max-width: 100%;
	padding: 4px;
	color: #222;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
	overflow-wrap: anywhere;
}
.e33-brand-no-results-recommendations {
	clear: both;
	width: 100%;
	margin: 36px 0 24px;
}
.e33-brand-no-results-recommendations h2 { margin-bottom: 8px; }
.e33-brand-no-results-recommendations > p { margin-bottom: 20px; }
.e33-prescription-archive-header:not(:has(.e33-sunglasses-archive-header-image)) {
	background: #777 !important;
}


/* v1.5.5: ajuste final de espaciados en archivos sin resultados. */
.e33-empty-filtered-archive-message {
	max-width: 1000px;
	margin: 40px auto 28px;
	padding: 0 18px;
	text-align: center;
}
.e33-empty-filtered-archive-message h2 {
	margin: 0 0 10px;
	font-size: clamp(22px, 2vw, 30px);
	line-height: 1.2;
}
.e33-empty-filtered-archive-message p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
}
.e33-brand-no-results-recommendations {
	max-width: 1240px;
	margin: 28px auto 40px;
	padding: 0 18px;
}
.e33-brand-no-results-recommendations h2 { margin-bottom: 8px; }
@media (max-width: 767px) {
	.e33-sunglasses-archive-header-category { font-size: 13px; top: 39%; }
	.e33-sunglasses-archive-header-title { top: 54%; }
}


/* v1.5.4: archivos sin resultados — recomendaciones con el mismo patrón visual que las galerías. */
.e33-brand-no-results-recommendations {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 1240px !important;
	margin: 44px auto 40px !important;
	padding: 0 18px !important;
	clear: both;
}
.e33-brand-no-results-recommendations > h2 {
	margin: 0 0 22px !important;
	color: #4387c4 !important;
	font-size: 28px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	text-align: center !important;
	text-transform: uppercase !important;
}
.e33-brand-no-results-recommendations > p {
	margin: -12px 0 22px !important;
	text-align: center;
}
.e33-brand-no-results-recommendations ul.products,
.e33-brand-no-results-recommendations .woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	column-gap: 24px !important;
	row-gap: 30px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}
.e33-brand-no-results-recommendations ul.products::before,
.e33-brand-no-results-recommendations ul.products::after {
	display: none !important;
	content: none !important;
}
.e33-brand-no-results-recommendations ul.products li.product,
.e33-brand-no-results-recommendations .woocommerce ul.products li.product {
	box-sizing: border-box !important;
	float: none !important;
	clear: none !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
}
@media (max-width: 1024px) {
	.e33-brand-no-results-recommendations > h2 { font-size: 25px !important; }
	.e33-brand-no-results-recommendations ul.products,
	.e33-brand-no-results-recommendations .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 20px !important;
		row-gap: 26px !important;
	}
}
@media (max-width: 767px) {
	.e33-brand-no-results-recommendations { margin: 22px auto 30px !important; padding: 0 14px !important; }
	.e33-brand-no-results-recommendations > h2 { margin-bottom: 18px !important; font-size: 21px !important; }
	.e33-brand-no-results-recommendations > p { margin-top: -8px !important; font-size: 14px; }
	.e33-brand-no-results-recommendations ul.products,
	.e33-brand-no-results-recommendations .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 12px !important;
		row-gap: 22px !important;
	}
}


/* v1.5.5: separación y tamaño responsive del mensaje de ausencia de productos. */
@media (max-width: 1024px) {
	.e33-empty-filtered-archive-message { margin-top: 32px; }
	.e33-empty-filtered-archive-message h2 { font-size: clamp(21px, 3vw, 27px); }
	.e33-brand-no-results-recommendations { margin-top: 38px !important; }
}
@media (max-width: 767px) {
	.e33-empty-filtered-archive-message { margin-top: 28px; margin-bottom: 24px; }
	.e33-empty-filtered-archive-message h2 { font-size: 22px; }
	.e33-empty-filtered-archive-message p { font-size: 14px; }
	.e33-brand-no-results-recommendations { margin-top: 32px !important; }
}
