/**
 * Mango · bloques de WooCommerce.
 *
 * Se carga solo con el complemento WooCommerce activo y en páginas que usan sus bloques.
 */

/* WooCommerce -------------------------------------------------------- */

/* Categorías: el contador sin el fondo por defecto de <mark>. */
.mango-woo-categories mark.count { padding: 0; background: none; color: inherit; font-weight: inherit; opacity: .7; }

/* Carrito fuera de su página: WooCommerce limita las miniaturas solo con body.woocommerce-cart. */
.mango-woo-cart table.cart td.product-thumbnail { width: 88px; }
.mango-woo-cart table.cart img { display: block; width: 64px; max-width: none; height: auto; border-radius: 6px; }

.mango-woo-placeholder {
	padding: 20px;
	border: 1px dashed #c9ccd6;
	border-radius: 8px;
	background: #f7f8fa;
	color: #5c6170;
	font-size: 14px;
	text-align: center;
}

/* Rejilla de productos y categorías (sustituye los flotantes de WooCommerce). */
.mango-woo-products ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 32px;
	margin: 0;
	padding: 0;
}

.mango-woo-products ul.products::before,
.mango-woo-products ul.products::after { display: none !important; }

.woocommerce .mango-woo-products ul.products li.product,
.mango-woo-products ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}

.mango-woo-products ul.products li.product img { display: block; width: 100%; height: auto; }

