/*
Theme Name: AlviLamp
Theme URI: https://alvilamp.com/
Author: AlviLamp
Description: Tema a medida para la tienda online AlviLamp sobre WooCommerce. Color corporativo naranja #FF9B02.
Version: 1.0.54
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: alvilamp
WC requires at least: 8.0
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
	--al-orange: #ff9b02;
	--al-orange-dark: #e08600;
	--al-orange-darker: #b86d00;
	--al-orange-soft: #fff4e3;
	--al-orange-tint: #ffe2b3;
	--al-ink: #1f1b16;
	--al-ink-2: #3a342c;
	--al-muted: #6f675d;
	--al-line: #ebe5dc;
	--al-bg: #faf8f5;
	--al-white: #fff;
	--al-green: #2f8f4e;
	--al-red: #d64541;
	--al-radius: 14px;
	--al-radius-sm: 8px;
	--al-shadow: 0 1px 2px rgba(31, 27, 22, .06), 0 8px 24px rgba(31, 27, 22, .06);
	--al-shadow-lg: 0 18px 50px rgba(31, 27, 22, .14);
	--al-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--al-font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
	--al-wrap: 1320px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--al-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--al-ink);
	background: var(--al-white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--al-orange-darker); text-decoration: none; transition: color .15s; }
a:hover { color: var(--al-orange-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--al-font-display); line-height: 1.2; color: var(--al-ink); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--al-line); margin: 2em 0; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: .7em; border-bottom: 1px solid var(--al-line); text-align: left; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 9999; clip: auto; width: auto; height: auto; background: #fff; padding: 10px 16px; }
:focus-visible { outline: 3px solid var(--al-orange); outline-offset: 2px; }

.al-wrap { max-width: var(--al-wrap); margin: 0 auto; padding: 0 20px; }
/* 18-11-2026 (1.0.12): en pantallas de más de 1320 px el margen a cada lado queda en el 25 % del de antes.
   Ancho = 1320 + 3/4 de lo que sobra: (100vw - 1320) · 0,75 + 1320 = 75vw + 330px. Por debajo de 1320 px no cambia. */
.al-wrap { max-width: calc(75vw + 330px); }
.al-section { padding: 56px 0; }
.al-section--tint { background: var(--al-bg); }
.al-section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.al-section__head h2 { margin: 0; }
.al-section__head h2 span { color: var(--al-orange); }
.al-section__head a { font-weight: 600; white-space: nowrap; }
.al-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--al-orange-darker); margin-bottom: 8px; }

/* Buttons */
.al-btn, .button, button.button, a.button, input[type=submit], .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--al-orange); color: var(--al-ink); border: 0; border-radius: 999px;
	padding: 12px 24px; font: 700 .95rem/1.2 var(--al-font); cursor: pointer;
	transition: background .15s, transform .1s, box-shadow .15s; text-decoration: none;
}
.al-btn:hover, .button:hover, a.button:hover, input[type=submit]:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wp-element-button:hover {
	background: var(--al-orange-dark); color: var(--al-ink); box-shadow: 0 6px 18px rgba(255, 155, 2, .35);
}
.al-btn:active, .button:active { transform: translateY(1px); }
.al-btn--dark { background: var(--al-ink); color: #fff; }
.al-btn--dark:hover { background: #000; color: #fff; box-shadow: none; }
.al-btn--ghost { background: transparent; color: var(--al-ink); box-shadow: inset 0 0 0 2px var(--al-ink); }
.al-btn--ghost:hover { background: var(--al-ink); color: #fff; box-shadow: none; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order { background: var(--al-orange); color: var(--al-ink); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--al-orange-dark); color: var(--al-ink); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; }

/* Forms */
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], textarea, select {
	width: 100%; padding: 12px 14px; border: 1px solid #d9d2c7; border-radius: var(--al-radius-sm); background: #fff;
	font: inherit; color: var(--al-ink); transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--al-orange); box-shadow: 0 0 0 3px rgba(255, 155, 2, .2); outline: none; }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 4px; }

/* ==========================================================================
   Top bar & header
   ========================================================================== */
