/* =========================================================
 * Nutribiótica · Side Cart (XooTix)
 *
 * Reutiliza tokens / patrones del sticky-add-to-cart.css y
 * product-variants.css para mantener coherencia visual entre:
 *   - Sticky ATC (ficha producto)
 *   - Variantes fake (ficha producto)
 *   - Side Cart (este archivo)
 *
 * Paleta:
 *   navy        #0b3557
 *   border      #d9e2ec / #e6edf4 / #e2e8f0
 *   bg soft     #f3f6f9 / #eaf0f6
 *   accent      #007b9e (rgba 0,123,158)
 *
 * Override: prefijamos con .xoo-wsc-modal para ganar especificidad
 * al CSS inline/dinámico del plugin sin spam de !important.
 * ========================================================= */

/* =========================================================
 * Reset modal
 * ========================================================= */
.xoo-wsc-modal,
.xoo-wsc-modal * {
	box-sizing: border-box;
	font-family: inherit;
}
.xoo-wsc-modal .xoo-wsc-container {
	color: #0b3557;
	background: #fff;
}
.xoo-wsc-sp-container, .xoo-wsc-dr-sp {
	background-color: white !important;
}
/* =========================================================
 * BASKET (icono flotante)
 * ========================================================= */
body .xoo-wsc-basket {
	background: #0b3557 !important;
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(11, 53, 87, 0.18) !important;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
body .xoo-wsc-basket:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(11, 53, 87, 0.25) !important;
}
body .xoo-wsc-basket .xoo-wsc-items-count {
	background: #c0392b !important;
	color: #fff !important;
	font-weight: 700;
	font-size: 0.7rem;
}

/* =========================================================
 * HEADER (título + contador + close + línea acento)
 * ========================================================= */
.xoo-wsc-modal .xoo-wsc-header {
	background: transparent;
	border: 0;
	padding: 14px 18px 12px;
	position: relative;
}
.xoo-wsc-modal .xoo-wsc-header::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, #d9e2ec 18%, #d9e2ec 82%, transparent);
}
.xoo-wsc-modal .nutri-wsc-header-min {
	display: block;
}
.xoo-wsc-modal .nutri-wsc-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.xoo-wsc-modal .nutri-wsc-header-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.xoo-wsc-modal .nutri-wsc-header-title__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9999px;
	background: #f3f6f9;
	border: 1px solid #e6edf4;
	color: #0b3557;
	flex: 0 0 auto;
}
.xoo-wsc-modal .nutri-wsc-header-title__icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	display: block;
}
.xoo-wsc-modal .nutri-wsc-header-title__text {
	color: #0b3557;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.2px;
	line-height: 1.15;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.xoo-wsc-modal .nutri-wsc-header-count {
	display: inline-flex;
	align-items: center;
	background: #eaf0f6;
	color: #0b3557;
	border: 1px solid #d9e2ec;
	border-radius: 9999px;
	padding: 2px 9px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.2px;
	line-height: 1.4;
	white-space: nowrap;
	flex: 0 0 auto;
}
.xoo-wsc-modal .xoo-wsch-close {
	width: 34px;
	height: 34px;
	border-radius: 9999px;
	background: #f3f6f9;
	color: #0b3557;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 0.95rem;
	border: 1px solid #e6edf4;
	transition: background 0.15s ease, color 0.15s ease;
}
.xoo-wsc-modal .xoo-wsch-close:hover {
	background: #0b3557;
	color: #fff;
}

/* Barra envío gratis nativa del plugin → oculta. */
.xoo-wsc-modal .xoo-wsc-bar-cont,
.xoo-wsc-modal .xoo-wsc-bar-remtext {
	display: none !important;
}

/* =========================================================
 * BODY (lista de productos)
 * ========================================================= */
.xoo-wsc-modal .xoo-wsc-body,
.xoo-wsc-modal div.xoo-wsc-body {
	background: #fff !important;
	--nutri-wsc-body-pad-inline: 14px;
	padding: 14px !important;
	margin-top: 16px !important;
}
.xoo-wsc-modal .xoo-wsc-empty-cart {
	padding: 40px 24px;
	text-align: center;
	color: rgba(11, 53, 87, 0.65);
	font-weight: 500;
}

/* Producto (mismo lenguaje que sticky-atc card) */
.xoo-wsc-modal .xoo-wsc-product {
	position: relative;
	background: #fff;
	border: 1px solid #e6edf4;
	border-radius: 12px;
	padding: 14px;
	margin: 0 0 12px;
	display: flex;
	gap: 14px;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.xoo-wsc-modal .xoo-wsc-product:hover {
	border-color: #d9e2ec;
	box-shadow: 0 6px 18px rgba(11, 53, 87, 0.08);
}

/* Imagen (64x64 contain) */
.xoo-wsc-modal .xoo-wsc-img-col {
	position: relative;
	width: 68px;
	min-width: 68px;
	height: 68px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e6edf4;
	overflow: hidden;
	flex-shrink: 0;
	align-self: center;
	box-sizing: border-box;
}
.xoo-wsc-modal .xoo-wsc-img-col > a,
.xoo-wsc-modal .xoo-wsc-img-col > a:hover {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 0;
}
.xoo-wsc-modal .xoo-wsc-img-col img,
.xoo-wsc-modal .xoo-wsc-img-col a img,
.xoo-wsc-modal .xoo-wsc-img-col > img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	border-radius: 8px;
	margin: 0;
	padding: 4px;
}

/* Badges sobre imagen */
.xoo-wsc-modal .nutri-wsc-badges {
	position: absolute;
	top: 3px;
	left: 3px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	z-index: 2;
	pointer-events: none;
}
.xoo-wsc-modal .nutri-wsc-badge {
	display: inline-block;
	font-size: 0.6rem;
	font-weight: 800;
	line-height: 1;
	padding: 3px 5px;
	border-radius: 4px;
	color: #fff;
	letter-spacing: 0.3px;
	width: fit-content;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.xoo-wsc-modal .nutri-wsc-badge-sale {
	background: #c0392b;
}
.xoo-wsc-modal .nutri-wsc-badge-stock {
	background: #c97a18;
}

/* Columna info */
.xoo-wsc-modal .xoo-wsc-sum-col {
	flex: 1;
	min-width: 0;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 6px;
}
.xoo-wsc-modal .xoo-wsc-sm-info {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	align-items: flex-start;
	width: 100%;
}
.xoo-wsc-modal .xoo-wsc-sm-left {
	flex: 1;
	min-width: 0;
}
.xoo-wsc-modal .xoo-wsc-sm-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	flex-shrink: 0;
}

/* Nombre — comportamiento estándar (texto plano) */
.xoo-wsc-modal .xoo-wsc-pname,
.xoo-wsc-modal .xoo-wsc-pname a {
	color: #0b3557;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
	display: block;
	margin: 0 0 2px;
}

/* Variante fake: split nombre + formato */
.xoo-wsc-modal .xoo-wsc-pname:has(.nutri-wsc-pname-main),
.xoo-wsc-modal .xoo-wsc-pname:has(.nutri-wsc-pname-main) a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	text-decoration: none;
}
.xoo-wsc-modal .nutri-wsc-pname-main {
	color: #0b3557;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.2;
	letter-spacing: -0.1px;
	width: 100%;
}
.xoo-wsc-modal .nutri-wsc-pname-format {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	color: #0b3557;
	background: #f3f6f9;
	border: 1px solid #d9e2ec;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 2px 9px;
	border-radius: 9999px;
	letter-spacing: 0.1px;
	line-height: 1.4;
	text-transform: lowercase;
	opacity: 0.85;
}
.xoo-wsc-modal .xoo-wsc-pname:hover .nutri-wsc-pname-main {
	color: rgba(11, 53, 87, 0.85);
}


/* Meta woocommerce (variaciones, atributos) */
.xoo-wsc-modal .xoo-wsc-product-meta,
.xoo-wsc-modal .xoo-wsc-product-meta p,
.xoo-wsc-modal .xoo-wsc-product-meta * {
	font-size: 0.72rem;
	color: rgba(11, 53, 87, 0.65);
	margin: 0;
	line-height: 1.4;
}

/* Chip €/día (consistente con pill formato) */
.xoo-wsc-modal .nutri-wsc-info-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 2px 0 0;
}
.xoo-wsc-modal .nutri-wsc-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #eaf0f6;
	color: #0b3557;
	font-size: 0.72rem;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 9999px;
	border: 1px solid #d9e2ec;
	line-height: 1.3;
}
.xoo-wsc-modal .nutri-wsc-chip__icon {
	font-size: 0.78rem;
	line-height: 1;
}
.xoo-wsc-modal .nutri-wsc-chip--ppd {
	background: rgba(26, 138, 92, 0.08);
	color: #1a8a5c;
	border-color: rgba(26, 138, 92, 0.20);
}

/* Precio unitario izquierda */
.xoo-wsc-modal .xoo-wsc-pprice {
	font-size: 0.82rem;
	color: rgba(11, 53, 87, 0.65);
	font-weight: 500;
	line-height: 1.2;
}
.xoo-wsc-modal .xoo-wsc-pprice .woocommerce-Price-amount,
.xoo-wsc-modal .xoo-wsc-pprice .woocommerce-Price-amount.amount,
.xoo-wsc-modal .xoo-wsc-pprice bdi {
	color: #0b3557 !important;
	font-weight: 700 !important;
	font-size: 0.88rem !important;
}
.xoo-wsc-modal .xoo-wsc-pprice .woocommerce-Price-currencySymbol {
	color: #0b3557 !important;
	font-weight: 700 !important;
}
.xoo-wsc-modal .xoo-wsc-pprice small.woocommerce-price-suffix,
.xoo-wsc-modal .xoo-wsc-pprice .woocommerce-price-suffix {
	display: none !important;
}

.xoo-wsc-modal .xoo-wsc-sml-qty {
	font-size: 0.74rem;
	color: rgba(11, 53, 87, 0.6);
}