/* Añadir al carrito. */
.mango-add-to-cart .button { display: inline-flex; align-items: center; gap: 8px; }
.mango-add-to-cart-form { display: inline-flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.mango-add-to-cart-form .quantity .qty { height: 100%; min-width: 64px; }
.mango-add-to-cart-icon { display: inline-flex; }
.mango-add-to-cart-icon svg { width: 1em; height: 1em; }

/* Carrito del menú. */
.mango-menu-cart { position: relative; display: flex; }

.mango-menu-cart-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.mango-menu-cart-icon { position: relative; display: inline-flex; }
.mango-menu-cart-icon svg,
.mango-menu-cart-icon img { width: 24px; height: 24px; }

.mango-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--mango-color-primary, #111);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.mango-menu-cart.hide-empty-count .mango-cart-count.is-empty { display: none; }

.mango-menu-cart-panel {
	position: absolute;
	z-index: 1001;
	top: calc(100% + 10px);
	right: 0;
	width: 340px;
	max-width: 90vw;
	padding: 20px;
	border-radius: 10px;
	background: #fff;
	color: #1d1f24;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.mango-menu-cart-panel[hidden] { display: none; }
.mango-menu-cart-panel .woocommerce-mini-cart { margin: 0 0 12px; padding: 0; list-style: none; max-height: 320px; overflow-y: auto; }

.mango-menu-cart-panel .woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 56px 1fr;
	column-gap: 12px;
	align-items: center;
	margin: 0;
	padding: 10px 28px 10px 0;
	border-bottom: 1px solid #eef2f7;
	font-size: 14px;
	line-height: 1.35;
}

.mango-menu-cart-panel .woocommerce-mini-cart-item > a:not(.remove) {
	display: contents;
	color: inherit;
	font-weight: 700;
	text-decoration: none;
}

.mango-menu-cart-panel .woocommerce-mini-cart-item img {
	grid-row: span 2;
	width: 56px;
	height: 56px;
	margin: 0;
	border-radius: 10px;
	object-fit: cover;
	float: none;
}

.mango-menu-cart-panel .woocommerce-mini-cart-item .quantity { grid-column: 2; color: #64748b; font-size: 13px; }

.mango-menu-cart-panel .woocommerce-mini-cart-item a.remove {
	position: absolute;
	top: 50%;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #64748b !important;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	transform: translateY(-50%);
	transition: background-color .2s ease, color .2s ease;
}

.mango-menu-cart-panel .woocommerce-mini-cart-item a.remove:hover { background: #fee2e2; color: #dc2626 !important; }

.mango-menu-cart-panel .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 0 0 14px;
	font-size: 15px;
}

.mango-menu-cart-panel .woocommerce-mini-cart__buttons { display: flex; gap: 8px; margin: 0; }

.mango-menu-cart-panel .woocommerce-mini-cart__buttons .button {
	flex: 1;
	padding: 11px 12px;
	border: 2px solid var(--mango-color-primary, #2563eb);
	border-radius: 999px;
	background: transparent;
	color: var(--mango-color-primary, #2563eb);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.mango-menu-cart-panel .woocommerce-mini-cart__buttons .button.checkout {
	background: var(--mango-color-primary, #2563eb);
	color: #fff;
}

.mango-menu-cart-panel .woocommerce-mini-cart__empty-message { margin: 0; color: #64748b; text-align: center; }

/* Los «clearfix» de WooCommerce (::before/::after) ocuparían celdas en las rejillas. */
.mango-woo .woocommerce::before,
.mango-woo .woocommerce::after,
.mango-woo .col2-set::before,
.mango-woo .col2-set::after,
.mango-woo form.checkout::before,
.mango-woo form.checkout::after { display: none; }

/* Carrito: productos a la izquierda y totales fijos a la derecha. */
.mango-woo-cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	gap: 24px 32px;
	align-items: start;
}

.mango-woo-cart .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
.mango-woo-cart .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
.mango-woo-cart .woocommerce-cart-form { margin: 0; }
.mango-woo-cart table.cart { margin: 0; border-radius: 16px; overflow: hidden; }
.mango-woo-cart table.cart td.actions .coupon { display: flex; gap: 8px; align-items: center; }
.mango-woo-cart table.cart td.actions .coupon .input-text { width: 180px !important; min-width: 0; }

.mango-woo-cart .cart-collaterals { position: sticky; top: 24px; }
.mango-woo-cart .cart-collaterals .cart_totals { float: none; width: 100%; padding: 24px; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; }
.mango-woo-cart .cart-collaterals .cart_totals h2 { margin: 0 0 12px; font-size: 22px; }
.mango-woo-cart .cart-collaterals table.shop_table { border: 0; }
.mango-woo-cart .wc-proceed-to-checkout { padding: 16px 0 0; }
.mango-woo-cart .wc-proceed-to-checkout .checkout-button { display: block; width: 100%; text-align: center; }

/* Pago: datos a la izquierda; resumen del pedido fijo a la derecha. */
.mango-woo-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
	grid-template-rows: auto auto 1fr;
	gap: 0 40px;
	align-items: start;
}

.mango-woo-checkout form.checkout > * { grid-column: 1 / -1; }
.mango-woo-checkout form.checkout > #customer_details { grid-column: 1; grid-row: 2 / span 2; }
.mango-woo-checkout form.checkout > #order_review_heading { grid-column: 2; grid-row: 2; margin: 0; padding: 24px 24px 0; border: 1px solid #e2e8f0; border-bottom: 0; border-radius: 20px 20px 0 0; background: #fff; }
.mango-woo-checkout form.checkout > #order_review { grid-column: 2; grid-row: 3; position: sticky; top: 24px; padding: 8px 24px 24px; border: 1px solid #e2e8f0; border-top: 0; border-radius: 0 0 20px 20px; background: #fff; }
.mango-woo-checkout #customer_details.col2-set .col-1,
.mango-woo-checkout #customer_details.col2-set .col-2 { float: none; width: 100%; }
.mango-woo-checkout #customer_details .col-2 { margin-top: 24px; }
.mango-woo-checkout #order_review table.shop_table { border: 0; }
.mango-woo-checkout #payment { border-radius: 16px; background: #f6f8fc; }
.mango-woo-checkout #payment div.payment_box { border-radius: 10px; background: #e9eef8; }
.mango-woo-checkout #payment div.payment_box::before { border-bottom-color: #e9eef8; }
.mango-woo-checkout #place_order { width: 100%; float: none; }

@media (max-width: 1024px) {
	.mango-woo-cart .woocommerce,
	.mango-woo-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
	.mango-woo-checkout form.checkout > #customer_details,
	.mango-woo-checkout form.checkout > #order_review_heading,
	.mango-woo-checkout form.checkout > #order_review { grid-column: 1; grid-row: auto; }
	.mango-woo-checkout form.checkout > #order_review_heading { margin-top: 24px; }
	.mango-woo-cart .cart-collaterals,
	.mango-woo-checkout form.checkout > #order_review { position: static; }
}

/* Mi cuenta: menú lateral en tarjeta. */
.mango-woo-my-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.mango-woo-my-account .woocommerce > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) { grid-column: 1 / -1; }
.mango-woo-my-account .woocommerce-MyAccount-navigation,
.mango-woo-my-account .woocommerce-MyAccount-content { float: none; width: auto; }

.mango-woo-my-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 8px;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	background: #fff;
	list-style: none;
}

.mango-woo-my-account .woocommerce-MyAccount-navigation li { margin: 0; border: 0 !important; }

.mango-woo-my-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 10px 14px;
	border-radius: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.mango-woo-my-account .woocommerce-MyAccount-navigation a:hover { background: #f1f5f9; }
.mango-woo-my-account .woocommerce-MyAccount-navigation .is-active a { background: var(--mango-color-primary, #2563eb); color: #fff; }
.mango-woo-my-account .woocommerce-MyAccount-navigation-link--customer-logout a { color: #dc2626; }

/* Sin sesión: entrar y registrarse lado a lado. */
.mango-woo-my-account .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mango-woo-my-account .u-columns .u-column1,
.mango-woo-my-account .u-columns .u-column2 { float: none; width: auto; padding: 28px; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; }
.mango-woo-my-account form.login,
.mango-woo-my-account form.register { margin: 0; padding: 0; border: 0; }

@media (max-width: 767px) {
	.mango-woo-my-account .woocommerce,
	.mango-woo-my-account .u-columns.col2-set { grid-template-columns: minmax(0, 1fr); }
	.mango-woo-my-account .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 4px; }
	.mango-woo-my-account .woocommerce-MyAccount-navigation a { white-space: nowrap; }
}

/* Resumen de la compra. */
.mango-purchase-summary .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 24px; padding: 0; list-style: none; }

/* Avisos. */
.mango-woo-notices > * + * { margin-top: 12px; }


/* Tarjeta de producto ---------------------------------------------------- */

.mango-product-carousel { --mango-per-view: 4; --mango-carousel-gap: 24px; }
.mango-product-carousel .mango-carousel-track { padding: 6px 2px 14px; scroll-padding-inline: 2px; }
.mango-product-carousel .mango-carousel-arrow { top: 38%; }

.mango-product-grid {
	--mango-per-view: 4;
	--mango-carousel-gap: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: var(--mango-carousel-gap);
}

.mango-product-card {
	container-type: inline-size;
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	background: #fff;
	transition: transform .25s ease, box-shadow .25s ease;
}

.mango-product-card.has-lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12); }

.mango-product-card-media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f4f6fb;
}

.mango-product-card .mango-product-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: cover;
	transition: transform .5s ease;
}

