/**
 * Easy Import — ajustes visuais no front.
 * Header e footer com o mesmo tema (barra escura, navegação em caps, ações).
 */

.nav-menu,
.site-header,
.site-branding,
.site-title,
.site-description,
.site-info,
.widget-area {
	display: none !important;
}

/* -------------------------------------------------------------------------
   Base partilhada (header + footer)
   ------------------------------------------------------------------------- */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.easyimport-header,
.easyimport-footer {
	background: #0a0a0a;
	color: #f5f5f5;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.easyimport-header {
	position: sticky;
	top: 0;
	z-index: 99990;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.easyimport-footer {
	box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.easyimport-header__top,
.easyimport-footer__top {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.4rem 1.25rem;
	background: #111;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.easyimport-header__bar,
.easyimport-footer__bar {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 0.85rem 1.25rem;
	max-width: 1400px;
	margin: 0 auto;
}

.easyimport-header__bar {
	max-width: 1600px;
	gap: 1rem 1.25rem;
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
}

.easyimport-header__brand,
.easyimport-footer__brand {
	flex: 0 0 auto;
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
}

.easyimport-header__brand:hover,
.easyimport-header__brand:focus,
.easyimport-footer__brand:hover,
.easyimport-footer__brand:focus {
	color: #fff;
	text-decoration: none;
	opacity: 0.9;
}

.easyimport-header__toggle-input {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	border: 0;
	padding: 0;
	opacity: 0;
}

.easyimport-header__toggle-input:focus + .easyimport-header__toggle {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.easyimport-header__toggle {
	display: none;
	flex: 0 0 auto;
	margin-left: auto;
	cursor: pointer;
	padding: 0.35rem;
	border-radius: 4px;
	color: #fff;
}

.easyimport-header__toggle-icon {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.easyimport-header__nav,
.easyimport-footer__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.easyimport-header__menu,
.easyimport-footer__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.easyimport-header__menu-link,
.easyimport-footer__menu-item a {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.88);
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.easyimport-header__menu-link {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.easyimport-header__menu-link:hover,
.easyimport-header__menu-link:focus,
.easyimport-footer__menu-item a:hover,
.easyimport-footer__menu-item a:focus {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.35);
}

.easyimport-header__menu-item.is-current > .easyimport-header__menu-link,
.easyimport-footer__menu-item.is-current a {
	color: #fff;
	border-bottom-color: #fff;
}

.easyimport-header__menu-item.is-current-branch:not(.is-current) > .easyimport-header__menu-link {
	color: rgba(255, 255, 255, 0.95);
	border-bottom-color: rgba(255, 255, 255, 0.45);
}

.easyimport-header__submenu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.easyimport-header__submenu-link {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.82);
	padding: 0.4rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	transition: color 0.15s ease, background-color 0.15s ease;
}

.easyimport-header__submenu-link:hover,
.easyimport-header__submenu-link:focus {
	color: #fff;
}

.easyimport-header__submenu-item.is-current .easyimport-header__submenu-link {
	color: #fff;
}

@media (min-width: 960px) {
	.easyimport-header__menu-item--dropdown {
		position: relative;
	}

	.easyimport-header__menu-item--dropdown > .easyimport-header__submenu {
		display: none;
		position: absolute;
		left: 0;
		top: 100%;
		margin-top: 0;
		min-width: 15rem;
		padding: 0.4rem 0;
		background: #141414;
		border: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
		z-index: 100000;
	}

	/* Ponte entre o link pai e o painel: evita “buraco” onde o :hover do <li> se perde */
	.easyimport-header__menu-item--dropdown > .easyimport-header__submenu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 0.65rem;
	}

	.easyimport-header__menu-item--dropdown:hover > .easyimport-header__submenu,
	.easyimport-header__menu-item--dropdown:focus-within > .easyimport-header__submenu {
		display: block;
	}

	.easyimport-header__submenu-item {
		margin: 0;
	}

	.easyimport-header__submenu-link {
		padding: 0.55rem 1.1rem;
		border-bottom: none;
	}

	.easyimport-header__submenu-link:hover,
	.easyimport-header__submenu-link:focus {
		background: rgba(255, 255, 255, 0.06);
	}
}

.easyimport-header__actions,
.easyimport-footer__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 0 0 auto;
}

.easyimport-header__search {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex: 0 1 17rem;
	min-width: 10rem;
	margin-left: auto;
	margin-top: 0;
	margin-bottom: 0;
	align-self: center;
}

.easyimport-header__search-input {
	width: 100%;
	min-width: 0;
	height: 1.8rem;
	padding: 0 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 0.75rem;
}

.easyimport-header__search-input::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

.easyimport-header__search-input:focus {
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: 1px;
}

.easyimport-header__search-button {
	height: 1.8rem;
	padding: 0 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	line-height: 1;
}

.easyimport-header__search-button:hover,
.easyimport-header__search-button:focus {
	background: rgba(255, 255, 255, 0.2);
}

.easyimport-header__action,
.easyimport-footer__action {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	padding: 0.4rem 0.6rem;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.04);
}

.easyimport-header__action {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.easyimport-header__action:hover,
.easyimport-header__action:focus,
.easyimport-footer__action:hover,
.easyimport-footer__action:focus {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.easyimport-header__cart-count,
.easyimport-footer__cart-count {
	display: inline-flex;
	min-width: 1.25rem;
	height: 1.25rem;
	align-items: center;
	justify-content: center;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: #fff;
	color: #0a0a0a;
	font-size: 0.65rem;
	font-weight: 700;
}

.easyimport-footer__credit {
	margin: 0;
	padding: 1rem 1.25rem 1.5rem;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.65);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.easyimport-footer__bar--menu-only {
	justify-content: center;
}

.easyimport-footer__bar--menu-only .easyimport-footer__nav {
	flex: 1 1 100%;
	width: 100%;
}

/* Footer: contacto, morada, redes (layout tipo megaloja) */
.easyimport-footer__info {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: #0c0c0c;
}

.easyimport-footer__info-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1.75rem 1.25rem 1.5rem;
	display: grid;
	gap: 1.5rem 2rem;
	grid-template-columns: 1fr;
	align-items: start;
}

@media (min-width: 768px) {
	.easyimport-footer__info-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.easyimport-footer__info-inner {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.easyimport-footer__block {
	min-width: 0;
}

.easyimport-footer__info-heading {
	margin: 0 0 0.85rem;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.95);
}

.easyimport-footer__contact .easyimport-footer__info-heading {
	margin-top: 0;
}

.easyimport-footer__address-line,
.easyimport-footer__contact-line,
.easyimport-footer__extra-line {
	margin: 0 0 0.5rem;
	font-size: 0.88rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
}

.easyimport-footer__contact-link {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.easyimport-footer__contact-link:hover,
.easyimport-footer__contact-link:focus {
	color: #fff;
}

.easyimport-footer__extra-block {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.easyimport-footer__extra-block:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.easyimport-footer__extra-title {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
}

.easyimport-footer__social-heading {
	margin-bottom: 0.75rem;
}

.easyimport-footer__social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.easyimport-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.easyimport-footer__social-link:hover,
.easyimport-footer__social-link:focus {
	background: rgba(255, 255, 255, 0.16);
	transform: translateY(-2px);
	color: #fff;
}

.easyimport-footer__social-link--whatsapp {
	background: rgba(37, 211, 102, 0.15);
	border-color: rgba(37, 211, 102, 0.35);
	color: #25d366;
}

.easyimport-footer__social-link--whatsapp:hover,
.easyimport-footer__social-link--whatsapp:focus {
	background: #25d366;
	color: #fff;
	border-color: #25d366;
}

.easyimport-footer__legal .easyimport-footer__menu {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.2rem;
	width: 100%;
}

.easyimport-footer__legal .easyimport-footer__menu-item a {
	padding: 0.1rem 0;
	border-bottom: none;
	font-size: 0.76rem;
	letter-spacing: 0.08em;
}

.easyimport-footer__payment-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
}

.easyimport-footer__payment-item {
	display: inline-flex;
	align-items: center;
}

.easyimport-footer__payment-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.1rem;
	height: 1.4rem;
	padding: 0;
	border-radius: 0.25rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: #fff;
}

.easyimport-footer__payment-img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transform: scale(1.06);
	transform-origin: center;
}

/* Botão flutuante WhatsApp (canto inferior direito) */
.easyimport-whatsapp-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 99991;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.35rem;
	height: 3.35rem;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	text-decoration: none;
}

.easyimport-whatsapp-float:hover,
.easyimport-whatsapp-float:focus {
	background: #20bd5a;
	color: #fff;
	text-decoration: none;
	transform: scale(1.06);
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}

.easyimport-whatsapp-float:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.easyimport-whatsapp-float__icon {
	display: flex;
	line-height: 0;
}

/* Header: menu mobile com toggle */
@media (max-width: 959px) {
	.easyimport-header__brand {
		order: 1;
	}

	.easyimport-header__search {
		order: 2;
		flex: 1 1 auto;
		margin-left: auto;
		margin-right: 0.35rem;
	}

	.easyimport-header__actions {
		order: 3;
		margin-left: auto;
	}

	.easyimport-header__toggle {
		display: block;
		order: 4;
	}

	.easyimport-header__nav {
		order: 5;
		flex: 1 1 100%;
		display: none;
		padding: 0.75rem 0 0.25rem;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		margin-top: 0.25rem;
		justify-content: flex-start;
	}

	.easyimport-header__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.easyimport-header__menu-link {
		padding: 0.65rem 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.easyimport-header__menu-item--dropdown > .easyimport-header__menu-link {
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.easyimport-header__submenu {
		width: 100%;
		margin: 0 0 0.35rem;
		padding: 0 0 0 0.85rem;
		border-left: 2px solid rgba(255, 255, 255, 0.12);
	}

	.easyimport-header__submenu-link {
		padding: 0.5rem 0;
		font-size: 0.7rem;
	}

	.easyimport-header__toggle-input:checked + .easyimport-header__toggle + .easyimport-header__nav {
		display: flex;
	}

	/* Footer: menu em coluna em ecrãs estreitos */
	.easyimport-footer__bar {
		flex-direction: column;
		align-items: stretch;
	}

	.easyimport-footer__nav {
		width: 100%;
		padding-top: 0.5rem;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.easyimport-footer__bar--menu-only .easyimport-footer__nav {
		padding-top: 0;
		border-top: none;
	}

	.easyimport-footer--has-info .easyimport-footer__bar--menu-only .easyimport-footer__nav {
		padding-top: 0.75rem;
		margin-top: 0.25rem;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.easyimport-footer__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.easyimport-footer__menu-item a {
		padding: 0.65rem 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}
}

@media (min-width: 960px) {
	.easyimport-header__bar {
		flex-wrap: nowrap;
	}

	.easyimport-header__nav {
		margin-left: 1rem;
		margin-right: 1rem;
	}

	.easyimport-header__actions {
		margin-left: 0.25rem;
	}

	.easyimport-footer__bar {
		flex-wrap: nowrap;
	}

	.easyimport-footer__nav {
		margin-left: auto;
		margin-right: auto;
	}
}

/* Oculta widget de busca legado fora do header custom */
.widget_search {
	display: none !important;
}