/* Precio total derecha */
.xoo-wsc-modal .xoo-wsc-smr-ptotal,
.xoo-wsc-modal .xoo-wsc-card-ptotal {
	color: #0b3557;
	font-weight: 700;
	font-size: 1.02rem;
	white-space: nowrap;
	letter-spacing: -0.2px;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	line-height: 1.15;
}
.xoo-wsc-modal .xoo-wsc-smr-ptotal .woocommerce-Price-amount,
.xoo-wsc-modal .xoo-wsc-smr-ptotal .woocommerce-Price-amount.amount,
.xoo-wsc-modal .xoo-wsc-smr-ptotal bdi,
.xoo-wsc-modal .xoo-wsc-card-ptotal .woocommerce-Price-amount,
.xoo-wsc-modal .xoo-wsc-card-ptotal bdi {
	color: #0b3557 !important;
	font-weight: 800 !important;
	font-size: 1.02rem !important;
	letter-spacing: -0.2px !important;
	line-height: 1.15 !important;
}
.xoo-wsc-modal .xoo-wsc-smr-ptotal .woocommerce-Price-currencySymbol,
.xoo-wsc-modal .xoo-wsc-card-ptotal .woocommerce-Price-currencySymbol {
	color: #0b3557 !important;
	font-weight: 800 !important;
}
.xoo-wsc-modal .xoo-wsc-smr-ptotal small.woocommerce-price-suffix,
.xoo-wsc-modal .xoo-wsc-smr-ptotal .woocommerce-price-suffix,
.xoo-wsc-modal .xoo-wsc-card-ptotal small.woocommerce-price-suffix {
	display: none !important;
}

/* =========================================================
 * Precios con descuento (del / ins)
 *
 *   Old (tachado): más pequeño, gris azulado claro, light weight
 *   New (actual):  mismo navy + tamaño que un precio sin descuento
 *                  (NO rojo — el rojo lo reservamos para badges/savings).
 * ========================================================= */
.xoo-wsc-markup del.nutri-wsc-price-old {
	display: inline-block;
	text-decoration: line-through;
	color: rgba(11, 53, 87, 0.45) !important;
	opacity: 1;
	font-weight: 500 !important;
	font-size: 0.88em !important;
	letter-spacing: 0 !important;
	margin: 0;
	line-height: 1.1 !important;
}
.xoo-wsc-markup del.nutri-wsc-price-old .woocommerce-Price-amount,
.xoo-wsc-markup del.nutri-wsc-price-old .woocommerce-Price-amount.amount,
.xoo-wsc-markup del.nutri-wsc-price-old bdi,
.xoo-wsc-markup del.nutri-wsc-price-old .woocommerce-Price-currencySymbol {
	color: rgba(11, 53, 87, 0.45) !important;
	font-weight: 500 !important;
	font-size: inherit !important;
	letter-spacing: 0 !important;
}

.xoo-wsc-markup ins.nutri-wsc-price-new {
	display: inline-block;
	text-decoration: none;
	color: #0b3557;
	font-weight: 800;
	line-height: 1.1;
}
/* Fuerza el color navy en TODO el contenido del ins (currency + amount +
   bdi) — incluso si otros !important del propio CSS de WC intentan tintarlo. */
.xoo-wsc-markup ins.nutri-wsc-price-new,
.xoo-wsc-markup ins.nutri-wsc-price-new *,
.xoo-wsc-markup ins.nutri-wsc-price-new .woocommerce-Price-amount,
.xoo-wsc-markup ins.nutri-wsc-price-new .woocommerce-Price-amount.amount,
.xoo-wsc-markup ins.nutri-wsc-price-new bdi,
.xoo-wsc-markup ins.nutri-wsc-price-new .woocommerce-Price-currencySymbol {
	color: #0b3557 !important;
	font-weight: 800 !important;
}

/* Precio total derecha con descuento → apila vertical */
.xoo-wsc-modal .xoo-wsc-smr-ptotal del.nutri-wsc-price-old,
.xoo-wsc-modal .xoo-wsc-smr-ptotal ins.nutri-wsc-price-new {
	display: block;
	text-align: right;
}

/* Precio unitario izquierda con descuento → inline */
.xoo-wsc-modal .xoo-wsc-pprice del.nutri-wsc-price-old {
	margin-right: 6px;
}

/* Suggested products: precio con descuento queda inline (es pequeño) */
.xoo-wsc-markup .xoo-wsc-sp-price del.nutri-wsc-price-old {
	margin-right: 5px;
	font-size: 0.78em;
}

/* =========================================================
 * SELECTOR DE CANTIDAD (idéntico tokens al sticky-atc qty)
 * ========================================================= */
/* Contenedor del qty box: forzamos altura suficiente y padding interno
   para que los botones circulares queden DENTRO del pill sin sobresalir. */
.xoo-wsc-modal .xoo-wsc-qty-box,
.xoo-wsc-modal div.xoo-wsc-qty-box {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 36px !important;
	max-width: none !important;
	width: fit-content !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 9999px !important;
	background: #fff !important;
	padding: 4px !important;
	gap: 2px !important;
	margin-top: 6px !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	flex-direction: row !important;
}
.xoo-wsc-modal .xoo-wsc-qty-box .xoo-wsc-chng,
.xoo-wsc-modal .xoo-wsc-qty-box span.xoo-wsc-chng {
	width: 26px !important;
	min-width: 26px !important;
	height: 26px !important;
	max-height: 26px !important;
	flex: 0 0 26px !important;
	align-self: center !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #f3f6f9 !important;
	color: #0b3557 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: background 0.15s ease;
	user-select: none;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}
.xoo-wsc-modal .xoo-wsc-qty-box .xoo-wsc-chng:hover {
	background: #eaf0f6 !important;
}
.xoo-wsc-modal .xoo-wsc-qty-box input[type="number"],
.xoo-wsc-modal .xoo-wsc-qty-box input.xoo-wsc-qty {
	width: 34px !important;
	min-width: 34px !important;
	max-width: 38px !important;
	height: 26px !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	text-align: center !important;
	font-size: 0.88rem !important;
	color: #0b3557 !important;
	font-weight: 700 !important;
	-moz-appearance: textfield;
	appearance: textfield;
	box-shadow: none !important;
	box-sizing: border-box !important;
}
.xoo-wsc-modal .xoo-wsc-qty-box input[type="number"]::-webkit-outer-spin-button,
.xoo-wsc-modal .xoo-wsc-qty-box input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.xoo-wsc-modal .xoo-wsc-qty-box input[type="number"]:focus {
	outline: none;
}

/* Eliminar */
.xoo-wsc-modal .xoo-wsc-smr-del {
	color: rgba(11, 53, 87, 0.4);
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
	font-size: 0.95rem;
}
.xoo-wsc-modal .xoo-wsc-smr-del:hover {
	color: #c0392b;
	transform: scale(1.1);
}

/* =========================================================
 * FOOTER
 * ========================================================= */
.xoo-wsc-modal .xoo-wsc-footer {
	background: #fff;
	border-top: 1px solid #e6edf4;
	padding: 14px 18px 18px;
}

