/*
 * NDELL Store — estilos de los componentes del plugin.
 * Cabecera (buscador, cuenta, favoritos, carrito), combos, ventajas,
 * categorías, marcas y botón de WhatsApp.
 * Los colores salen de variables globales: cámbialos aquí o en Kadence.
 */

:root {
	--ndell-black: #020806;
	--ndell-surface: #050D09;
	--ndell-panel: #092015;
	--ndell-forest: #123A1D;
	--ndell-neon: #A8FF00;
	--ndell-lime: #C5FF55;
	--ndell-active: #8FF000;
	--ndell-white: #FFFFFF;
	--ndell-light: #F5F7F7;
	--ndell-border: #D8DEE1;
	--ndell-muted: #647078;      /* solo sobre fondos claros */
	--ndell-soft: #A9B3AE;       /* texto auxiliar sobre fondos oscuros */
	--ndell-ink: #0B1210;        /* texto sobre fondos claros */
	--ndell-ok: #2F6B00;         /* verde legible sobre blanco */
	--ndell-wa: #25D366;
	--ndell-radius: 12px;
	--ndell-radius-sm: 8px;
	--ndell-container: 1240px;
	--ndell-font-display: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
	--ndell-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ndell-shadow: 0 12px 30px rgba(0, 0, 0, .38);
}