.mango-product-card:hover .mango-product-card-media img { transform: scale(1.05); }

.mango-product-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: .02em;
}

.mango-product-badge.is-out { left: auto; right: 12px; background: #0f172a; }

.mango-product-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
}

.mango-product-card-meta {
	color: var(--mango-color-primary, #2563eb);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.mango-product-card-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.mango-product-card-title a { color: inherit; text-decoration: none; }
.mango-product-card-title a:hover { color: var(--mango-color-primary, #2563eb); }

.mango-product-card-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; }

/* Estrellas en CSS: el relleno es el porcentaje de la valoración. */
.mango-stars {
	position: relative;
	display: inline-block;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 2px;
}

.mango-stars::before { content: "★★★★★"; color: #e2e8f0; }
.mango-stars::after {
	content: "★★★★★";
	position: absolute;
	inset: 0;
	width: var(--mango-rating, 0%);
	overflow: hidden;
	color: var(--mango-star-color, #f59e0b);
	white-space: nowrap;
}

.mango-product-card-footer {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 8px;
}

.mango-product-card-price { display: flex; flex-direction: column; min-width: 0; font-size: 18px; font-weight: 800; line-height: 1.2; color: #0f172a; }
.mango-product-card-price del { order: 2; color: #94a3b8; font-size: 13px; font-weight: 500; }
.mango-product-card-price ins { text-decoration: none; }
.mango-product-card-price .screen-reader-text,
.mango-search .screen-reader-text,
.mango-search-result-price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.mango-product-card-button {
	display: inline-flex;
	white-space: nowrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--mango-color-primary, #2563eb);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .2s ease, filter .2s ease;
}

.mango-product-card-button:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.mango-product-card-button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.mango-product-card-button.is-icon { width: 42px; height: 42px; padding: 0; }
.mango-product-card-button.loading { opacity: .6; pointer-events: none; }
.mango-product-card-button.added::after { content: "✓"; }
.mango-product-card-footer { position: relative; }
.mango-product-card .added_to_cart { position: absolute; top: 100%; right: 0; font-size: 12px; font-weight: 600; color: var(--mango-color-primary, #2563eb); }

/* La tarjeta se adapta a su propio ancho (carrusel, rejilla, editor…), no al de la pantalla. */
@container (max-width: 360px) {
	.mango-product-card-button { width: 40px; height: 40px; padding: 0; flex: 0 0 auto; }
	.mango-product-card-button-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
}

@container (max-width: 220px) {
	.mango-product-card-body { padding: 12px; }
	.mango-product-card-price { font-size: 15px; }
}

/* Ficha de producto ------------------------------------------------------ */

.mango-product-gallery { display: flex; flex-direction: column; gap: 12px; }

.mango-product-gallery-main {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	background: #f4f6fb;
}

.mango-product-gallery-main a,
.mango-product-gallery-main img { display: block; width: 100%; height: 100%; }
.mango-product-gallery .mango-product-gallery-main img { max-width: none; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mango-product-gallery-main:hover img { transform: scale(1.03); }

.mango-product-gallery-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }

.mango-product-gallery-thumb {
	overflow: hidden;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 12px;
	background: #f4f6fb;
	cursor: pointer;
	transition: border-color .2s ease, opacity .2s ease;
}

.mango-product-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mango-product-gallery-thumb:not(.is-active) { opacity: .7; }
.mango-product-gallery-thumb.is-active { border-color: var(--mango-color-primary, #2563eb); }

.mango-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: #0f172a; font-size: 30px; font-weight: 800; line-height: 1.2; }
.mango-product-price del { order: 2; color: #94a3b8; font-size: .55em; font-weight: 500; }
.mango-product-price ins { text-decoration: none; }
.mango-product-price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.mango-product-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mango-product-rating .mango-stars { font-size: 18px; }
.mango-product-rating a { color: #64748b; text-decoration: underline; text-underline-offset: 3px; }

.mango-product-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.mango-product-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mango-product-stock.is-in { color: #059669; }
.mango-product-stock.is-out { color: #dc2626; }

.mango-product-meta { margin: 0; font-size: 14px; }
.mango-product-meta > div { display: flex; gap: 8px; padding: 6px 0; }
.mango-product-meta.is-inline { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.mango-product-meta dt { color: #64748b; font-weight: 600; }
.mango-product-meta dt::after { content: ":"; }
.mango-product-meta dd { margin: 0; color: #0f172a; }
.mango-product-meta dd a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.mango-product-tabs-nav { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid #e2e8f0; scrollbar-width: none; }
.mango-product-tabs-nav::-webkit-scrollbar { display: none; }

.mango-product-tabs-nav button {
	margin-bottom: -1px;
	padding: 12px 18px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	color: #64748b;
	font: inherit;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}

.mango-product-tabs-nav button.is-active { border-color: var(--mango-color-primary, #2563eb); color: var(--mango-color-primary, #2563eb); }
.mango-product-tabs-panel { padding: 24px 0 0; line-height: 1.7; }
.mango-product-tabs-panel > h2:first-child { display: none; }
.mango-product-tabs-panel table.shop_attributes { width: 100%; border-collapse: collapse; }
.mango-product-tabs-panel table.shop_attributes th,
.mango-product-tabs-panel table.shop_attributes td { padding: 10px 0; border-top: 1px solid #e2e8f0; text-align: left; }

/* Barra del catálogo (resultados y orden) y paginación. */
.mango-catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.mango-catalog-toolbar .woocommerce-result-count,
.mango-catalog-toolbar .woocommerce-ordering { margin: 0; float: none; }
.mango-catalog-toolbar .woocommerce-result-count { color: #64748b; font-size: 14px; }
.mango-catalog-toolbar select { padding: 10px 36px 10px 14px; border: 1px solid #cbd5e1; border-radius: 12px; background-color: #fff; font: inherit; }

.mango-catalog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }

.mango-catalog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 12px;
	background: #f1f5f9;
	color: #0f172a;
	font-weight: 700;
	text-decoration: none;
}

.mango-catalog-pagination .page-numbers.current { background: var(--mango-color-primary, #2563eb); color: #fff; }

.mango-catalog-empty { padding: 48px 20px; border-radius: 20px; background: #f8fafc; color: #64748b; text-align: center; }

@media (max-width: 767px) {
	.mango-product-price { font-size: 24px; }
	.mango-product-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.mango-product-card .added_to_cart { display: none; }

/* Ficha técnica: beneficios, características, nutrición y guía de alimentación */
.mango-info-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.mango-info-benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #f6f9ff; }
.mango-info-benefits strong { display: block; color: var(--mango-color-secondary, #0f172a); line-height: 1.35; }
.mango-info-benefits p { margin: 4px 0 0; font-size: .93em; line-height: 1.55; opacity: .85; }
.mango-info-check { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--mango-color-primary, #2563eb); position: relative; margin-top: 1px; }
.mango-info-check::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mango-info-heading { font-size: 1.05em; margin: 0 0 12px; color: var(--mango-color-secondary, #0f172a); }
.mango-info-heading:not(:first-child) { margin-top: 28px; }
.mango-info-table-wrap { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 16px; max-width: 720px; }
.mango-info-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.mango-info-table th, .mango-info-table td { padding: 11px 18px; text-align: left; border-top: 1px solid #eef2f7; vertical-align: top; }
.mango-info-table tr:first-child th, .mango-info-table tr:first-child td { border-top: 0; }
.mango-info-table tbody tr:nth-child(even) { background: #f8fafc; }
.mango-info-table tbody th { width: 42%; font-weight: 600; color: #475569; }
.mango-info-table.is-nutrition td { font-weight: 800; color: var(--mango-color-secondary, #0f172a); font-variant-numeric: tabular-nums; }
.mango-info-table.is-feeding thead th { background: var(--mango-color-primary, #2563eb); color: #fff; font-weight: 700; border-top: 0; }
.mango-info-table.is-feeding td { font-variant-numeric: tabular-nums; }
.mango-info-note { margin: 10px 0 0; font-size: .88em; opacity: .75; }
.mango-info-text p:last-child { margin-bottom: 0; }