/* Extras (cupón / vaciar) */
.xoo-wsc-modal .xoo-wsc-ft-extras {
	margin-bottom: 10px;
}
.xoo-wsc-modal .xoo-wsc-ecl {
	display: inline-block;
	font-size: 0.75rem;
	color: rgba(11, 53, 87, 0.45);
	cursor: pointer;
	margin-bottom: 8px;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.xoo-wsc-modal .xoo-wsc-ecl:hover {
	color: #c0392b;
}
.xoo-wsc-modal .xoo-wsc-ftx-coupon {
	background: #f3f6f9;
	border: 1px solid #e6edf4;
	border-radius: 9999px;
	padding: 8px 12px;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* =========================================================
 * Cupón — formulario y chips aplicados
 * ========================================================= */
.xoo-wsc-modal .nutri-wsc-coupon {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}
.xoo-wsc-modal .nutri-wsc-cf-form {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	width: 100%;
}
.xoo-wsc-modal .nutri-wsc-cf-label {
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(11, 53, 87, 0.7);
	letter-spacing: 0.2px;
	margin: 0;
	line-height: 1.2;
}
.xoo-wsc-modal .nutri-wsc-cf-row {
	display: flex;
	gap: 6px;
	align-items: stretch;
	width: 100%;
}
.xoo-wsc-modal .nutri-wsc-cf-form input[type="text"],
.xoo-wsc-modal .nutri-wsc-cf-form input[name="xoo-wsc-slcf-input"] {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	height: 38px !important;
	padding: 0 14px !important;
	background: #fff !important;
	border: 1px solid #d9e2ec !important;
	border-radius: 9999px !important;
	font-size: 0.86rem !important;
	font-weight: 500 !important;
	color: #0b3557 !important;
	letter-spacing: 0.4px !important;
	text-transform: uppercase !important;
	box-shadow: none !important;
	outline: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.xoo-wsc-modal .nutri-wsc-cf-form input[type="text"]::placeholder {
	color: rgba(11, 53, 87, 0.4) !important;
	font-weight: 500;
	letter-spacing: 0.3px;
	text-transform: none;
}
.xoo-wsc-modal .nutri-wsc-cf-form input[type="text"]:focus {
	border-color: #0b3557 !important;
	box-shadow: 0 0 0 3px rgba(11, 53, 87, 0.08) !important;
}
.xoo-wsc-modal .nutri-wsc-cf-form button.nutri-wsc-cf-btn,
.xoo-wsc-modal .nutri-wsc-cf-form button[type="submit"] {
	flex: 0 0 auto !important;
	height: 38px !important;
	padding: 0 18px !important;
	background: #0b3557 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 9999px !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.4px !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: background 0.15s ease;
	box-shadow: none !important;
	line-height: 1 !important;
}
.xoo-wsc-modal .nutri-wsc-cf-form button.nutri-wsc-cf-btn:hover {
	background: rgba(11, 53, 87, 0.88) !important;
}

/* Cupones aplicados (chips) */
.xoo-wsc-modal .nutri-wsc-cf-applied {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 4px 0 0;
	overflow: visible;
}
.xoo-wsc-modal .nutri-wsc-cf-item {
	display: flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	max-width: 100%;
	overflow: visible;
}
.xoo-wsc-modal .nutri-wsc-cf-applied__title {
	font-size: 0.72rem;
	font-weight: 700;
	color: rgba(11, 53, 87, 0.55);
	text-transform: uppercase;
	letter-spacing: 0.6px;
}
.xoo-wsc-modal .nutri-wsc-cf-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f3f6f9;
	border: 1px solid #d9e2ec;
	border-radius: 9999px;
	padding: 4px 6px 4px 12px;
	font-size: 0.8rem;
	width: fit-content;
	max-width: 100%;
	overflow: visible;
}
.xoo-wsc-modal .nutri-wsc-cf-chip__code {
	color: #0b3557;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	font-size: 0.78rem;
}
.xoo-wsc-modal .nutri-wsc-cf-chip__saved,
.xoo-wsc-modal .nutri-wsc-cf-chip__saved .woocommerce-Price-amount,
.xoo-wsc-modal .nutri-wsc-cf-chip__saved bdi,
.xoo-wsc-modal .nutri-wsc-cf-chip__saved .woocommerce-Price-currencySymbol {
	color: #0b3557 !important;
	font-weight: 800 !important;
	font-size: 0.8rem !important;
}
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #d9e2ec;
	color: rgba(11, 53, 87, 0.78);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	cursor: help;
	flex: 0 0 auto;
	padding: 0;
	box-shadow: 0 2px 8px rgba(11, 53, 87, 0.08);
	appearance: none;
}
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip::after {
	content: attr(aria-label);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%);
	width: min(220px, 72vw);
	padding: 8px 10px;
	border-radius: 10px;
	background: #0b3557;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.35;
	box-shadow: 0 10px 22px rgba(11, 53, 87, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
	z-index: 6;
}
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip:hover::after,
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip:focus::after,
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip:focus-visible::after,
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip:active::after {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(-2px);
}
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip:hover,
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip:focus,
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip:focus-visible {
	background: #f3f6f9;
	border-color: #c2d1de;
	color: #0b3557;
}
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip:focus {
	outline: none;
}
.xoo-wsc-modal .nutri-wsc-cf-chip__tooltip:focus-visible {
	outline: 2px solid rgba(11, 53, 87, 0.18);
	outline-offset: 2px;
}
.xoo-wsc-modal .nutri-wsc-cf-chip__remove {
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: rgba(11, 53, 87, 0.55);
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, color 0.15s ease;
	padding: 0;
	margin: 0;
}
.xoo-wsc-modal .nutri-wsc-cf-chip__remove:hover {
	background: #c0392b;
	color: #fff;
}

/* =========================================================
 * Notices del side cart (éxito / error al aplicar cupón, etc.)
 * Sobreescribimos los verdes/rojos crudos del plugin con la paleta
 * del tema para que se integren visualmente.
 * ========================================================= */
.xoo-wsc-modal .xoo-wsc-notice-container,
.xoo-wsc-markup .xoo-wsc-notice-container {
	margin: 0 !important;
	border-radius: 0 0 10px 10px;
	overflow: hidden;
	/* Sobre el header y todo el contenido del side cart cuando es visible
	   (el plugin lo posiciona absolute en el top del modal). */
	position: relative;
	z-index: 20;
}
.xoo-wsc-modal .xoo-wsc-notice-container:not(:empty),
.xoo-wsc-markup .xoo-wsc-notice-container:not(:empty) {
	box-shadow: 0 6px 18px rgba(11, 53, 87, 0.18);
}
.xoo-wsc-modal ul.xoo-wsc-notices,
.xoo-wsc-markup ul.xoo-wsc-notices {
	margin: 0 !important;
	padding: 0 !important;
}
.xoo-wsc-modal ul.xoo-wsc-notices li,
.xoo-wsc-markup ul.xoo-wsc-notices li {
	padding: 10px 14px !important;
	font-size: 0.84rem;
	font-weight: 600;
	border: 0;
	border-left: 3px solid;
	display: flex;
	align-items: center;
	gap: 8px;
}
.xoo-wsc-modal .xoo-wsc-notice-success,
.xoo-wsc-markup .xoo-wsc-notice-success {
	background: rgba(26, 138, 92, 0.10) !important;
	color: #15724c !important;
	border-left-color: #1a8a5c;
}
.xoo-wsc-modal .xoo-wsc-notice-error,
.xoo-wsc-markup .xoo-wsc-notice-error {
	background: rgba(192, 57, 43, 0.08) !important;
	color: #a4291d !important;
	border-left-color: #c0392b;
}
.xoo-wsc-modal .xoo-wsc-notice-info,
.xoo-wsc-markup .xoo-wsc-notice-info {
	background: #f3f6f9 !important;
	color: #0b3557 !important;
	border-left-color: #0b3557;
}
.xoo-wsc-modal span.xoo-wsc-undo-item {
	float: none;
	margin-left: auto;
	font-weight: 700;
	color: #0b3557;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.xoo-wsc-modal .xoo-wsc-toggle-slider {
	color: #0b3557;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.xoo-wsc-modal .xoo-wsc-toggle-slider:hover {
	color: #007b9e;
}

/* Totales */
.xoo-wsc-modal .xoo-wsc-ft-totals {
	background: #f3f6f9;
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 12px;
	border: 1px solid #e6edf4;
}
.xoo-wsc-modal .xoo-wsc-ft-amt {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
	font-size: 0.88rem;
	color: rgba(11, 53, 87, 0.7);
	align-items: baseline;
}
.xoo-wsc-modal .xoo-wsc-ft-amt-label {
	font-weight: 500;
}
.xoo-wsc-modal .xoo-wsc-ft-amt-value {
	font-weight: 600;
	color: #0b3557;
}
.xoo-wsc-modal .xoo-wsc-ft-amt-total {
	border-top: 1px dashed #d9e2ec;
	margin-top: 8px;
	padding-top: 10px;
	font-size: 1.02rem;
}
.xoo-wsc-modal .xoo-wsc-ft-amt-total .xoo-wsc-ft-amt-label {
	font-weight: 700;
	color: #0b3557;
}
.xoo-wsc-modal .xoo-wsc-ft-amt-total .xoo-wsc-ft-amt-value {
	color: #0b3557;
	font-weight: 800;
	font-size: 1.12rem;
}

/* Ocultar la línea nativa de "Descuento" del totals del plugin
   (xoo-wsc-ft-amt-discount / xoo-wsc-less) — la mostramos ya en
   el banner Nutri de ahorro, así evitamos duplicar info. */
.xoo-wsc-modal .xoo-wsc-ft-amt.xoo-wsc-ft-amt-discount,
.xoo-wsc-modal .xoo-wsc-ft-amt.xoo-wsc-less,
.xoo-wsc-modal .xoo-wsc-ft-amt-discount {
	display: none !important;
}

/* =========================================================
 * Banner ahorro — callout sutil con barra lateral, 2 líneas
 * ========================================================= */
.xoo-wsc-modal .nutri-wsc-savings {
	margin-top: 10px;
	background: transparent;
	border: 0;
	border-left: 3px solid #0b3557;
	border-radius: 0;
	padding: 4px 0 4px 12px;
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	column-gap: 10px;
	row-gap: 2px;
	align-items: center;
	color: #0b3557;
	line-height: 1.3;
	box-shadow: none;
}
.xoo-wsc-modal .nutri-wsc-savings::before {
	content: "";
	grid-column: 1;
	grid-row: 1 / span 2;
	width: 22px;
	height: 22px;
	display: block;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'><path d='M4.5 8.5h15v8a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3z'/><path d='M8 8.5V7a4 4 0 0 1 8 0v1.5'/><path d='M9 13.5c0-1.1.9-2 2-2 .7 0 1.4.4 1.8 1 .4-.6 1.1-1 1.8-1 1.1 0 2 .9 2 2 0 2-3.8 4.2-3.8 4.2S9 15.5 9 13.5z'/></svg>") center / 22px 22px no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'><path d='M4.5 8.5h15v8a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3z'/><path d='M8 8.5V7a4 4 0 0 1 8 0v1.5'/><path d='M9 13.5c0-1.1.9-2 2-2 .7 0 1.4.4 1.8 1 .4-.6 1.1-1 1.8-1 1.1 0 2 .9 2 2 0 2-3.8 4.2-3.8 4.2S9 15.5 9 13.5z'/></svg>") center / 22px 22px no-repeat;
}
.xoo-wsc-modal .nutri-wsc-savings__headline {
	grid-column: 2;
	font-size: 0.86rem;
	font-weight: 700;
	color: #0b3557;
	letter-spacing: -0.1px;
	line-height: 1.25;
}
.xoo-wsc-modal .nutri-wsc-savings__sub {
	grid-column: 2;
	font-size: 0.8rem;
	font-weight: 500;
	color: rgba(11, 53, 87, 0.7);
	line-height: 1.3;
}
.xoo-wsc-modal .nutri-wsc-savings__amount {
	font-weight: 800;
	color: #0b3557;
	white-space: nowrap;
	margin: 0 2px;
}
.xoo-wsc-modal .nutri-wsc-savings__amount .woocommerce-Price-amount,
.xoo-wsc-modal .nutri-wsc-savings__amount bdi,
.xoo-wsc-modal .nutri-wsc-savings__amount .woocommerce-Price-currencySymbol {
	color: #0b3557 !important;
	font-weight: 800 !important;
}
.xoo-wsc-modal .nutri-wsc-savings .woocommerce-price-suffix,
.xoo-wsc-modal .nutri-wsc-savings small.woocommerce-price-suffix {
	display: none !important;
}

/* =========================================================
 * BOTONES (mismo lenguaje que sticky-atc CTA)
 * ========================================================= */
.xoo-wsc-modal .xoo-wsc-ft-buttons-cont {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.xoo-wsc-modal .xoo-wsc-ft-buttons-cont a,
.xoo-wsc-modal .xoo-wsc-ft-buttons-cont .xoo-wsc-btn {
	display: block;
	width: 100%;
	text-align: center;
	border-radius: 9999px !important;
	padding: 12px 20px !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	text-decoration: none !important;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	border: 1px solid transparent !important;
	line-height: 1.2 !important;
}
.xoo-wsc-modal .xoo-wsc-ft-btn-checkout {
	background: #0b3557 !important;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(11, 53, 87, 0.18);
}
.xoo-wsc-modal .xoo-wsc-ft-btn-checkout:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(11, 53, 87, 0.25);
}
.xoo-wsc-modal .xoo-wsc-ft-btn-cart {
	background: #fff !important;
	color: #0b3557 !important;
	border: 1px solid #d9e2ec !important;
}
.xoo-wsc-modal .xoo-wsc-ft-btn-cart:hover {
	background: #fff !important;
	border-color: #d9e2ec !important;
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(11, 53, 87, 0.12);
}

/* =========================================================
 * DRAWER lateral (productos sugeridos a la izquierda)
 *
 * IMPORTANTE: el drawer está FUERA de .xoo-wsc-modal (xoo-wsc-markup.php
 * los pinta como hermanos). Por eso usamos .xoo-wsc-markup como prefijo
 * — engloba modal + drawer + slider.
 * ========================================================= */
.xoo-wsc-markup .xoo-wsc-drawer,
.xoo-wsc-markup .xoo-wsc-drawer-modal {
	background: #fff;
}
.xoo-wsc-markup .xoo-wsc-drawer-header {
	background: #fff;
	border-bottom: 1px solid #e6edf4;
	padding: 14px 16px;
	color: #0b3557;
	font-weight: 700;
	font-size: 0.95rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	letter-spacing: 0.3px;
}
.xoo-wsc-markup .xoo-wsc-drh-txt {
	text-transform: uppercase;
	font-size: 0.82rem;
	letter-spacing: 0.6px;
	color: rgba(11, 53, 87, 0.65);
	font-weight: 700;
}
.xoo-wsc-markup .xoo-wscdh-close {
	width: 30px;
	height: 30px;
	border-radius: 9999px;
	background: #f3f6f9;
	color: #0b3557;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 1px solid #e6edf4;
	font-size: 0.85rem;
}
.xoo-wsc-markup .xoo-wscdh-close:hover {
	background: #0b3557;
	color: #fff;
}
.xoo-wsc-markup .xoo-wsc-dr-body {
	/* Sin padding lateral aquí: el wrap interno (.nutri-wsc-bundles-wrap)
	   gestiona su propio padding y la sección de ofertas necesita pegarse
	   al borde inferior sin huecos para el sticky-bottom. */
	padding: 0;
	background: #fff;
	overflow-x: hidden;
	overflow-y: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}
.xoo-wsc-markup .xoo-wsc-dr-content {
	box-sizing: border-box;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

/* Suggested products (drawer + footer) — diseño tipo card sticky-atc */
.xoo-wsc-markup .xoo-wsc-sp-container,
.xoo-wsc-markup div.xoo-wsc-sp-container {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box;
	width: 100%;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 100%;
}
.xoo-wsc-markup .xoo-wsc-sp-heading {
	display: none; /* el drawer-header ya muestra el título */
}
.xoo-wsc-markup .xoo-wsc-sp-slider,
.xoo-wsc-markup ul.xoo-wsc-sp-slider {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	/* OJO: NO forzar width:100% — lightSlider fija el ancho real del track
	   inline (ej. 2844px = 9 items × stride). Si lo aplastamos al 100% del
	   contenedor, el transform queda desfasado y los items aparecen como
	   "blanco" en la zona visible. */
}
.xoo-wsc-markup .xoo-wsc-sp-prod-cont,
.xoo-wsc-markup li.xoo-wsc-sp-prod-cont {
	background: #fff;
	border: 1px solid #e6edf4;
	border-radius: 12px;
	padding: 12px;
	/* margin: 0 + 10px right inline de lightSlider (slideMargin). Sin
	   !important para no anular el inline que lightSlider necesita para
	   que el stride calculado coincida con el real. */
	margin: 0;
	display: block;
	box-sizing: border-box !important;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
	overflow: hidden;
}
.xoo-wsc-markup .xoo-wsc-sp-prod-cont:hover {
	border-color: #d9e2ec;
	box-shadow: 0 6px 18px rgba(11, 53, 87, 0.08);
}
/* Forzar layout horizontal compacto sin importar el "style" del plugin
   (column / wide / narrow) */
.xoo-wsc-markup .xoo-wsc-sp-product,
.xoo-wsc-markup .xoo-wsc-sp-wide .xoo-wsc-sp-product,
.xoo-wsc-markup .xoo-wsc-sp-narrow .xoo-wsc-sp-product,
.xoo-wsc-markup .xoo-wsc-sp-column .xoo-wsc-sp-product {
	display: flex !important;
	gap: 12px !important;
	align-items: center !important;
	flex-direction: row !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	margin: 0 !important;
}
.xoo-wsc-markup .xoo-wsc-sp-left-col {
	width: 64px !important;
	min-width: 64px !important;
	height: 64px !important;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e6edf4;
	flex-shrink: 0;
	position: relative;
	display: block;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box;
}
.xoo-wsc-markup .xoo-wsc-sp-left-col > a {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 0;
}
.xoo-wsc-markup .xoo-wsc-sp-left-col img,
.xoo-wsc-markup .xoo-wsc-sp-left-col a img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	margin: 0 !important;
	padding: 4px !important;
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
}
.xoo-wsc-markup .xoo-wsc-sp-right-col,
.xoo-wsc-markup .xoo-wsc-sp-wide .xoo-wsc-sp-right-col,
.xoo-wsc-markup .xoo-wsc-sp-narrow .xoo-wsc-sp-right-col,
.xoo-wsc-markup .xoo-wsc-sp-column .xoo-wsc-sp-right-col {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: 100%;
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box;
	overflow: hidden;
}
.xoo-wsc-markup .xoo-wsc-sp-rc-top {
	margin: 0 !important;
	padding: 0 !important;
}
.xoo-wsc-markup .xoo-wsc-sp-title,
.xoo-wsc-markup .xoo-wsc-sp-title a {
	color: #0b3557;
	font-weight: 700;
	font-size: 0.96rem;
	line-height: 1.2;
	text-decoration: none;
	display: block;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
/* Split en suggested → name + pill formato */
.xoo-wsc-markup .xoo-wsc-sp-title:has(.nutri-wsc-pname-main),
.xoo-wsc-markup .xoo-wsc-sp-title:has(.nutri-wsc-pname-main) a {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 4px !important;
	white-space: normal;
	overflow: visible;
}
.xoo-wsc-markup .xoo-wsc-sp-title .nutri-wsc-pname-main {
	font-size: 0.96rem;
	font-weight: 700;
	color: #0b3557;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	display: block;
	letter-spacing: -0.1px;
}
.xoo-wsc-markup .xoo-wsc-sp-title .nutri-wsc-pname-format {
	font-size: 0.76rem;
	padding: 2px 10px;
	background: #f3f6f9;
	color: #0b3557;
	border: 1px solid #d9e2ec;
	border-radius: 9999px;
	font-weight: 600;
	text-transform: lowercase;
	opacity: 0.9;
	line-height: 1.4;
	width: fit-content;
}
/* Texto "Porque compras X" — line breve, italic, color suave. */
.xoo-wsc-markup .nutri-wsc-sp-reason,
.xoo-wsc-dr-sp .nutri-wsc-sp-reason {
	display: block;
	margin-top: 4px;
	font-size: 0.72rem;
	font-style: italic;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(11, 53, 87, 0.6);
	letter-spacing: 0.1px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}

.xoo-wsc-markup .xoo-wsc-sp-rc-bottom,
.xoo-wsc-markup .xoo-wsc-sp-wide .xoo-wsc-sp-rc-bottom,
.xoo-wsc-markup .xoo-wsc-sp-narrow .xoo-wsc-sp-rc-bottom,
.xoo-wsc-markup .xoo-wsc-sp-column .xoo-wsc-sp-rc-bottom {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
}
.xoo-wsc-markup .xoo-wsc-sp-price {
	color: #0b3557;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: -0.1px;
	line-height: 1.15;
	white-space: nowrap;
}
/* Precio WC dentro de .xoo-wsc-sp-price — selectores específicos para
   ganar a los estilos por defecto de WooCommerce. Mismo patrón que
   sticky-add-to-cart.css. */
.xoo-wsc-markup .xoo-wsc-sp-price .woocommerce-Price-amount,
.xoo-wsc-markup .xoo-wsc-sp-price .woocommerce-Price-amount.amount,
.xoo-wsc-markup .xoo-wsc-sp-price bdi {
	color: #0b3557 !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
	letter-spacing: -0.1px !important;
	line-height: 1.15 !important;
}
.xoo-wsc-markup .xoo-wsc-sp-price .woocommerce-Price-currencySymbol {
	color: #0b3557 !important;
	font-weight: 700 !important;
}
.xoo-wsc-markup .xoo-wsc-sp-price small.woocommerce-price-suffix,
.xoo-wsc-markup .xoo-wsc-sp-price .woocommerce-price-suffix {
	display: none !important;
}

/* Botón "+ AÑADIR" — pill plano sin sombra */
.xoo-wsc-markup .xoo-wsc-sp-atc a,
.xoo-wsc-markup .xoo-wsc-sp-atc a.button,
.xoo-wsc-markup span.xoo-wsc-sp-atc a.button {
	background: #0b3557 !important;
	color: #fff !important;
	border-radius: 9999px !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	padding: 9px 16px !important;
	border: 0 !important;
	letter-spacing: 0.4px !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background 0.15s ease, transform 0.1s ease !important;
	line-height: 1.1 !important;
	min-height: 0 !important;
	height: auto !important;
	white-space: nowrap !important;
	text-transform: uppercase;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.xoo-wsc-markup .xoo-wsc-sp-atc a:hover,
.xoo-wsc-markup .xoo-wsc-sp-atc a.button:hover {
	background: rgba(11, 53, 87, 0.88) !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
	box-shadow: none !important;
}

/* =========================================================
 * ESTADOS condicionales
 * ========================================================= */
.xoo-wsc-modal .xoo-wsc-product.nutri-wsc-low-stock {
	border-color: rgba(201, 122, 24, 0.4);
}
.xoo-wsc-modal .xoo-wsc-product.nutri-wsc-on-sale .nutri-wsc-pname-main,
.xoo-wsc-modal .xoo-wsc-product.nutri-wsc-on-sale .xoo-wsc-pname {
	color: #0b3557;
}

/* Loader */
.xoo-wsc-modal .xoo-wsc-loader,
.xoo-wsc-modal .xoo-wsc-loader-icon {
	color: #0b3557;
}

/* Toggle drawer icon */
.xoo-wsc-modal .xoo-wsc-dtg-icon {
	background: #fff;
	color: #0b3557;
	border: 1px solid #e6edf4;
	box-shadow: 0 6px 14px rgba(11, 53, 87, 0.10);
}
.xoo-wsc-modal .xoo-wsc-dtg-icon:hover {
	background: #0b3557;
	color: #fff;
}

/* =========================================================
 * Mobile reserved suggested-products block
 *
 * Algunos layouts móviles del plugin pintan los sugeridos dentro de
 * .xoo-wsc-dr-sp en lugar del drawer desktop. Reaplicamos aquí el
 * layout para asegurar que se vean los items en ese contenedor.
 * ========================================================= */
.xoo-wsc-dr-sp .xoo-wsc-sp-container,
.xoo-wsc-dr-sp div.xoo-wsc-sp-container {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-heading {
	display: block !important;
	margin: 0 0 12px !important;
	color: #0b3557;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}
/* En desktop ya tenemos el título en el drawer-header; ocultamos el
   heading duplicado del contenedor .xoo-wsc-dr-sp. */
@media (min-width: 769px) {
	.xoo-wsc-dr-sp .xoo-wsc-sp-heading {
		display: none !important;
	}
}
.xoo-wsc-dr-sp .xoo-wsc-sp-slider,
.xoo-wsc-dr-sp ul.xoo-wsc-sp-slider {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-prod-cont,
.xoo-wsc-dr-sp li.xoo-wsc-sp-prod-cont {
	display: block !important;
	/* Layout vertical en mobile-reserved → separación vertical entre cards. */
	margin: 0 0 10px !important;
	padding: 12px !important;
	background: #fff;
	border: 1px solid #e6edf4;
	border-radius: 12px;
	box-sizing: border-box !important;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-prod-cont:last-child,
.xoo-wsc-dr-sp li.xoo-wsc-sp-prod-cont:last-child {
	margin-bottom: 0 !important;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-product,
.xoo-wsc-dr-sp .xoo-wsc-sp-wide .xoo-wsc-sp-product,
.xoo-wsc-dr-sp .xoo-wsc-sp-narrow .xoo-wsc-sp-product,
.xoo-wsc-dr-sp .xoo-wsc-sp-column .xoo-wsc-sp-product {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-left-col {
	width: 64px !important;
	min-width: 64px !important;
	height: 64px !important;
	border: 1px solid #e6edf4;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-left-col > a {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 0;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-left-col img,
.xoo-wsc-dr-sp .xoo-wsc-sp-left-col a img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	padding: 4px !important;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-right-col,
.xoo-wsc-dr-sp .xoo-wsc-sp-wide .xoo-wsc-sp-right-col,
.xoo-wsc-dr-sp .xoo-wsc-sp-narrow .xoo-wsc-sp-right-col,
.xoo-wsc-dr-sp .xoo-wsc-sp-column .xoo-wsc-sp-right-col {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
	gap: 4px !important;
	min-width: 0 !important;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-title,
.xoo-wsc-dr-sp .xoo-wsc-sp-title a {
	display: block;
	color: #0b3557;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-title:has(.nutri-wsc-pname-main),
.xoo-wsc-dr-sp .xoo-wsc-sp-title:has(.nutri-wsc-pname-main) a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-title .nutri-wsc-pname-main {
	color: #0b3557;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-title .nutri-wsc-pname-format {
	font-size: 0.76rem;
	padding: 2px 10px;
	background: #f3f6f9;
	color: #0b3557;
	border: 1px solid #d9e2ec;
	border-radius: 9999px;
	font-weight: 600;
	line-height: 1.4;
	width: fit-content;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-rc-bottom,
.xoo-wsc-dr-sp .xoo-wsc-sp-wide .xoo-wsc-sp-rc-bottom,
.xoo-wsc-dr-sp .xoo-wsc-sp-narrow .xoo-wsc-sp-rc-bottom,
.xoo-wsc-dr-sp .xoo-wsc-sp-column .xoo-wsc-sp-rc-bottom {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-price,
.xoo-wsc-dr-sp .xoo-wsc-sp-price .woocommerce-Price-amount,
.xoo-wsc-dr-sp .xoo-wsc-sp-price .woocommerce-Price-amount.amount,
.xoo-wsc-dr-sp .xoo-wsc-sp-price bdi,
.xoo-wsc-dr-sp .xoo-wsc-sp-price .woocommerce-Price-currencySymbol {
	color: #0b3557 !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-price small.woocommerce-price-suffix,
.xoo-wsc-dr-sp .xoo-wsc-sp-price .woocommerce-price-suffix {
	display: none !important;
}
.xoo-wsc-dr-sp .xoo-wsc-sp-atc a,
.xoo-wsc-dr-sp .xoo-wsc-sp-atc a.button,
.xoo-wsc-dr-sp span.xoo-wsc-sp-atc a.button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 9px 16px !important;
	background: #0b3557 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 9999px !important;
	box-shadow: none !important;
	text-decoration: none !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	white-space: nowrap !important;
	text-transform: uppercase;
}

/* =========================================================
 * Mobile
 * ========================================================= */
@media (max-width: 480px) {
	.xoo-wsc-markup .xoo-wsc-sp-heading {
		display: block !important;
		margin: 0 0 12px !important;
		color: #0b3557;
		font-size: 0.82rem;
		font-weight: 700;
		letter-spacing: 0.6px;
		text-transform: uppercase;
	}
	.xoo-wsc-modal .xoo-wsc-header {
		padding: 12px 14px 10px;
	}
	.xoo-wsc-modal .nutri-wsc-header-title__text {
		font-size: 1rem;
	}
	.xoo-wsc-modal .xoo-wsc-body {
		--nutri-wsc-body-pad-inline: 12px;
		padding: 8px 12px;
	}
	.xoo-wsc-modal .xoo-wsc-footer {
		padding: 12px 14px 16px;
	}
	.xoo-wsc-modal .xoo-wsc-img-col {
		width: 56px;
		min-width: 56px;
		height: 56px;
	}
	.xoo-wsc-modal .nutri-wsc-pname-main,
	.xoo-wsc-modal .xoo-wsc-pname,
	.xoo-wsc-modal .xoo-wsc-pname a {
		font-size: 0.92rem;
	}
	.xoo-wsc-modal .xoo-wsc-product {
		padding: 10px;
		gap: 10px;
	}
}

/* =========================================================
 * BUNDLES de sugeridos (modo agrupado por categoría)
 *
 * Render propio FUERA del slider del plugin (no usamos
 * .xoo-wsc-sp-container ni .xoo-wsc-sp-prod-cont para evitar
 * que los estilos del slider de XooTix pisen el bundle).
 * Stack vertical limpio.
 * ========================================================= */
.nutri-wsc-bundles-wrap {
	margin: 0;
	padding: 14px 14px 0;
	background: #fff;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	flex: 1 0 auto; /* ocupa todo el alto disponible → sticky-bottom funciona */
	min-height: 100%;
}
.nutri-wsc-bundles-heading {
	display: block;
	margin: 0 0 10px;
	color: #0b3557;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}
/* En desktop el drawer-header del side cart ya pone título; ocultamos
   el heading duplicado. Igual que hacíamos con .xoo-wsc-sp-heading. */
@media (min-width: 769px) {
	.nutri-wsc-bundles-heading {
		display: none !important;
	}
}
.nutri-wsc-bundles {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.nutri-wsc-bundle {
	display: block;
	width: 100%;
}
.nutri-wsc-bundle__card {
	position: relative;
	background: #fff;
	border: 1px solid #e6edf4;
	border-radius: 14px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-sizing: border-box;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.nutri-wsc-bundle__card:hover {
	border-color: #d9e2ec;
	box-shadow: 0 8px 20px rgba(11, 53, 87, 0.08);
}

/* Reason como cabecera sutil + botón info */
.nutri-wsc-bundle__reason {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.78rem;
	font-style: italic;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(11, 53, 87, 0.65);
	letter-spacing: 0.1px;
	padding-bottom: 8px;
	border-bottom: 1px dashed #e6edf4;
}
.nutri-wsc-bundle__reason-text {
	min-width: 0;
	flex: 1 1 auto;
}
.nutri-wsc-bundle__info {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #d9e2ec;
	color: rgba(11, 53, 87, 0.78);
	font-size: 0.66rem;
	font-weight: 700;
	font-style: normal;
	line-height: 1;
	cursor: help;
	padding: 0;
	margin: 0;
	box-shadow: 0 2px 4px rgba(11, 53, 87, 0.06);
	appearance: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	z-index: 2;
}
.nutri-wsc-bundle__info:hover,
.nutri-wsc-bundle__info:focus,
.nutri-wsc-bundle__info:focus-visible {
	background: #f3f6f9;
	border-color: #c2d1de;
	color: #0b3557;
	outline: none;
}
.nutri-wsc-bundle__info:focus-visible {
	outline: 2px solid rgba(11, 53, 87, 0.18);
	outline-offset: 2px;
}
.nutri-wsc-bundle__info::after {
	content: attr(aria-label);
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	width: min(240px, 72vw);
	padding: 8px 10px;
	border-radius: 10px;
	background: #0b3557;
	color: #fff;
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
	text-align: left;
	box-shadow: 0 10px 22px rgba(11, 53, 87, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(4px);
	transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
	z-index: 999;
}
.nutri-wsc-bundle:first-child .nutri-wsc-bundle__info::after {
	top: calc(100% + 8px);
	bottom: auto;
	transform: translateY(-4px);
}
.nutri-wsc-bundle__info:hover::after,
.nutri-wsc-bundle__info:focus::after,
.nutri-wsc-bundle__info:focus-visible::after,
.nutri-wsc-bundle__info:active::after {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Lista de mini-filas */
.nutri-wsc-bundle__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.nutri-wsc-bdl-row {
	display: flex;
	gap: 10px;
	align-items: center;
	min-width: 0;
}
.nutri-wsc-bdl-thumb {
	width: 44px;
	min-width: 44px;
	height: 44px;
	border-radius: 8px;
	border: 1px solid #e6edf4;
	background: #fff;
	overflow: hidden;
	flex-shrink: 0;
}
.nutri-wsc-bdl-thumb a {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 0;
}
.nutri-wsc-bdl-thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	padding: 3px !important;
	box-sizing: border-box;
	margin: 0 !important;
}
.nutri-wsc-bdl-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.nutri-wsc-bdl-pname,
.nutri-wsc-bdl-pname:hover {
	color: #0b3557;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.nutri-wsc-bdl-pname-main {
	color: #0b3557;
	font-weight: 700;
	font-size: 0.86rem;
	line-height: 1.2;
	letter-spacing: -0.1px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
	display: block;
}
.nutri-wsc-bdl-pname-format {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	background: #f3f6f9;
	color: #0b3557;
	border: 1px solid #d9e2ec;
	border-radius: 9999px;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 1px 8px;
	line-height: 1.4;
	letter-spacing: 0.1px;
	text-transform: lowercase;
	opacity: 0.85;
}
.nutri-wsc-bdl-price,
.nutri-wsc-bdl-price .woocommerce-Price-amount,
.nutri-wsc-bdl-price .woocommerce-Price-amount.amount,
.nutri-wsc-bdl-price bdi,
.nutri-wsc-bdl-price .woocommerce-Price-currencySymbol {
	color: #0b3557 !important;
	font-weight: 700 !important;
	font-size: 0.82rem !important;
	line-height: 1.15 !important;
}
.nutri-wsc-bdl-price small.woocommerce-price-suffix,
.nutri-wsc-bdl-price .woocommerce-price-suffix {
	display: none !important;
}
.nutri-wsc-bdl-price del.nutri-wsc-price-old {
	margin-right: 5px;
	font-size: 0.74em !important;
}

/* Footer: total + CTA (siempre inline, no wrap) */
.nutri-wsc-bundle__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding-top: 8px;
	border-top: 1px dashed #e6edf4;
	flex-wrap: nowrap;
}
.nutri-wsc-bundle__total {
	min-width: 0;
	flex: 1 1 auto;
}
.nutri-wsc-bundle__add {
	flex: 0 0 auto;
}
.nutri-wsc-bundle__total {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	line-height: 1.1;
}
.nutri-wsc-bundle__total-label {
	font-size: 0.7rem;
	font-weight: 600;
	color: rgba(11, 53, 87, 0.55);
	text-transform: uppercase;
	letter-spacing: 0.6px;
}
.nutri-wsc-bundle__total-prices {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	line-height: 1.05;
}
.nutri-wsc-bundle__total-reg,
.nutri-wsc-bundle__total-reg .woocommerce-Price-amount,
.nutri-wsc-bundle__total-reg .woocommerce-Price-amount.amount,
.nutri-wsc-bundle__total-reg bdi,
.nutri-wsc-bundle__total-reg .woocommerce-Price-currencySymbol {
	color: rgba(11, 53, 87, 0.45) !important;
	font-weight: 500 !important;
	font-size: 0.74rem !important;
	text-decoration: line-through;
	line-height: 1 !important;
}
.nutri-wsc-bundle__total-reg small.woocommerce-price-suffix {
	display: none !important;
}
.nutri-wsc-bundle__total-value,
.nutri-wsc-bundle__total-value .woocommerce-Price-amount,
.nutri-wsc-bundle__total-value .woocommerce-Price-amount.amount,
.nutri-wsc-bundle__total-value bdi,
.nutri-wsc-bundle__total-value .woocommerce-Price-currencySymbol {
	color: #0b3557 !important;
	font-weight: 800 !important;
	font-size: 1.02rem !important;
	letter-spacing: -0.1px !important;
}
.nutri-wsc-bundle__total-value small.woocommerce-price-suffix {
	display: none !important;
}

.nutri-wsc-bundle__add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: #0b3557;
	color: #fff;
	border: 0;
	border-radius: 9999px;
	padding: 8px 14px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	line-height: 1.1;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
	box-shadow: 0 4px 12px rgba(11, 53, 87, 0.18);
	white-space: nowrap;
	min-height: 0;
	height: auto;
}
.nutri-wsc-bundle__add:hover {
	background: rgba(11, 53, 87, 0.9);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(11, 53, 87, 0.24);
}
.nutri-wsc-bundle__add[disabled],
.nutri-wsc-bundle__add.is-busy {
	opacity: 0.7;
	cursor: progress;
	transform: none;
}
.nutri-wsc-bundle__add-icon {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
}
.nutri-wsc-bundle__add.is-loading .nutri-wsc-bundle__add-icon {
	animation: nutri-wsc-spin 0.7s linear infinite;
	display: inline-block;
}
.nutri-wsc-bundle__add.is-done {
	background: #1a8a5c;
}
@keyframes nutri-wsc-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* =========================================================
 * Bundle con varios productos: stack de thumbnails + nombres
 *
 * Thumbnails apiladas tipo "avatar group" con solape negativo,
 * lista de nombres coma-separated debajo. Compacto: ~3-4 líneas
 * en vez de una mini-fila por producto.
 * ========================================================= */
.nutri-wsc-bundle__stack {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.nutri-wsc-bdl-stack-thumbs {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
}
.nutri-wsc-bdl-stack-thumb {
	width: 56px;
	min-width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #fff;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 1px #e6edf4;
	margin-left: -14px;
	transition: transform 0.15s ease;
}
.nutri-wsc-bdl-stack-thumb:first-child {
	margin-left: 0;
}
.nutri-wsc-bdl-stack-thumb:hover {
	transform: translateY(-2px);
	z-index: 2;
}
.nutri-wsc-bdl-stack-thumb a,
.nutri-wsc-bdl-stack-thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	padding: 3px !important;
	box-sizing: border-box;
	margin: 0 !important;
	border-radius: 50%;
	background: #fff;
}
.nutri-wsc-bdl-stack-names {
	color: #0b3557;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.1px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nutri-wsc-bdl-stack-name {
	display: inline;
}
.nutri-wsc-bdl-stack-name__main {
	color: #0b3557;
	font-weight: 700;
}
.nutri-wsc-bdl-stack-name__fmt {
	color: rgba(11, 53, 87, 0.6);
	font-weight: 500;
	font-size: 0.74rem;
	font-style: italic;
	text-transform: lowercase;
	white-space: nowrap;
}
.nutri-wsc-bdl-stack-sep {
	display: inline-block;
	margin: 0 6px;
	color: rgba(11, 53, 87, 0.35);
	font-weight: 700;
}

/* =========================================================
 * Modo compacto: bundle de un solo producto
 *
 * Sin total ("Total" + valor agregado), padding reducido, footer
 * inline con precio del producto al lado del CTA. Visualmente
 * queda como una card-sugerido normal con el reason arriba.
 * ========================================================= */
.nutri-wsc-bundle--single .nutri-wsc-bundle__card {
	padding: 10px;
	gap: 8px;
}
.nutri-wsc-bundle--single .nutri-wsc-bundle__reason {
	font-size: 0.74rem;
	padding-bottom: 6px;
}
.nutri-wsc-bundle--single .nutri-wsc-bundle__list {
	gap: 0;
}
.nutri-wsc-bundle--single .nutri-wsc-bdl-thumb {
	width: 56px;
	min-width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #e6edf4;
}
.nutri-wsc-bundle--single .nutri-wsc-bdl-thumb img {
	padding: 4px !important;
}
/* Ocultamos el precio repetido de la mini-fila porque ya lo
   mostramos en el footer (precio = total cuando hay 1 producto). */
.nutri-wsc-bundle--single .nutri-wsc-bdl-price {
	display: none !important;
}
.nutri-wsc-bundle--single .nutri-wsc-bundle__footer {
	padding-top: 6px;
	border-top: 0;
}
.nutri-wsc-bundle--single .nutri-wsc-bundle__total-label {
	display: none;
}
.nutri-wsc-bundle--single .nutri-wsc-bundle__total-value,
.nutri-wsc-bundle--single .nutri-wsc-bundle__total-value .woocommerce-Price-amount,
.nutri-wsc-bundle--single .nutri-wsc-bundle__total-value bdi {
	font-size: 0.95rem !important;
	font-weight: 700 !important;
}
.nutri-wsc-bundle--single .nutri-wsc-bundle__add {
	padding: 7px 14px;
	font-size: 0.72rem;
}

/* =========================================================
 * OFERTAS ACTIVAS · slider horizontal
 *
 * Desktop: sticky-bottom dentro del drawer para que sea siempre
 * visible al hacer scroll de sugeridos.
 * Mobile: aparece bajo los bundles, también slider horizontal.
 * ========================================================= */
/* OFERTAS — compacto + corporativo (sin cursivas, paleta navy) */
.nutri-wsc-offers {
	margin: 14px -14px 0;
	margin-top: auto; /* en desktop empuja al fondo del drawer */
	padding: 10px 12px 12px;
	background: #f3f6f9;
	border-top: 1px solid #d9e2ec;
	box-sizing: border-box;
	box-shadow: 0 -6px 14px rgba(11, 53, 87, 0.08);
}
.nutri-wsc-offers--mobile {
	display: none;
}
/* Desktop: sticky-bottom para que siempre se vea aunque haya muchas
   sugerencias. En móvil queda al final del flow (scroll-to-reveal). */
@media (min-width: 769px) {
	.nutri-wsc-offers {
		position: sticky;
		bottom: 0;
		z-index: 40;
	}
}
.nutri-wsc-offers__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
}
.nutri-wsc-offers__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 5px;
	background: #0b3557;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
}
.nutri-wsc-offers__title {
	margin: 0;
	color: #0b3557;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	line-height: 1.2;
}
.nutri-wsc-offers__track {
	display: flex;
	flex-direction: row;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-padding: 4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 2px;
}
.nutri-wsc-offers__track::-webkit-scrollbar {
	display: none;
}

.nutri-wsc-offers__card {
	position: relative;
	flex: 0 0 140px;
	scroll-snap-align: start;
	background: #fff;
	border: 1px solid #d9e2ec;
	border-radius: 10px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	box-sizing: border-box;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.nutri-wsc-offers__card:hover {
	border-color: #0b3557;
	box-shadow: 0 4px 10px rgba(11, 53, 87, 0.08);
}

.nutri-wsc-offers__pct {
	position: absolute;
	top: 5px;
	left: 5px;
	background: #0b3557;
	color: #fff;
	font-size: 0.66rem;
	font-weight: 800;
	padding: 2px 5px;
	border-radius: 3px;
	line-height: 1.1;
	z-index: 1;
	letter-spacing: 0;
}

.nutri-wsc-offers__thumb {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
	background: #fff;
	border: 1px solid #e6edf4;
	overflow: hidden;
	box-sizing: border-box;
}
.nutri-wsc-offers__thumb a,
.nutri-wsc-offers__thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	padding: 3px !important;
	box-sizing: border-box;
	margin: 0 !important;
}

.nutri-wsc-offers__name,
.nutri-wsc-offers__name:hover {
	color: #0b3557;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.nutri-wsc-offers__name-main {
	color: #0b3557;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.1px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}
.nutri-wsc-offers__name-fmt {
	display: inline;
	width: auto;
	font-size: 0.66rem;
	color: rgba(11, 53, 87, 0.6);
	font-style: normal; /* sin cursiva */
	text-transform: lowercase;
	font-weight: 500;
}

/* Bottom: precio (con tachado si aplica) + botón inline */
.nutri-wsc-offers__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-top: auto;
}
.nutri-wsc-offers__price {
	display: inline-flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.05;
}
.nutri-wsc-offers__price,
.nutri-wsc-offers__price .woocommerce-Price-amount,
.nutri-wsc-offers__price .woocommerce-Price-amount.amount,
.nutri-wsc-offers__price bdi,
.nutri-wsc-offers__price .woocommerce-Price-currencySymbol {
	color: #0b3557 !important;
	font-weight: 800 !important;
	font-size: 0.95rem !important;
	line-height: 1.15 !important;
}
.nutri-wsc-offers__price del.nutri-wsc-price-old,
.nutri-wsc-offers__price del.nutri-wsc-price-old .woocommerce-Price-amount,
.nutri-wsc-offers__price del.nutri-wsc-price-old bdi {
	color: rgba(11, 53, 87, 0.45) !important;
	font-weight: 500 !important;
	font-size: 0.7rem !important;
	margin: 0 !important;
	line-height: 1 !important;
}
.nutri-wsc-offers__price ins.nutri-wsc-price-new {
	background: transparent;
	text-decoration: none;
}
.nutri-wsc-offers__price small.woocommerce-price-suffix {
	display: none !important;
}

.nutri-wsc-offers__add {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	padding: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	border-radius: 50% !important;
	background: #0b3557 !important;
	box-shadow: 0 3px 8px rgba(11, 53, 87, 0.22);
	letter-spacing: 0 !important;
	font-size: 0 !important;
	/* Centrado real del icono "+" dentro del círculo. */
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	vertical-align: middle;
}
.nutri-wsc-offers__add:hover {
	background: rgba(11, 53, 87, 0.9) !important;
	transform: translateY(-1px);
}
.nutri-wsc-offers__add .nutri-wsc-bundle__add-icon {
	font-size: 1rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 1em;
	/* Compensa el descender del glifo "+" del font del tema → centrado óptico. */
	transform: translateY(-1px);
}

/* =========================================================
 * Flechas prev/next del slider de ofertas (solo desktop)
 * ========================================================= */
.nutri-wsc-offers__nav {
	position: absolute;
	top: 8px;
	right: 12px;
	display: inline-flex;
	gap: 4px;
	z-index: 4;
}
.nutri-wsc-offers__nav-btn {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid #d9e2ec;
	background: #fff;
	color: #0b3557;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nutri-wsc-offers__nav-btn:hover {
	background: #0b3557;
	color: #fff;
	border-color: #0b3557;
}
.nutri-wsc-offers__nav-btn span {
	display: inline-block;
	transform: translateY(-1px);
}
@media (max-width: 768px) {
	.nutri-wsc-offers--desktop {
		display: none;
	}
	.nutri-wsc-offers--mobile {
		display: block;
	}
	.nutri-wsc-offers__nav {
		display: none;
	}
}
@media (max-width: 768px) {
	.nutri-wsc-offers {
		position: relative; /* anchor para .nutri-wsc-offers__nav */
	}
}

/* =========================================================
 * Estabiliza el formato bajo el nombre — evita el colapso.
 * ========================================================= */
.nutri-wsc-offers__name-fmt {
	display: inline-block;
	min-height: 0.9em;
	line-height: 1.25;
}

/* =========================================================
 * Header relocado dentro del body en móvil
 * ========================================================= */
.xoo-wsc-header--inbody {
	padding: 14px 14px 10px !important;
}
.xoo-wsc-header--inbody::after {
	left: 14px !important;
	right: 14px !important;
}

/* =========================================================
 * Mini-bar de ofertas (móvil) — recuerda al usuario que hay
 * ofertas cuando el bloque grande ya no es visible.
 * ========================================================= */
.nutri-wsc-offers-mini {
	display: none; /* visible solo al añadir .is-visible */
	align-items: center;
	gap: 8px;
	width: calc(100% + (var(--nutri-wsc-body-pad-inline, 12px) * 2));
	margin: 0 calc(var(--nutri-wsc-body-pad-inline, 12px) * -1);
	padding: 6px 12px;
	background: #0b3557;
	color: #fff;
	border: 0;
	border-radius: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-align: left;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(11, 53, 87, 0.18);
	transition: background 0.15s ease;
	position: sticky;
	top: 0;
	z-index: 5;
	box-sizing: border-box;
	line-height: 1.2;
}
.nutri-wsc-offers-mini.is-visible {
	display: inline-flex;
	animation: nutri-wsc-mini-slide-in 0.25s ease;
}
.nutri-wsc-offers-mini:hover,
.nutri-wsc-offers-mini:active {
	background: rgba(11, 53, 87, 0.92);
}
.nutri-wsc-offers-mini__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: #fff;
	color: #0b3557;
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1;
	flex: 0 0 auto;
}
.nutri-wsc-offers-mini__text {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nutri-wsc-offers-mini__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
}
@keyframes nutri-wsc-mini-slide-in {
	from { transform: translateY(-100%); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}
@media (min-width: 769px) {
	/* Desktop: el bloque grande ya es sticky-bottom siempre visible.
	   No necesitamos mini-bar. */
	.nutri-wsc-offers-mini {
		display: none !important;
	}
}

/* =========================================================
 * Mobile: card de oferta HORIZONTAL (thumb + body en línea)
 * Una sola card por viewport con el slider auto-rotando.
 * Reduce mucho la altura vertical del bloque.
 * ========================================================= */
@media (max-width: 768px) {
	.nutri-wsc-offers__track {
		scroll-snap-type: x mandatory;
	}
	.nutri-wsc-offers__pct {
		top: 4px;
		left: 4px;
	}
	.nutri-wsc-offers__thumb {
		width: 56px;
		min-width: 56px;
		height: 56px;
		flex: 0 0 56px;
		aspect-ratio: auto;
	}
	.nutri-wsc-offers__name {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: center;
	}
	.nutri-wsc-offers__name-main {
		font-size: 0.82rem;
	}
	.nutri-wsc-offers__name-fmt {
		display: block;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.nutri-wsc-offers__bottom {
		flex: 0 0 auto;
		margin-top: 0;
		flex-direction: row;
		align-items: center;
		gap: 8px;
	}
	/* En móvil el espacio horizontal es escaso → apilamos verticalmente
	   precio tachado encima del descontado, para que la card no colapse. */
	.nutri-wsc-offers__price {
		flex-direction: column;
		align-items: flex-end;
		gap: 0;
		line-height: 1;
	}
	.nutri-wsc-offers__price del.nutri-wsc-price-old,
	.nutri-wsc-offers__price del.nutri-wsc-price-old .woocommerce-Price-amount,
	.nutri-wsc-offers__price del.nutri-wsc-price-old bdi {
		font-size: 0.68rem !important;
	}
	.nutri-wsc-offers__price,
	.nutri-wsc-offers__price .woocommerce-Price-amount,
	.nutri-wsc-offers__price bdi {
		font-size: 1rem !important;
	}
	/* En móvil reseteamos el padding del wrap y lo aplicamos solo donde
	   hace falta (heading + bundles). Así las ofertas pueden quedar
	   edge-to-edge sin pelearse con el padding del wrap o del parent. */
	.nutri-wsc-bundles-wrap {
		padding: 0;
		min-height: 0;      /* anula el 100% base — no estirar a toda la altura */
		flex: 0 0 auto;     /* tamaño al contenido, no al espacio disponible */
		overflow-x: hidden; /* contiene el track del slider de ofertas */
	}
	/* Anula padding-bottom del .xoo-wsc-body solo cuando contiene nuestro
	   wrap — así el sticky-bottom de ofertas pega real al borde inferior. */
	.xoo-wsc-modal .xoo-wsc-body:has(.nutri-wsc-bundles-wrap),
	.xoo-wsc-modal div.xoo-wsc-body:has(.nutri-wsc-bundles-wrap) {
		padding-bottom: 0 !important;
	}
	/* dr-sp (contenedor mobile-reserved del plugin) sin padding extra. */
	.xoo-wsc-dr-sp {
		padding: 0 !important;
	}
	.nutri-wsc-bundles-heading {
		padding: 14px 14px 0;
		margin: 0 0 10px;
	}
	.nutri-wsc-bundles {
		padding: 0 14px;
	}

	/* Rompe el padding 14px de .xoo-wsc-body (parent indirecto en mobile)
	   con margin negativo a 3 lados → edge-to-edge real + sin gap inferior.
	   Tratamos toda la sección como UN bloque continuo (mismo fondo,
	   sin separadores internos). */
	.nutri-wsc-offers {
		margin: 14px -14px -14px !important;
		margin-top: 14px !important; /* anula el auto del base */
		padding: 0;
		border-top: 1px solid #d9e2ec;
		background: #f3f6f9;
		box-shadow: 0 -6px 14px rgba(11, 53, 87, 0.08);
	}

	/* Modo "top" (relocada al primer hijo del body en móvil).
	   Márgenes negativos anulan el padding 14px del .xoo-wsc-body
	   → bloque edge-to-edge pegado al borde superior del body. */
	.nutri-wsc-offers.nutri-wsc-offers--top,
	.nutri-wsc-offers--mobile.nutri-wsc-offers--top {
		margin: -14px -14px 8px !important;
		order: -999;
		border-top: 0;
		border-radius: 0;
		border-bottom: 1px solid #d9e2ec;
		box-shadow: 0 6px 14px rgba(11, 53, 87, 0.06);
		background: #f3f6f9;
		padding: 0;
		display: block !important;
	}
	/* Head y track con el MISMO color de fondo explícito → bloque visual continuo. */
	.nutri-wsc-offers__head {
		padding: 10px 12px 8px;
		margin: 0;
		background: #f3f6f9;
		border-top: 0;
	}
	.nutri-wsc-offers__track {
		padding: 0 12px 12px;
		background: #f3f6f9;
		box-shadow: none;
		gap: 10px;
	}
	/* Card: separada visualmente del contenedor (sombra suave + más margen)
	   y al 65% del viewport → el siguiente product asoma para invitar al swipe. */
	.nutri-wsc-offers__card {
		flex: 0 0 65%;
		flex-direction: row;
		align-items: center;
		gap: 10px;
		padding: 8px 10px;
		scroll-snap-align: start;
		border: 1px solid #d9e2ec;
		box-shadow: 0 2px 8px rgba(11, 53, 87, 0.06);
	}
	/* Si solo hay UNA oferta, ocupa el ancho completo (no tiene sentido el peek). */
	.nutri-wsc-offers__card:only-child {
		flex: 0 0 100%;
	}
}

/* =========================================================
 * Mobile: bundles en slider horizontal con scroll-snap
 *
 * Sin JS — el navegador maneja el swipe nativo. Cada bundle
 * ocupa ~88% del ancho para que el siguiente "asome" y se
 * entienda que es deslizable. Scrollbar oculta.
 * ========================================================= */
@media (max-width: 768px) {
	.nutri-wsc-bundles {
		flex-direction: row;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-padding: 12px;
		gap: 10px;
		padding-bottom: 6px; /* margen para el snap sin que se corte el shadow */
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.nutri-wsc-bundles::-webkit-scrollbar {
		display: none;
	}
	.nutri-wsc-bundle {
		flex: 0 0 88%;
		scroll-snap-align: start;
	}
	.nutri-wsc-bundle:last-child {
		/* Asegura que el último bundle pueda llegar al inicio del viewport
		   al deslizar (si no, el snap se queda corto). */
		scroll-snap-align: end;
	}
}

/* =========================================================
 * CARRITO VACÍO
 * ========================================================= */
.xoo-wsc-modal .xoo-wsc-empty-cart.nutri-wsc-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0;
	text-align: center;
	gap: 0;
	width: 100%;
}

/* Bloque superior: icono + título (compacto cuando hay recomendaciones) */
.nutri-wsc-empty__top {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 18px 18px;
	width: 100%;
}
.nutri-wsc-empty__top--solo {
	padding: 48px 24px 56px;
	justify-content: center;
	flex: 1;
}

.nutri-wsc-empty__icon {
	width: 72px;
	height: 72px;
	margin-bottom: 14px;
}
.nutri-wsc-empty__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.nutri-wsc-empty__title {
	margin: 0 0 4px;
	color: #0b3557;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.1px;
	line-height: 1.2;
}

/* Solo en fallback simple */
.nutri-wsc-empty__sub {
	margin: 4px 0 24px;
	color: rgba(11, 53, 87, 0.55);
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.4;
}
.nutri-wsc-empty__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	background: #0b3557;
	color: #fff !important;
	border-radius: 9999px;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none !important;
	letter-spacing: 0.2px;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 8px 18px rgba(11, 53, 87, 0.18);
}
.nutri-wsc-empty__cta:hover {
	background: rgba(11, 53, 87, 0.88);
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(11, 53, 87, 0.25);
}

/* =========================================================
 * RECOMENDACIONES DE CARRITO VACÍO
 * ========================================================= */
.nutri-wsc-erec {
	width: 100%;
	border-top: 1px solid #e6edf4;
	padding: 14px 16px 20px;
	box-sizing: border-box;
	text-align: left;
}

.nutri-wsc-erec__label {
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: rgba(11, 53, 87, 0.5);
	margin: 0 0 10px;
	line-height: 1.2;
}

/* Grid 2 columnas */
.nutri-wsc-erec__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

/* Tarjeta */
.nutri-wsc-erec__card {
	background: #fff;
	border: 1px solid #e6edf4;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.nutri-wsc-erec__card:hover {
	border-color: #d9e2ec;
	box-shadow: 0 4px 14px rgba(11, 53, 87, 0.08);
}

/* Imagen */
.nutri-wsc-erec__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #f3f6f9;
	overflow: hidden;
	position: relative;
}
.nutri-wsc-erec__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
	box-sizing: border-box;
	display: block;
}

/* Cuerpo */
.nutri-wsc-erec__body {
	padding: 8px 10px 10px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 6px;
}
.nutri-wsc-erec__name {
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-decoration: none;
	flex: 1;
}
.nutri-wsc-erec__name-main {
	color: #0b3557;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nutri-wsc-erec__name-fmt {
	display: inline-block;
	font-size: 0.68rem;
	padding: 1px 7px;
	background: #f3f6f9;
	color: #0b3557;
	border: 1px solid #d9e2ec;
	border-radius: 9999px;
	font-weight: 600;
	width: fit-content;
	text-transform: lowercase;
	line-height: 1.5;
}

/* Pie: precio + botón */
.nutri-wsc-erec__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 6px;
	margin-top: auto;
}
.nutri-wsc-erec__price {
	font-size: 0.84rem;
	font-weight: 700;
	color: #0b3557;
	line-height: 1.2;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.nutri-wsc-erec__price-old {
	display: block;
	color: rgba(11, 53, 87, 0.4);
	font-weight: 500;
	font-size: 0.78em;
	text-decoration: line-through;
	line-height: 1.1;
}
.nutri-wsc-erec__price-new {
	display: block;
	text-decoration: none;
	color: #0b3557;
	font-weight: 800;
}
.nutri-wsc-erec__add {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: #0b3557;
	color: #fff;
	font-size: 1.05rem;
	line-height: 1;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, transform 0.15s ease;
	padding: 0;
}
.nutri-wsc-erec__add:hover {
	background: rgba(11, 53, 87, 0.88);
	transform: scale(1.1);
}

/* "Ver todos" link */
.nutri-wsc-erec__more {
	display: block;
	text-align: center;
	margin-top: 14px;
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(11, 53, 87, 0.6);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.15s ease;
}
.nutri-wsc-erec__more:hover {
	color: #0b3557;
}

/* Skeleton shimmer */
@keyframes nutri-sk-shimmer {
	0%   { background-position: -300px 0; }
	100% { background-position: 300px 0; }
}
.nutri-wsc-erec__card--sk {
	min-height: 160px;
	background: linear-gradient(90deg, #f3f6f9 25%, #eaf0f6 50%, #f3f6f9 75%);
	background-size: 600px 100%;
	animation: nutri-sk-shimmer 1.3s infinite linear;
	border-color: transparent;
}
.nutri-wsc-erec__label--sk {
	height: 12px;
	width: 55%;
	border-radius: 4px;
	background: linear-gradient(90deg, #f3f6f9 25%, #eaf0f6 50%, #f3f6f9 75%);
	background-size: 600px 100%;
	animation: nutri-sk-shimmer 1.3s infinite linear;
}

/* =========================================================
 * ÚLTIMA COMPRA — cards horizontales compactas + CTA único
 * Mismos tokens visuales que erec__card, layout más pequeño
 * ========================================================= */
.nutri-wsc-erec--reorder {
	background: transparent;
}

/* Grid → columna única: una card por fila */
.nutri-wsc-erec--reorder .nutri-wsc-erec__grid {
	grid-template-columns: 1fr;
	gap: 6px;
}

/* Card horizontal: thumbnail izquierda, contenido derecha */
.nutri-wsc-erec--reorder .nutri-wsc-erec__card {
	flex-direction: row;
	align-items: center;
}

/* Thumbnail redondeado, separado del borde de la card */
.nutri-wsc-erec--reorder .nutri-wsc-erec__thumb {
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	aspect-ratio: unset;
	border-radius: 8px;
	background: transparent;
	margin: 6px 0 6px 6px;
	overflow: hidden;
}
.nutri-wsc-erec--reorder .nutri-wsc-erec__thumb img {
	object-fit: cover;
	padding: 0;
}

/* Body más compacto */
.nutri-wsc-erec--reorder .nutri-wsc-erec__body {
	padding: 8px 10px;
	gap: 4px;
}

/* Nombre a una línea */
.nutri-wsc-erec--reorder .nutri-wsc-erec__name-main {
	-webkit-line-clamp: 1;
	line-clamp: 1;
	font-size: 0.76rem;
}

/* Precio ligeramente menor */
.nutri-wsc-erec--reorder .nutri-wsc-erec__price {
	font-size: 0.78rem;
}

/* Badge de cantidad — esquina del thumbnail, estilo notificación app */
.nutri-wsc-erec__qty-badge {
	position: absolute;
	top: 4px;
	right: 4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	background: #0b3557;
	color: #fff;
	border-radius: 9999px;
	font-size: 0.64rem;
	font-weight: 800;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	box-shadow: 0 1px 4px rgba(11, 53, 87, 0.25);
}

/* CTA único debajo de la lista */
.nutri-wsc-reorder__btn {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 12px 20px;
	background: #0b3557;
	color: #fff;
	border: none;
	border-radius: 9999px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	cursor: pointer;
	text-align: center;
	box-shadow: 0 4px 12px rgba(11, 53, 87, 0.18);
	transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}
.nutri-wsc-reorder__btn:hover:not(:disabled) {
	background: rgba(11, 53, 87, 0.88);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(11, 53, 87, 0.22);
}
.nutri-wsc-reorder__btn:disabled,
.nutri-wsc-reorder__btn.is-loading {
	opacity: 0.65;
	cursor: wait;
}
.nutri-wsc-reorder__btn.is-done {
	background: #2d7a4f;
	box-shadow: 0 4px 12px rgba(45, 122, 79, 0.25);
}