.al-topbar { background: var(--al-ink); color: #e9e2d6; font-size: .85rem; }
.al-topbar .al-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.al-topbar a { color: #fff; }
.al-topbar a:hover { color: var(--al-orange); }
.al-topbar__msg strong { color: var(--al-orange); }
.al-topbar__links { display: flex; gap: 18px; }

.al-header { background: #fff; border-bottom: 1px solid var(--al-line); position: sticky; top: 0; z-index: 90; }
.admin-bar .al-header { top: 32px; }
.al-header__main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 14px 0; }
.al-logo img, .custom-logo { max-height: 58px; width: auto; }
.al-logo__text { font: 900 1.8rem/1 var(--al-font-display); color: var(--al-ink); letter-spacing: -.03em; }
.al-logo__text span { color: var(--al-orange); }

.al-search { display: flex; background: var(--al-bg); border: 2px solid var(--al-line); border-radius: 999px; overflow: hidden; transition: border-color .15s; }
.al-search:focus-within { border-color: var(--al-orange); }
.al-search input[type=search] { border: 0; background: transparent; padding: 12px 20px; box-shadow: none; }
.al-search button { border: 0; background: var(--al-orange); color: var(--al-ink); padding: 0 22px; cursor: pointer; display: flex; align-items: center; }
.al-search button:hover { background: var(--al-orange-dark); }

.al-actions { display: flex; align-items: center; gap: 6px; }
.al-action { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; color: var(--al-ink); position: relative; }
.al-action:hover { background: var(--al-orange-soft); color: var(--al-ink); }
.al-action svg { width: 26px; height: 26px; flex: none; }
.al-action__label { display: flex; flex-direction: column; font-size: .78rem; line-height: 1.25; color: var(--al-muted); }
.al-action__label strong { color: var(--al-ink); font-size: .92rem; }
.al-cart-count { position: absolute; top: 2px; left: 28px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--al-orange); color: var(--al-ink); font: 800 .72rem/20px var(--al-font); text-align: center; }

.al-minicart { position: relative; }
.al-minicart__drop { position: absolute; right: 0; top: calc(100% + 8px); width: 360px; background: #fff; border-radius: var(--al-radius); box-shadow: var(--al-shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 100; }
.al-minicart:hover .al-minicart__drop, .al-minicart:focus-within .al-minicart__drop { opacity: 1; visibility: visible; transform: none; }
.al-minicart__drop .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow: auto; }
.al-minicart__drop .woocommerce-mini-cart-item { display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 10px 24px 10px 0; border-bottom: 1px solid var(--al-line); position: relative; font-size: .9rem; }
.al-minicart__drop .woocommerce-mini-cart-item img { grid-row: span 2; width: 56px; height: 56px; object-fit: contain; }
.al-minicart__drop .woocommerce-mini-cart-item a:not(.remove) { color: var(--al-ink); font-weight: 600; display: contents; }
.al-minicart__drop .remove { position: absolute; right: 0; top: 10px; color: var(--al-muted) !important; font-size: 1.2rem; }
.al-minicart__drop .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 12px 0; }
.al-minicart__drop .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.al-minicart__drop .woocommerce-mini-cart__buttons .button { padding: 10px; font-size: .85rem; }
.al-minicart__drop .woocommerce-mini-cart__buttons .button:not(.checkout) { background: var(--al-ink); color: #fff; }
.al-minicart__drop .woocommerce-mini-cart__empty-message { color: var(--al-muted); text-align: center; margin: 10px 0; }

/* Nav */
.al-nav { background: #fff; border-top: 1px solid var(--al-line); }
.al-nav .al-wrap { display: flex; align-items: stretch; gap: 8px; }
.al-cats { position: relative; }
.al-cats__btn { height: 100%; display: flex; align-items: center; gap: 10px; background: var(--al-orange); color: var(--al-ink); border: 0; padding: 0 22px; font: 800 .95rem var(--al-font); cursor: pointer; min-height: 50px; }
.al-cats__btn:hover { background: var(--al-orange-dark); }
.al-mega { position: absolute; left: 0; top: 100%; width: min(1100px, 92vw); background: #fff; box-shadow: var(--al-shadow-lg); border-radius: 0 0 var(--al-radius) var(--al-radius); display: grid; grid-template-columns: 260px 1fr; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 95; overflow: hidden; }
.al-cats:hover .al-mega, .al-cats:focus-within .al-mega, .al-cats.is-open .al-mega { opacity: 1; visibility: visible; transform: none; }
.al-mega__list { list-style: none; margin: 0; padding: 10px 0; background: var(--al-bg); border-right: 1px solid var(--al-line); }
.al-mega__list > li > a { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; color: var(--al-ink); font-weight: 600; }
/* 17-11-2026: con todas las categorías (16) la lista sigue en una columna, más compacta para que quepa sin scroll. */
.al-mega { max-height: calc(100vh - 140px); }
.al-mega__list { padding: 4px 0; overflow-y: auto; }
.al-mega__list > li > a { padding: 5px 20px; font-size: .92rem; line-height: 1.3; }
.al-mega__list > li > a::after { line-height: 1; }
.al-mega__panels { overflow-y: auto; }
.al-mega__list > li > a::after { content: "›"; color: var(--al-muted); font-size: 1.2rem; }
.al-mega__list > li.is-active > a, .al-mega__list > li > a:hover { background: #fff; color: var(--al-orange-darker); }
.al-mega__panels { padding: 26px 30px; min-height: 320px; }
.al-mega__panel { display: none; }
.al-mega__panel.is-active { display: block; }
.al-mega__panel h4 { font-size: 1.15rem; margin-bottom: 16px; }
.al-mega__panel h4 a { color: var(--al-ink); }
.al-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 26px; }
.al-mega__grid strong a { color: var(--al-ink); font-size: .95rem; }
/* 17-11-2026 (1.0.9): miniatura (máx. 50×50) del último producto de cada subcategoría. */
.al-mega__sub { display: flex; align-items: center; gap: 10px; line-height: 1.25; }
.al-mega__thumb { width: 50px; height: 50px; flex: none; border-radius: 8px; background: var(--al-bg); border: 1px solid var(--al-line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.al-mega__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.al-mega__thumb svg { width: 24px; height: 24px; color: var(--al-orange); }
.al-mega__grid ul { padding-left: 60px !important; }
.al-mega__grid strong a:hover { color: var(--al-orange-darker); }
.al-mega__grid ul { list-style: none; padding: 0; margin: 6px 0 0; font-size: .9rem; }
.al-mega__grid ul a { color: var(--al-muted); line-height: 1.9; }
.al-mega__grid ul a:hover { color: var(--al-orange-darker); }

.al-menu { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.al-menu > li { position: relative; }
.al-menu > li > a { display: flex; align-items: center; height: 50px; padding: 0 16px; color: var(--al-ink); font-weight: 600; font-size: .95rem; }
.al-menu > li > a:hover, .al-menu > li.current-menu-item > a { color: var(--al-orange-darker); box-shadow: inset 0 -3px 0 var(--al-orange); }
.al-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px 0; background: #fff; box-shadow: var(--al-shadow-lg); border-radius: 0 0 var(--al-radius-sm) var(--al-radius-sm); opacity: 0; visibility: hidden; transition: .15s; z-index: 94; }
.al-menu li:hover > .sub-menu, .al-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.al-menu .sub-menu a { display: block; padding: 8px 18px; color: var(--al-ink); }
.al-menu .sub-menu a:hover { background: var(--al-orange-soft); }
.al-menu .menu-item-outlet > a, .al-menu a[href*="outlet"] { color: var(--al-red); }

.al-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.al-burger svg { width: 28px; height: 28px; }

/* Off-canvas mobile */
.al-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.al-drawer.is-open { visibility: visible; }
.al-drawer__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: .2s; }
.al-drawer.is-open .al-drawer__bg { opacity: 1; }
.al-drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: #fff; transform: translateX(-100%); transition: .25s; overflow-y: auto; padding: 18px; }
.al-drawer.is-open .al-drawer__panel { transform: none; }
.al-drawer__close { float: right; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; }
.al-drawer h3 { margin-top: 22px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--al-muted); }
.al-drawer ul { list-style: none; padding: 0; margin: 0; }
.al-drawer li a { display: block; padding: 10px 0; color: var(--al-ink); font-weight: 600; border-bottom: 1px solid var(--al-line); }
.al-drawer li li a { padding-left: 16px; font-weight: 400; color: var(--al-muted); }
.al-drawer details summary { padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--al-line); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.al-drawer details summary::after { content: "+"; color: var(--al-orange-darker); font-weight: 800; }
.al-drawer details[open] summary::after { content: "–"; }

/* ==========================================================================
   Home
   ========================================================================== */
.al-hero { position: relative; background: radial-gradient(1200px 500px at 85% 20%, #ffd28a 0%, transparent 60%), linear-gradient(120deg, #ff9b02 0%, #ffb53a 55%, #ffc966 100%); overflow: hidden; }
.al-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 65%); pointer-events: none; }
.al-hero .al-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 440px; padding-top: 40px; padding-bottom: 40px; position: relative; z-index: 1; }
.al-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(31, 27, 22, .9); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 700; margin-bottom: 18px; }
.al-hero__badge b { color: var(--al-orange); }
.al-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.03; letter-spacing: -.035em; margin-bottom: 18px; }
.al-hero p { font-size: 1.15rem; max-width: 520px; color: var(--al-ink-2); }
.al-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.al-hero .al-btn { background: var(--al-ink); color: #fff; padding: 15px 28px; }
.al-hero .al-btn:hover { background: #000; box-shadow: none; }
.al-hero .al-btn--ghost { background: rgba(255, 255, 255, .5); color: var(--al-ink); box-shadow: none; }
.al-hero .al-btn--ghost:hover { background: #fff; }
.al-hero__visual { position: relative; display: flex; justify-content: center; }
.al-hero__bulb { width: min(380px, 80%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #fff 0%, #fff6dc 30%, rgba(255, 255, 255, 0) 70%); display: flex; align-items: center; justify-content: center; }
.al-hero__bulb svg { width: 64%; filter: drop-shadow(0 20px 40px rgba(110, 60, 0, .3)); }
.al-hero__stat { position: absolute; background: #fff; border-radius: var(--al-radius); box-shadow: var(--al-shadow-lg); padding: 12px 16px; font-size: .85rem; line-height: 1.3; }
.al-hero__stat strong { display: block; font-size: 1.35rem; color: var(--al-ink); }
.al-hero__stat--a { left: 0; bottom: 18%; }
.al-hero__stat--b { right: 0; top: 14%; }

.al-trust { background: #fff; border-bottom: 1px solid var(--al-line); }
.al-trust .al-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.al-trust__item { display: flex; gap: 14px; align-items: center; padding: 22px 18px; }
.al-trust__item + .al-trust__item { border-left: 1px solid var(--al-line); }
.al-trust__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--al-orange-soft); color: var(--al-orange-darker); display: flex; align-items: center; justify-content: center; flex: none; }
.al-trust__icon svg { width: 24px; height: 24px; }
.al-trust__item strong { display: block; font-size: .98rem; }
.al-trust__item span { font-size: .85rem; color: var(--al-muted); }

.al-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.al-cat-card { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 16px 12px 14px; text-align: center; color: var(--al-ink); transition: .18s; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.al-cat-card:hover { border-color: var(--al-orange); transform: translateY(-3px); box-shadow: var(--al-shadow); color: var(--al-ink); }
.al-cat-card__img { width: 100%; aspect-ratio: 1; border-radius: 10px; background: var(--al-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.al-cat-card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.al-cat-card__img svg { width: 44%; color: var(--al-orange); }
.al-cat-card strong { font-size: .95rem; line-height: 1.25; }
.al-cat-card small { color: var(--al-muted); font-size: .78rem; }

/* Product rail (carousel) */
.al-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.al-tab { border: 2px solid var(--al-ink); background: transparent; color: var(--al-ink); padding: 8px 16px; border-radius: 999px; font: 700 .92rem var(--al-font); cursor: pointer; transition: background .15s, color .15s; }
.al-tab:hover { background: var(--al-ink-2); border-color: var(--al-ink-2); color: #fff; }
.al-tab.is-active { background: var(--al-ink); border-color: var(--al-ink); color: #fff; }
.al-rail { position: relative; }
.al-rail__track, .woocommerce .al-rail__track { grid-template-columns: none !important; }
.al-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.al-rail__track::-webkit-scrollbar { display: none; }
.al-rail__track > * { scroll-snap-align: start; }
.al-rail__nav { position: absolute; top: 38%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--al-shadow-lg); cursor: pointer; font-size: 1.4rem; z-index: 3; color: var(--al-ink); }
.al-rail__nav:hover { background: var(--al-orange); }
.al-rail__nav--prev { left: -18px; }
.al-rail__nav--next { right: -18px; }
.al-rail-panel { display: none; }
.al-rail-panel.is-active { display: block; }

/* Promo banners */
.al-promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.al-promo { position: relative; border-radius: 20px; padding: 36px; min-height: 240px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.al-promo h3 { color: inherit; font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.al-promo p { opacity: .9; max-width: 380px; }
.al-promo .al-btn { align-self: flex-start; }
.al-promo--hue { background: radial-gradient(circle at 85% 20%, #ff4fd8 0%, transparent 35%), radial-gradient(circle at 70% 75%, #3ec5ff 0%, transparent 40%), radial-gradient(circle at 95% 80%, #ffdd00 0%, transparent 35%), #1b1630; }
.al-promo--wiz { background: radial-gradient(circle at 85% 25%, rgba(255, 155, 2, .9) 0%, transparent 45%), linear-gradient(135deg, #22201d, #3a342c); }
.al-promo--outlet { background: linear-gradient(135deg, #d64541, #ff9b02); }
.al-promo--led { background: linear-gradient(135deg, #fff4e3, #ffe2b3); color: var(--al-ink); }
.al-promo--bombillas { background: radial-gradient(circle at 82% 22%, #fff 0%, rgba(255, 255, 255, 0) 32%), linear-gradient(135deg, #ffd56b, #ffb02e); color: var(--al-ink); }
.al-promo--focos { background: radial-gradient(ellipse at 80% 0%, rgba(255, 230, 170, .85) 0%, rgba(255, 230, 170, 0) 55%), linear-gradient(160deg, #2b2f38, #14161b); }

/* Reviews band */
.al-rating-band { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: center; }
.al-rating-big { background: var(--al-ink); color: #fff; border-radius: 20px; padding: 30px; text-align: center; }
.al-rating-big strong { font-size: 3.6rem; line-height: 1; display: block; color: var(--al-orange); font-weight: 900; }
.al-stars { color: var(--al-orange); letter-spacing: 2px; font-size: 1.2rem; }
.al-review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.al-review-card { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 18px; font-size: .92rem; }
.al-review-card cite { display: block; margin-top: 10px; font-style: normal; color: var(--al-muted); font-size: .82rem; }

/* Help cards */
.al-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.al-help__card { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 26px; transition: .18s; color: var(--al-ink); display: block; }
.al-help__card:hover { border-color: var(--al-orange); box-shadow: var(--al-shadow); color: var(--al-ink); }
.al-help__card .al-trust__icon { margin-bottom: 14px; }
.al-help__card p { color: var(--al-muted); margin: 0; font-size: .92rem; }

/* Videos */
.al-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.al-video { background: #fff; border-radius: var(--al-radius); overflow: hidden; border: 1px solid var(--al-line); }
.al-video__frame { position: relative; aspect-ratio: 16/9; background: #000; }
.al-video__frame iframe, .al-video__frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.al-video__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; background: linear-gradient(to top, rgba(0, 0, 0, .4), transparent); border: 0; width: 100%; }
.al-video__play span { width: 64px; height: 64px; border-radius: 50%; background: var(--al-orange); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.al-video h3 { font-size: 1rem; padding: 14px 16px; margin: 0; }

/* Social / newsletter band */
.al-social-band { background: var(--al-ink); color: #fff; border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.al-social-band h2 { color: #fff; margin: 0 0 6px; }
.al-social-band p { margin: 0; color: #cfc6b8; }
.al-social { display: flex; gap: 10px; }
.al-social a { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; color: #fff; }
.al-social a:hover { background: var(--al-orange); color: var(--al-ink); }
.al-social svg { width: 20px; height: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.al-footer { background: #171410; color: #bdb3a5; margin-top: 60px; font-size: .92rem; }
.al-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.al-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.al-footer ul { list-style: none; padding: 0; margin: 0; }
.al-footer li { margin-bottom: 8px; }
.al-footer a { color: #bdb3a5; }
.al-footer a:hover { color: var(--al-orange); }
.al-footer__brand p { margin-top: 14px; }
.al-footer__contact li { display: flex; gap: 10px; align-items: center; }
.al-footer__contact svg { width: 16px; height: 16px; color: var(--al-orange); flex: none; }
.al-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.al-footer__pay span { border: 1px solid #3a342c; color: #e9e2d6; border-radius: 6px; padding: 4px 10px; font-size: .78rem; font-weight: 700; }
.al-footer__bottom { border-top: 1px solid #2b2620; padding: 20px 0; font-size: .82rem; }
.al-footer__bottom .al-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.al-footer .al-logo__text { color: #fff; }

.al-whatsapp { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); z-index: 80; }
.al-whatsapp:hover { color: #fff; transform: scale(1.05); }
.al-whatsapp svg { width: 30px; height: 30px; }

/* ==========================================================================
   Pages
   ========================================================================== */
.al-page-head { background: var(--al-bg); border-bottom: 1px solid var(--al-line); padding: 34px 0 28px; }
.al-page-head h1 { margin: 6px 0 0; }
.woocommerce-breadcrumb, .al-breadcrumb { font-size: .85rem; color: var(--al-muted); }
.woocommerce-breadcrumb a, .al-breadcrumb a { color: var(--al-muted); }
.woocommerce-breadcrumb a:hover { color: var(--al-orange-darker); }
.al-content { padding: 40px 0 20px; }
.al-content--narrow { max-width: 860px; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content blockquote { border-left: 4px solid var(--al-orange); margin: 1.5em 0; padding: .5em 1.2em; background: var(--al-orange-soft); border-radius: 0 var(--al-radius-sm) var(--al-radius-sm) 0; }
.entry-content iframe { max-width: 100%; }

.al-card { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 26px; }
.al-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.al-form p { margin-bottom: 14px; }
.al-form .al-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.al-form .al-hp { position: absolute; left: -9999px; }
.al-form label.al-check { display: flex; gap: 10px; font-weight: 400; align-items: flex-start; }
.al-form label.al-check input { width: auto; margin-top: 4px; }
.al-notice { padding: 14px 18px; border-radius: var(--al-radius-sm); margin-bottom: 18px; }
.al-notice--ok { background: #e7f5ec; color: #1d5e33; border: 1px solid #b9e2c7; }
.al-notice--err { background: #fdecec; color: #8a1f1c; border: 1px solid #f4c3c1; }

.al-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.al-gallery figure { margin: 0; background: #fff; border-radius: var(--al-radius); overflow: hidden; border: 1px solid var(--al-line); }
.al-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.al-gallery figcaption { padding: 10px 12px; font-size: .85rem; color: var(--al-muted); }

.al-reviews-list { display: grid; gap: 14px; }
.al-review { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 18px 20px; }
.al-review__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--al-muted); }
.al-review__head strong { color: var(--al-ink); }
.al-review__scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; font-size: .88rem; }
.al-review__scores div { background: var(--al-bg); border-radius: 8px; padding: 8px 10px; }
.al-star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.al-star-input input { display: none; }
.al-star-input label { font-size: 1.6rem; color: #d9d2c7; cursor: pointer; margin: 0; }
.al-star-input input:checked ~ label, .al-star-input label:hover, .al-star-input label:hover ~ label { color: var(--al-orange); }

.al-faq details { border: 1px solid var(--al-line); border-radius: var(--al-radius-sm); padding: 0 18px; margin-bottom: 10px; background: #fff; }
.al-faq summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.al-faq details[open] summary { color: var(--al-orange-darker); }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.woocommerce .woocommerce-breadcrumb { margin: 0; }
.al-shop { display: grid; grid-template-columns: 270px 1fr; gap: 36px; padding: 30px 0 20px; }
.al-shop--full { grid-template-columns: 1fr; }
.al-shop__sidebar .widget { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 20px; margin-bottom: 18px; }
.al-shop__sidebar .widget-title, .al-shop__sidebar h2 { font-size: 1rem; margin-bottom: 14px; }
.al-shop__sidebar ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.al-shop__sidebar li { padding: 4px 0; }
.al-shop__sidebar li a { color: var(--al-ink-2); }
.al-shop__sidebar li a:hover, .al-shop__sidebar .current-cat > a, .al-shop__sidebar .chosen a { color: var(--al-orange-darker); font-weight: 700; }
.al-shop__sidebar .children { padding-left: 14px; margin-top: 4px; border-left: 2px solid var(--al-line); }
.al-shop__sidebar .count { color: var(--al-muted); font-size: .8rem; }
.al-shop__sidebar .woocommerce-widget-layered-nav-list { max-height: 260px; overflow: auto; }
.al-shop__sidebar .price_slider_wrapper .ui-widget-content { background: var(--al-line); border: 0; height: 6px; border-radius: 3px; position: relative; margin: 10px 6px 20px; }
.al-shop__sidebar .ui-slider .ui-slider-range { background: var(--al-orange); position: absolute; height: 100%; border-radius: 3px; }
.al-shop__sidebar .ui-slider .ui-slider-handle { position: absolute; top: -6px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--al-orange); cursor: grab; outline: none; }
.al-shop__sidebar .price_slider_amount { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: .88rem; }
.al-shop__sidebar .price_slider_amount .button { padding: 8px 16px; font-size: .85rem; }
.al-shop__sidebar .price_slider_amount input { display: none; }
.al-filter-toggle { display: none; }

.woocommerce-products-header__title { margin: 0 0 6px; }
.term-description { color: var(--al-muted); max-width: none; }
.al-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.al-subcats a { background: var(--al-bg); border: 1px solid var(--al-line); padding: 7px 14px; border-radius: 999px; color: var(--al-ink); font-size: .88rem; font-weight: 600; }
.al-subcats a:hover { border-color: var(--al-orange); background: var(--al-orange-soft); }
.al-shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 6px 0 18px; padding: 10px 0; border-bottom: 1px solid var(--al-line); }
.woocommerce .woocommerce-result-count { margin: 0; color: var(--al-muted); font-size: .9rem; }
.woocommerce .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select { width: auto; padding: 8px 34px 8px 12px; border-radius: 999px; }

/* Product grid */
.woocommerce ul.products, ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0 0 30px; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.al-shop--full ul.products { grid-template-columns: repeat(5, 1fr); }
.woocommerce ul.products li.product, ul.products li.product, .al-rail__track li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 14px; display: flex; flex-direction: column; position: relative; transition: border-color .18s, box-shadow .18s, transform .18s; list-style: none; }
.woocommerce ul.products li.product:hover, .al-rail__track li.product:hover { border-color: var(--al-orange); box-shadow: var(--al-shadow); transform: translateY(-2px); }
li.product .woocommerce-LoopProduct-link { color: var(--al-ink); display: flex; flex-direction: column; flex: 1; }
li.product .al-thumb { aspect-ratio: 1; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 12px; }
li.product .al-thumb img { width: 100%; height: 100%; object-fit: contain; margin: 0 !important; transition: transform .3s; }
li.product:hover .al-thumb img { transform: scale(1.04); }
li.product .al-brand { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--al-muted); margin-bottom: 4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, li.product .woocommerce-loop-product__title { font-size: .93rem !important; font-weight: 600; line-height: 1.35; padding: 0 !important; margin: 0 0 8px; color: var(--al-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.8em; }
.woocommerce ul.products li.product .star-rating { font-size: .78rem; margin: 0 0 6px; }
.woocommerce ul.products li.product .price, li.product .price { color: var(--al-ink) !important; font-size: 1.2rem !important; font-weight: 800; margin-top: auto !important; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
li.product .price del { color: var(--al-muted); font-size: .85rem; font-weight: 500; opacity: 1 !important; order: 2; }
li.product .price ins { text-decoration: none; color: var(--al-red); }
li.product .button { margin-top: 12px !important; width: 100%; padding: 10px 14px !important; font-size: .88rem !important; }
/* 18-11-2026 (1.0.13): el texto de promoción (p. ej. «Black-Ciber Monday…», que se añade después del botón)
   pasa encima del botón, para que todos los botones de una fila queden alineados abajo. */
ul.products li.product > * { order: 2; }
ul.products li.product > .woocommerce-LoopProduct-link { order: 0; }
ul.products li.product > .mensaje-plazos { order: 1; }
ul.products li.product > .button, ul.products li.product > .added_to_cart { order: 3; }
ul.products li.product > .screen-reader-text { order: 4; }
li.product .added_to_cart { display: block; text-align: center; font-size: .85rem; margin-top: 6px; font-weight: 700; }
.woocommerce span.onsale, span.onsale { position: absolute; top: 12px; left: 12px; z-index: 2; min-width: 0; min-height: 0; margin: 0 !important; padding: 4px 10px; border-radius: 999px; background: var(--al-red); color: #fff; font: 800 .78rem/1.4 var(--al-font); }
.al-badge-new { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--al-ink); color: #fff; border-radius: 999px; padding: 4px 10px; font: 800 .72rem/1.4 var(--al-font); }
.al-stock-out { font-size: .8rem; color: var(--al-red); font-weight: 700; }

.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--al-line); color: var(--al-ink); font-weight: 700; padding: 0 10px; }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--al-orange); border-color: var(--al-orange); color: var(--al-ink); }

/* Single product */
.single-product .al-shop { display: block; }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; position: relative; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { background: #fff; border: 1px solid var(--al-line); border-radius: 20px; padding: 20px; position: sticky; top: 150px; }
.woocommerce div.product div.images img { border-radius: 12px; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border: 2px solid transparent; border-radius: 8px; opacity: .65; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active, .woocommerce div.product div.images .flex-control-thumbs img:hover { border-color: var(--al-orange); opacity: 1; }
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 10px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--al-ink); font-size: 2rem; font-weight: 900; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.woocommerce div.product p.price del { color: var(--al-muted); font-size: 1.1rem; font-weight: 500; order: 2; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--al-red); }
.al-tax-note { color: var(--al-muted); font-size: .85rem; margin-top: -10px; }
.al-save { display: inline-block; background: #fdecec; color: var(--al-red); font-weight: 800; font-size: .82rem; border-radius: 999px; padding: 3px 10px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--al-ink-2); border-top: 1px solid var(--al-line); padding-top: 16px; }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 22px 0 !important; padding: 20px; background: var(--al-bg); border-radius: var(--al-radius); }
.woocommerce div.product form.cart .button { flex: 1; padding: 16px 26px; font-size: 1.05rem; }
.woocommerce .quantity .qty { width: 84px; height: 100%; min-height: 52px; text-align: center; border-radius: 999px; font-weight: 700; }
.woocommerce div.product p.stock { font-weight: 700; }
.woocommerce div.product .stock.in-stock { color: var(--al-green); }
.woocommerce div.product .stock.out-of-stock { color: var(--al-red); }
.al-perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.al-perks li { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.al-perks svg { width: 22px; height: 22px; color: var(--al-orange-darker); flex: none; }
.product_meta { font-size: .85rem; color: var(--al-muted); display: grid; gap: 4px; border-top: 1px solid var(--al-line); padding-top: 14px; }
.product_meta a { color: var(--al-ink-2); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; padding: 0 !important; margin: 0 0 20px !important; border-bottom: 1px solid var(--al-line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px !important; color: var(--al-muted) !important; font-weight: 700; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--al-ink) !important; box-shadow: inset 0 -3px 0 var(--al-orange); }
.woocommerce div.product .woocommerce-tabs .panel { background: #fff; padding: 6px 0 20px; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--al-line); padding: 10px 12px; background: none !important; font-style: normal; }
.woocommerce table.shop_attributes th { width: 220px; color: var(--al-muted); }
.related > h2, .upsells > h2 { margin-top: 20px; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--al-orange); }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { border: 0 !important; border-radius: var(--al-radius-sm); background: var(--al-orange-soft) !important; color: var(--al-ink) !important; padding: 14px 18px 14px 50px !important; list-style: none; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--al-orange-darker) !important; }
.woocommerce-error { background: #fdecec !important; }
.woocommerce-message .button, .woocommerce-info .button { padding: 8px 16px; font-size: .85rem; }

/* Free shipping bar */
.al-ship-bar { background: var(--al-orange-soft); border: 1px solid var(--al-orange-tint); border-radius: var(--al-radius-sm); padding: 12px 16px; margin: 0 0 18px; font-size: .92rem; }
.al-ship-bar__track { height: 8px; border-radius: 4px; background: #fff; margin-top: 8px; overflow: hidden; }
.al-ship-bar__fill { height: 100%; background: var(--al-orange); border-radius: 4px; transition: width .3s; }
.al-ship-bar--ok { background: #e7f5ec; border-color: #b9e2c7; color: #1d5e33; }

/* Cart / checkout */
.woocommerce table.shop_table { border: 1px solid var(--al-line); border-radius: var(--al-radius); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--al-bg); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.woocommerce table.cart img { width: 72px; border-radius: 8px; }
.woocommerce a.remove { color: var(--al-red) !important; }
.woocommerce a.remove:hover { background: var(--al-red); color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout-review-order { background: var(--al-bg); border-radius: var(--al-radius); padding: 24px; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 1.3rem; }
.woocommerce-checkout #customer_details { margin-bottom: 30px; }
.woocommerce form .form-row label { font-weight: 600; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { padding: 12px 14px; }
.woocommerce-checkout #payment { background: #fff !important; border: 1px solid var(--al-line); border-radius: var(--al-radius); }
.woocommerce-checkout #payment div.payment_box { background: var(--al-orange-soft) !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--al-orange-soft) !important; }
#ship-to-different-address label { display: inline-flex; gap: 8px; align-items: center; }
@media (min-width: 992px) {
	.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; }
	.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
	.woocommerce-checkout form.checkout #customer_details .col-1, .woocommerce-checkout form.checkout #customer_details .col-2 { width: 100%; float: none; }
	.woocommerce-checkout form.checkout #order_review_heading, .woocommerce-checkout form.checkout #order_review { grid-column: 2; }
}

/* My account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 250px 1fr; gap: 36px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 8px; margin: 0; background: var(--al-bg); border-radius: var(--al-radius); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--al-ink); font-weight: 600; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: #fff; color: var(--al-orange-darker); }
#customer_login { gap: 30px; }
#customer_login .u-column1, #customer_login .u-column2 { background: #fff; border: 1px solid var(--al-line); border-radius: var(--al-radius); padding: 26px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* 17-11-2026: menú principal con 11 enlaces en una sola línea en pantallas medianas. */
@media (max-width: 1280px) {
	.al-menu > li > a { padding: 0 10px; font-size: .9rem; }
}
@media (max-width: 1100px) {
	.al-menu > li > a { padding: 0 7px; font-size: .84rem; }
	.al-cats__btn { padding: 0 14px; }
}
@media (max-width: 1200px) {
	.al-promos { grid-template-columns: 1fr 1fr; }
	.al-cat-grid { grid-template-columns: repeat(4, 1fr); }
	.al-rail__track { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
	.al-shop--full ul.products { grid-template-columns: repeat(4, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
	.al-header__main { grid-template-columns: auto 1fr auto; gap: 12px; }
	.al-header__search { grid-column: 1 / -1; grid-row: 2; }
	.al-burger { display: block; }
	.al-nav { display: none; }
	.al-action__label { display: none; }
	.al-topbar__links { display: none; }
	.al-hero .al-wrap { grid-template-columns: 1fr; min-height: 0; }
	.al-hero__visual { display: none; }
	.al-trust .al-wrap { grid-template-columns: 1fr 1fr; }
	.al-trust__item:nth-child(3) { border-left: 0; }
	.al-trust__item { border-top: 1px solid var(--al-line); }
	.al-promos, .al-rating-band, .al-grid-2 { grid-template-columns: 1fr; }
	.al-review-cards, .al-help, .al-videos { grid-template-columns: 1fr; }
	.al-footer__top { grid-template-columns: 1fr 1fr; }
	.al-shop { grid-template-columns: 1fr; }
	.al-shop__sidebar { display: none; }
	.al-shop__sidebar.is-open { display: block; }
	.al-filter-toggle { display: inline-flex; margin-bottom: 14px; }
	.woocommerce ul.products, .al-shop--full ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.al-rail__track { grid-auto-columns: calc((100% - 18px) / 2.2); }
	.al-rail__nav { display: none; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 24px; }
	.woocommerce div.product div.images { position: static; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.al-gallery { grid-template-columns: repeat(2, 1fr); }
	.al-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
	.al-logo img, .custom-logo { max-height: 42px; }
	.al-section { padding: 38px 0; }
	.al-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.al-footer__top { grid-template-columns: 1fr; }
	.al-form .al-row, .al-review__scores { grid-template-columns: 1fr; }
	.al-minicart__drop { display: none; }
	.al-section__head { flex-direction: column; align-items: flex-start; }
	.admin-bar .al-header { top: 0; }
}

/* 14-11-2026: el grid de la ficha no debe crecer con el carrusel de imágenes (Product Gallery Slider). */
.single-product div.product > *,
.single-product div.product .woocommerce-product-gallery { min-width: 0; max-width: 100%; }

/* 14-11-2026: menu de la barra superior dentro de una lista (HTML valido). */
.al-topbar__menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.al-topbar__menu li { margin: 0; padding: 0; }

/* 14-11-2026: segunda imagen al pasar el raton (solo en dispositivos con raton; en movil no se descarga). */
li.product .al-thumb--alt { position: relative; }
li.product .al-thumb .al-thumb__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease, transform .3s; display: none; }
@media (hover: hover) and (pointer: fine) {
	li.product .al-thumb .al-thumb__alt { display: block; }
	li.product:hover .al-thumb--alt .al-thumb__alt { opacity: 1; }
	li.product:hover .al-thumb--alt img:not(.al-thumb__alt) { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { li.product .al-thumb .al-thumb__alt { transition: none; } }

/* 15-11-2026: paginas sin Elementor (paso 5). */
/* Videos de YouTube incrustados (Hue, WiZ): 16:9 y ancho completo. */
.al-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 24px; border-radius: var(--al-radius-sm); overflow: hidden; background: #000; }
.al-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.al-videos { display: grid; gap: 24px; grid-template-columns: 1fr; margin: 0 0 32px; }
@media (min-width: 900px) { .al-videos { grid-template-columns: 1fr 1fr; } }
.al-videos h3 { margin: 0 0 10px; font-size: 1.05rem; }
/* Alvi Clips: lista de videos + reproductor (al lado en escritorio, debajo en movil). */
.al-clips { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .al-clips { grid-template-columns: minmax(0, 1fr) 480px; } .al-clips__player { position: sticky; top: 110px; } }
.al-clips .al-faq ul { list-style: none; margin: 0 0 12px; padding: 0; }
.al-clips .al-faq li { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--al-line); }
.al-clips a.video-link { display: inline-flex; gap: 8px; align-items: center; }
.al-clips a.video-link.is-playing { color: var(--al-orange-darker); font-weight: 700; }
.al-clips .video-container:empty::before { content: "Elige un vídeo de la lista para verlo aquí."; display: block; padding: 24px; border: 1px dashed var(--al-line); border-radius: var(--al-radius-sm); color: var(--al-ink-2); text-align: center; }
.al-clips .video-container iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; margin: 0 auto; border-radius: var(--al-radius-sm); }
/* Botones de contacto (telefono, WhatsApp, email). */
.al-contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0 0 32px; }
.al-contact-cards > div { border: 1px solid var(--al-line); border-radius: var(--al-radius-sm); padding: 18px; background: #fff; }
.al-contact-cards strong { display: block; margin-bottom: 4px; }

/* 15-11-2026: mosaico de accesos (imagen + texto) en paginas de marca (Hue, WiZ). */
.al-tiles { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 36px; }
@media (min-width: 700px) { .al-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .al-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.al-tile { display: flex; flex-direction: column; border: 1px solid var(--al-line); border-radius: var(--al-radius); overflow: hidden; background: #fff; color: var(--al-ink); text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.al-tile:hover { border-color: var(--al-orange); box-shadow: var(--al-shadow); transform: translateY(-2px); }
.al-tile img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin: 0 !important; display: block; }
.al-tile span { padding: 12px 14px; font-weight: 700; text-align: center; }

/* ==========================================================================
   18-11-2026 (1.0.10): estrellas de valoración sin fuentes de iconos.
   utils-nsc pinta .star-rating con «Font Awesome 5 Free», que cargaba Elementor;
   sin Elementor salían cuadrados. Se dibujan con el carácter ★ (gris de fondo, naranja relleno).
   ========================================================================== */
body .star-rating { display: inline-block; position: relative; overflow: hidden; width: 5.4em !important; height: 1.15em; line-height: 1.15; font-size: 1rem; font-family: Arial, "Segoe UI Symbol", sans-serif !important; vertical-align: middle; }
body .woocommerce ul.products li.product .star-rating, body ul.products li.product .star-rating { font-size: .95rem; }
body .star-rating::before { content: "\2605\2605\2605\2605\2605" !important; font-family: Arial, "Segoe UI Symbol", sans-serif !important; font-weight: 400 !important; font-size: 1em !important; color: #e3dbcf !important; letter-spacing: .08em; position: absolute; top: 0; left: 0; float: none; }
body .star-rating span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; padding-top: 1.5em; float: none; }
body .star-rating span::before { content: "\2605\2605\2605\2605\2605" !important; font-family: Arial, "Segoe UI Symbol", sans-serif !important; font-weight: 400 !important; font-size: 1em !important; color: var(--al-orange) !important; letter-spacing: .08em; position: absolute; top: 0; left: 0; }
body .comment_container .star-rating { width: 5.4em !important; }

/* ==========================================================================
   19-11-2026 (1.0.14): página Alvi Clips en tres columnas (marca y redes | listas | reproductor).
   Se aplica a cualquier página cuyo contenido tenga el bloque .al-clips; en móvil y tablet, apilado.
   ========================================================================== */
.al-redes { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 14px 0 0; }
.al-redes a { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: transform .15s, opacity .15s; }
.al-redes a:hover { transform: translateY(-2px); opacity: .9; color: #fff; }
.al-redes svg { width: 24px; height: 24px; }
.al-redes__youtube { background: #e62117; }
.al-redes__facebook { background: #3b5998; }
.al-redes__instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.al-redes__tiktok { background: #000; }
@media (min-width: 1100px) {
	.entry-content.al-content--narrow:has(> .al-clips) { max-width: none !important; }
	.entry-content:has(> .al-clips) { display: grid; grid-template-columns: 330px minmax(0, 1fr); column-gap: 36px; align-items: start; }
	.entry-content:has(> .al-clips) > * { grid-column: 1; margin-top: 0; }
	.entry-content:has(> .al-clips) > .al-clips { grid-column: 2; grid-row: 1 / span 30; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
	.entry-content:has(> .al-clips) > script { display: none; }
	.entry-content:has(> .al-clips) > h3 { margin-top: 26px; }
}

/* ==========================================================================
   19-11-2026 (1.0.15): página Philips Hue (ID 8894) como el diseño de Aurelio.
   ========================================================================== */
/* «Hue Electro» solo para clientes con sesión iniciada (en cualquier mosaico de accesos). */
body:not(.logged-in) .al-tile[href*="/hue-electro/"] { display: none !important; }
/* Vídeos: el título arriba y todos los reproductores alineados abajo, aunque el título ocupe 1 o 2 líneas. */
.al-videos > * { display: flex; flex-direction: column; }
.al-videos > * > h3 { flex: 1 0 auto; }
.al-videos > * > .al-video { margin-bottom: 0; }
.page-id-8894 .entry-content.al-content--narrow { max-width: none !important; }
.page-id-8894 .entry-content > h2:first-child { display: none; } /* «Philips Hue» repetido bajo el título */
@media (min-width: 900px) {
	.page-id-8894 .entry-content { display: grid; grid-template-columns: minmax(0, 30%) minmax(0, 1fr); column-gap: 48px; align-items: start; }
	.page-id-8894 .entry-content > * { grid-column: 1 / -1; }
	.page-id-8894 .entry-content > h3:first-of-type { grid-row: 1; margin: 0 0 14px; }
	.page-id-8894 .entry-content > h3:first-of-type + p { grid-column: 1; grid-row: 2 / span 2; margin: 0; }
	.page-id-8894 .entry-content > h3:first-of-type + p img { width: 100%; aspect-ratio: 2.3 / 1; object-fit: cover; object-position: center; } /* el PNG tiene mucho margen transparente */
	.page-id-8894 .entry-content > h3:first-of-type + p + h2 { grid-column: 2; grid-row: 2; margin-top: 0; }
	.page-id-8894 .entry-content > h3:first-of-type + p + h2 + p { grid-column: 2; grid-row: 3; margin-top: 0; }
}
@media (min-width: 1100px) {
	/* 5 accesos en la primera fila y el resto centrados en la segunda. */
	.page-id-8894 .al-tiles { display: flex; flex-wrap: wrap; justify-content: center; }
	.page-id-8894 .al-tiles > .al-tile { flex: 0 0 calc((100% - 4 * 18px) / 5); }
	.page-id-8894 .al-videos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 19-11-2026 (1.0.16): carrusel de novedades dentro de páginas ([alvilamp_carrusel]). */
.al-carrusel { margin: 0 0 36px; }

/* ==========================================================================
   19-11-2026 (1.0.17): página Smart LED WiZ (ID 42186) con la misma estructura que Philips Hue.
   ========================================================================== */
.page-id-42186 .entry-content.al-content--narrow { max-width: none !important; }
.page-id-42186 .entry-content > h2:first-child { display: none; } /* «Philips Smart LED-WiZ» repetido bajo el título */
@media (min-width: 900px) {
	.page-id-42186 .entry-content { display: grid; grid-template-columns: minmax(0, 30%) minmax(0, 1fr); column-gap: 48px; align-items: start; }
	.page-id-42186 .entry-content > * { grid-column: 1 / -1; }
	.page-id-42186 .entry-content > h3:first-of-type { grid-row: 1; margin: 0 0 14px; }
	.page-id-42186 .entry-content > h3:first-of-type + p { grid-column: 1; grid-row: 2 / span 2; margin: 0; }
	.page-id-42186 .entry-content > h3:first-of-type + p img { width: 100%; max-width: 380px; height: auto; }
	.page-id-42186 .entry-content > h3:first-of-type + p + h2 { grid-column: 2; grid-row: 2; margin-top: 0; }
	.page-id-42186 .entry-content > h3:first-of-type + p + h2 + p { grid-column: 2; grid-row: 3; margin-top: 0; }
}
@media (min-width: 1100px) {
	/* Los 6 accesos en una sola fila. */
	.page-id-42186 .al-tiles { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
	.page-id-42186 .al-tiles > .al-tile { flex: 0 0 calc((100% - 5 * 18px) / 6); }
	.page-id-42186 .al-videos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   19-11-2026 (1.0.18): página Contacto (ID 401) a ancho completo, como la tienda anterior:
   banda con foto, 3 tarjetas con icono y foto | formulario.
   ========================================================================== */
.page-id-401 .al-page-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* el H1 sigue para buscadores */
.page-id-401 .al-content { padding-top: 0; }
body.page-id-401 { overflow-x: clip; } /* la banda de foto va de borde a borde */
.page-id-401 .entry-content.al-content--narrow { max-width: none !important; }
.page-id-401 .entry-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 510px) minmax(0, 580px) minmax(0, 1fr); align-items: start; } /* foto 510 | formulario 580, centrados */
.page-id-401 .entry-content > * { grid-column: 1 / -1; }
.page-id-401 .entry-content::before { content: ""; grid-column: 1 / -1; grid-row: 1 / 3; align-self: stretch; margin: 0 calc(50% - 50vw); background: linear-gradient(90deg, rgba(20, 16, 12, .82) 0%, rgba(20, 16, 12, .55) 45%, rgba(20, 16, 12, .15) 100%), url(/wp-content/uploads/2022/04/pexels-wilson-vitorino-2177473-scaled-1.jpg) center 40% / cover no-repeat; }
.page-id-401 .entry-content > h2:first-child { grid-row: 1; position: relative; z-index: 1; color: #fff; margin: 0; padding: 70px 0 0 7%; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.page-id-401 .entry-content > h2:first-child::after { content: ""; display: block; width: 46px; height: 3px; background: var(--al-orange); margin: 22px 0 0; }
.page-id-401 .entry-content > h2:first-child + h3 { grid-row: 2; position: relative; z-index: 1; color: #fff; font-weight: 400; font-size: 1.15rem; line-height: 1.55; max-width: 640px; margin: 0; padding: 24px 0 72px 7%; }
.page-id-401 .al-contact-cards { grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1170px; width: 100%; margin: 54px auto 70px; }
.page-id-401 .al-contact-cards > div { border: 0; border-radius: 16px; box-shadow: 0 8px 28px rgba(0, 0, 0, .09); padding: 34px 20px 30px; text-align: center; font-size: 1.15rem; }
.page-id-401 .al-contact-cards > div::before { content: ""; display: block; width: 40px; height: 40px; margin: 0 auto 16px; background: var(--al-orange); -webkit-mask: var(--al-ico) center / contain no-repeat; mask: var(--al-ico) center / contain no-repeat; }
.page-id-401 .al-contact-cards > div:nth-child(1) { --al-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2Z'/%3E%3C/svg%3E"); }
.page-id-401 .al-contact-cards > div:nth-child(2) { --al-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2c-1.5 0-3-.4-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.8-1.4.1-.2 0-.3 0-.5l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3c-.2.3-.9.9-.9 2.2s.9 2.5 1 2.7c.1.2 1.8 2.8 4.4 3.9 1.6.7 2.3.8 3.1.7.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E"); }
.page-id-401 .al-contact-cards > div:nth-child(3) { --al-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='1.5'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E"); }
.page-id-401 .al-contact-cards strong, .page-id-401 .al-contact-cards a { color: var(--al-ink); font-weight: 700; margin: 0; }
.page-id-401 .entry-content > p:has(> img) { grid-column: 2; grid-row: 4 / span 2; align-self: center; margin: 0 70px 0 0; }
.page-id-401 .entry-content > p:has(> img) img { width: 100%; border-radius: 6px; }
.page-id-401 .entry-content > p:has(> img) + p { grid-column: 3; grid-row: 4; margin: 0 0 22px; }
.page-id-401 .entry-content > .wpcf7 { grid-column: 3; grid-row: 5; }
.page-id-401 .wpcf7 label { display: block; font-size: .95rem; margin: 0 0 14px; }
.page-id-401 .wpcf7 input[type="text"], .page-id-401 .wpcf7 input[type="email"], .page-id-401 .wpcf7 textarea { width: 100%; margin-top: 6px; background: #f7f7f7; border: 1px solid #d9d9d9; border-radius: 3px; padding: 10px 12px; font: inherit; }
.page-id-401 .wpcf7 textarea { height: 290px; }
.page-id-401 .wpcf7 input[type="submit"] { background: var(--al-orange); color: #fff; border: 0; border-radius: 3px; padding: 12px 30px; font-weight: 700; cursor: pointer; }
.page-id-401 .wpcf7 input[type="submit"]:hover { background: var(--al-orange-darker); }
@media (max-width: 899px) {
	.page-id-401 .entry-content { grid-template-columns: minmax(0, 1fr); }
	.page-id-401 .entry-content > *, .page-id-401 .entry-content > p:has(> img), .page-id-401 .entry-content > p:has(> img) + p, .page-id-401 .entry-content > .wpcf7 { grid-column: 1; grid-row: auto; margin-right: 0; }
	.page-id-401 .entry-content::before { grid-row: 1 / 3; }
	.page-id-401 .entry-content > h2:first-child { grid-row: 1; padding: 44px 0 0 4px; }
	.page-id-401 .entry-content > h2:first-child + h3 { grid-row: 2; padding: 18px 0 44px 4px; }
	.page-id-401 .al-contact-cards { grid-template-columns: minmax(0, 1fr); margin: 32px 0 40px; }
	.page-id-401 .entry-content > p:has(> img) { margin-bottom: 28px; }
}

/* ==========================================================================
   19-11-2026 (1.0.19): texto corrido justificado a ambos lados (párrafos y listas de páginas,
   descripción de productos y categorías, textos legales, valoraciones), con guiones para evitar huecos.
   Especificidad 0 (:where) para respetar cualquier alineación propia (centrados, tarjetas, etc.).
   No se aplica a menús, botones, títulos, tarjetas de producto, accesos, formularios ni listas de vídeos.
   ========================================================================== */
:where(.entry-content, .woocommerce-product-details__short-description, .woocommerce-Tabs-panel, .term-description, .listado_valoraciones_nsc) :where(p, li):where(:not(.has-text-align-center, .has-text-align-right, [style*="text-align"], ul.products *, .al-tiles *, .al-contact-cards *, .wpcf7 *, .al-redes *, .al-clips li, .al-videos *, .al-mega *, nav *)) {
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* ==========================================================================
   21-11-2026 (1.0.20): Smart LED WiZ: «Tecnología SpaceSense» en 4 cajas (¿Qué es? | ¿Cómo funciona? |
   ¿Cómo se empieza? | Beneficios!), fondo gris y título sobre banda naranja. Sin cambiar el contenido:
   la rejilla pasa a 12 columnas (cabecera 4 + 8, cajas 3 + 3 + 3 + 3) y cada H3 + párrafo forman una caja.
   ========================================================================== */
.page-id-42186 .entry-content > h3:nth-of-type(n+2) { margin: 0; padding: 22px 12px 2px; background: #f4f4f4 linear-gradient(#ffb21e, #ffb21e) 12px 20px / calc(100% - 24px) 26px no-repeat; border-radius: 4px 4px 0 0; text-align: center; font-size: 1.1rem; line-height: 26px; }
.page-id-42186 .entry-content > h3:nth-of-type(n+2) + p { margin: 0 0 24px; padding: 18px 12px 26px; background: #f4f4f4; border-radius: 0 0 4px 4px; line-height: 1.85; }
@media (min-width: 900px) {
	.page-id-42186 .entry-content { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 14px; grid-auto-flow: row dense; }
	.page-id-42186 .entry-content > h3:first-of-type + p { grid-column: 1 / 5; }
	.page-id-42186 .entry-content > h3:first-of-type + p + h2,
	.page-id-42186 .entry-content > h3:first-of-type + p + h2 + p { grid-column: 5 / 13; padding-left: 34px; }
	.page-id-42186 .entry-content > h3:nth-of-type(n+2) + p { align-self: stretch; margin-bottom: 32px; }
	.page-id-42186 .entry-content > h3:nth-of-type(2), .page-id-42186 .entry-content > h3:nth-of-type(2) + p { grid-column: 1 / 4; }
	.page-id-42186 .entry-content > h3:nth-of-type(3), .page-id-42186 .entry-content > h3:nth-of-type(3) + p { grid-column: 4 / 7; }
	.page-id-42186 .entry-content > h3:nth-of-type(4), .page-id-42186 .entry-content > h3:nth-of-type(4) + p { grid-column: 7 / 10; }
	.page-id-42186 .entry-content > h3:nth-of-type(5), .page-id-42186 .entry-content > h3:nth-of-type(5) + p { grid-column: 10 / 13; }
}
@media (min-width: 900px) and (max-width: 1199px) {
	/* En pantallas medianas, 2 + 2. */
	.page-id-42186 .entry-content > h3:nth-of-type(2), .page-id-42186 .entry-content > h3:nth-of-type(2) + p { grid-column: 1 / 7; }
	.page-id-42186 .entry-content > h3:nth-of-type(3), .page-id-42186 .entry-content > h3:nth-of-type(3) + p { grid-column: 7 / 13; }
	.page-id-42186 .entry-content > h3:nth-of-type(4), .page-id-42186 .entry-content > h3:nth-of-type(4) + p { grid-column: 1 / 7; }
	.page-id-42186 .entry-content > h3:nth-of-type(5), .page-id-42186 .entry-content > h3:nth-of-type(5) + p { grid-column: 7 / 13; }
}

/* ==========================================================================
   21-11-2026 (1.0.21): ficha de producto.
   - Precio: primero el PVPr (gris, tachado) y después el precio rebajado (verde), del mismo tamaño.
   - Pestaña «Descripción»: los elementos de la lista en 4 columnas (2 en tablet, 1 en móvil).
   ========================================================================== */
.woocommerce div.product .summary p.price { font-size: 2rem; }
.woocommerce div.product .summary p.price del { order: 0; font-size: 1em; font-weight: 400; color: #9a9a9a; text-decoration: line-through; text-decoration-thickness: 2px; opacity: 1; }
.woocommerce div.product .summary p.price del * { font-weight: 400; } /* 21-11-2026 (1.0.22): PVPr sin negrita */
.woocommerce div.product .summary p.price ins { order: 1; font-size: 1em; color: #2e9e44; text-decoration: none; }
.woocommerce div.product .summary p.price .amc-envio-gratis { order: 3; }
.woocommerce-Tabs-panel--description > ul > li { break-inside: avoid; margin-bottom: 12px; }
@media (min-width: 600px) and (max-width: 899px) { .woocommerce-Tabs-panel--description > ul { columns: 2; column-gap: 32px; } }
@media (min-width: 900px) { .woocommerce-Tabs-panel--description > ul { columns: 4; column-gap: 40px; } }

/* 21-11-2026 (1.0.23): enlace destacado de la barra superior («Alta profesionales», clase al-destacado en el menú). */
.al-topbar__menu .al-destacado > a { font-weight: 800; }

/* 21-11-2026 (1.0.26): tarjetas de producto: primero el PVPr (gris, tachado), después el precio rebajado en verde y luego «Envío Gratis». */
li.product .price del { order: 0; }
li.product .price ins { order: 1; color: #2e9e44; }
li.product .price .amc-envio-gratis { order: 2; }

/* 21-11-2026 (1.0.27): en la ficha, «Valoración:» delante de las estrellas. */
.woocommerce div.product .summary .woocommerce-product-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.woocommerce div.product .summary .woocommerce-product-rating .star-rating { float: none; margin: 0; }
.woocommerce div.product .summary .woocommerce-product-rating::before { content: "Valoración: "; font-weight: 700; color: var(--al-ink); }

/* 21-11-2026 (1.0.28): «Valoración:» delante de las estrellas en las tarjetas. */
li.product .al-loop-rating { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; }
li.product .al-loop-rating__label { font-size: .8rem; font-weight: 700; color: var(--al-ink); }
li.product .al-loop-rating .star-rating { margin: 0 !important; }

/* ==========================================================================
   21-11-2026 (1.0.29): tarjetas de producto más compactas y texto del botón centrado.
   - Se quita el hueco de «mensaje-plazos» cuando está oculto (el fragmento pone «---» invisible).
   - Menos margen entre foto, marca, nombre, valoración, precio, promoción y botón.
   ========================================================================== */
li.product p.mensaje-plazos[style*="visibility:hidden"], li.product p.mensaje-plazos[style*="visibility: hidden"] { display: none !important; }
.woocommerce ul.products li.product, ul.products li.product, .al-rail__track li.product { padding: 12px !important; }
li.product .al-thumb { margin-bottom: 8px; }
li.product .al-brand { margin-bottom: 2px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, li.product .woocommerce-loop-product__title { margin: 0 0 6px !important; line-height: 1.3 !important; }
li.product .al-loop-rating { margin: 0 0 4px; }
.woocommerce ul.products li.product .price, li.product .price { margin-bottom: 4px !important; }
ul.products li.product > p:not([class]) { margin: 6px 0 0 !important; line-height: 1.3 !important; font-size: .92rem !important; }
li.product .button { margin-top: 10px !important; text-align: center !important; justify-content: center; }

/* 21-11-2026 (1.0.30): la línea de valoración ocupa siempre lo mismo, haya o no estrellas. */
li.product .al-loop-rating { min-height: 20px; }

/* 21-11-2026 (1.0.31): pestaña «Descripción» de la ficha con el mismo fondo que el cuadro de «Añadir al carrito». */
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description { background: var(--al-bg); border-radius: var(--al-radius); padding: 24px 28px !important; }

/* 1.0.35 (21-11-2026): Alvi Clips: el reproductor fijo queda por debajo de la cabecera (138 px + margen; +32 px con la barra de administración). */
@media (min-width: 900px) {
	.al-clips__player { top: 154px; }
	.admin-bar .al-clips__player { top: 186px; }
}
.al-clips .video-container { scroll-margin-top: 154px; }

/* 1.0.36 (21-11-2026): «Productos por página» con el mismo ancho que «Orden predeterminado», a la derecha y con la etiqueta en la misma línea. */
.woocommerce-products-per-page { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: 0 0 4px !important; }
.woocommerce-products-per-page label { margin: 0; font-weight: 600; }
.woocommerce-products-per-page select, .woocommerce .woocommerce-ordering select { width: 290px; max-width: 100%; padding: 8px 34px 8px 12px; border-radius: 999px; }

/* 1.0.37 (21-11-2026): caja de suscripción al canal de YouTube [alvilamp_suscripcion] (final de Alvi Clips). */
.al-suscripcion { display: grid; grid-template-columns: 1fr; gap: 22px 36px; align-items: center; margin: 44px 0 10px; padding: 28px; background: var(--al-bg); border: 1px solid var(--al-line); border-radius: var(--al-radius); }
.entry-content:has(> .al-clips) > .al-suscripcion { grid-column: 1 / -1; margin-top: 44px; }
.al-suscripcion__intro { display: flex; gap: 18px; align-items: center; }
.al-suscripcion__icono { flex: none; width: 64px; height: 64px; border-radius: 16px; background: #e62117; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(230, 33, 23, .25); }
.al-suscripcion__icono svg { width: 34px; height: 34px; }
.al-suscripcion__kicker { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--al-orange-darker); }
.al-suscripcion h2 { margin: 0; font-size: clamp(1.25rem, 1.6vw, 1.6rem); line-height: 1.25; }
.al-suscripcion h2 span { color: var(--al-orange-dark); white-space: nowrap; }
.al-suscripcion__pasos { margin: 0; padding: 0; list-style: none; counter-reset: paso; display: grid; gap: 10px; }
.al-suscripcion__pasos li { counter-increment: paso; position: relative; padding-left: 38px; min-height: 26px; text-align: left; color: var(--al-ink-2); }
.al-suscripcion__pasos li::before { content: counter(paso); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--al-orange); color: #fff; font-weight: 800; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; position: absolute; left: 0; top: -1px; }
.al-suscripcion__pasos a { color: var(--al-orange-darker); font-weight: 600; }
.al-suscripcion__form .wpcf7 form > p { margin: 0 0 12px; }
.al-suscripcion__form br { display: none; }
.al-suscripcion__form input[type=email] { width: 100%; background: #fff; border-radius: 999px; padding: 12px 18px; }
.al-suscripcion__form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.al-suscripcion__form .wpcf7-acceptance label { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--al-ink-2); cursor: pointer; }
.al-suscripcion__form .wpcf7-acceptance input { width: 18px; height: 18px; accent-color: var(--al-orange); margin: 0; }
.al-suscripcion__form .wpcf7-acceptance a { color: var(--al-ink-2); text-decoration: underline; }
.al-suscripcion__form input[type=submit] { width: 100%; background: var(--al-orange); color: var(--al-ink); border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 800; font-size: 1rem; cursor: pointer; transition: background .15s; }
.al-suscripcion__form input[type=submit]:hover { background: var(--al-orange-dark); }
.al-suscripcion__form input[type=submit]:disabled { opacity: .55; cursor: not-allowed; }
.al-suscripcion__form .wpcf7-spinner { position: absolute; }
.al-suscripcion__form .wpcf7-response-output { margin: 10px 0 0 !important; border-radius: var(--al-radius-sm); font-size: .9rem; }
@media (min-width: 1100px) { .al-suscripcion { grid-template-columns: 1.15fr 1fr 0.95fr; padding: 32px 36px; } }
@media (min-width: 700px) and (max-width: 1099px) { .al-suscripcion { grid-template-columns: 1fr 1fr; } .al-suscripcion__intro { grid-column: 1 / -1; } }

/* 1.0.38 (21-11-2026): pie, «Devoluciones y garantía» con el sello de garantía UE detrás (elemento de menú con la clase al-garantia). */
.al-footer .al-garantia > a { display: inline-flex; align-items: center; gap: 10px; }
.al-footer .al-garantia > a::after { content: ""; flex: none; width: 32px; height: 30px; background: url("assets/img/garantia-ue.png") center / contain no-repeat; border-radius: 4px; }

/* 1.0.39 (21-11-2026): minicarrito nuevo (plantilla woocommerce/cart/mini-cart.php): barra de envío gratis con icono, foto | nombre + cantidad − / + | precio + papelera. */
.al-minicart__drop { width: 440px; padding: 18px 20px; }
.al-minicart__drop .woocommerce-mini-cart { max-height: min(58vh, 520px); }
.al-minicart__drop .woocommerce-mini-cart-item.al-mc-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 14px; align-items: stretch; padding: 16px 0; font-size: .92rem; }
.al-minicart__drop .al-mc-item__img img { grid-row: auto; width: 88px; height: 88px; object-fit: contain; background: var(--al-bg); border-radius: var(--al-radius-sm); }
.al-minicart__drop .al-mc-item__info { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.al-minicart__drop .al-mc-item__info a.al-mc-item__name { display: block; color: var(--al-ink); font-weight: 600; line-height: 1.35; }
.al-minicart__drop .al-mc-item__info a.al-mc-item__name:hover { color: var(--al-orange-darker); }
.al-minicart__drop .al-mc-item__info dl { margin: 0; font-size: .8rem; color: var(--al-muted); }
.al-minicart__drop .al-mc-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; white-space: nowrap; }
.al-mc-item__price { font-weight: 600; color: var(--al-ink); }
.al-mc-item__price del { color: var(--al-muted); font-weight: 400; margin-right: 4px; }
.al-mc-item__price ins { text-decoration: none; color: #2e9e44; }
.al-minicart__drop .remove.al-mc-item__remove { position: static; display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 6px; color: var(--al-ink-2) !important; background: none !important; }
.al-minicart__drop .remove.al-mc-item__remove:hover { color: var(--al-red) !important; background: #fdecea !important; }
.al-minicart__drop .remove.al-mc-item__remove svg { width: 20px; height: 20px; }
.al-minicart__drop .woocommerce-mini-cart__total { font-size: 1.02rem; padding-top: 4px; }

/* 1.0.40 (21-11-2026): minicarrito con «Unidades: N» (sin − / +) y la barra de envío gratis de siempre, encima de la lista. */
.al-mc-qty { font-size: .88rem; color: var(--al-muted); }
.al-mc-qty strong { color: var(--al-ink); }
.al-minicart__drop .al-ship-bar { margin: 0 0 6px; }

/* 1.0.42 (21-11-2026): carrito con actualización automática; el botón «Actualizar carrito» solo se ve sin JavaScript. */
.al-cart-auto .woocommerce-cart-form button[name="update_cart"] { display: none !important; }

/* 1.0.43 (21-11-2026): minicarrito en páginas WooCommerce (body.woocommerce, p. ej. la ficha): woocommerce.css mete un ::before/::after
   de «clearfix» en cada línea (ocupaba la primera celda de la rejilla) y reduce las fotos a 32 px flotando a la derecha. */
.al-minicart__drop .al-mc-item::before, .al-minicart__drop .al-mc-item::after { content: none !important; display: none !important; }
.al-minicart__drop .woocommerce-mini-cart .al-mc-item__img img { float: none; margin: 0; width: 88px; height: 88px; box-shadow: none; }

/* 1.0.44 (22-11-2026): página del carrito más recogida (1100 px centrada; cabecera y título siguen a todo el ancho), papeleras, cupón en una línea y totales a la derecha. */
.woocommerce-cart .al-content > .entry-content > .woocommerce { max-width: 1100px; margin-inline: auto; }
.woocommerce-cart table.cart .product-remove a.remove { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 8px; color: var(--al-ink-2) !important; background: none !important; font-size: 0; }
.woocommerce-cart table.cart .product-remove a.remove:hover { color: var(--al-red) !important; background: #fdecea !important; }
.woocommerce-cart table.cart .product-remove a.remove svg { width: 20px; height: 20px; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 10px; align-items: center; float: none; width: auto; max-width: 460px; }
.woocommerce-cart table.cart td.actions .coupon input.input-text { flex: 1; width: auto !important; margin: 0; border-radius: 999px; padding: 10px 16px; }
.woocommerce-cart table.cart td.actions .coupon .button { flex: none; margin: 0; white-space: nowrap; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; max-width: 480px; margin-left: auto; float: none; }

/* 1.0.46 (22-11-2026): campos del pago en rejilla de 6 columnas: Nombre | Apellidos; Empresa; País (media fila); Dirección;
   C. postal | Población | Provincia; Teléfono | Email | CIF/NIF. El CIF/NIF va fuera del contenedor de campos, por eso la rejilla
   está en .woocommerce-billing-fields y el contenedor usa display: contents. */
.woocommerce-billing-fields, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 16px; align-items: start; }
.woocommerce-billing-fields > * { grid-column: 1 / -1; }
.woocommerce-billing-fields > .woocommerce-billing-fields__field-wrapper { display: contents; }
.woocommerce-billing-fields > p:empty { display: none; }
.woocommerce-shipping-fields__field-wrapper::before, .woocommerce-shipping-fields__field-wrapper::after { content: none; display: none; }
.woocommerce-billing-fields__field-wrapper > .form-row, .woocommerce-shipping-fields__field-wrapper > .form-row, .woocommerce-billing-fields > .form-row { grid-column: span 6; width: auto !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.woocommerce-checkout [id$="_first_name_field"], .woocommerce-checkout [id$="_last_name_field"], .woocommerce-checkout [id$="_country_field"] { grid-column: span 3; }
.woocommerce-checkout [id$="_postcode_field"], .woocommerce-checkout [id$="_city_field"], .woocommerce-checkout [id$="_state_field"], .woocommerce-checkout #billing_phone_field, .woocommerce-checkout #billing_email_field, .woocommerce-checkout .woocommerce-billing-fields > #cif_field_name_field { grid-column: span 2; }
.woocommerce-checkout #ship-to-different-address { float: none !important; width: auto !important; font-size: 1rem; margin: 8px 0 18px; }
.woocommerce-checkout .woocommerce-additional-fields > h3 { margin-top: 8px; }
@media (max-width: 700px) {
	.woocommerce-checkout .woocommerce-billing-fields .form-row, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row { grid-column: 1 / -1 !important; }
}

/* 1.0.48 (22-11-2026): página Valoraciones con 2 valoraciones por fila (listado de utils-nsc, que trae flotantes y anchos fijos), página a 1100 px y texto sin justificar dentro de las tarjetas. */
.entry-content.al-content--narrow:has(.listado_valoraciones_nsc) { max-width: 1100px !important; }
.listado_valoraciones_nsc ol.commentlist { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: none !important; width: auto !important; margin: 16px 0 0 !important; padding: 0 !important; }
.listado_valoraciones_nsc ol.commentlist::before, .listado_valoraciones_nsc ol.commentlist::after { content: none; display: none; }
.listado_valoraciones_nsc ol.commentlist > li { display: block !important; float: none !important; width: auto !important; margin: 0 !important; clear: none !important; }
.listado_valoraciones_nsc .comment_container { float: none !important; width: auto !important; height: 100%; box-sizing: border-box; display: flex !important; gap: 14px; align-items: flex-start; }
.listado_valoraciones_nsc .review-list-page-user-image { float: none !important; width: auto !important; flex: none; }
.listado_valoraciones_nsc .review-list-page-comment { float: none !important; width: auto !important; flex: 1; min-width: 0; }
.listado_valoraciones_nsc .comment_container > .clear { display: none; }
.listado_valoraciones_nsc ol.commentlist p, .listado_valoraciones_nsc ol.commentlist li { text-align: left !important; hyphens: manual !important; }
.listado_valoraciones_nsc .woocommerce-pagination { margin-top: 24px; }
@media (max-width: 800px) { .listado_valoraciones_nsc ol.commentlist { grid-template-columns: 1fr; } }

/* 1.0.50 (03-12-2026): popup con imagen (inc/popups.php). Arriba y centrado; la imagen nunca supera el alto de la pantalla y no hay scroll. */
.al-popup { position: fixed; inset: 0; z-index: 100000; display: flex; justify-content: center; align-items: flex-start; padding: 16px; overflow: hidden; }
.al-popup[hidden] { display: none; }
.al-popup__fondo { position: absolute; inset: 0; background: rgba(20, 17, 13, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; }
.al-popup__caja { position: relative; max-width: min(94vw, 900px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); animation: al-popup-entra .25s ease-out; }
.al-popup__enlace { display: block; line-height: 0; }
.al-popup__enlace:not([href]) { cursor: default; }
.al-popup__img { display: block; width: auto; height: auto; max-width: min(94vw, 900px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); object-fit: contain; border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); background: #fff; }
.al-popup__x { position: absolute; top: 8px; right: 8px; z-index: 1; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--al-ink); font-size: 26px; line-height: 38px; text-align: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); padding: 0; }
.al-popup__x:hover, .al-popup__x:focus-visible { background: var(--al-orange); color: #fff; outline: none; }
html.al-popup-abierto, html.al-popup-abierto body { overflow: hidden !important; overscroll-behavior: none; }
@keyframes al-popup-entra { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .al-popup__caja { animation: none; } }

/* 1.0.52 (04-12-2026): «Compra por categoría» con la última fila centrada (flex en vez de rejilla; mismos anchos: 6 / 4 / 3 / 2 por fila). */
.al-cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.al-cat-grid > .al-cat-card { flex: 0 0 calc((100% - 5 * 16px) / 6); min-width: 0; }
@media (max-width: 1200px) { .al-cat-grid > .al-cat-card { flex-basis: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 991px) { .al-cat-grid > .al-cat-card { flex-basis: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 600px) { .al-cat-grid > .al-cat-card { flex-basis: calc((100% - 16px) / 2); } }

/* 1.0.53: título «Puedes seguirnos en redes:» sobre los iconos del pie. */
.al-footer__redes { margin-top: 26px; }
.al-footer .al-footer__redes-titulo { color: #fff; font-size: 1.15rem; font-weight: 500; margin: 0 0 14px; }