/* ---------- Utilidades ---------- */
.ndell-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}
.ndell-display {
	font-family: var(--ndell-font-display);
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	line-height: .92;
	letter-spacing: .2px;
}
.ndell-accent { color: var(--ndell-neon); }
.ndell-icon { width: 1em; height: 1em; flex: none; }
.ndell-admin-hint { margin: 12px auto; padding: 12px 14px; max-width: var(--ndell-container); border: 1px dashed var(--ndell-neon); border-radius: 8px; color: #fff; background: var(--ndell-surface); font: 500 14px/1.4 var(--ndell-font-body); }
.ndell-from { font-size: .85em; font-weight: 500; }

/* ---------- Cabecera: buscador + iconos ---------- */
.ndell-hdr {
	display: flex;
	align-items: center;
	gap: 28px;
	width: 100%;
	font-family: var(--ndell-font-body);
}
.ndell-search { position: relative; flex: 1 1 auto; max-width: 660px; min-width: 0; }
form.ndell-search__form {
	display: flex;
	align-items: center;
	height: 46px;
	margin: 0;
	background: #fff;
	border-radius: var(--ndell-radius-sm);
	overflow: hidden;
}
.ndell-search__icon { display: grid; place-items: center; margin-left: 14px; color: var(--ndell-muted); font-size: 20px; }
.ndell-search__input,
.ndell-search__input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0 12px;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: #1D2427 !important;
	font: 500 15px/1 var(--ndell-font-body);
}
.ndell-search__input::placeholder { color: var(--ndell-muted); opacity: 1; }
.ndell-search__input:focus { outline: none; }
form.ndell-search__form:focus-within { box-shadow: 0 0 0 3px rgba(168, 255, 0, .55); }
.ndell-search__btn {
	display: grid;
	place-items: center;
	width: 58px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--ndell-neon);
	color: var(--ndell-black);
	font-size: 22px;
	cursor: pointer;
	transition: background .2s;
}
.ndell-search__btn:hover, .ndell-search__btn:focus-visible { background: var(--ndell-lime); color: var(--ndell-black); }
ul.ndell-search__results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0; right: 0;
	z-index: 1000;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border-radius: var(--ndell-radius);
	box-shadow: var(--ndell-shadow);
}
ul.ndell-search__results[hidden] { display: none; }
.ndell-search__result a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: var(--ndell-radius-sm);
	color: var(--ndell-ink);
	text-decoration: none;
}
.ndell-search__result[aria-selected="true"] a,
.ndell-search__result a:hover { background: #EEF8DD; }
.ndell-search__thumb { width: 46px; height: 46px; flex: none; object-fit: contain; background: var(--ndell-light); border-radius: 6px; }
.ndell-search__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ndell-search__name { font: 600 14px/1.3 var(--ndell-font-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ndell-search__meta { font: 500 12px/1.3 var(--ndell-font-body); color: var(--ndell-muted); }
.ndell-search__price { font: 700 14px/1 var(--ndell-font-body); color: var(--ndell-ink); white-space: nowrap; }
.ndell-search__empty, .ndell-search__all a { display: block; padding: 10px; font: 500 13px var(--ndell-font-body); color: var(--ndell-muted); }
.ndell-search__all a { color: var(--ndell-ok); font-weight: 700; text-decoration: none; border-top: 1px solid var(--ndell-border); }

.ndell-icons { display: flex; align-items: center; gap: 24px; flex: none; }
.ndell-icon-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 6px 0;
	border: 0;
	background: none;
	color: #fff;
	font: 600 13px/1.15 var(--ndell-font-body);
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}
.ndell-icon-link .ndell-icon { font-size: 26px; }
.ndell-hdr .ndell-icons .ndell-icon-link { color: #fff; text-decoration: none; box-shadow: none; }
.ndell-icon-link:hover, .ndell-icon-link:focus-visible,
.ndell-hdr .ndell-icons .ndell-icon-link:hover, .ndell-hdr .ndell-icons .ndell-icon-link:focus-visible { color: var(--ndell-neon); background: none; }
.ndell-icon-link:focus-visible { outline: 2px solid var(--ndell-neon); outline-offset: 4px; border-radius: 4px; }
.ndell-cart { position: relative; }
.ndell-cart__icon { position: relative; display: inline-grid; }
.ndell-cart-count {
	position: absolute;
	top: -8px; right: -10px;
	min-width: 20px; height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--ndell-neon);
	color: var(--ndell-black);
	font: 800 11px/20px var(--ndell-font-body);
	text-align: center;
}
.ndell-minicart {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 1000;
	width: 360px;
	max-width: calc(100vw - 32px);
	padding: 16px;
	background: #fff;
	color: var(--ndell-ink);
	border-radius: var(--ndell-radius);
	box-shadow: var(--ndell-shadow);
	font: 500 14px/1.4 var(--ndell-font-body);
}
.ndell-minicart[hidden] { display: none; }
p.ndell-minicart__title { margin: 0 0 8px; font: italic 800 20px/1 var(--ndell-font-display); text-transform: uppercase; color: var(--ndell-black); }
.ndell-minicart .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; max-height: 320px; overflow: auto; }
.ndell-minicart .woocommerce-mini-cart-item { position: relative; padding: 10px 26px 10px 0; border-bottom: 1px solid var(--ndell-border); }
.ndell-minicart .woocommerce-mini-cart-item a:not(.remove) { display: flex; align-items: center; gap: 10px; color: var(--ndell-ink); font-weight: 600; text-decoration: none; }
.ndell-minicart .woocommerce-mini-cart-item img { width: 48px; height: 48px; object-fit: contain; background: var(--ndell-light); border-radius: 6px; }
.ndell-minicart .woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 10px; color: var(--ndell-muted) !important; text-decoration: none; font-size: 18px; }
.ndell-minicart .woocommerce-mini-cart-item dl.variation { margin: 4px 0 0 58px; font-size: 12px; color: var(--ndell-muted); }
.ndell-minicart .woocommerce-mini-cart-item dl.variation dt { font-weight: 700; }
.ndell-minicart .woocommerce-mini-cart-item dl.variation dd { margin: 0 0 2px; }
.ndell-minicart .woocommerce-mini-cart-item dl.variation p { margin: 0; }
.ndell-minicart .quantity { display: block; margin: 4px 0 0 58px; color: var(--ndell-muted); font-size: 13px; }
.ndell-minicart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 12px 0; font-size: 15px; }
.ndell-minicart .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.ndell-minicart .woocommerce-mini-cart__buttons a {
	display: block;
	padding: 11px 8px;
	border-radius: var(--ndell-radius-sm);
	background: var(--ndell-black);
	color: #fff;
	text-align: center;
	font-weight: 700;
	text-decoration: none;
}
.ndell-minicart .woocommerce-mini-cart__buttons a.checkout { background: var(--ndell-neon); color: var(--ndell-black); }
.ndell-minicart .woocommerce-mini-cart__empty-message { margin: 8px 0; color: var(--ndell-muted); }

