/*
 * Base styles for Avada Child Alua.
 * Keep visual customizations organized here.
 */

/* Top bar: left social, center slider, right empty. */
body {
	padding-top: 42px;
}

.admin-bar body {
	padding-top: 74px;
}

body.home {
	padding-top: 42px !important;
}

.admin-bar body.home {
	padding-top: 74px !important;
}

.alua-topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1300;
	height: 42px;
	background: #ceac6e;
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 0 16px;
}

.admin-bar .alua-topbar {
	top: 32px;
}

.alua-topbar__left {
	display: flex;
	align-items: center;
	gap: 12px;
	justify-self: start;
}

.alua-topbar__social {
	color: #2c1a00;
	font-size: 16px;
	text-decoration: none;
}

.alua-topbar__center {
	justify-self: center;
	width: min(100%, 560px);
}

.alua-topbar__right {
	justify-self: end;
	width: 120px;
}

.topbar-slider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #2c1a00;
	font-size: 13px;
	font-weight: 600;
	width: 100%;
}

.topbar-arrow {
	border: 0;
	background: transparent;
	color: #2c1a00;
	font-size: 18px;
	line-height: 1;
	padding: 0 2px;
	cursor: pointer;
}

.topbar-slides-wrapper {
	position: relative;
	width: 100%;
	max-width: 420px;
	height: 22px;
	overflow: hidden;
	display: grid;
	place-items: center;
	text-align: center;
}

.topbar-slide {
	display: none;
	transform: translateY(12px);
	white-space: nowrap;
	opacity: 0;
}

.topbar-slide--active {
	display: block;
	transform: translateY(0);
	opacity: 1;
	animation: aluaTopbarRise 0.35s ease;
}

@keyframes aluaTopbarRise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.topbar-slide a {
	color: #2c1a00;
	text-decoration: none;
}

@media (max-width: 900px) {
	body {
		padding-top: 38px;
	}

	.admin-bar body {
		padding-top: 70px;
	}

	.alua-topbar {
		height: 38px;
		grid-template-columns: auto 1fr auto;
		padding: 0 10px;
	}

	.alua-topbar__right {
		width: 0;
	}

	.topbar-slides-wrapper {
		max-width: 250px;
	}

	.topbar-slider {
		font-size: 12px;
		gap: 6px;
	}
}

/* Home header: full overlay over hero image. */
body.home .fusion-header-wrapper {
	background: transparent !important;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	height: 0 !important;
	min-height: 0 !important;
	overflow: visible !important;
}

/* Remove top strip and any solid header backgrounds on home. */
body.home .fusion-secondary-header,
body.home .fusion-header,
body.home .fusion-header-v3 .fusion-header,
body.home .fusion-header-v3 .fusion-header-wrapper {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.home .fusion-header {
	display: none !important;
}

body.home .fusion-header-wrapper {
	display: none !important;
}

/* Keep navigation aligned to the right on desktop. */
body.home .fusion-main-menu,
body.home .fusion-main-menu > ul {
	text-align: right;
	justify-content: flex-end;
}

/* White menu links for contrast over the hero. */
body.home .fusion-main-menu > ul > li > a,
body.home .fusion-main-menu > ul > li > .fusion-bar-highlight,
body.home .fusion-main-menu .fusion-widget-cart-number,
body.home .fusion-main-menu .awb-icon-search,
body.home .fusion-main-menu .fusion-icon-shopping-cart {
	color: #ffffff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

body.home .fusion-main-menu > ul > li > a:hover,
body.home .fusion-main-menu > ul > li.current-menu-item > a,
body.home .fusion-main-menu > ul > li.current-menu-ancestor > a {
	opacity: 0.85;
}

/* Optional sticky readability while scrolling. */
body.home .fusion-is-sticky .fusion-header-wrapper,
body.home .fusion-header-wrapper.fusion-is-sticky {
	background: rgba(10, 12, 16, 0.3) !important;
	backdrop-filter: blur(5px);
}

/* Pull content to top so hero starts behind the header. */
body.home #main,
body.home #main .fusion-row {
	padding-top: 0 !important;
}

body.home #sliders-container,
body.home #sliders-container .fusion-slider-container {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.home #main {
	margin-top: 0 !important;
}