/* Integración con la cabecera de Kadence: el elemento HTML ocupa el espacio libre. */
.site-header-section:has(.ndell-hdr),
.site-header-item:has(.ndell-hdr),
.header-html:has(.ndell-hdr),
.header-html-inner:has(.ndell-hdr) { flex: 1 1 auto; min-width: 0; }
.site-header-section:has(.ndell-hdr) { justify-content: flex-end; }
.site-header-main-section-left:has(.site-branding) + .site-header-main-section-right:has(.ndell-hdr) { padding-left: 40px; }
.mobile-html:has(.ndell-search),
.mobile-html-inner:has(.ndell-search),
.site-header-item:has(.mobile-html .ndell-search),
.site-header-section:has(.mobile-html .ndell-search) { flex: 1 1 auto; width: 100%; max-width: none; }
.mobile-html .ndell-search { max-width: none; }

@media (max-width: 1200px) {
	.ndell-hdr { gap: 20px; }
	.ndell-icons { gap: 18px; }
	.ndell-icon-link__label { display: none; }
}

/* ---------- Combos ---------- */
.ndell-combos {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 46px 0 40px;
	background-color: var(--ndell-black);
	color: #fff;
	font-family: var(--ndell-font-body);
}
.ndell-combos::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(ellipse at 15% 0%, rgba(143, 240, 0, .12), transparent 55%),
		radial-gradient(ellipse at 90% 100%, rgba(143, 240, 0, .10), transparent 50%),
		repeating-linear-gradient(135deg, rgba(168, 255, 0, .035) 0 2px, transparent 2px 24px),
		url(../img/textura-hojas.svg) center / 480px repeat;
	opacity: .9;
}
.ndell-combos__inner { max-width: var(--ndell-container); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.ndell-combos__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px 32px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.ndell-combos__title { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.ndell-combos__bolt { display: grid; place-items: center; color: var(--ndell-neon); font-size: 46px; }
h2.ndell-combos__h2 {
	margin: 0;
	color: #fff;
	font: italic 800 clamp(34px, 4.2vw, 54px)/.95 var(--ndell-font-display);
	text-transform: uppercase;
	letter-spacing: .3px;
}
p.ndell-combos__tag {
	position: relative;
	margin: 0;
	padding-bottom: 8px;
	color: var(--ndell-neon);
	font: italic 800 clamp(22px, 2.4vw, 32px)/1 var(--ndell-font-display);
	text-transform: uppercase;
}
p.ndell-combos__tag::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	border-radius: 2px;
	background: var(--ndell-neon);
	transform: skewX(-25deg);
}
ul.ndell-combos__perks { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.ndell-perk { display: flex; align-items: center; gap: 12px; max-width: 220px; font: 600 14px/1.25 var(--ndell-font-body); color: #fff; }
.ndell-perk__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px; height: 46px;
	border: 1.5px solid var(--ndell-neon);
	border-radius: 50%;
	color: var(--ndell-neon);
	font-size: 22px;
}
.ndell-combos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.ndell-combo {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1.5px solid var(--ndell-neon);
	border-radius: 14px;
	background-color: var(--ndell-panel);
	box-shadow: var(--ndell-shadow);
}
.ndell-combo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(circle at 72% 38%, rgba(168, 255, 0, .20), transparent 52%),
		repeating-linear-gradient(-58deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 20px),
		linear-gradient(160deg, #0b2a18 0%, var(--ndell-panel) 45%, #04140b 100%);
}
.ndell-combo__top {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 8px;
	min-height: 272px;
	padding: 26px 24px 8px;
}
.ndell-combo__info { position: relative; z-index: 4; }
h3.ndell-combo__name {
	margin: 0 0 12px;
	color: #fff;
	font: italic 800 clamp(34px, 3.5vw, 50px)/.9 var(--ndell-font-display);
	text-transform: uppercase;
	letter-spacing: .2px;
	text-shadow: 0 3px 14px rgba(0, 0, 0, .45);
}
h3.ndell-combo__name .is-accent { color: var(--ndell-neon); }
h3.ndell-combo__name a { color: inherit; text-decoration: none; }
h3.ndell-combo__name a:hover, h3.ndell-combo__name a:focus-visible { color: inherit; text-decoration: underline; text-decoration-color: var(--ndell-neon); text-underline-offset: 6px; }
p.ndell-combo__claim { margin: 0 0 16px; color: #fff; font: 700 13px/1.35 var(--ndell-font-body); text-transform: uppercase; letter-spacing: .3px; }
ul.ndell-combo__list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
ul.ndell-combo__list li { display: flex; align-items: center; gap: 10px; margin: 0; color: #fff; font: 600 15px/1.2 var(--ndell-font-body); }
.ndell-combo__check {
	display: grid;
	place-items: center;
	flex: none;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--ndell-neon);
	color: var(--ndell-black);
	font-size: 14px;
}
.ndell-combo__visual { position: relative; min-height: 236px; }
.ndell-combo__vis {
	position: absolute;
	height: auto;
	max-width: none;
	filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5));
	transition: opacity .25s ease, transform .25s ease;
}
.ndell-combo__vis--m1 { left: 4%;  bottom: 2%;  width: 47%; z-index: 4; }
.ndell-combo__vis--m2 { left: 40%; bottom: 7%;  width: 44%; z-index: 3; }
.ndell-combo__vis--m3 { left: 22%; bottom: 14%; width: 38%; z-index: 2; }
.ndell-combo__vis--g1 { left: -6%; bottom: 0;   width: 19%; z-index: 6; }
.ndell-combo__vis--g2 { right: -4%; bottom: 34%; width: 25%; z-index: 2; }
.ndell-combo__vis--g3 { right: 0;   bottom: -1%; width: 18%; z-index: 6; }
.ndell-combo__vis--g4 { left: 34%; bottom: -3%; width: 17%; z-index: 7; }
.ndell-combo__visual--solo .ndell-combo__vis--m1 { left: 20%; width: 56%; }
.ndell-combo__visual--image img { position: static; width: 100%; height: 100%; object-fit: contain; }
.ndell-combo__vis.is-off { opacity: 0; transform: translateY(8px) scale(.9); }

p.ndell-combo__badge {
	position: absolute;
	top: 14px; right: 14px;
	z-index: 8;
	display: grid;
	place-content: center;
	width: 94px; height: 94px;
	margin: 0;
	border-radius: 50%;
	background: var(--ndell-neon);
	color: var(--ndell-black);
	font: italic 800 15px/1 var(--ndell-font-display);
	text-align: center;
	text-transform: uppercase;
	box-shadow: 0 0 0 5px rgba(168, 255, 0, .22), 0 8px 18px rgba(0, 0, 0, .4);
	transform: rotate(-8deg);
}
p.ndell-combo__badge strong { display: block; margin-top: 2px; font-size: 25px; font-weight: 800; }

form.ndell-combo__panel {
	position: relative;
	z-index: 5;
	margin: 0 14px 14px;
	padding: 14px 14px 12px;
	background: #fff;
	color: var(--ndell-ink);
	border-radius: 10px;
}
fieldset.ndell-gifts { margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
.ndell-combo__panel-title {
	float: left;
	margin: 0 0 10px;
	padding: 0;
	color: var(--ndell-black);
	font: italic 800 21px/1 var(--ndell-font-display);
	text-transform: uppercase;
}
p.ndell-gifts__hint { margin: 3px 0 10px; color: var(--ndell-muted); font: 500 12px/1.3 var(--ndell-font-body); text-align: right; }
.ndell-gifts__grid { clear: both; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ndell-gift { position: relative; min-width: 0; }
.ndell-gift input {
	position: absolute;
	top: 10px; left: 10px;
	width: 20px; height: 20px;
	margin: 0;
	opacity: 0;
}
.ndell-gift label {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	height: 100%;
	min-height: 118px;
	margin: 0;
	padding: 10px 6px 8px;
	border: 1.5px solid var(--ndell-border);
	border-radius: 10px;
	background: var(--ndell-light);
	text-align: center;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.ndell-gift__box {
	position: absolute;
	top: 7px; left: 7px;
	display: grid;
	place-items: center;
	width: 20px; height: 20px;
	border: 2px solid #AAB5BA;
	border-radius: 5px;
	background: #fff;
	color: transparent;
	font-size: 13px;
}
.ndell-gift__img { display: block; width: 58px; height: 58px; object-fit: contain; transition: opacity .2s, filter .2s; }
.ndell-gift__name { color: var(--ndell-ink); font: 700 12px/1.2 var(--ndell-font-body); }
.ndell-gift__price { color: var(--ndell-muted); font: 600 11px/1.2 var(--ndell-font-body); }
.ndell-gift__state { color: var(--ndell-muted); font: 700 10px/1 var(--ndell-font-body); text-transform: uppercase; letter-spacing: .4px; }
.ndell-gift__state--on { display: none; color: var(--ndell-ok); }
.ndell-gift input:checked + label { border-color: var(--ndell-active); background: #F3FFE0; }
.ndell-gift input:checked + label .ndell-gift__box { border-color: var(--ndell-active); background: var(--ndell-active); color: var(--ndell-black); }
.ndell-gift input:checked + label .ndell-gift__state--on { display: inline; }
.ndell-gift input:checked + label .ndell-gift__state--off { display: none; }
.ndell-gift input:not(:checked) + label .ndell-gift__img { opacity: .35; filter: grayscale(1); }
.ndell-gift input:focus-visible + label { outline: 3px solid var(--ndell-black); outline-offset: 2px; }
.ndell-gift input:disabled + label { cursor: not-allowed; opacity: .55; }
.ndell-gift label:hover { border-color: var(--ndell-active); }

.ndell-combo__buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px; align-items: stretch; }
.ndell-price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	min-width: 0;
	margin: 0;
	padding: 7px 10px;
	border: 1.5px solid var(--ndell-border);
	border-radius: 10px;
	background: #fff;
	color: var(--ndell-ink);
	font: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: none;
}
.ndell-price:hover { border-color: var(--ndell-active); background: #fff; color: var(--ndell-ink); }
.ndell-price:focus-visible { outline: 3px solid var(--ndell-black); outline-offset: 2px; }
.ndell-price.is-active { border-color: var(--ndell-active); background: #F3FFE0; box-shadow: inset 0 0 0 1px var(--ndell-active); }
.ndell-price__label { color: var(--ndell-muted); font: 700 11px/1.2 var(--ndell-font-body); text-transform: uppercase; letter-spacing: .4px; }
.ndell-price__now { color: var(--ndell-black); font: 800 23px/1.05 var(--ndell-font-display); white-space: nowrap; }
.ndell-price.is-active .ndell-price__now { font-size: 27px; }
.ndell-price__was { color: var(--ndell-muted); font: 500 12px/1.2 var(--ndell-font-body); text-decoration: line-through; white-space: nowrap; }
.ndell-price__was:empty { display: none; }
.ndell-combo__add {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 58px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: var(--ndell-radius-sm);
	background: var(--ndell-neon);
	color: var(--ndell-black);
	font: italic 800 19px/1 var(--ndell-font-display);
	text-transform: uppercase;
	letter-spacing: .3px;
	cursor: pointer;
	transition: background .2s, transform .1s;
}
.ndell-combo__add .ndell-icon { font-size: 22px; }
.ndell-combo__add:hover, .ndell-combo__add:focus-visible { background: var(--ndell-lime); color: var(--ndell-black); }
.ndell-combo__add:focus-visible { outline: 3px solid var(--ndell-black); outline-offset: 2px; }
.ndell-combo__add:active { transform: translateY(1px); }
.ndell-combo__add[disabled] { background: #CFD6D2; color: #4C5852; cursor: not-allowed; }
.ndell-combo__add.is-busy { opacity: .7; cursor: progress; }
p.ndell-combo__note { margin: 8px 0 0; color: var(--ndell-ok); font: 700 12.5px/1.3 var(--ndell-font-body); text-align: right; }
p.ndell-combo__note:empty { display: none; }
p.ndell-combo__msg { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; font: 600 13px/1.35 var(--ndell-font-body); }
p.ndell-combo__msg[hidden] { display: none; }
p.ndell-combo__msg.is-ok { background: #F3FFE0; color: var(--ndell-ok); }
p.ndell-combo__msg.is-error { background: #FFF0F0; color: #A01818; }
p.ndell-combo__msg a { color: inherit; font-weight: 800; }
p.ndell-combo__stock { margin: 8px 0 0; color: #A01818; font: 700 13px/1.3 var(--ndell-font-body); }

/* Combo en la ficha de producto (solo panel) */
.ndell-combo--single { border: 0; background: none; box-shadow: none; overflow: visible; }
.ndell-combo--single::before { display: none; }
.ndell-combo--single form.ndell-combo__panel { margin: 0 0 16px; border: 1.5px solid var(--ndell-active); }

/* Enlaces a la ficha desde la tarjeta */
a.ndell-combo__visual { display: block; color: inherit; text-decoration: none; }
a.ndell-combo__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	color: var(--ndell-neon);
	font: 700 13px/1.2 var(--ndell-font-body);
	letter-spacing: .4px;
	text-transform: uppercase;
	text-decoration: none;
}
a.ndell-combo__more:hover, a.ndell-combo__more:focus-visible { color: var(--ndell-lime); text-decoration: underline; text-underline-offset: 4px; }

/* Cantidad (solo en la ficha) */
.ndell-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.ndell-qty label { margin: 0; color: var(--ndell-black); font: 700 13px/1 var(--ndell-font-body); text-transform: uppercase; letter-spacing: .4px; }
.ndell-qty__ctrl { display: inline-flex; align-items: stretch; border: 1.5px solid var(--ndell-border); border-radius: 10px; overflow: hidden; background: #fff; }
.ndell-qty__ctrl button.ndell-qty__btn {
	width: 44px; min-height: 44px; margin: 0; padding: 0;
	border: 0; border-radius: 0; background: var(--ndell-light); color: var(--ndell-black);
	font: 700 20px/1 var(--ndell-font-body); cursor: pointer; box-shadow: none;
}
.ndell-qty__ctrl button.ndell-qty__btn:hover, .ndell-qty__ctrl button.ndell-qty__btn:focus-visible { background: #F3FFE0; color: var(--ndell-black); }
.ndell-qty__ctrl input[type="number"] {
	width: 56px; min-height: 44px; margin: 0; padding: 0 4px;
	border: 0; border-radius: 0; background: #fff; color: var(--ndell-black);
	font: 700 17px/1 var(--ndell-font-body); text-align: center; box-shadow: none;
	-moz-appearance: textfield;
}
.ndell-qty__ctrl input[type="number"]::-webkit-outer-spin-button,
.ndell-qty__ctrl input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

@media (max-width: 1100px) {
	.ndell-combos__grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin: 0 auto; }
}
@media (max-width: 767px) {
	.ndell-combos { padding: 32px 0 28px; }
	.ndell-combos__inner { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
	.ndell-combos__head { margin-bottom: 18px; }
	.ndell-combos__bolt { font-size: 36px; }
	ul.ndell-combos__perks { gap: 14px; width: 100%; }
	.ndell-perk { font-size: 13px; gap: 8px; }
	.ndell-perk__icon { width: 38px; height: 38px; font-size: 18px; }
	.ndell-combo__top { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 20px 16px 4px; }
	.ndell-combo__info { padding-right: 84px; }
	h3.ndell-combo__name { font-size: 36px; }
	p.ndell-combo__claim { font-size: 12px; }
	.ndell-combo__visual { min-height: 200px; margin: 0 auto; width: 100%; max-width: 360px; }
	p.ndell-combo__badge { width: 80px; height: 80px; font-size: 13px; top: 12px; right: 12px; }
	p.ndell-combo__badge strong { font-size: 21px; }
	form.ndell-combo__panel { margin: 0 10px 10px; padding: 12px 10px 10px; }
	.ndell-combo__panel-title { float: none; font-size: 20px; margin-bottom: 2px; }
	p.ndell-gifts__hint { text-align: left; }
	.ndell-gifts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ndell-gift label { min-height: 108px; padding: 10px 6px; }
	.ndell-gift__box { width: 24px; height: 24px; }
	.ndell-combo__buy { grid-template-columns: 1fr 1fr; }
	.ndell-combo__add { grid-column: 1 / -1; min-height: 56px; }
	p.ndell-combo__note { text-align: center; }
}

/* ---------- Ventajas ---------- */
ul.ndell-benefits {
	display: grid;
	grid-template-columns: repeat(var(--ndell-cols, 5), minmax(0, 1fr));
	margin: 0;
	padding: 18px 6px;
	list-style: none;
	background: var(--ndell-surface);
	border: 1px solid var(--ndell-forest);
	border-radius: var(--ndell-radius);
	font-family: var(--ndell-font-body);
}
.ndell-benefit { display: flex; align-items: center; gap: 14px; min-width: 0; margin: 0; padding: 4px 18px; border-left: 1px solid rgba(255, 255, 255, .12); }
.ndell-benefit:first-child { border-left: 0; }
.ndell-benefit__icon { display: grid; place-items: center; flex: none; color: #fff; font-size: 34px; }
.ndell-benefit__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; word-break: normal; overflow-wrap: normal; }
.ndell-benefit__title { color: #fff; font: 700 14px/1.2 var(--ndell-font-body); }
.ndell-benefit__text { color: var(--ndell-soft); font: 500 12.5px/1.3 var(--ndell-font-body); }

ul.ndell-benefits--hero {
	grid-template-columns: repeat(var(--ndell-cols, 4), minmax(0, auto));
	gap: 18px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}
ul.ndell-benefits--hero .ndell-benefit { gap: 10px; padding: 0; border: 0; }
ul.ndell-benefits--hero .ndell-benefit__icon { font-size: 30px; }
ul.ndell-benefits--hero .ndell-benefit__title { font-size: 13px; }
ul.ndell-benefits--hero .ndell-benefit__text { font-size: 12px; color: #D7DED9; }

@media (max-width: 1024px) {
	ul.ndell-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
	.ndell-benefit:nth-child(4) { border-left: 0; }
	ul.ndell-benefits--hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	ul.ndell-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 4px; }
	.ndell-benefit { padding: 4px 12px; gap: 10px; border-left: 0; }
	.ndell-benefit:nth-child(5) { grid-column: 1 / -1; justify-content: center; }
	.ndell-benefit__icon { font-size: 28px; }
	.ndell-benefit__title { font-size: 13px; }
	.ndell-benefit__text { font-size: 12px; }
	ul.ndell-benefits--hero { gap: 14px 10px; }
	ul.ndell-benefits--hero .ndell-benefit:nth-child(5) { grid-column: auto; }
}

/* ---------- Categorías ---------- */
.ndell-cats { font-family: var(--ndell-font-body); }
.ndell-cats__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
h2.ndell-cats__title { margin: 0; color: #fff; font: italic 800 clamp(26px, 3vw, 36px)/1 var(--ndell-font-display); text-transform: uppercase; }
.ndell-cats__all { flex: none; color: #fff; font: 600 14px/1 var(--ndell-font-body); text-decoration: none; }
.ndell-cats__all span { color: var(--ndell-neon); }
.ndell-cats__all:hover, .ndell-cats__all:focus-visible { color: var(--ndell-neon); }
ul.ndell-cats__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ndell-cat { margin: 0; min-width: 0; }
.ndell-cat a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--ndell-light);
	border: 1px solid var(--ndell-border);
	border-radius: var(--ndell-radius);
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ndell-cat__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0%, #E8EDED 100%); }
.ndell-cat__media img { position: absolute; top: 10%; left: 10%; display: block; width: 80%; height: 80%; max-width: none; object-fit: contain; }
.ndell-cat__name { display: flex; flex: 1; align-items: center; justify-content: center; padding: 10px 6px 12px; color: var(--ndell-ink); font: 700 14px/1.2 var(--ndell-font-body); text-align: center; }
.ndell-cat a:hover, .ndell-cat a:focus-visible { transform: translateY(-4px); border-color: var(--ndell-active); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.ndell-cat a:focus-visible { outline: 3px solid var(--ndell-neon); outline-offset: 2px; }

@media (max-width: 1024px) {
	ul.ndell-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	ul.ndell-cats__grid {
		display: flex;
		gap: 12px;
		margin: 0 -16px;
		padding: 2px 16px 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 16px;
		-webkit-overflow-scrolling: touch;
	}
	.ndell-cat { flex: 0 0 40%; scroll-snap-align: start; }
	.ndell-cat__name { font-size: 13px; }
}

/* ---------- Marcas ---------- */
ul.ndell-brands {
	display: grid;
	grid-template-columns: repeat(var(--ndell-brand-cols, 4), minmax(0, 1fr));
	align-items: center;
	gap: 18px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.ndell-brands li { display: grid; place-items: center; min-height: 56px; margin: 0; }
ul.ndell-brands a { display: grid; place-items: center; }
ul.ndell-brands img { display: block; max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; transition: opacity .2s; }
ul.ndell-brands--color img { filter: none; }
ul.ndell-brands a:hover img { opacity: 1; }
.ndell-brands__name { color: #fff; font: italic 800 20px/1 var(--ndell-font-display); text-transform: uppercase; text-align: center; }
@media (max-width: 767px) {
	ul.ndell-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- WhatsApp ---------- */
.ndell-wa {
	position: fixed;
	right: calc(22px + env(safe-area-inset-right, 0px));
	bottom: calc(22px + env(safe-area-inset-bottom, 0px));
	z-index: 9990;
	display: grid;
	place-items: center;
	width: 58px; height: 58px;
	border-radius: 50%;
	background: var(--ndell-wa);
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
	transition: transform .2s;
}
.ndell-wa .ndell-icon { font-size: 31px; }
.ndell-wa:hover, .ndell-wa:focus-visible { color: #fff; transform: scale(1.06); }
.ndell-wa:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 767px) {
	.ndell-wa { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; }
	.ndell-wa .ndell-icon { font-size: 28px; }
}

/* ---------- Superficies de producto de WooCommerce (gris claro, como en la referencia) ---------- */
.woocommerce div.product div.images .woocommerce-product-gallery__image,
.woocommerce ul.products li.product .woocommerce-loop-image-link,
.wc-block-grid__product-image,
.wc-block-components-product-image { background: var(--ndell-light); border-radius: var(--ndell-radius); overflow: hidden; }
.woocommerce ul.products li.product .woocommerce-loop-image-link img { mix-blend-mode: multiply; }

@media (prefers-reduced-motion: reduce) {
	.ndell-combo__vis, .ndell-cat a, .ndell-wa, .ndell-gift label, .ndell-gift__img { transition: none; }
}