body.home #wrapper,
body.home #boxed-wrapper,
body.home #home {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.home #home {
	display: none !important;
}

/* Ensure hero fills first viewport (below fixed top bar) so SEO block starts after scroll. */
body.home #sliders-container,
body.home #sliders-container .fusion-slider-container,
body.home #sliders-container .tfs-slider,
body.home #sliders-container .slides,
body.home #sliders-container .slides li,
body.home #sliders-container .slides li .background {
	height: calc(100vh - 116px) !important;
	min-height: calc(100vh - 116px) !important;
}

body.home.admin-bar #sliders-container,
body.home.admin-bar #sliders-container .fusion-slider-container,
body.home.admin-bar #sliders-container .tfs-slider,
body.home.admin-bar #sliders-container .slides,
body.home.admin-bar #sliders-container .slides li,
body.home.admin-bar #sliders-container .slides li .background {
	height: calc(100vh - 148px) !important;
	min-height: calc(100vh - 148px) !important;
}

body.home #sliders-container {
	margin-top: 0 !important;
}

body.home.admin-bar #sliders-container {
	margin-top: 0 !important;
}

/* Ensure first row can sit directly behind the transparent header. */
body.home .fusion-builder-row:first-child {
	margin-top: 0;
	padding-top: 0;
}

/* Home centered brand logo below top yellow bar. */
body.home .alua-home-brand-top {
	position: absolute;
	top: 28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1200;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.home .alua-home-brand-top img {
	width: min(200px, 38vw);
	height: auto;
	display: block;
}

body.home.admin-bar .alua-home-brand-top {
	top: 58px;
}

/* Home hero: hamburger navigation. */
body.home .alua-home-hamburger {
	position: fixed;
	top: 54px;
	left: 32px;
	z-index: 1201;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 28px;
	height: 18px;
	padding: 0;
	background: transparent;
	border: 0;
}

body.home .alua-home-hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background-color: #2c1a00;
	transition: all 0.25s ease;
}

body.home .alua-home-hamburger:hover span {
	background-color: #ceac6e;
}

body.home .admin-bar .alua-home-hamburger {
	top: 86px;
}

body.alua-offcanvas-open {
	overflow: hidden;
}

body.home .alua-home-offcanvas-overlay {
	position: fixed;
	inset: 0;
	z-index: 1498;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

body.home .alua-home-offcanvas-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

body.home .alua-home-offcanvas {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 280px;
	background-color: #ffffff;
	box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
	padding: 26px 0 20px;
	z-index: 1499;
	transform: translateX(-100%);
	transition: transform 0.28s ease;
}

body.home .alua-home-offcanvas.is-open {
	transform: translateX(0);
}

body.home .alua-home-offcanvas-close {
	display: block;
	margin: 0 22px 14px auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #2c1a00;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	position: relative;
	z-index: 1501;
}

body.home .alua-home-offcanvas-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.home .alua-home-offcanvas-list > li > a {
	display: block;
	padding: 16px 24px;
	border-bottom: 1px solid #f0e8d0;
	color: #2c1a00;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

body.home .alua-home-offcanvas-list > li > a:hover {
	background-color: #ceac6e;
	color: #2c1a00;
}

/* Menu abierto: topbar pasa a segundo plano y ocultamos iconos del hero. */
body.alua-offcanvas-open .alua-topbar {
	z-index: 1200 !important;
}

body.home.alua-offcanvas-open .alua-home-hamburger,
body.home.alua-offcanvas-open .alua-home-brand-top {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Si solo hay 2 categorias reales, ocultar entradas vacias sobrantes. */
body.home .alua-home-offcanvas-list > li:nth-child(n+3) {
	display: none !important;
}

/* Mobile: use a darker background for legibility. */
@media (max-width: 768px) {
	body.home .fusion-header-wrapper {
		background: rgba(10, 12, 16, 0.6) !important;
	}

	body.home {
		padding-top: 38px !important;
	}

	.admin-bar body.home {
		padding-top: 70px !important;
	}

	body.home #sliders-container,
	body.home #sliders-container .fusion-slider-container,
	body.home #sliders-container .tfs-slider,
	body.home #sliders-container .slides,
	body.home #sliders-container .slides li,
	body.home #sliders-container .slides li .background {
		height: calc(100vh - 100px) !important;
		min-height: calc(100vh - 100px) !important;
	}

	body.home.admin-bar #sliders-container,
	body.home.admin-bar #sliders-container .fusion-slider-container,
	body.home.admin-bar #sliders-container .tfs-slider,
	body.home.admin-bar #sliders-container .slides,
	body.home.admin-bar #sliders-container .slides li,
	body.home.admin-bar #sliders-container .slides li .background {
		height: calc(100vh - 132px) !important;
		min-height: calc(100vh - 132px) !important;
	}

	body.home .alua-home-hamburger {
		top: 46px;
		left: 12px;
	}

	body.home .alua-home-brand-top {
		top: 20px;
	}

	body.home .alua-home-brand-top img {
		width: min(145px, 44vw);
	}

	body.home .admin-bar .alua-home-hamburger {
		top: 92px;
	}

	body.home.admin-bar .alua-home-brand-top {
		top: 50px;
	}

	body.home .alua-home-offcanvas {
		width: min(280px, 90vw);
	}
}

/* Home SEO editorial block under hero slider. */
body.home .alua-home-seo-section {
	background: linear-gradient(180deg, #ceac6e 0%, #e9bb70 100%);
	padding-top: 96px !important;
	padding-bottom: 96px !important;
	position: static !important;
	z-index: auto !important;
	clear: both;
}

body.home .alua-home-seo-section .fusion-row {
	max-width: 1420px;
	align-items: flex-start !important;
}

body.home .alua-seo-logo-wrap {
	margin: 0 !important;
	transform: none !important;
}

/* SEO block: hide decorative logo, keep only text content. */
body.home .alua-home-seo-section .alua-seo-logo-wrap {
	display: none !important;
}

body.home .alua-home-seo-section .alua-seo-logo-wrap p,
body.home .alua-home-seo-section .alua-seo-intro p,
body.home .alua-home-seo-section .alua-seo-body p {
	margin: 0;
}

body.home .alua-seo-logo {
	display: inline-block;
	width: clamp(88px, 8.2vw, 118px);
	height: auto;
}

body.home .alua-home-seo-section .alua-seo-title,
body.home .alua-home-seo-section .alua-seo-title h2 {
	margin: 0 auto;
	color: #2c1a00;
	font-size: clamp(30px, 3.4vw, 48px);
	line-height: 1.12;
	letter-spacing: -0.01em;
	text-transform: none;
	text-wrap: balance;
}

body.home .alua-home-seo-section .alua-seo-title {
	margin-top: 62px !important;
	margin-bottom: 16px !important;
}

body.home .alua-home-seo-section .alua-seo-title h2 {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body.home .alua-seo-intro,
body.home .alua-seo-body {
	max-width: 1120px;
	margin: 0 auto;
	color: #3d2800;
	font-size: clamp(20px, 1.6vw, 28px);
	line-height: 1.5;
	font-weight: 400;
	text-wrap: balance;
}

body.home .alua-seo-intro {
	margin-bottom: 18px;
}

body.home .alua-seo-body {
	margin-bottom: 0;
}

body.home .alua-seo-body:last-of-type {
	margin-bottom: 0;
}

body.home .alua-seo-intro strong,
body.home .alua-seo-body strong {
	color: #1a0f00;
	font-weight: 700;
}

body.home .alua-seo-cta {
	margin-top: 24px;
}

body.home .alua-home-seo-section .fusion-separator {
	margin-bottom: 24px !important;
}

body.home .alua-home-seo-section .fusion-column-wrapper {
	padding-top: 20px;
}

body.home .alua-seo-cta .fusion-button {
	background: #000000 !important;
	background-color: #000000 !important;
	color: #ffffff !important;
	border: 1px solid #000000 !important;
	border-radius: 999px;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: all 0.2s ease;
}

body.home .alua-seo-cta .fusion-button:hover {
	background: #111111 !important;
	background-color: #111111 !important;
	border-color: #111111 !important;
	color: #ffffff !important;
}

body.home .alua-seo-cta .fusion-button .fusion-button-text {
	color: #ffffff !important;
}

body.home .alua-home-seo-section .alua-seo-cta .fusion-button-default {
	background: #000000 !important;
	background-color: #000000 !important;
	border-color: #000000 !important;
	box-shadow: none !important;
}

body.home .alua-home-seo-section .alua-seo-cta .fusion-button-default:hover,
body.home .alua-home-seo-section .alua-seo-cta .fusion-button-default:focus {
	background: #111111 !important;
	background-color: #111111 !important;
	border-color: #111111 !important;
}

body.home .alua-home-seo-section .alua-seo-cta .fusion-button-default::before,
body.home .alua-home-seo-section .alua-seo-cta .fusion-button-default::after {
	display: none !important;
}

@media (max-width: 768px) {
	body.home .alua-home-seo-section {
		padding-top: 64px !important;
		padding-bottom: 62px !important;
	}

	body.home .alua-home-seo-section .alua-seo-title,
	body.home .alua-home-seo-section .alua-seo-title h2 {
		font-size: 30px;
		line-height: 1.2;
	}

	body.home .alua-home-seo-section .alua-seo-title {
		margin-top: 40px !important;
	}

	body.home .alua-seo-intro,
	body.home .alua-seo-body {
		font-size: 20px;
		line-height: 1.5;
	}

	body.home .alua-seo-logo {
		width: min(96px, 33vw);
	}

	body.home .alua-seo-logo-wrap {
		margin: 0 !important;
		transform: none !important;
	}

	body.home .alua-seo-cta {
		margin-top: 18px;
	}

	body.home .alua-home-seo-section .fusion-column-wrapper {
		padding-top: 14px;
	}
}

/* Global black buttons (Avada + WooCommerce). */
a.fusion-button,
.fusion-button,
.fusion-button-default,
.fusion-button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: #000000 !important;
	background-color: #000000 !important;
	border-color: #000000 !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

a.fusion-button:hover,
.fusion-button:hover,
.fusion-button-default:hover,
.fusion-button.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
a.fusion-button:focus,
.fusion-button:focus,
.fusion-button-default:focus {
	background: #111111 !important;
	background-color: #111111 !important;
	border-color: #111111 !important;
	color: #ffffff !important;
}

a.fusion-button .fusion-button-text,
.fusion-button .fusion-button-text {
	color: #ffffff !important;
}

/* Sección Detalle Lupa - Home */
body.home .alua-detalle-lupa-section {
	padding-top: 52px !important;
	padding-bottom: 52px !important;
}

body.home .alua-detalle-lupa-section .fusion-row {
	max-width: 1140px;
	margin: 0 auto;
	display: grid !important;
	grid-template-columns: minmax(0, 58%) minmax(0, 42%);
	align-items: center;
	column-gap: 34px;
}

body.home .alua-detalle-lupa-section .fusion-row > .fusion-layout-column {
	width: auto !important;
	max-width: none !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
}

.detalle-lupa-wrapper {
	position: relative;
	width: 100%;
	min-height: 0;
}

.detalle-imagen-principal {
	position: relative;
	width: 86%;
	display: block;
}

.detalle-img-grande {
	width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.detalle-circulo-zoom {
	position: absolute;
	top: 18%;
	right: 6%;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	border: 2px dashed #ceac6e;
	box-shadow: 0 0 0 4px rgba(206, 172, 110, 0.18);
	pointer-events: none;
}

.detalle-imagen-zoom {
	position: absolute;
	top: -18px;
	right: -24px;
	width: 44%;
	border-radius: 10px;
	overflow: visible;
	z-index: 2;
}

.detalle-img-pequena {
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
	border: 3px solid #ceac6e;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(206, 172, 110, 0.25);
}

.detalle-lupa-icono {
	position: absolute;
	top: -13px;
	left: -13px;
	width: 36px;
	height: 36px;
	background: #ffffff;
	border-radius: 50%;
	border: 2px solid #ceac6e;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	z-index: 3;
}

.detalle-linea-svg {
	position: absolute;
	top: 9%;
	right: 1%;
	width: 134px;
	height: 88px;
	pointer-events: none;
	z-index: 1;
	opacity: 0.75;
}

.detalle-eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #ceac6e;
	margin-bottom: 12px;
}

.detalle-titulo,
.detalle-titulo h2 {
	font-size: 30px;
	font-weight: 700;
	color: #2c1a00;
	line-height: 1.2;
	letter-spacing: -0.5px;
	margin-bottom: 0;
}

.detalle-parrafo {
	font-size: 15px;
	color: #555555;
	line-height: 1.8;
}

.detalle-parrafo strong {
	color: #2c1a00;
	font-weight: 600;
}

body.home .detalle-icon-list {
	margin-top: 18px;
}

body.home .detalle-icon-list .fusion-li-item {
	margin-bottom: 8px;
	font-size: 14px;
	color: #3d2800;
}

@media screen and (max-width: 768px) {
	body.home .alua-detalle-lupa-section {
		padding-top: 34px !important;
		padding-bottom: 34px !important;
	}

	body.home .alua-detalle-lupa-section .fusion-row {
		display: block !important;
	}

	.detalle-lupa-wrapper {
		min-height: auto;
	}

	.detalle-imagen-principal {
		width: 100%;
	}

	.detalle-imagen-zoom {
		position: relative;
		top: 12px;
		right: auto;
		width: 55%;
		margin: 0 auto;
	}

	.detalle-linea-svg {
		display: none;
	}

	.detalle-titulo,
	.detalle-titulo h2 {
		font-size: 24px;
	}

	.detalle-parrafo {
		font-size: 15px;
	}
}




/* ALUA topbar vertical alignment fix 2026-04-29 */
html body .alua-topbar {
  align-items: center !important;
  overflow: hidden !important;
}
html body .alua-topbar__left,
html body .alua-topbar__center,
html body .alua-topbar__right {
  height: 100% !important;
  min-height: 100% !important;
  align-items: center !important;
}
html body .alua-topbar__center {
  display: flex !important;
  justify-content: center !important;
}
html body .topbar-slider {
  height: 100% !important;
  min-height: 100% !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 430px) auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1 !important;
}
html body .topbar-slides-wrapper {
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  line-height: 1 !important;
}
html body .topbar-slide {
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  line-height: 1 !important;
  transform: none !important;
}
html body .topbar-slide:not(.topbar-slide--active) {
  display: none !important;
}
html body .topbar-slide.topbar-slide--active {
  display: inline-flex !important;
  opacity: 1 !important;
}
html body .topbar-slide a {
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
  line-height: 1 !important;
}
html body .alua-topbar-inline-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 2px !important;
  transform: none !important;
}
html body .alua-topbar-inline-icon svg {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
}
html body .topbar-arrow {
  height: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 4px !important;
}
@media (max-width: 700px) {
  html body .topbar-slider {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    max-width: 100% !important;
    font-size: 12px !important;
  }
  html body .topbar-slides-wrapper {
    max-width: min(68vw, 360px) !important;
  }
}
