/* Web v2 — catálogo y componentes (layout.css carga primero) */

/* Grilla ML (inyectarEstilosGrillaUniversal) */
/* Favoritos — filas horizontales */
.web-fav-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 0 28px;
}
.web-fav-row {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 12px 14px;
	align-items: stretch;
	padding: 12px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.web-fav-media {
	display: block;
	width: 112px;
	height: 112px;
	border-radius: 10px;
	overflow: hidden;
	background: #f7f7f7;
	border: 1px solid #f0f0f0;
}
.web-fav-thumb {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.web-fav-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.web-fav-name {
	font-size: 1rem;
	font-weight: 700;
	color: #333;
	text-decoration: none;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.web-fav-name:hover { color: #3483fa; }
.web-fav-local {
	margin: 0;
	font-size: .85rem;
	color: #666;
	font-weight: 600;
}
.web-fav-price-block { margin-top: 2px; }
.web-fav-price-list-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 2px;
}
.web-fav-price-list {
	font-size: .85rem;
	color: #999;
	text-decoration: line-through;
}
.web-fav-discount {
	font-size: .82rem;
	color: #00a650;
	font-weight: 700;
}
.web-fav-price-row { display: flex; align-items: baseline; }
.web-fav-price {
	font-size: 1.25rem;
	font-weight: 500;
	color: #333;
	line-height: 1.2;
}
.web-fav-price-hidden {
	font-size: .9rem;
	color: #888;
}
.web-fav-remove {
	align-self: flex-start;
	margin-top: auto;
	padding: 7px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	color: #555;
	font-size: .85rem;
	font-weight: 600;
	cursor: pointer;
}
.web-fav-remove:hover {
	border-color: #e74c3c;
	color: #e74c3c;
	background: #fff5f5;
}
@media (min-width: 768px) {
	.web-fav-row {
		grid-template-columns: 140px minmax(0, 1fr);
		gap: 16px;
		padding: 14px 16px;
	}
	.web-fav-media { width: 140px; height: 140px; }
	.web-fav-name { font-size: 1.05rem; }
	.web-fav-price { font-size: 1.35rem; }
}

.ml-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; width: 100%; padding: 20px 0; }
@media (max-width: 576px) {
	.ml-grid-container { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px 0; }
	.ml-card-info { padding: 10px !important; }
	.ml-price { font-size: 1.15rem !important; }
	.ml-title { font-size: 0.75rem !important; }
	.showcase-badge-container { top: 5px !important; left: 5px !important; }
	.showcase-badge { font-size: 0.65rem !important; padding: 3px 6px !important; }
	.showcase-actions { top: 5px !important; right: 5px !important; }
	.showcase-action-btn, .btn-fav, .btn-share-card { width: 30px !important; height: 30px !important; }
	.showcase-action-btn img, .btn-fav img { width: 16px !important; height: 16px !important; }
}
.ml-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.1); transition: box-shadow .2s ease; position: relative; display: flex; flex-direction: column; border: 1px solid #f0f0f0; height: 100%; }
.ml-card:hover { box-shadow: 0 8px 16px rgba(0,0,0,.1); }
.ml-card-link-wrap { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex-grow: 1; }
.ml-card-img-link { position: absolute; inset: 0; z-index: 2; text-indent: -9999px; overflow: hidden; }
.ml-card-img-box { width: 100%; aspect-ratio: 1/1; position: relative; background: #fff; overflow: hidden; }
.ml-card-img { width: 100%; height: 100%; object-fit: contain; position: absolute; top: 0; left: 0; transition: opacity .25s ease; }
.ml-card-img.default { z-index: 0; }
.ml-card-img.hover { opacity: 0; z-index: 1; pointer-events: none; }
/* Hover 2.ª imagen: solo mouse fino. No mezclar :not(:focus-within) fuera del media (pisaba el hover). */
@media (hover: hover) and (pointer: fine) {
	.ml-card-img-box--dual:hover .ml-card-img.hover,
	.ml-card-img-box--dual:focus-within .ml-card-img.hover { opacity: 1; }
	.ml-card-img-box--dual:hover .ml-card-img.default,
	.ml-card-img-box--dual:focus-within .ml-card-img.default { opacity: 0; }
}
/* Navegación variantes en cards: flechas + dots debajo de la imagen */
.ml-card-variant-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 6px 10px 8px;
	background: #fafafa;
	border-top: 1px solid #f0f0f0;
}
.ml-card-variant-arrow {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e0e0e0;
	border-radius: 50%;
	background: #fff;
	color: #555;
	font-size: .85rem;
	cursor: pointer;
	flex-shrink: 0;
	transition: background .15s ease, border-color .15s ease;
}
.ml-card-variant-arrow:hover { background: #f5f5f5; border-color: #bbb; }
.ml-card-variant-arrow:disabled { opacity: .35; cursor: default; }
.ml-card-variant-dots {
	display: flex;
	gap: 5px;
	align-items: center;
}
.ml-card-variant-dot {
	width: 8px;
	height: 8px;
	border: 0;
	padding: 0;
	border-radius: 50%;
	background: #d0d0d0;
	cursor: pointer;
	transition: transform .15s ease, background .15s ease;
}
.ml-card-variant-dot.is-active {
	background: var(--sandy-brown);
	transform: scale(1.25);
}
.ml-card-variant-dot:focus-visible {
	outline: 2px solid var(--sandy-brown);
	outline-offset: 2px;
}
.ml-card-variant-count {
	display: none !important;
}
.ml-card-medidas { font-size: .75rem; color: #888; margin: 4px 0 0; line-height: 1.3; min-height: 1em; }
.ml-card-meta { margin-top: 4px; display: flex; flex-direction: column; gap: 2px; min-height: 1.2em; }
.ml-bajo-pedido {
	font-size: .8rem; color: #c2410c; font-weight: 700; display: inline-block;
	background: #fff7ed; border: 1px solid #fdba74; border-radius: 4px;
	padding: 2px 6px; margin-bottom: 2px; line-height: 1.35; max-width: 100%;
}
.ml-card-sena {
	font-size: .78rem; color: #9a3412; font-weight: 700; display: block;
	margin: 0 0 4px; line-height: 1.3;
}
/* Filtro rápido — chips bajo hero */
.web-home-filtros-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 15px 0;
	background: #ededed;
}
.ml-filtro-rapido { margin: 0; }
.ml-filtro-rapido-scroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 4px 2px 10px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.ml-filtro-rapido-scroll::-webkit-scrollbar { display: none; }
.ml-filtro-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	padding: 8px 14px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e0e0e0;
	color: #333;
	font-size: .85rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ml-filtro-chip:hover {
	border-color: var(--sandy-brown);
	box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.ml-filtro-chip.is-active {
	border-color: var(--sandy-brown);
	background: #fff8f0;
	color: #c05621;
	font-weight: 600;
}
.ml-filtro-chip-ico { font-size: 1rem; line-height: 1; }
.ml-filtro-chip-img { border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.web-section-sub { font-size: .85rem; color: #666; margin: 4px 0 0; font-weight: 400; }

.web-sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Hero oculto sin eventos — no ocupa espacio */
.web-home-hero-wrap[hidden] { display: none !important; }

/* Carruseles home por sección */
.ml-home-section {
	background: #fff; border-radius: 6px; padding: 16px 16px 8px;
	box-shadow: 0 1px 2px rgba(0,0,0,.08); margin-top: 8px;
}
.ml-home-carousel { position: relative; }
.ml-home-carousel-viewport { overflow: hidden; width: 100%; }
.ml-home-carousel-track {
	display: flex; gap: 10px; transition: transform .35s ease;
	will-change: transform;
}
.ml-home-carousel-item {
	flex: 0 0 calc(50% - 5px);
	min-width: 0;
}
@media (min-width: 576px) {
	.ml-home-carousel-item { flex: 0 0 calc(33.333% - 7px); }
}
@media (min-width: 900px) {
	.ml-home-carousel-item { flex: 0 0 calc(25% - 8px); }
}
/* Controles abajo: flechas + puntitos en una sola franja */
.ml-home-carousel-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 12px;
	padding: 4px 0 6px;
	min-height: 40px;
}
.ml-home-carousel-nav {
	position: static;
	transform: none;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #333;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0,0,0,.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s, border-color .15s, opacity .15s, transform .15s;
}
.ml-home-carousel-nav:hover:not(:disabled) {
	background: #f8fafc;
	border-color: #cbd5e1;
	transform: scale(1.05);
}
.ml-home-carousel-nav:disabled,
.ml-home-carousel-nav[hidden] {
	opacity: .35;
	cursor: default;
	pointer-events: none;
	display: inline-flex !important;
	visibility: visible !important;
}
.ml-home-carousel-nav--prev,
.ml-home-carousel-nav--next { left: auto; right: auto; }
.ml-home-carousel-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 7px;
	margin: 0;
	flex: 0 1 auto;
	min-height: 10px;
}
.ml-home-carousel-dot {
	width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
	background: #d1d5db; cursor: pointer;
	transition: background .15s, transform .15s;
}
.ml-home-carousel-dot.is-active {
	background: #3483fa;
	transform: scale(1.15);
}
.ns-skeleton-grid--carousel {
	display: flex; gap: 10px; overflow: hidden; padding: 8px 0 20px;
}
.ns-skeleton-grid--carousel .ns-skel-card { flex: 0 0 calc(50% - 5px); min-width: 0; }
@media (min-width: 576px) {
	.ns-skeleton-grid--carousel .ns-skel-card { flex: 0 0 calc(33.333% - 7px); }
}
@media (min-width: 900px) {
	.ns-skeleton-grid--carousel .ns-skel-card { flex: 0 0 calc(25% - 8px); }
}
.ml-local-name { font-size: .8rem; color: #666; font-weight: 600; display: block; }
.ml-card-meta .ml-shipping { margin-top: 0; }
.ml-shipping-regional {
	display: block; font-size: .72rem; color: #3483fa; line-height: 1.35;
	margin-top: 2px; font-weight: 500;
}
.ml-card-cta {
	padding: 0 10px 10px; margin-top: auto;
}
.ml-card-add-btn {
	display: block; width: 100%; padding: 9px 12px; border: none; border-radius: 6px;
	background: #3483fa; color: #fff; font-size: .85rem; font-weight: 600;
	cursor: pointer; text-align: center; text-decoration: none;
	transition: background .2s, transform .15s;
}
.ml-card-add-btn:hover { background: #2968c8; }
.ml-card-add-btn--secondary {
	background: #fff; color: #3483fa; border: 1px solid #3483fa;
}
.ml-card-add-btn--secondary:hover { background: #f0f7ff; }
.ml-card-add-btn.is-added { background: #00a650; }

/* Home — categorías comida con banner (Fase B) */
.ml-comida-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}
.ml-comida-cat-card {
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #eee;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 1px 4px rgba(0,0,0,.06);
	transition: box-shadow .2s, transform .15s;
}
.ml-comida-cat-card:hover {
	box-shadow: 0 6px 18px rgba(0,0,0,.1);
	transform: translateY(-2px);
}
.ml-comida-cat-card-media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 7;
	background: #f0f0f0;
	overflow: hidden;
}
.ml-comida-cat-card-media picture,
.ml-comida-cat-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ml-comida-cat-card-body {
	padding: 12px 14px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ml-comida-cat-card-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--onyx);
}
.ml-comida-cat-card-meta {
	font-size: .8rem;
	color: var(--sonic-silver);
}
.ml-home-section--comida-cats { margin-bottom: 8px; }

/* Página #/comida — bloques por local */
.ml-comida-local-block {
	margin-bottom: 28px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f0f0f0;
}
.ml-comida-local-block:last-child { border-bottom: 0; }
.ml-comida-local-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}
.ml-comida-local-logo {
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 8px;
	border: 1px solid #eee;
	background: #fff;
	flex-shrink: 0;
}
.ml-comida-local-head-text {
	flex: 1 1 auto;
	min-width: 0;
}
.ml-comida-local-grid {
	margin-top: 12px;
}
@media (min-width: 992px) {
	.ml-comida-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ml-home-carousel-item--local { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 640px) {
	.ml-home-carousel-item--local { flex: 0 0 calc(50% - 5px); max-width: calc(50% - 5px); }
}
.ml-home-carousel--locals .ml-home-carousel-viewport {
	overflow: hidden;
}
.ml-local-card {
	display: flex; gap: 12px; align-items: flex-start; padding: 14px;
	background: #fff; border: 1px solid #eee; border-radius: 10px;
	text-decoration: none; color: inherit; height: 100%; min-height: 96px; box-sizing: border-box;
	transition: box-shadow .2s, border-color .2s;
	width: 100%;
}
.ml-local-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,.08); border-color: #ddd;
}
.ml-local-card-logo-wrap {
	flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px;
	background: #f7f7f7; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.ml-local-card-logo { width: 100%; height: 100%; object-fit: contain; }
.ml-local-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ml-local-card-status {
	display: inline-block; align-self: flex-start; font-size: .7rem; font-weight: 700;
	padding: 2px 8px; border-radius: 999px; letter-spacing: .01em; line-height: 1.35;
}
.ml-local-card-sched {
	display: block;
	font-size: .75rem;
	color: #666;
	line-height: 1.35;
	margin-top: 1px;
}
.ml-local-card-status--abierto { background: #e6f7ed; color: #00a650; }
.ml-local-card-status--cerrado { background: #f5f5f5; color: #999; }
.ml-local-card-status--cierra-pronto { background: #fff8e6; color: #e67e22; }
.ml-local-card-status--abre-pronto { background: #fff3e6; color: #d35400; }
.ml-local-card-status--sin-horario { background: #f0f4ff; color: #3483fa; }
.ml-local-card-name { font-size: .95rem; line-height: 1.25; color: #333; }
.ml-local-card-city { font-size: .78rem; color: #888; }
.ml-local-card-count { font-size: .75rem; color: #666; }
.ml-local-card-link { font-size: .8rem; color: #3483fa; font-weight: 600; margin-top: 4px; }
.web-section-link--btn {
	background: none; border: none; padding: 0; cursor: pointer;
	font: inherit; color: #3483fa; font-weight: 600;
}
.web-section-link--btn:hover { text-decoration: underline; }

/* Modal lista de comercios (home) — sobre barra inferior móvil (z-index 9990) */
.web-locales-modal {
	position: fixed; inset: 0; z-index: 10020;
	display: flex; align-items: flex-end; justify-content: center;
	padding: 0;
}
.web-locales-modal[hidden] { display: none !important; }
.web-locales-modal-backdrop {
	position: absolute; inset: 0; background: rgba(0,0,0,.5);
}
.web-locales-modal-panel {
	position: relative; z-index: 1; width: 100%; max-width: 520px;
	max-height: min(78vh, 640px);
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -8px 32px rgba(0,0,0,.18);
	display: flex; flex-direction: column;
	overflow: hidden;
	padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 640px) {
	.web-locales-modal { align-items: center; padding: 24px; }
	.web-locales-modal-panel { border-radius: 14px; max-height: min(78vh, 620px); }
}
body.has-locales-modal {
	overflow: hidden;
}
body.has-locales-modal .mobile-bottom-navigation {
	visibility: hidden;
	pointer-events: none;
}
.web-locales-modal-head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; padding: 14px 16px; border-bottom: 1px solid #eee; flex-shrink: 0;
}
.web-locales-modal-head h3 { margin: 0; font-size: 1.05rem; }
.web-locales-modal-close {
	width: 36px; height: 36px; border: none; border-radius: 50%;
	background: #f3f3f3; font-size: 1.35rem; line-height: 1; cursor: pointer; color: #333;
}
.web-locales-modal-list {
	overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 0 16px;
}
.web-locales-modal-row {
	display: flex; align-items: center; gap: 12px; padding: 12px 16px;
	text-decoration: none; color: inherit; border-bottom: 1px solid #f2f2f2;
}
.web-locales-modal-row:active,
.web-locales-modal-row:hover { background: #f7f9fc; }
.web-locales-modal-logo {
	width: 48px; height: 48px; border-radius: 10px; object-fit: contain;
	background: #f7f7f7; border: 1px solid #eee; flex-shrink: 0;
}
.web-locales-modal-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.web-locales-modal-name { font-weight: 700; font-size: .95rem; color: #222; }
.web-locales-modal-city { font-size: .8rem; color: #888; }
.web-locales-modal-count { font-size: .75rem; color: #666; }
.web-locales-modal-go { color: #3483fa; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.ml-locales-data { display: none !important; }

@media (max-width: 576px) {
	.ml-card-variant-count { display: none !important; }
}
.showcase-actions { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; flex-direction: column; gap: 5px; align-items: center; opacity: 0; transform: translateX(50px); transition: opacity .3s, transform .3s; }
.ml-card:hover .showcase-actions { opacity: 1; transform: translateX(0); }
@media (max-width: 1023px) {
	.showcase-actions { opacity: 1; transform: translateX(0); }
}
.showcase-action-btn, .btn-fav, .btn-share-card { background: #fff; border: 1px solid #eee; border-radius: 50%; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,.1); padding: 0; transition: transform .2s, background .2s; }
.showcase-action-btn:hover, .btn-fav:hover, .btn-share-card:hover { transform: scale(1.05); background: #fdfdfd; }
.showcase-action-btn img, .btn-fav img { width: 20px; height: 20px; object-fit: contain; opacity: .6; transition: opacity .2s; }
.showcase-action-btn:hover img, .btn-fav:hover img { opacity: 1; }
.btn-share-card .share-icon { width: 16px; height: 16px; opacity: .6; }
.btn-share-card:hover .share-icon { opacity: 1; }
.ml-price-list-row { margin-bottom: 2px; min-height: 18px; }
.ml-price-row-promo { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; min-height: 18px; }
.ml-price-list { font-size: .85rem; color: #999; text-decoration: line-through; }
.ml-price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}
.ml-discount { font-size: .85rem; color: #00a650; font-weight: 600; white-space: nowrap; }
.ml-card-cta { display: none !important; }
.rating-stars { color: var(--sandy-brown); font-size: .95rem; margin-top: 6px; letter-spacing: 1px; line-height: 1; }
.ml-card-disp { font-size: .78rem; color: #b45309; font-weight: 600; margin-top: 4px; }
.showcase-badge-container { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 8; max-width: calc(100% - 52px); pointer-events: none; }
.showcase-badge-container .showcase-badge { pointer-events: auto; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.showcase-badge { padding: 4px 8px; font-size: .75rem; font-weight: bold; border-radius: 4px; color: #fff; width: fit-content; text-transform: uppercase; }
.badge-pink { background: var(--sandy-brown); }
.badge-A { background: #e67e22; }
.badge-B { background: #e74c3c; }
.showcase-badge.badge-liquidacion {
	background: #f59e0b;
	color: #fff;
}
.badge-C { background: #34495e; }
.ml-card-info { padding: 16px; border-top: 1px solid #f5f5f5; flex-grow: 1; display: flex; flex-direction: column; }
.ml-price-container { display: flex; align-items: center; gap: 8px; }
.ml-price { font-size: 1.4rem; font-weight: 400; color: #333; line-height: 1.2; }
.ml-price-row .ml-price { flex: 1 1 auto; min-width: 0; }
.ml-title { font-size: .85rem; color: #666; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 300; }
.ml-shipping { font-size: .8rem; color: #00a650; font-weight: 600; margin-top: 4px; }
.state-C { opacity: 1; }
.state-C .ml-card-img-box { filter: none; }
.showcase-badge.badge-reposicion {
	background: #ea580c;
	color: #fff;
}

/* Secciones tipo index.php */
.web-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 20px; border-bottom: 2px solid var(--sandy-brown); padding-bottom: 10px; }
.web-section-head--spaced { margin-top: 40px; }
.web-section-title { font-size: 1.5rem; color: var(--onyx); font-weight: 600; margin: 0; }
.web-section-link, .web-section-action { color: var(--sandy-brown); font-weight: 600; font-size: .9rem; background: none; border: none; cursor: pointer; text-decoration: none; }
.web-section-action:hover, .web-section-link:hover { text-decoration: underline; }

/* Historial horizontal */
.web-historial-grid {
	display: flex; gap: 16px; overflow-x: auto; padding: 20px 0 10px;
	scroll-snap-type: x mandatory; scrollbar-width: thin; align-items: stretch;
}
.web-historial-grid .ml-card {
	min-width: 230px; max-width: 230px; width: 230px; flex: 0 0 230px;
	scroll-snap-align: start; height: auto;
}
.web-historial-grid .ml-card-link-wrap { flex: 1; }
.web-historial-grid .ml-card-info { flex: 1; }
.web-historial-grid::-webkit-scrollbar { height: 6px; }
.web-historial-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 8px; }
.web-historial-grid::-webkit-scrollbar-thumb:hover { background: var(--sandy-brown); }

/* Sidebar categorías escritorio — oculto ≥1024px (categorías vía mega menú; ver layout.css) */
.web-sidebar-desk {
	width: 260px; flex-shrink: 0; padding-right: 16px;
	position: sticky; top: 20px; align-self: flex-start;
}
.web-sidebar-desk-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sonic-silver); margin: 20px 0 8px; }
.web-cat-nav { list-style: none; margin: 0; padding: 0; }
.web-cat-link { display: block; padding: 8px 10px; font-size: .92rem; border-radius: 6px; }
.web-cat-link:hover, .web-cat-link.active { background: #fff4ed; color: var(--sandy-brown); font-weight: 600; }
.web-cat-sub { list-style: none; margin: 0; padding: 0 0 0 10px; }
.web-cat-sub .web-cat-link { font-size: .85rem; }

@media (max-width: 1023px) {
	.web-sidebar-desk { display: none !important; }
}

/* Mega menú desktop (impHeadPage) */
.web-nav-cat-btn { cursor: pointer; display: flex; align-items: center; gap: 5px; font-weight: 700; color: var(--onyx); }
.web-nav-chevron { font-size: .7rem; margin-top: 2px; }
.web-nav-link { color: var(--onyx); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 5px; }
.nav-btn-categorias { position: relative; padding: 0; }
.mega-menu-desktop { display: none; position: absolute; top: 100%; left: 0; background: #fff; width: 280px; box-shadow: 0 10px 25px rgba(0,0,0,.15); border-radius: 0 0 12px 12px; z-index: 1000; list-style: none; padding: 10px 0; border: 1px solid #eaeaea; border-top: 2px solid var(--sandy-brown); margin: 0; }
.mega-menu-sub { display: none; background: #fff; width: 280px; box-shadow: 4px 10px 25px rgba(0,0,0,.15); border-radius: 12px; list-style: none; padding: 5px 0; border: 1px solid #eaeaea; z-index: 1001; margin: 0; }
.scroll-nivel-1 { max-height: calc(100vh - 120px); overflow-y: auto; }
.scroll-nivel-2 { max-height: 260px; overflow-y: auto; }
.mega-menu-link { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; color: #333; font-size: .95rem; text-decoration: none; border-bottom: 1px solid #f9f9f9; }
.mega-menu-item:last-child > .mega-menu-link { border-bottom: none; }
.mega-menu-item { position: relative; list-style: none; }
.mega-menu-item:hover > .mega-menu-link { background: #fff4ed; color: var(--sandy-brown); }
.arrow { font-size: 1.2rem; color: #ccc; }
.mega-menu-item:hover > .mega-menu-link .arrow { color: var(--sandy-brown); }
.nav-btn-categorias:hover > .mega-menu-desktop { display: block; animation: fadeInMenu .2s ease-in-out; }
@keyframes fadeInMenu { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.ns-desk-left { display: flex; align-items: center; gap: 12px; }
.ns-desk-img { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; border: 1px solid #eee; padding: 2px; background: #fff; }
.ns-desk-title { font-weight: 500; }

/* Menú móvil acordeón (impMenCel / imprimirMenuMobileRecursivo) */
.sidebar-accordion-menu.ns-menu-row,
.ns-menu-row { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 10px; border-bottom: 1px solid var(--cultured); cursor: pointer; background: transparent; border-left: 3px solid transparent; transition: all .3s cubic-bezier(.4,0,.2,1); }
.ns-menu-row.active { background: rgba(244,162,97,.05); border-left: 3px solid var(--sandy-brown); }
.ns-menu-link { display: flex; align-items: center; gap: 12px; flex-grow: 1; text-decoration: none; color: inherit; }
.ns-menu-img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; border: 1px solid #eee; padding: 2px; background: #fff; transition: transform .3s ease; }
.ns-menu-row:active .ns-menu-img { transform: scale(.9); }
.ns-menu-title { font-weight: 500; color: var(--onyx); transition: color .3s; }
.ns-menu-row.active .ns-menu-title { font-weight: bold; color: var(--sandy-brown); }
.ns-menu-badge-wrapper { display: flex; align-items: center; gap: 10px; pointer-events: none; }
.ns-menu-badge { color: var(--sonic-silver); background: var(--cultured); padding: 2px 8px; border-radius: 10px; font-size: .75rem; font-weight: bold; transition: background .3s, color .3s; }
.ns-menu-row.active .ns-menu-badge { background: var(--sandy-brown); color: #fff; }
.ns-chevron-wrapper { display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 4px; }
.ns-chevron { width: 20px; height: 20px; color: #888; transition: transform .35s cubic-bezier(.4,0,.2,1), color .3s; display: inline-block; }
.ns-menu-row.active .ns-chevron { transform: rotate(180deg); color: var(--sandy-brown); }
.sidebar-submenu-category-list,
.sidebar-submenu { display: none; list-style: none; margin: 0; padding: 0 0 0 12px; }
.sidebar-submenu-category-list.active,
.sidebar-submenu.active { display: block; }

/* Contacto lateral */
body.ns-panel-open { overflow: hidden; }
.contact-sidebar { position: fixed; top: 0; right: -420px; width: min(400px, 94vw); height: 100vh; height: 100dvh; background: #fff; box-shadow: -8px 0 24px rgba(0,0,0,.12); z-index: 10050; transition: right .3s ease; display: flex; flex-direction: column; }
.contact-sidebar.open { right: 0; }
.contact-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 16px 18px; background: linear-gradient(135deg, var(--sandy-brown), #e8944a); color: #fff; flex-shrink: 0; }
.contact-header h3 { font-size: 1.05rem; font-weight: 700; margin: 0; flex: 1; }
.contact-back-btn { background: rgba(255,255,255,.2); border: none; color: #fff; font-size: 1.2rem; cursor: pointer; line-height: 1; padding: 4px 10px; border-radius: 6px; }
.contact-back-btn:hover { background: rgba(255,255,255,.35); }
#close-contact-btn { background: none; border: none; color: #fff; font-size: 1.75rem; cursor: pointer; line-height: 1; padding: 0 4px; flex-shrink: 0; }
#close-contact-btn:hover { opacity: .85; }
.contact-body { padding: 18px; overflow-y: auto; flex-grow: 1; -webkit-overflow-scrolling: touch; }
.contact-view[hidden] { display: none !important; }
.contact-intro { font-size: .9rem; color: #555; margin: 0 0 16px; line-height: 1.5; }
.contact-intro--local { margin-top: 4px; }
.contact-form-intro { font-size: .88rem; color: #666; margin: 0 0 10px; font-weight: 600; }
.contact-divider { margin: 18px 0; border: none; border-top: 1px solid #eee; }
.contact-optional { font-weight: 400; color: #999; font-size: .85em; }

.contact-channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.contact-channel-card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; text-decoration: none; color: #fff; transition: transform .15s, opacity .15s; }
.contact-channel-card:hover { transform: translateY(-1px); opacity: .95; }
.contact-channel-card--wa { background: #25D366; }
.contact-channel-card--fb { background: #1877F2; }
.contact-channel-icon { display: flex; flex-shrink: 0; }
.contact-channel-text { display: flex; flex-direction: column; line-height: 1.2; font-size: .85rem; }
.contact-channel-text strong { font-size: .92rem; }
.contact-channel-text small { opacity: .9; font-size: .75rem; }

.contact-reclamo-entry { display: block; width: 100%; text-align: left; padding: 12px 14px; margin-bottom: 4px; border: 1px dashed #ddd; border-radius: 10px; background: #fafafa; cursor: pointer; transition: border-color .2s, background .2s; }
.contact-reclamo-entry:hover { border-color: var(--sandy-brown); background: #fff8f2; }
.contact-reclamo-entry--compact { margin-top: 12px; }
.contact-reclamo-entry-title { display: block; font-weight: 700; color: var(--onyx); font-size: .92rem; }
.contact-reclamo-entry-sub { display: block; font-size: .8rem; color: #777; margin-top: 2px; }

.contact-local-card { margin-bottom: 12px; }
.contact-local-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.contact-local-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; border: 1px solid #eee; background: #fff; flex-shrink: 0; }
.contact-local-name { display: block; font-size: 1rem; color: var(--onyx); margin-bottom: 4px; }
.contact-local-ubic { font-size: .85rem; color: var(--sonic-silver); margin: 4px 0 0; }
.contact-local-horarios { list-style: none; margin: 0 0 12px; padding: 0; font-size: .85rem; }
.contact-local-horarios li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid #f0f0f0; color: #444; }
.contact-local-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.contact-local-btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 8px; background: var(--sandy-brown); color: #fff; font-weight: 600; font-size: .85rem; text-decoration: none; border: none; cursor: pointer; }
.contact-local-btn--outline { background: #fff; color: var(--sandy-brown); border: 1px solid var(--sandy-brown); }
.contact-local-btn--wa { background: #25D366; }

/* Atención al cliente — contacto / landing local */
.contact-local-atencion,
.web-local-atencion {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #eee;
	background: linear-gradient(135deg, #fafafa 0%, #fff 70%);
}
.contact-local-atencion-badge,
.web-local-atencion-badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	background: #f0f0f0;
	color: #666;
}
.contact-local-atencion-body,
.web-local-atencion-body { min-width: 0; flex: 1 1 auto; }
.contact-local-atencion-titulo,
.web-local-atencion-titulo {
	margin: 0;
	font-size: .95rem;
	font-weight: 700;
	color: #333;
	line-height: 1.35;
}
.contact-local-atencion-detalle,
.web-local-atencion-detalle {
	margin: 4px 0 0;
	font-size: .86rem;
	color: #555;
	line-height: 1.4;
}
.contact-local-atencion--abierto,
.web-local-atencion--abierto {
	border-color: #c8efd8;
	background: linear-gradient(135deg, #eefbf3 0%, #fff 75%);
}
.contact-local-atencion--abierto .contact-local-atencion-badge,
.web-local-atencion--abierto .web-local-atencion-badge {
	background: #00a650;
	color: #fff;
}
.contact-local-atencion--cerrado,
.web-local-atencion--cerrado {
	border-color: #e8e8e8;
	background: linear-gradient(135deg, #f6f6f6 0%, #fff 75%);
}
.contact-local-atencion--cerrado .contact-local-atencion-badge,
.web-local-atencion--cerrado .web-local-atencion-badge {
	background: #6b7280;
	color: #fff;
}
.contact-local-atencion--abre-pronto,
.web-local-atencion--abre-pronto {
	border-color: #f5d0a9;
	background: linear-gradient(135deg, #fff6eb 0%, #fff 75%);
}
.contact-local-atencion--abre-pronto .contact-local-atencion-badge,
.web-local-atencion--abre-pronto .web-local-atencion-badge {
	background: #d35400;
	color: #fff;
}
.contact-local-atencion--cierra-pronto,
.web-local-atencion--cierra-pronto {
	border-color: #f3d9a8;
	background: linear-gradient(135deg, #fff8e8 0%, #fff 75%);
}
.contact-local-atencion--cierra-pronto .contact-local-atencion-badge,
.web-local-atencion--cierra-pronto .web-local-atencion-badge {
	background: #e67e22;
	color: #fff;
}
.contact-local-atencion--sin-horario .contact-local-atencion-badge,
.web-local-atencion--sin-horario .web-local-atencion-badge {
	background: #3483fa;
	color: #fff;
}

.contact-social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; margin-bottom: 10px; border-radius: 8px; text-decoration: none; color: #fff; font-weight: 600; font-size: .95rem; transition: opacity .2s, transform .15s; }
.contact-social-btn:hover { opacity: .92; transform: translateY(-1px); }
.contact-social-btn:active { transform: translateY(0); }
.whatsapp { background: #25D366; }
.facebook { background: #1877F2; }

/* Footer */
.footer-ns-pro { text-align: center; padding: 40px 20px 100px; border-top: 1px solid #eaeaea; margin-top: 40px; }
.footer-ns-pro p { font-size: .8rem; color: #888; letter-spacing: 1px; margin-bottom: 8px; text-transform: uppercase; font-weight: 500; }
.footer-ns-pro a { color: var(--onyx); text-decoration: none; font-weight: 700; }
.footer-ns-pro a:hover { color: var(--sandy-brown); }
.footer-ns-pro .legal-text { font-size: .7rem; color: #aaa; text-transform: none; letter-spacing: normal; }

/* Skeleton / shimmer (legacy impSkeletonGrilla) */
.ns-skeleton-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
	width: 100%;
	padding: 20px 0;
}
.ns-skel-card {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #f0f0f0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.ns-skel-img {
	width: 100%;
	aspect-ratio: 1/1;
	background: #e8e8e8;
	position: relative;
	overflow: hidden;
}
.ns-skel-info {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex-grow: 1;
}
.ns-skel-line {
	height: 12px;
	background: #e8e8e8;
	border-radius: 4px;
	position: relative;
	overflow: hidden;
}
.ns-skel-line.price { height: 24px; width: 60%; margin-bottom: 4px; }
.ns-skel-line.title { width: 100%; }
.ns-skel-line.title-2 { width: 80%; }
.ns-skel-line.stars { width: 40%; margin-top: auto; }
.ns-skel-img::after,
.ns-skel-line::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
	animation: ns-shimmer 1.5s infinite;
}
@keyframes ns-shimmer { 100% { left: 100%; } }
.web-skel-section-head { border-bottom-color: #eee !important; }
.web-skel-section-title { height: 28px; width: 55%; max-width: 320px; }
.web-ficha-skeleton { margin-bottom: 24px; }
.web-ficha-skel-grid {
	display: grid;
	gap: 24px;
}
@media (min-width: 768px) {
	.web-ficha-skel-grid { grid-template-columns: 1fr 1fr; }
}
.web-ficha-skel-img { border-radius: 10px; min-height: 280px; }
.web-ficha-skel-info { display: flex; flex-direction: column; }
@media (max-width: 576px) {
	.ns-skeleton-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px 0; }
	.ns-skel-info { padding: 10px; }
}

/* Spinner + estados */
.modern-spinner { width: 40px; height: 40px; border: 4px solid var(--cultured); border-top: 4px solid var(--sandy-brown); border-radius: 50%; animation: web-spin .8s linear infinite; margin: auto; }
@keyframes web-spin { to { transform: rotate(360deg); } }

/* Overlay de carga global (NsLoading) */
.ns-loading {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.ns-loading[hidden] { display: none !important; }
.ns-loading-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .42);
	backdrop-filter: blur(2px);
}
.ns-loading-card {
	position: relative;
	z-index: 1;
	min-width: min(280px, 92vw);
	max-width: 360px;
	padding: 28px 24px 24px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
	text-align: center;
}
.ns-loading-spinner {
	width: 42px;
	height: 42px;
	margin: 0 auto 14px;
	border: 3px solid #e8eef5;
	border-top-color: var(--sandy-brown, #c97b3a);
	border-radius: 50%;
	animation: web-spin .75s linear infinite;
}
.ns-loading-msg {
	margin: 0;
	font-size: .95rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.4;
}
body.ns-loading-open { touch-action: none; }
.web-scroll-trigger { height: 60px; width: 100%; display: flex; justify-content: center; align-items: center; padding: 20px 0; }
.web-main-error { background: #fee; color: #900; padding: 10px 16px; margin-bottom: 12px; border-radius: 8px; }
.web-empty, .web-error-box, .web-grid-loading { text-align: center; padding: 40px 20px; color: var(--sonic-silver); }
.web-empty-state { text-align: center; padding: 48px 20px; background: #fafafa; border-radius: 12px; margin: 20px 0; border: 1px dashed #e5e5e5; }
.web-empty-title { font-size: 1.25rem; color: var(--onyx); margin: 0 0 8px; }
.web-empty-hint { margin-top: 16px; }
.web-empty-link { color: var(--sandy-brown); font-weight: 600; background: none; border: none; cursor: pointer; font-size: inherit; text-decoration: underline; }
.ns-skeleton-grid--inline { padding: 10px 0; }

/* Landing local */
.web-local-landing {
	margin-bottom: 24px;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.web-local-landing--v2 .web-local-hero {
	position: relative;
}
.web-local-banner {
	display: block;
	width: 100%;
	max-height: 280px;
	overflow: hidden;
	background: linear-gradient(135deg, #f5f5f5, #ececec);
}
.web-local-banner--placeholder {
	min-height: 140px;
	background: linear-gradient(135deg, #f4a26133, #2a9d8f22);
}
.web-local-banner img {
	width: 100%;
	height: auto;
	min-height: 120px;
	max-height: 280px;
	object-fit: cover;
	display: block;
}
.web-local-hero-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: flex-end;
	gap: 14px;
	padding: 16px 18px;
	background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
	color: #fff;
}
.web-local-hero-logo {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 12px;
	border: 2px solid rgba(255,255,255,.85);
	background: #fff;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.web-local-hero-text { min-width: 0; }
.web-local-landing--v2 .web-local-name {
	font-size: 1.35rem;
	margin: 0 0 6px;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.web-local-landing--v2 .web-local-status { margin: 0; }
.web-local-body { padding: 18px 20px 20px; }
.web-local-meta { margin-bottom: 14px; }
.web-local-meta-row { margin: 0 0 6px; font-size: .92rem; color: #444; line-height: 1.45; }
.web-local-meta-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #999; font-weight: 700; margin-bottom: 2px; }
.web-local-horarios-wrap { margin: 0 0 14px; border: 1px solid #eee; border-radius: 10px; padding: 12px 14px; }
.web-local-horarios-title { margin: 0 0 8px; font-weight: 700; font-size: .9rem; color: var(--onyx); }
.web-local-horarios { list-style: none; margin: 0; padding: 0; }
.web-local-horarios li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid #f3f3f3; font-size: .88rem; color: #555; }
.web-local-horarios li:first-child { border-top: 0; padding-top: 0; }
.web-local-horarios-mas { margin-top: 8px; }
.web-local-horarios-mas summary {
	cursor: pointer;
	font-size: .84rem;
	font-weight: 600;
	color: var(--sandy-brown);
	list-style: none;
	padding: 4px 0;
}
.web-local-horarios-mas summary::-webkit-details-marker { display: none; }
.web-local-horarios--resto { margin-top: 6px; padding-top: 4px; border-top: 1px dashed #eee; }
.contact-local-horarios-wrap { margin: 0 0 12px; }
.contact-local-horarios-title { margin: 0 0 6px; font-weight: 700; font-size: .85rem; color: var(--onyx); }
.contact-local-horarios { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.contact-local-horarios li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid #f0f0f0; color: #444; }
.contact-local-horarios li:last-child { border-bottom: 0; }
.contact-local-horarios-mas summary {
	cursor: pointer;
	font-size: .82rem;
	font-weight: 600;
	color: var(--sandy-brown);
	list-style: none;
	margin-top: 6px;
}
.contact-local-horarios-mas summary::-webkit-details-marker { display: none; }
.contact-local-horarios--resto { margin-top: 4px; }
@media (max-width: 767px) {
	.web-local-banner { max-height: 200px; }
	.web-local-banner img { max-height: 200px; min-height: 100px; }
	.web-local-hero-logo { width: 52px; height: 52px; }
	.web-local-landing--v2 .web-local-name { font-size: 1.15rem; }
}
@media (min-width: 992px) {
	.web-local-banner { max-height: 320px; }
	.web-local-banner img { max-height: 320px; }
}
.web-local-head {
	display: flex;
	gap: 16px;
	padding: 20px;
	align-items: flex-start;
}
.web-local-logo {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 10px;
	border: 1px solid #eee;
	flex-shrink: 0;
	background: #fff;
}
.web-local-name { font-size: 1.5rem; margin: 0 0 4px; color: var(--onyx); }
.web-local-status {
	display: inline-block;
	margin: 0 0 8px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 700;
}
.web-local-status--abierto { background: #e6f7ed; color: #00a650; }
.web-local-hero-overlay .web-local-status--abierto { background: rgba(0,166,80,.9); color: #fff; }
.web-local-status--cerrado { background: #f5f5f5; color: #999; }
.web-local-hero-overlay .web-local-status--cerrado { background: rgba(80,80,80,.75); color: #fff; }
.web-local-status--cierra-pronto { background: #fff8e6; color: #e67e22; }
.web-local-hero-overlay .web-local-status--cierra-pronto { background: rgba(230,126,34,.92); color: #fff; }
.web-local-status--abre-pronto { background: #fff3e6; color: #d35400; }
.web-local-hero-overlay .web-local-status--abre-pronto { background: rgba(211,84,0,.9); color: #fff; }
.web-local-status--sin-horario { background: #f0f4ff; color: #3483fa; }
.web-local-ubic { color: var(--sonic-silver); font-size: .9rem; margin: 0 0 8px; }
.web-local-desc { color: #555; font-size: .95rem; margin: 0 0 14px; line-height: 1.55; }
.web-local-desc.wa-fmt p { margin: 0 0 .75em; }
.web-local-desc.wa-fmt p:last-child { margin-bottom: 0; }
.web-cat-desc { color: #555; font-size: .95rem; margin: 0 0 16px; line-height: 1.55; max-width: 720px; }
.web-cat-desc.wa-fmt p { margin: 0 0 .75em; }
.web-cat-desc.wa-fmt p:last-child { margin-bottom: 0; }
.web-local-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.web-local-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 8px;
	background: var(--sandy-brown);
	color: #fff;
	font-weight: 600;
	font-size: .9rem;
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
}
.web-local-btn--outline { background: #fff; color: var(--sandy-brown); border: 1px solid var(--sandy-brown); }
.web-local-btn--wa { background: #25D366; color: #fff; border: none; }
.web-local-btn--ofertas { color: #e67e22; border-color: #e67e22; }
.web-local-btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Eventos promocionales — legacy strip (fallback) */
.web-eventos-strip { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.web-evento-banner {
	display: block; position: relative; border-radius: 12px; overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,.12); text-decoration: none; color: inherit;
}
.web-evento-landing { margin-bottom: 24px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.web-evento-landing-head { display: flex; gap: 16px; padding: 20px; align-items: center; }
.web-evento-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; border: 1px solid #eee; }
.web-evento-landing-title { font-size: 1.6rem; margin: 6px 0 4px; color: var(--onyx); }
.web-evento-tag { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--sandy-brown); color: #fff; padding: 3px 10px; border-radius: 20px; }
.web-evento-landing-banner { display: block; width: 100%; }
.web-evento-landing-banner img { width: 100%; height: 220px; object-fit: cover; }

/* Hero evento — ancho completo bajo header */
.web-home-hero-wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: #fff;
}
.web-home-hero-wrap .ml-hero {
	border-radius: 0;
	margin: 0;
	box-shadow: none;
}
.web-home-hero-wrap .ml-hero-track {
	width: 100%;
	max-width: none;
	max-height: none;
	height: clamp(160px, 28vw, 400px);
	aspect-ratio: unset;
}

/* Home MercadoLibre — accesos (hero vive en #web-home-hero) */
.ml-home { margin-bottom: 20px; margin-top: 12px; }
.ml-hero {
	position: relative; border-radius: 6px; overflow: hidden;
	background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12);
	margin-bottom: 16px;
}
.ml-hero-track { position: relative; width: 100%; aspect-ratio: 1200 / 340; max-height: 340px; }
.ml-hero-slide {
	position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease;
	text-decoration: none; color: #fff; display: block;
}
.ml-hero-slide.is-active { opacity: 1; z-index: 1; }
.ml-hero-slide picture, .ml-hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ml-hero-caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px;
	background: linear-gradient(transparent, rgba(0,0,0,.55));
}
.ml-hero-kicker { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .95; }
.ml-hero-title { display: block; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 700; line-height: 1.15; margin-top: 4px; }
.ml-hero-sub { display: block; font-size: .95rem; margin-top: 6px; opacity: .92; }
.ml-hero-nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 44px; height: 44px; border-radius: 50%; border: none;
	background: rgba(255,255,255,.92); color: #333; font-size: 1.75rem; line-height: 1;
	cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.ml-hero-nav:hover { background: #fff; }
.ml-hero-nav--prev { left: 12px; }
.ml-hero-nav--next { right: 12px; }
.ml-hero-dots {
	position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 8px; z-index: 3;
}
.ml-hero-dot {
	width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
	background: rgba(255,255,255,.55); cursor: pointer;
}
.ml-hero-dot.is-active { background: #fff; transform: scale(1.15); }

.ml-shortcuts-wrap { position: relative; margin-bottom: 8px; }
.ml-shortcuts {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding-bottom: 4px; scrollbar-width: none;
}
.ml-shortcuts::-webkit-scrollbar { display: none; }
.ml-shortcut-slot { flex: 0 0 auto; scroll-snap-align: start; }
.ml-shortcut-card, .ml-shortcut-card-link {
	display: flex; flex-direction: column; width: 220px; min-height: 280px;
	background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.12);
	padding: 16px; text-decoration: none; color: inherit; position: relative;
	flex: 0 0 auto; scroll-snap-align: start; transition: box-shadow .2s ease;
}
.ml-shortcut-card-link { width: 100%; min-height: 0; box-shadow: none; padding: 0; }
.ml-shortcut-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.ml-shortcut-title {
	font-size: .95rem; font-weight: 600; color: rgba(0,0,0,.9);
	margin: 0 0 12px; line-height: 1.25;
}
.ml-shortcut-body {
	flex: 1; display: flex; align-items: center; justify-content: center;
	min-height: 120px;
}
.ml-shortcut-body--icon span { font-size: 3rem; line-height: 1; }
.ml-shortcut-card--catalogo .ml-shortcut-body--icon { background: linear-gradient(135deg, #fff4ed, #ffe8d6); }
.ml-shortcut-card--ofertas .ml-shortcut-body--icon { background: linear-gradient(135deg, #ffe8f0, #fff0f5); }
.ml-shortcut-card--contacto .ml-shortcut-body--icon { background: linear-gradient(135deg, #e8f5e9, #f1f8e9); }
.ml-shortcut-img { max-width: 100%; max-height: 140px; object-fit: contain; }
.ml-shortcut-price { font-size: 1.35rem; font-weight: 400; color: #333; margin: 0 0 4px; }
.ml-shortcut-desc { font-size: .85rem; color: #666; margin: 0 0 8px; line-height: 1.35; flex: 1; }
.ml-shortcut-foot { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ml-shortcut-link { font-size: .85rem; color: #3483fa; font-weight: 600; }
.ml-shortcut-meta { font-size: .8rem; color: #666; }
.ml-shortcut-clear {
	position: absolute; top: 8px; right: 8px; width: 28px; height: 28px;
	border: none; border-radius: 50%; background: #f5f5f5; color: #666;
	font-size: 1.1rem; line-height: 1; cursor: pointer; z-index: 2;
}
.ml-shortcut-clear:hover { background: #eee; color: #333; }
.ml-shortcuts-scroll {
	position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
	width: 40px; height: 40px; border-radius: 50%; border: none;
	background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15);
	font-size: 1.5rem; cursor: pointer; z-index: 2;
}
@media (max-width: 576px) {
	.ml-hero-track { aspect-ratio: 16 / 9; max-height: 200px; }
	.ml-shortcut-card, .ml-shortcut-card-link { width: 168px; min-height: 240px; padding: 12px; }
	.ml-hero-caption { padding: 14px 16px; }
}

/* Sección catálogo sobre fondo gris ML */
.ml-catalog-section {
	background: #fff; border-radius: 6px; padding: 16px 16px 4px;
	box-shadow: 0 1px 2px rgba(0,0,0,.08); margin-top: 8px;
}
.web-section-head { border-bottom-color: #eee; margin-top: 0; }
.web-section-head--catalog { padding-bottom: 12px; margin-bottom: 4px; }

/* Historial — carrusel horizontal (index.php legacy) */
.web-historial-section { margin-bottom: 24px; }
.web-section-head--historial { border-bottom: 2px solid var(--sandy-brown); padding-bottom: 10px; margin-bottom: 0; }
.web-historial-grid {
	display: flex; gap: 16px; overflow-x: auto; padding: 20px 0 10px;
	scroll-snap-type: x mandatory; scrollbar-width: thin; align-items: stretch;
}
.web-historial-grid .ml-card {
	min-width: 230px; max-width: 230px; width: 230px; flex: 0 0 230px;
	scroll-snap-align: start; height: auto;
}
.web-historial-grid .ml-card-link-wrap { flex: 1; }
.web-historial-grid .ml-card-info { flex: 1; }
.web-historial-grid::-webkit-scrollbar { height: 6px; }
.web-historial-grid::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 8px; }
.web-historial-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 8px; }
.web-historial-grid::-webkit-scrollbar-thumb:hover { background: var(--sandy-brown); }

.web-nav-link--ofertas { font-weight: 700 !important; color: var(--sandy-brown) !important; }
.web-nav-link.active { text-decoration: underline; text-underline-offset: 3px; }
body.is-local-context #web-mob-local:not([hidden]) {
	display: inline-flex !important;
}
.web-section-title--ofertas { color: var(--sandy-brown); }
.header-user-actions .action-btn.has-count .count { background: var(--sandy-brown); }

/* Badges ficha */
.web-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: .8rem; font-weight: 700; margin-right: 8px; }
.web-badge--disponible { background: #ecfdf5; color: #047857; }
.web-badge--nuevo { background: #333; color: #fff; }
.web-badge--liquidacion { background: #fffbeb; color: #b45309; }
.web-badge--reposicion { background: #fff7ed; color: #c2410c; }
.web-badge--encargue, .web-badge--plazo { background: #fff7ed; color: #c2410c; }
.web-badge--pausado { background: #e2e8f0; color: #64748b; }
.web-badge--digital, .web-badge--servicio { background: #eff6ff; color: #1d4ed8; }
.web-ficha-estado { margin: 10px 0; }
.web-ficha-msg { font-size: .9rem; color: #b45309; margin: 8px 0 0; }
.web-ficha-envio { color: #00a650; font-weight: 600; }
.web-ficha-sena { color: #c2410c; }
.web-precio-lista { font-size: 1rem; color: #999; text-decoration: line-through; margin-right: 10px; }
.web-precio-off { font-size: .85rem; color: #00a650; font-weight: 700; margin-right: 10px; }
.web-precio-oculto { font-size: 1.1rem; color: var(--sonic-silver); font-style: italic; }
.web-ficha-local-link { color: var(--sandy-brown); font-weight: 600; font-size: .9rem; display: inline-block; margin-bottom: 6px; }
.web-end-catalog { color: #888; font-size: .9rem; text-align: center; }
.web-breadcrumbs { font-size: .85rem; color: var(--sonic-silver); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.web-bc-sep { opacity: .5; }
.web-pag { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 24px 0; }
.web-pag-btn { border: 1px solid #ddd; background: #fff; padding: 8px 16px; border-radius: 8px; cursor: pointer; }

/* Ficha producto v2 — layout estilo MercadoLibre */
.web-ficha {
	display: grid;
	gap: 20px;
	margin-bottom: 24px;
	align-items: start;
}
@media (min-width: 768px) {
	.web-ficha { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; }
}

/* Galería: miniaturas verticales a la izquierda */
.web-ficha-galeria { min-width: 0; }
.web-ficha-galeria-inner {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 8px;
}
.web-ficha-thumbs-col {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 0 0 52px;
	width: 52px;
	overflow: hidden;
}
.web-ficha-main-stage {
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #eee;
}
.web-ficha-img-main {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	background: #fff;
	border-radius: 8px;
	cursor: zoom-in;
}
.web-ficha-thumb {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	background: #fff;
}
.web-ficha-thumb[hidden] { display: none !important; }
.web-ficha-thumb.active { border-color: var(--sandy-brown); }
.web-ficha-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.web-ficha-thumb-more {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .85rem;
	font-weight: 700;
	color: #333;
	background: #f5f5f5;
	border-color: #ddd;
}
.web-ficha-thumb-more[hidden] { display: none !important; }

/* Lightbox fullscreen */
.web-ficha-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10050;
	background: rgba(0, 0, 0, .92);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 16px 24px;
}
.web-ficha-lightbox[hidden] { display: none !important; }
body.web-ficha-lightbox-open { overflow: hidden; }
.web-ficha-lightbox-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, .15);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}
.web-ficha-lightbox-stage {
	width: 100%;
	max-width: 900px;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	touch-action: pan-y pinch-zoom;
}
.web-ficha-lightbox-img {
	max-width: 100%;
	max-height: min(78vh, 820px);
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
}
.web-ficha-lightbox-counter {
	color: rgba(255, 255, 255, .85);
	font-size: .9rem;
	margin-top: 12px;
}

/* Columna info */
.web-ficha-info { min-width: 0; }
.web-ficha-title {
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.3;
	margin: 6px 0 8px;
	color: var(--onyx);
}
@media (min-width: 768px) {
	.web-ficha-title {
		font-size: 1.9rem;
		font-weight: 600;
		line-height: 1.25;
		margin: 8px 0 10px;
	}
}
.web-ficha-info .rating-stars {
	margin: 0 0 12px;
	font-size: 1rem;
	color: #3483fa;
}
.web-ficha-precio {
	margin: 6px 0 16px;
	line-height: 1.25;
}
.web-ficha-precio .web-precio-efe {
	display: block;
	font-size: 2.15rem;
	font-weight: 700;
	color: #222;
	letter-spacing: -.02em;
}
@media (min-width: 768px) {
	.web-ficha-precio .web-precio-efe { font-size: 2.5rem; }
}
.web-precio-off-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 4px;
}
.web-precio-off-row .web-precio-off {
	font-size: .95rem;
	font-weight: 800;
	color: #00a650;
	margin: 0;
}
.web-precio-off-row .web-precio-lista {
	font-size: 1.05rem;
	color: #999;
	text-decoration: line-through;
	margin: 0;
}
.web-select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; }

/* Pagos — solo medios, sin montos */
.web-ficha-pagos {
	margin: 0 0 16px;
	padding: 14px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
.web-ficha-pagos-title {
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #666;
	margin: 0 0 10px;
}
.web-ficha-pagos-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.web-ficha-pago-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	background: #fafafa;
	font-size: .88rem;
	font-weight: 600;
	color: #333;
}
.web-ficha-pago-ico {
	width: 28px;
	height: 20px;
	object-fit: contain;
	flex: 0 0 auto;
}
.web-ficha-pago-ico--bank,
.web-ficha-pago-ico--cash {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	font-size: .85rem;
	font-weight: 800;
	background: #eef2ff;
	color: #3730a3;
}
.web-ficha-pago-ico--cash {
	background: #ecfdf5;
	color: #047857;
}

/* Envío */
.web-ficha-envio-block { margin: 0 0 14px; }
.web-ficha-envio-line {
	margin: 0;
	font-size: .92rem;
	color: #333;
	line-height: 1.45;
}
.web-ficha-envio--fast { color: #00a650; font-weight: 600; }
.web-ficha-envio--digital { color: #555; font-size: .88rem; }

/* Stock + cantidad en fila */
.web-ficha-stock-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 0 0 16px;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}
.web-ficha-estado {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1 1 auto;
	margin: 0;
}
.web-ficha-estado .web-ficha-msg {
	margin: 0;
	width: 100%;
	font-size: .85rem;
}
.web-ficha-stock-qty {
	font-size: .82rem;
	color: #666;
	font-weight: 600;
}
.web-ficha-qty { flex: 0 0 auto; }
.web-ficha-qty .web-qty-label { margin: 0; }
.web-ficha-qty .web-qty-fixed { margin: 0; }

/* Selector variantes ficha — estilo ML: Color: nombre + miniaturas */
.web-ficha-variantes { margin: 0 0 14px; }
.web-ficha-variantes-label-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 6px;
	margin-bottom: 10px;
	font-size: .9rem;
	line-height: 1.35;
}
.web-ficha-variantes-label {
	font-weight: 600;
	color: #333;
}
.web-ficha-variantes-value {
	font-weight: 400;
	color: #666;
}
.web-var-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.web-var-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1.5px solid rgba(0, 0, 0, .14);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	transition: border-color .15s, box-shadow .15s;
}
.web-var-chip:hover { border-color: #999; }
.web-var-chip.is-selected {
	border-color: #3483fa;
	box-shadow: 0 0 0 1px #3483fa;
}
.web-var-chip--text {
	width: auto;
	min-width: 48px;
	height: auto;
	min-height: 36px;
	padding: 6px 12px;
	border-radius: 999px;
}
.web-var-swatch {
	width: 100%;
	height: 100%;
	border-radius: 0;
	border: none;
	display: block;
}
.web-var-chip-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: #f5f5f5;
}
.web-var-chip-label {
	white-space: nowrap;
	font-size: .85rem;
	color: #333;
	padding: 0 2px;
}

.web-btn--primary {
	background: #3483fa;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 1rem;
	width: 100%;
	cursor: pointer;
}
.web-btn--buy-now { margin-bottom: 0; }
.web-btn--add-cart {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: rgba(65, 137, 230, .15);
	border: none;
	color: #3483fa;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
}
.web-btn--add-cart .web-ficha-btn-ico { width: 20px; height: 20px; object-fit: contain; }
.web-ficha-seccion { background: #fff; border-radius: 10px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.web-specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.wa-fmt strong { font-weight: 700; }
.wa-fmt-code { background: #f1f5f9; padding: 1px 5px; border-radius: 4px; font-size: .9em; }

.mobile-bottom-navigation { z-index: 9990 !important; }
body.ns-menu-open .mobile-bottom-navigation,
body.ns-contact-open .mobile-bottom-navigation {
	z-index: 9990 !important;
}

main { padding-bottom: 80px; }
@media (min-width: 1024px) {
	main { padding-bottom: 24px; }
}

/* Chat 02 — carrito, medidas, contacto, menú conteos */
.web-cat-count { font-size: .85em; color: var(--sonic-silver); font-weight: 400; }
.web-ficha-share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 16px;
}
.web-btn-share {
	border: 1px solid #ddd;
	background: #fff;
	padding: 8px 14px;
	border-radius: 6px;
	cursor: pointer;
	font-size: .85rem;
	text-decoration: none;
	color: #333;
	display: inline-flex;
	align-items: center;
}
.web-btn-share--wa {
	border-color: #25d366;
	color: #128c7e;
}
.web-btn-share--wa:hover { background: #f0fff4; }
.web-qty-label { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; margin: 8px 0; }
.web-qty-input { width: 64px; padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px; }
.web-medidas-form { background: #fafafa; border: 1px solid #eee; border-radius: 8px; padding: 12px; margin: 12px 0; }
.web-medidas-form h3 { font-size: 1rem; margin: 0 0 10px; }
.web-medidas-grid { display: grid; gap: 10px; }
.web-medidas-field { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; }
.web-medidas-input { width: 80px; padding: 6px; border: 1px solid #ddd; border-radius: 6px; }
.web-medidas-hint { font-size: .85rem; color: var(--sonic-silver); margin: 8px 0 0; }
.web-precio-medidas-note { display: block; font-size: .75rem; color: var(--sonic-silver); font-weight: 400; margin-top: 4px; }
.web-digital-block { margin: 12px 0; }
.web-digital-preview { max-width: 100%; border-radius: 8px; border: 1px solid #eee; }
.web-digital-preview-pdf { width: 100%; min-height: 360px; border: 1px solid #eee; border-radius: 8px; }
.web-digital-preview-vid { max-width: 100%; border-radius: 8px; background: #111; }
.web-digital-pdf-link { display: inline-block; margin-top: 8px; font-size: .85rem; }
.web-digital-tier { font-size: .9rem; margin-top: 8px; }
.web-ficha-cupos { color: #2e7d32; }
.web-ficha-digital-note { color: #555; font-size: .9rem; }
.web-ficha-cta {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 4px;
}
.web-ficha-cta .web-btn--outline {
	width: 100%;
	margin-top: 10px;
	min-width: 0;
}
.web-qty-cupo-hint { font-size: .8rem; color: #666; font-weight: 400; }
.web-btn--secondary { display: inline-block; background: #fff; border: 1px solid var(--sandy-brown); color: var(--onyx); padding: 8px 14px; border-radius: 8px; text-decoration: none; font-size: .9rem; }
.web-cart-page { max-width: 1200px; margin: 0 auto; padding: 0 15px 40px; }
.web-cart-page-hint { font-size: .88rem; color: #666; margin: -8px 0 16px; }
.web-cart-avisos {
	background: #fff8e6;
	border: 1px solid #f0d78c;
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 16px;
	text-align: left;
}
.web-cart-avisos-title {
	margin: 0 0 8px;
	font-size: .92rem;
	font-weight: 700;
	color: #9a6700;
}
.web-cart-avisos-list {
	margin: 0;
	padding-left: 1.15rem;
	font-size: .85rem;
	color: #7a5b00;
	line-height: 1.45;
}
.web-cart-avisos-hint {
	margin: 8px 0 0;
	font-size: .8rem;
	color: #64748b;
}

/* Carrito: pedido por local */
.web-cart-local {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
	margin-bottom: 14px;
	overflow: visible;
}
.web-cart-local--invalid { border: 1px solid #f0d78c; }
.web-cart-local-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	padding: 12px 14px;
	border-bottom: 1px solid #eee;
	background: #fafafa;
}
.web-cart-local-id {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.web-cart-local-logo {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}
.web-cart-local-name {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	text-decoration: none;
}
a.web-cart-local-name:hover { color: var(--sandy-brown, #c97b3a); }
.web-cart-pago-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px 4px 10px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 700;
	flex-shrink: 0;
}
.web-cart-pago-chip--mp { background: #e8f4fd; color: #3483fa; border: 1px solid #b8d4f8; }
.web-cart-pago-chip--vendedor { background: #f5f5f5; color: #555; border: 1px solid #ddd; }
.web-cart-pago-help {
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid currentColor;
	background: #fff;
	color: inherit;
	font-size: .7rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.web-cart-pago-tip {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 5;
	width: min(260px, 70vw);
	padding: 10px 12px;
	border-radius: 8px;
	background: #1e293b;
	color: #fff;
	font-size: .78rem;
	font-weight: 500;
	line-height: 1.4;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.web-cart-prod-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.web-cart-prod {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid #f1f5f9;
}
.web-cart-prod:last-child { border-bottom: none; }
.web-cart-prod--invalid { background: #fffbeb; }
.web-cart-prod-thumb {
	width: 64px;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
}
.web-cart-prod-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.web-cart-prod-thumb-ph { font-size: 1.4rem; opacity: .45; }
.web-cart-prod-body { min-width: 0; }
.web-cart-prod-title {
	display: block;
	margin: 0 0 4px;
	font-size: .92rem;
	font-weight: 600;
	color: #0f172a;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
a.web-cart-prod-title:hover { color: var(--sandy-brown, #c97b3a); }
.web-cart-prod-medida {
	margin: 0 0 6px;
	font-size: .8rem;
	color: #64748b;
}
.web-cart-prod-aviso {
	margin: 0 0 8px;
	font-size: .82rem;
	color: #9a6700;
	line-height: 1.35;
}
.web-cart-prod-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}
.web-cart-prod-qty { font-size: .82rem; color: #64748b; }
.web-cart-prod-total {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	margin-left: auto;
}
.web-cart-prod-quitar {
	appearance: none;
	border: none;
	background: transparent;
	color: #f23d4f;
	font-size: .8rem;
	font-weight: 600;
	cursor: pointer;
	padding: 4px 0;
	margin-top: 4px;
}
.web-cart-prod-quitar--muted { color: #94a3b8; }
.web-cart-prod-quitar--muted:hover { color: #f23d4f; }
.web-cart-local-foot {
	padding: 10px 14px 14px;
	border-top: 1px solid #eee;
	background: #fafafa;
}
.web-cart-local-sub {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 8px;
	font-size: .9rem;
	color: #64748b;
}
.web-cart-local-sub strong {
	font-size: 1.05rem;
	color: #0f172a;
}
.web-cart-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 24px;
	align-items: start;
}
.web-cart-lines { min-width: 0; }
.web-cart-sidebar {
	position: sticky;
	top: calc(var(--web-header-h, 64px) + 12px);
}
.web-cart-foot {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.web-cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; margin-bottom: 12px; font-weight: 700; }
.web-cart-note { font-size: .82rem; color: var(--sonic-silver); margin: 0 0 14px; line-height: 1.4; }
.web-cart-actions { display: flex; flex-direction: column; gap: 10px; }
.web-cart-actions .web-btn { text-align: center; }
.web-cart-shipping-info {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #f0f0f0;
	font-size: .78rem;
	color: #666;
	line-height: 1.5;
}
/* Grupos por comercio */
.cart-group {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 16px;
	box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.cart-group-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background: #fafafa;
	border-bottom: 1px solid #f0f0f0;
}
.cart-group-logo {
	width: 36px;
	height: 36px;
	object-fit: contain;
	border-radius: 6px;
	border: 1px solid #eee;
	flex-shrink: 0;
}
.cart-group-logo--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sandy-brown);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
}
.cart-group-nombre {
	font-weight: 700;
	font-size: .95rem;
	color: var(--onyx);
	text-decoration: none;
}
.cart-group-nombre:hover { color: var(--sandy-brown); }
.cart-group .cart-order-list--page { padding: 0 12px; border-radius: 0; }
.cart-group .cart-order-line { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.cart-group .cart-order-line:first-child { border-top: 0; }
.cart-group-shipping {
	padding: 8px 16px;
	font-size: .8rem;
}
.cart-group-shipping-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 999px;
	font-weight: 600;
}
.cart-group-shipping-tag--free {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
}
.cart-group-shipping-tag--consult {
	background: #fff8e1;
	color: #e65100;
	border: 1px solid #ffcc80;
}
.cart-group-wa-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 16px 14px;
	padding: 10px 16px;
	background: #25D366;
	color: #fff;
	border-radius: 8px;
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease;
}
.cart-group-wa-btn:hover { background: #128C7E; }
.cart-group-wa-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
/* Logo en line-item del carrito (preview) */
.cart-order-line-local-logo {
	width: 14px;
	height: 14px;
	object-fit: contain;
	border-radius: 2px;
	flex-shrink: 0;
	vertical-align: middle;
}
/* Mobile: total sticky abajo, lista sin sidebar */
@media (max-width: 900px) {
	.web-cart-layout {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.web-cart-sidebar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 55;
		top: auto;
	}
	.web-cart-foot {
		border-radius: 16px 16px 0 0;
		border-bottom: 0;
		padding: 14px 16px calc(85px + env(safe-area-inset-bottom, 0px));
		box-shadow: 0 -6px 24px rgba(0,0,0,.12);
	}
	.web-cart-foot.is-collapsed .web-cart-total-row,
	.web-cart-foot.is-collapsed .web-cart-note,
	.web-cart-foot.is-collapsed .web-pago-totals,
	.web-cart-foot.is-collapsed .web-pago-foot-steps,
	.web-cart-foot.is-collapsed .web-cart-actions,
	.web-cart-foot.is-collapsed .web-cart-shipping-info { display: none; }
	.web-cart-foot-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 4px 0 8px;
		background: transparent;
		border: 0;
		font-size: .88rem;
		font-weight: 700;
		color: var(--onyx);
		cursor: pointer;
	}
	.web-cart-foot-toggle-icon { font-size: .7rem; transition: transform .2s ease; }
	.web-cart-foot.is-collapsed .web-cart-foot-toggle-icon { transform: rotate(180deg); }
	.web-cart-page { padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
	.web-cart-actions .web-btn--primary,
	.web-cart-actions .web-btn--wa { width: 100%; max-width: none; }
	.cart-qty-stepper-btn { min-width: 44px; height: 44px; }
}
.web-cart-note { font-size: .85rem; color: var(--sonic-silver); margin-bottom: 12px; }
.web-btn--wa { display: inline-block; background: #25D366; color: #fff; text-align: center; padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; width: 100%; max-width: none; box-sizing: border-box; }
.contact-form label { display: block; font-size: .85rem; margin: 10px 0 4px; color: #444; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; font: inherit; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--sandy-brown); outline: none; box-shadow: 0 0 0 3px rgba(244,162,97,.2); }
.contact-form button[type="submit"] { width: 100%; margin-top: 14px; padding: 12px; background: var(--onyx); color: #fff; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; transition: background .2s; }
.contact-form button[type="submit"]:hover:not(:disabled) { background: var(--sandy-brown); }
.contact-form button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.web-contact-resp { margin-top: 10px; font-size: .9rem; }
.web-contact-ok { color: #2e7d32; }
.web-contact-err { color: #c0392b; }

/* Menú comida — local modo_catalogo=comida (WEB.2) */
.menu-comida {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-top: 8px;
	width: 100%;
}
@media (min-width: 992px) {
	.menu-comida {
		max-width: 1100px;
		margin-left: auto;
		margin-right: auto;
	}
}
.menu-comida-toolbar-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	position: sticky;
	top: var(--web-header-h, 64px);
	z-index: 40;
	background: #fff;
	padding: 8px 0 10px;
	margin: 0 0 4px;
	border-bottom: 1px solid #f0f0f0;
	box-shadow: 0 4px 12px rgba(255,255,255,.95);
}
/* Catálogo local comida: header sticky; chips de categoría scrollean con el menú (no tapan platos) */
body.is-local-context[data-local-modo="comida"] > header {
	position: sticky;
	top: 0;
	z-index: 10020;
	background: #fff;
	box-shadow: 0 1px 0 var(--cultured);
}
body.ns-contact-open > header {
	z-index: 10020; /* header queda bajo el overlay de contacto (10040) */
}
body.is-local-context[data-local-modo="comida"] .menu-comida-toolbar-row {
	position: relative;
	top: auto;
	z-index: 1;
	box-shadow: none;
	margin-bottom: 8px;
}
body.is-local-context[data-local-modo="comida"] .menu-comida-section {
	scroll-margin-top: calc(var(--web-header-h, 72px) + 16px);
}
body.is-local-context[data-local-modo="comida"] .menu-comida-row {
	scroll-margin-top: calc(var(--web-header-h, 72px) + 8px);
}
.menu-comida-cat-nav {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	flex: 1 1 auto;
	min-width: 0;
	padding: 2px 0;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.menu-comida-cat-nav--solo {
	flex: 1 1 auto;
}
.menu-comida-view-toggle {
	display: inline-flex;
	flex: 0 0 auto;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}
.menu-comida-view-btn {
	padding: 8px 12px;
	border: 0;
	background: transparent;
	font-size: .82rem;
	font-weight: 600;
	cursor: pointer;
	color: #666;
	white-space: nowrap;
}
.menu-comida-view-btn.is-active {
	background: var(--sandy-brown);
	color: #fff;
}
.menu-comida-cat-chip {
	flex: 0 0 auto;
	padding: 8px 14px;
	border-radius: 20px;
	border: 1px solid #e0e0e0;
	background: #fff;
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--onyx);
	white-space: nowrap;
}
.menu-comida-cat-chip:hover {
	border-color: var(--sandy-brown);
	color: var(--sandy-brown);
}
.menu-comida-section {
	scroll-margin-top: calc(var(--web-header-h, 64px) + var(--menu-comida-sticky-h, 52px) + 12px);
}
.menu-comida-section-title {
	font-size: 1.35rem; font-weight: 700; color: var(--onyx);
	margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--sandy-brown);
}
.menu-comida-items { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 992px) {
	.menu-comida--lista .menu-comida-items,
	.menu-comida--tarjeta .menu-comida-items {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

/* Vista lista (predeterminada) */
.menu-comida-row--lista {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 12px;
	align-items: start;
	padding: 12px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.menu-comida-row--lista:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.menu-comida-list-media {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 88px;
	height: 88px;
	text-decoration: none;
	background: #f5f5f5;
	border-radius: 8px;
	overflow: hidden;
}
.menu-comida-list-thumb {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}
.menu-comida-list-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.menu-comida-name-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}
.menu-comida-name {
	font-size: 1rem;
	font-weight: 700;
	color: var(--onyx);
	text-decoration: none;
	line-height: 1.25;
	flex: 1 1 auto;
	min-width: 0;
}
.menu-comida-row-actions {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.menu-comida-var-fav {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	margin-left: 4px;
}
.menu-comida-fav-btn {
	width: 32px;
	height: 32px;
	padding: 0;
}
.menu-comida-row.is-menu-focus {
	animation: menuComidaFocusFlash 2.4s ease-out;
	border-radius: 10px;
	outline: 2px solid rgba(244, 162, 97, 0.85);
	outline-offset: 2px;
	background: rgba(244, 162, 97, 0.08);
}
.menu-comida-var-item.is-menu-focus-var {
	border-color: var(--sandy-brown);
	background: rgba(244, 162, 97, 0.14);
	box-shadow: 0 0 0 2px rgba(244, 162, 97, 0.25);
}
@keyframes menuComidaFocusFlash {
	0% { background: rgba(244, 162, 97, 0.28); }
	100% { background: transparent; }
}
.menu-comida-desc {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: .85rem;
	color: #666;
	line-height: 1.35;
	margin: 0;
}
.menu-comida-plazo { font-size: .78rem; color: #3483fa; font-weight: 600; margin: 0; }
.menu-comida-plazo[hidden] { display: none; }

/* Variantes comida — checks + pedido */
.menu-comida-variantes { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.menu-comida-variantes-title {
	font-size: .78rem;
	font-weight: 700;
	color: #888;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.menu-comida-var-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 8px 10px;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	transition: border-color .2s, background .2s;
}
.menu-comida-var-item:hover { border-color: #ccc; }
.menu-comida-var-item.is-selected {
	border-color: var(--sandy-brown);
	background: rgba(244,162,97,.08);
}
.menu-comida-var-label {
	flex: 1 1 auto;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	cursor: pointer;
}
.menu-comida-var-check {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--sandy-brown);
}
.menu-comida-var-body {
	flex: 1 1 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 12px;
	min-width: 0;
}
.menu-comida-var-tamano {
	font-size: .86rem;
	color: var(--onyx);
}
.menu-comida-var-tamano-label { font-weight: 700; }
.menu-comida-var-precio {
	font-size: .86rem;
	font-weight: 700;
	color: var(--onyx);
	white-space: nowrap;
}
.menu-comida-order-panel {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #e0e0e0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.menu-comida-order-panel[hidden] { display: none; }
.menu-comida-order-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.menu-comida-qty-wrap {
	font-size: .85rem;
	font-weight: 600;
	color: var(--onyx);
	display: flex;
	align-items: center;
	gap: 8px;
}
.menu-comida-qty {
	width: 64px;
	padding: 6px 8px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: .9rem;
	text-align: center;
}
.menu-comida-line-total {
	font-size: .9rem;
	color: var(--onyx);
}
.menu-comida-line-total strong { font-size: 1rem; }
.menu-comida-add-btn {
	width: 100%;
	padding: 10px 14px;
	font-size: .88rem;
}
.menu-comida-add-btn.is-added { background: #2e7d32; }
.web-qty-fixed {
	font-size: .9rem;
	font-weight: 600;
}
.menu-comida-qty-fixed {
	font-size: .85rem;
	font-weight: 600;
	color: var(--onyx);
}
.menu-comida-qty-fixed strong { color: var(--sandy-brown); }
.menu-comida-qty-wrap[hidden],
.menu-comida-qty-fixed[hidden] { display: none; }
.menu-comida-ver-link { margin-top: 8px; display: inline-block; width: auto; }

/* Vista tarjetas */
.menu-comida--tarjeta .menu-comida-row--tarjeta {
	display: grid;
	grid-template-columns: minmax(130px, 40%) 1fr;
	gap: 0;
	align-items: stretch;
	padding: 0;
	overflow: hidden;
	min-height: 200px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.menu-comida--tarjeta .menu-comida-row--tarjeta:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.menu-comida--tarjeta .menu-comida-media-col {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-height: 100%;
	background: #f5f5f5;
	overflow: hidden;
	text-decoration: none;
}
.menu-comida--tarjeta .menu-comida-photo {
	position: static;
	width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}
.menu-comida--tarjeta .menu-comida-content {
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.menu-comida--tarjeta .menu-comida-name { font-size: 1.1rem; }
.menu-comida--tarjeta .menu-comida-desc { font-size: .88rem; }
.menu-comida-item--retail .ml-card { height: 100%; }
.menu-comida-item--retail { max-width: 280px; }
@media (min-width: 768px) {
	.menu-comida-row--lista {
		grid-template-columns: 104px 1fr;
		gap: 16px;
		padding: 14px 16px;
	}
	.menu-comida-list-thumb { width: 104px; height: 104px; }
	.menu-comida--tarjeta .menu-comida-row--tarjeta { min-height: 220px; }
	.menu-comida--tarjeta .menu-comida-content { padding: 18px 22px; gap: 8px; }
	.menu-comida--tarjeta .menu-comida-name { font-size: 1.2rem; }
}
@media (max-width: 575px) {
	.menu-comida--tarjeta .menu-comida-row--tarjeta {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.menu-comida--tarjeta .menu-comida-media-col {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}
}

/* CartShell — barra inferior reutilizable (ver CART_SHELL_WEB.md) */
body.has-cart-shell {
	padding-bottom: calc(var(--cart-shell-offset, 144px) + env(safe-area-inset-bottom, 0px));
}
body.has-cart-shell-expanded .mobile-bottom-navigation {
	visibility: hidden;
	pointer-events: none;
}
.cart-shell {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10050;
	background: #fff;
	border-top: 1px solid #e0e0e0;
	box-shadow: 0 -4px 24px rgba(0,0,0,.14);
}
.cart-shell-preview {
	max-height: 0;
	overflow: hidden;
	overflow-y: auto;
	border-bottom: 1px solid #eee;
	padding: 0 16px;
	background: #fafafa;
	transition: max-height .28s ease, padding .28s ease;
}
.cart-shell.is-expanded .cart-shell-preview {
	max-height: min(45vh, 340px);
	padding: 12px 16px;
}

/* WEB.6 — líneas de pedido multi-ítem (preview + #/carrito) */
.cart-order-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.cart-order-list--page { gap: 10px; }
.cart-order-line {
	display: grid;
	grid-template-columns: minmax(30px, auto) 40px minmax(0, 1fr) auto auto;
	gap: 6px 8px;
	align-items: center;
	padding: 8px 10px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #eee;
}
.cart-order-line--page {
	padding: 10px 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	grid-template-columns: 48px minmax(0, 1fr) auto auto;
}
.cart-order-line--page.cart-order-line--medida {
	grid-template-columns: minmax(30px, auto) 48px minmax(0, 1fr) auto auto;
}
.cart-order-line-details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}
.cart-order-line-local {
	font-size: .76rem;
	color: #3483fa;
	text-decoration: none;
	line-height: 1.25;
}
.cart-order-line-local:hover { text-decoration: underline; }
.cart-qty-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	margin-top: 4px;
}
.cart-qty-stepper-btn {
	min-width: 40px;
	height: 40px;
	border: 0;
	background: #f5f5f5;
	color: #333;
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	padding: 0 12px;
	transition: background .15s ease;
}
.cart-qty-stepper-btn:hover { background: #ebebeb; }
.cart-qty-stepper-btn:active { background: #e0e0e0; }
.cart-qty-stepper-val {
	min-width: 36px;
	padding: 0 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .95rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	border-left: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
}
@media (max-width: 767px) {
	.cart-qty-stepper-btn { min-width: 44px; height: 44px; }
}
@keyframes cart-line-flash {
	0% {
		background-color: rgba(244, 162, 97, .38);
		border-color: rgba(244, 162, 97, .55);
	}
	100% {
		background-color: #fff;
		border-color: #eee;
	}
}
.cart-order-line--flash {
	animation: cart-line-flash .55s ease-out;
}
.cart-order-line-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	max-width: 52px;
	padding: 3px 7px;
	font-size: .78rem;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	color: var(--sandy-brown);
	word-break: break-word;
	background: rgba(244, 162, 97, .12);
	border: 1px solid rgba(244, 162, 97, .28);
	border-radius: 999px;
}
.cart-order-line-badge--medida {
	min-width: 32px;
	font-size: .74rem;
	letter-spacing: -.01em;
}
.cart-order-line-badge--qty {
	min-width: 26px;
	font-variant-numeric: tabular-nums;
}
.cart-order-line-badge--edit {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}
.cart-order-line-badge-input {
	width: 40px;
	padding: 4px 2px;
	border: 1px solid rgba(244, 162, 97, .45);
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 800;
	text-align: center;
	color: var(--sandy-brown);
	background: rgba(244, 162, 97, .12);
}
.cart-order-line-badge-input:focus {
	outline: none;
	border-color: var(--sandy-brown);
	box-shadow: 0 0 0 2px rgba(244, 162, 97, .2);
}
.cart-order-line-img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	background: #f5f5f5;
	border-radius: 6px;
}
.cart-order-line-medida {
	font-size: .8rem;
	font-weight: 700;
	color: var(--sandy-brown);
	white-space: nowrap;
}
.cart-order-line-medida--na {
	color: #ccc;
	font-weight: 500;
}
.cart-order-line-name {
	font-size: .84rem;
	font-weight: 600;
	color: var(--onyx);
	text-decoration: none;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
a.cart-order-line-name:hover { color: var(--sandy-brown); }
.cart-order-line-qty {
	font-size: .82rem;
	font-weight: 700;
	color: var(--sandy-brown);
	text-align: center;
	min-width: 28px;
}
.cart-order-line-qty--edit { margin: 0; }
.cart-order-line-qty-input {
	width: 48px;
	padding: 4px 6px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: .82rem;
	text-align: center;
}
.cart-order-line-price {
	font-size: .84rem;
	font-weight: 700;
	color: var(--onyx);
	text-align: right;
	white-space: nowrap;
	justify-self: end;
}
.cart-order-line-remove {
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 50%;
	background: #f5f5f5;
	color: #c0392b;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}
.cart-order-line-remove:hover { background: #fdecea; }
.cart-order-line-remove--text {
	width: auto;
	height: auto;
	border-radius: 6px;
	padding: 4px 8px;
	font-size: .75rem;
	font-weight: 600;
	background: transparent;
	text-decoration: underline;
}
@media (max-width: 400px) {
	.cart-order-line {
		grid-template-columns: minmax(26px, auto) 36px minmax(0, 1fr) auto auto;
	}
	.cart-order-line-price { grid-column: 4 / 5; }
	.cart-order-line-remove { grid-column: 5 / 6; }
	.cart-order-line-remove--text { grid-column: 1 / -1; justify-self: end; }
}
.cart-shell-main {
	padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
}
.cart-shell-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 4px 0 8px;
	border: 0;
	background: transparent;
	color: #666;
	font-size: .78rem;
	font-weight: 600;
	cursor: pointer;
}
.cart-shell-toggle-icon {
	font-size: .65rem;
	transition: transform .25s ease;
}
.cart-shell.is-expanded .cart-shell-toggle-icon { transform: rotate(180deg); }
.cart-shell-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.cart-shell-thumbs {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.cart-shell-thumbs-stack {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	min-width: 36px;
}
.cart-shell-thumb {
	display: block;
	position: relative;
	width: 36px;
	height: 36px;
	margin-left: -10px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #f5f5f5;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,.14);
	flex-shrink: 0;
}
.cart-shell-thumbs-stack .cart-shell-thumb:first-child { margin-left: 0; }
.cart-shell-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-shell-thumb-more {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 36px;
	height: 36px;
	margin-left: -10px;
	border-radius: 50%;
	background: var(--sandy-brown);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,.14);
	flex-shrink: 0;
}
.cart-shell-info {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	flex: 1 1 auto;
}
.cart-shell-summary {
	font-size: .72rem;
	color: #888;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.cart-shell-summary[hidden] { display: none; }
.cart-shell-count { font-size: .78rem; color: #666; }
.cart-shell-total { font-size: 1.1rem; color: var(--onyx); }
.cart-shell-buy {
	width: auto;
	min-width: 108px;
	padding: 10px 18px;
	font-size: .92rem;
	max-width: none;
	flex-shrink: 0;
}
@media (min-width: 1024px) {
	body.has-cart-shell { padding-bottom: calc(var(--cart-shell-h, 88px) + 24px); }
	body.has-cart-shell .mobile-bottom-navigation { bottom: auto; }
}
.web-cart-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
}
.web-cart-checkout-btn { max-width: none; }
.web-cart-wa-btn { text-align: center; }

/* Checkout y seguimiento (Chat 03) */
.web-checkout-page { max-width: 1100px; margin: 0 auto; padding-bottom: 24px; }
.web-checkout-local { font-size: .92rem; color: #444; margin-bottom: 12px; }
.web-checkout-layout {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.05fr);
	gap: 24px 28px;
	align-items: start;
}
.web-checkout-col--summary {
	position: sticky;
	top: 12px;
}
.web-checkout-col-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.web-checkout-col-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #222;
}
.web-checkout-edit-cart {
	font-size: .82rem;
	color: #3483fa;
	text-decoration: none;
	white-space: nowrap;
}
.web-checkout-edit-cart:hover { text-decoration: underline; }
.co-line-list {
	list-style: none;
	margin: 0;
	padding: 0 12px 4px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.co-line {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 12px;
	align-items: start;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}
.co-line:last-child { border-bottom: 0; padding-bottom: 0; }
.co-line-media {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f5f5;
	flex-shrink: 0;
}
.co-line-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.co-line-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 1.4rem;
}
.co-line-body { min-width: 0; }
.co-line-row--top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 4px;
}
.co-line-name {
	margin: 0;
	font-size: .92rem;
	font-weight: 600;
	color: #222;
	line-height: 1.3;
}
.co-line-price {
	font-size: .95rem;
	color: #222;
	white-space: nowrap;
}
.co-line-attrs {
	margin: 0 0 4px;
	font-size: .8rem;
	color: #666;
	line-height: 1.35;
}
.co-line-plazo { margin: 0 0 4px; }
.co-line-qty {
	margin: 0;
	font-size: .82rem;
	color: #555;
}
.web-pago-grupo-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.web-pago-grupo-sep {
	color: #bbb;
	font-weight: 700;
}
.web-pago-badge-logo {
	display: block;
	height: 18px;
	width: auto;
	object-fit: contain;
}
.web-pago-grupo--checkout .cart-group-nombre {
	font-size: 1rem;
}
.web-checkout-summary { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.web-checkout-summary .cart-order-list--page { pointer-events: none; }
.web-checkout-summary .cart-order-line-remove { display: none; }
.web-checkout-entrega-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 8px;
}
.web-checkout-entrega-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 12px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
	font-weight: 400;
}
.web-checkout-entrega-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.web-checkout-entrega-card-title {
	font-size: .95rem;
	font-weight: 700;
	color: #222;
}
.web-checkout-entrega-card-sub {
	font-size: .8rem;
	color: #777;
	line-height: 1.3;
}
.web-checkout-entrega-card:hover { border-color: #b8d4f8; }
.web-checkout-entrega-card.is-selected {
	border-color: #3483fa;
	background: #f0f7ff;
	box-shadow: 0 0 0 1px rgba(52, 131, 250, .2);
}
.web-checkout-domicilio {
	margin-top: 12px;
	padding: 12px;
	border-radius: 10px;
	background: #fafafa;
	border: 1px solid #eee;
}
.web-checkout-domicilio-hint {
	margin: 0 0 10px;
	font-size: .84rem;
	color: #555;
	line-height: 1.4;
}
.web-checkout-entrega-modo {
	border: 0;
	padding: 0;
	margin: 0;
}
.web-checkout-entrega-legend {
	font-size: .88rem;
	font-weight: 600;
	margin-bottom: 4px;
	color: #333;
}
@media (max-width: 900px) {
	.web-checkout-layout {
		grid-template-columns: 1fr;
	}
	.web-checkout-col--summary { position: static; }
}
.web-checkout-form label { display: block; font-size: .88rem; font-weight: 600; margin: 0; color: #333; }
.web-checkout-field { margin-top: 12px; }
.web-checkout-tel-gate {
	margin: 6px 0 0;
	padding: 8px 10px;
	font-size: .82rem;
	line-height: 1.35;
	border-radius: 6px;
	border: 1px solid transparent;
}
.web-checkout-tel-gate.is-warn {
	color: #7a4a00;
	background: #fff8e8;
	border-color: #f0d9a0;
}
.web-checkout-tel-gate.is-err {
	color: #8b1a1a;
	background: #fdeeee;
	border-color: #f0b4b4;
}
.web-checkout-tel-gate.is-ok {
	color: #1a5c2e;
	background: #eef8f0;
	border-color: #b7e0c0;
}
.web-checkout-field-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 4px;
}
.web-field-help-btn {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid #ccc;
	background: #f8f8f8;
	color: #555;
	font-size: .78rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.web-field-help-btn:hover,
.web-field-help-btn:focus-visible {
	background: #fff3e6;
	border-color: var(--sandy-brown, #e67e22);
	color: #333;
}
.web-field-help-text {
	margin: 6px 0 0;
	padding: 8px 10px;
	font-size: .84rem;
	line-height: 1.45;
	color: #555;
	background: #f9f9f9;
	border-left: 3px solid var(--sandy-brown, #e67e22);
	border-radius: 0 6px 6px 0;
}
.web-req { color: #c0392b; }
.web-opt { font-weight: 400; color: #888; font-size: .82rem; }
.web-checkout-form input[type="text"],
.web-checkout-form input[type="tel"],
.web-checkout-form input[type="email"],
.web-checkout-form textarea {
	width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #ddd;
	border-radius: 8px; font-size: 1rem; font-family: inherit;
}
.web-checkout-subtitle { font-size: 1rem; margin: 20px 0 8px; color: #222; }
.web-checkout-pago { border: none; padding: 0; margin: 16px 0; }
.web-checkout-pago legend { font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.web-checkout-radio { display: flex; align-items: center; gap: 8px; font-size: .92rem; margin: 6px 0; font-weight: 400; cursor: pointer; }
.web-checkout-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.web-checkout-back { margin-top: 12px; font-size: .9rem; }
.web-btn--ghost {
	background: transparent; color: #333; border: 1px solid #ccc; text-align: center; text-decoration: none;
}

/* —— Seguimiento pedido (#/pedido) — estilo ML —— */
.web-rastreo-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 16px 20px 32px;
	background: #ededed;
	min-height: 60vh;
}
.web-rastreo-body { min-height: 200px; }
.web-rastreo-layout {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.web-rastreo-layout.has-sticky-footer { /* padding vía body.web-rastreo-active */ }
.web-rastreo-layout.has-sticky-pay { /* mantiene clase para ocultar botón MP duplicado en aside móvil */ }

/* Footer móvil — mismo patrón que cart-shell (encima del menú inferior) */
body.web-rastreo-active {
	padding-bottom: calc(var(--rastreo-sticky-h, 72px) + var(--mob-nav-h, 56px) + 12px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) {
	body.web-rastreo-active { padding-bottom: 24px; }
}
.web-rastreo-sticky.cart-shell--rastreo {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10050;
	background: #fff;
	border-top: 1px solid #e0e0e0;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, .14);
}
@media (max-width: 899px) {
	.web-rastreo-layout.has-sticky-footer .web-rastreo-sticky.cart-shell--rastreo { display: block; }
}
.web-rastreo-sticky .cart-shell-main { padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
.web-rastreo-sticky-inner { width: 100%; max-width: 1180px; margin: 0 auto; }
.web-rastreo-sticky-total { flex: 1; min-width: 0; }
.web-rastreo-sticky-lbl {
	display: block;
	font-size: .72rem;
	color: rgba(0, 0, 0, .45);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.web-rastreo-sticky-val {
	font-size: 1.25rem;
	font-weight: 700;
	color: rgba(0, 0, 0, .9);
}
.web-rastreo-sticky-pay {
	flex: 0 0 auto;
	min-width: 108px;
	width: auto;
	max-width: none;
	padding: 10px 18px;
	font-size: .92rem;
}

/* Panel multi-comercio */
.web-rastreo-comercios-hint {
	margin: -6px 0 14px;
	font-size: .82rem;
	color: rgba(0, 0, 0, .55);
	line-height: 1.45;
}
.web-rastreo-comercios-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}
@media (min-width: 600px) {
	.web-rastreo-comercios-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.web-rastreo-comercio-card {
	display: block;
	padding: 14px 16px;
	border-radius: 8px;
	border: 1px solid #eee;
	background: #fafafa;
	text-decoration: none;
	color: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}
a.web-rastreo-comercio-card:hover {
	border-color: #3483fa;
	box-shadow: 0 2px 8px rgba(52, 131, 250, .12);
}
.web-rastreo-comercio-card.is-current {
	border-color: #3483fa;
	background: #f0f7ff;
	box-shadow: inset 0 0 0 1px rgba(52, 131, 250, .15);
}
.web-rastreo-comercio-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}
.web-rastreo-comercio-name {
	font-size: .95rem;
	font-weight: 600;
	color: rgba(0, 0, 0, .9);
}
.web-rastreo-comercio-actual {
	font-size: .72rem;
	font-weight: 600;
	color: #3483fa;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.web-rastreo-comercio-card .web-rastreo-status-pill { margin-bottom: 8px; }
.web-rastreo-comercio-total {
	margin: 0 0 4px;
	font-size: .85rem;
	color: rgba(0, 0, 0, .55);
}
.web-rastreo-comercio-link {
	font-size: .82rem;
	font-weight: 600;
	color: #3483fa;
}

.web-rastreo-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	align-items: start;
}
@media (min-width: 900px) {
	.web-rastreo-grid {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 20px;
	}
}

.web-rastreo-main {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

/* Hero compacto */
.web-rastreo-hero {
	text-align: left;
	padding: 16px 18px;
	border-radius: 8px;
	background: #fff;
	border: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
@media (min-width: 900px) {
	.web-rastreo-hero { padding: 20px 24px; }
}
.web-rastreo-hero--entregado { border-left: 4px solid #00a650; }
.web-rastreo-hero--cancelado,
.web-rastreo-hero--devuelto { border-left: 4px solid #f23d4f; }
.web-rastreo-hero--activo,
.web-rastreo-hero--preparacion,
.web-rastreo-hero--despachado { border-left: 4px solid var(--sandy-brown, #c97b3a); }
.web-rastreo-hero--en_camino { border-left: 4px solid #ea580c; }
.web-rastreo-hero-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-bottom: 12px;
}
.web-rastreo-hero-title-sep {
	color: #cbd5e1;
	font-weight: 700;
}
.web-rastreo-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: .78rem;
	font-weight: 700;
	margin: 0;
	background: #fff3e8;
	color: var(--deep-saffron, #e76f51);
	border: none;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.web-rastreo-status-pill--sm { font-size: .7rem; padding: 2px 8px; }
.web-rastreo-status-pill--entregado { background: #e6f7ef; color: #00a650; }
.web-rastreo-status-pill--preparacion { background: #e8f4fd; color: #3483fa; }
.web-rastreo-status-pill--despachado { background: #eef2ff; color: #3730a3; }
.web-rastreo-status-pill--en_camino { background: #fff4e5; color: #c2410c; }
.web-rastreo-status-pill--activo { background: #fff3e8; color: #c2410c; }
.web-rastreo-status-pill--cancelado,
.web-rastreo-status-pill--devuelto { background: #fee8ea; color: #f23d4f; }
.web-rastreo-status-icon { font-size: .95rem; line-height: 1; }
.web-rastreo-badge-ico,
.web-rastreo-paso-ico,
.web-rastreo-hist-ico { font-style: normal; }
.web-rastreo-hero-title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	color: rgba(0, 0, 0, .9);
}
@media (min-width: 700px) {
	.web-rastreo-hero-title { font-size: 1.28rem; }
}
.web-rastreo-hero-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}
.web-rastreo-hero-meta-item {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	font-size: .86rem;
	color: #334155;
	min-width: 0;
}
.web-rastreo-hero-meta-k {
	font-weight: 700;
	color: #64748b;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.web-rastreo-hero-meta-v {
	font-weight: 500;
	color: #1e293b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 220px;
}
.web-rastreo-hero-meta-item--code {
	flex: 1 1 100%;
	gap: 8px;
}
@media (min-width: 900px) {
	.web-rastreo-hero-meta-item--code { flex: 0 1 auto; }
	.web-rastreo-hero-meta-v { max-width: 280px; }
}
.web-rastreo-hero-meta-item--code code {
	font-size: .85rem;
	font-weight: 600;
	color: rgba(0, 0, 0, .75);
	background: #f5f5f5;
	padding: 2px 8px;
	border-radius: 4px;
}
.web-rastreo-local-entrega {
	margin: 10px 12px 4px;
	padding: 10px 12px;
	background: #f8fafc;
	border-radius: 8px;
	border: 1px solid #eef2f7;
	font-size: .88rem;
}
.web-rastreo-local-entrega-sum {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
}
.web-rastreo-local-entrega-k {
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #94a3b8;
}
.web-rastreo-local-entrega-v { color: #1e293b; flex: 1 1 auto; }
.web-rastreo-ent-toggle {
	margin-left: auto;
	border: 1px solid #e2e8f0;
	background: #fff;
	border-radius: 999px;
	padding: 2px 10px;
	font-size: .72rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
}
.web-rastreo-ent-toggle:hover { border-color: var(--sandy-brown, #c97b3a); color: #1a1a1a; }
.web-rastreo-local-entrega-det {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed #e2e8f0;
}
.web-rastreo-local-entrega-det[hidden] { display: none !important; }
.web-rastreo-local-entrega-dir,
.web-rastreo-local-entrega-alias,
.web-rastreo-local-entrega-envio {
	font-size: .82rem;
	color: #64748b;
}
.web-rastreo-local-pay-row--muted { color: #64748b; font-size: .86rem; }
.web-rastreo-pago-section--sena {
	padding: 12px;
	border-radius: 10px;
	background: #f7fbff;
	border: 1px solid #d7e6f8;
}
.web-rastreo-mp-input.is-below-min {
	border-color: #dc2626;
	box-shadow: 0 0 0 2px rgba(220, 38, 38, .12);
}
.web-rastreo-mp-breakdown {
	margin: 10px 0 12px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e8eef7;
}
.web-rastreo-mp-breakdown-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 3px 0;
	font-size: .9rem;
	color: #475569;
}
.web-rastreo-mp-breakdown-row--saldo strong { color: #c2410c; }
.web-rastreo-mp-breakdown.is-full-paid .web-rastreo-mp-breakdown-row--saldo strong { color: #00a650; }
.web-rastreo-mp-breakdown-hint {
	margin: 8px 0 0;
	font-size: .8rem;
	color: #64748b;
	line-height: 1.35;
}
.web-btn--mp.is-loading {
	opacity: .92;
	cursor: wait;
	gap: 8px;
}
.web-btn-mp-spin {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255,255,255,.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: web-spin .7s linear infinite;
	vertical-align: -2px;
	margin-right: 6px;
}
.web-cobro-embed.is-loading {
	position: relative;
	min-height: 120px;
}
.web-cobro-embed.is-loading::after {
	content: 'Cargando pasarela de pago…';
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	font-size: .9rem;
	font-weight: 600;
	color: #475569;
	background: #f8fafc;
	border-radius: 10px;
	border: 1px dashed #cbd5e1;
}
.web-rastreo-pago-hint--pendiente {
	background: #eef6ff;
	border: 1px solid #c5ddf8;
	border-radius: 8px;
	padding: 10px 12px;
	color: #0c3d7a;
}

/* Paneles izquierda */
.web-rastreo-panel {
	background: #fff;
	border: none;
	border-radius: 8px;
	padding: 16px 20px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.web-rastreo-panel--alert { background: #fff5f5; box-shadow: 0 1px 2px rgba(242, 61, 79, .15); }
.web-rastreo-panel-title {
	margin: 0 0 14px;
	font-size: .88rem;
	font-weight: 600;
	color: rgba(0, 0, 0, .9);
	text-transform: none;
	letter-spacing: 0;
}
.web-rastreo-panel-title--alert { color: #f23d4f; }
.web-rastreo-timeline-wrap { padding: 4px 0 0; }

/* Tarjeta vendedor / productos (estilo ML) */
.web-rastreo-seller-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
	overflow: hidden;
}
.web-rastreo-seller-card + .web-rastreo-seller-card { margin-top: 14px; }
.web-rastreo-seller-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding: 14px 20px;
	border-bottom: 1px solid #eee;
	background: #fafafa;
}
.web-rastreo-seller-name {
	font-size: .95rem;
	font-weight: 600;
	color: rgba(0, 0, 0, .9);
	min-width: 0;
}
.web-rastreo-seller-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #ecfdf5;
	transition: background .15s ease, transform .15s ease;
}
.web-rastreo-seller-wa:hover,
.web-rastreo-seller-wa:focus-visible {
	background: #d1fae5;
	transform: scale(1.06);
	outline: none;
}
.web-rastreo-wa-icon { display: block; }
.web-rastreo-seller-cnt {
	font-size: .78rem;
	color: rgba(0, 0, 0, .45);
	margin-left: auto;
}
.web-rastreo-seller-entrega {
	font-size: .75rem;
	font-weight: 600;
	color: #475569;
	background: #f1f5f9;
	padding: 2px 8px;
	border-radius: 4px;
}
.web-rastreo-paso-bar--local {
	padding: 8px 20px;
	border-bottom: 1px solid #eee;
	background: #fff;
}
.web-rastreo-timeline-wrap--local {
	padding: 8px 20px 12px;
	border-bottom: 1px solid #eee;
}
.web-rastreo-res-comercio-main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.web-rastreo-res-comercio-entrega {
	font-size: .72rem;
	color: #64748b;
}
.web-rastreo-status-pill--sm {
	font-size: .68rem;
	padding: 2px 7px;
	margin-bottom: 0;
}
.web-rastreo-track-label {
	padding: 10px 20px;
	font-size: .82rem;
	font-weight: 600;
	color: #334155;
	background: #f8fafc;
	border-bottom: 1px solid #eee;
}
.web-rastreo-seller-card--inm .web-rastreo-track-label { background: #f0fdf4; color: #166534; }
.web-rastreo-seller-card--fab .web-rastreo-track-label { background: #fff7ed; color: #9a3412; }

/* Fila producto ML */
.web-rastreo-ml-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.web-rastreo-ml-row {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	gap: 12px 16px;
	align-items: start;
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
}
.web-rastreo-ml-row:last-child { border-bottom: none; }
.web-rastreo-ml-row.is-entregado { background: #fafdfa; }
.web-rastreo-ml-row.is-devuelto { background: #fff7ed; }
.web-rastreo-ml-thumb {
	width: 72px;
	height: 72px;
	border-radius: 4px;
	border: 1px solid #eee;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}
.web-rastreo-ml-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.web-rastreo-ml-thumb-ph { font-size: 1.5rem; opacity: .4; }
.web-rastreo-ml-info { min-width: 0; }
.web-rastreo-ml-title {
	margin: 0 0 4px;
	font-size: .9rem;
	font-weight: 400;
	color: rgba(0, 0, 0, .9);
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}
a.web-rastreo-ml-title--link {
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}
a.web-rastreo-ml-title--link:hover,
a.web-rastreo-ml-title--link:focus-visible {
	color: #3483fa;
	text-decoration: underline;
	outline: none;
}
.web-rastreo-ml-thumb-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}
.web-rastreo-ml-row.is-entregado .web-rastreo-ml-title { color: rgba(0, 0, 0, .75); }
.web-rastreo-ml-row.is-devuelto .web-rastreo-ml-title { color: #9a3412; }
.web-rastreo-ml-qty {
	margin: 0 0 6px;
	font-size: .78rem;
	color: rgba(0, 0, 0, .45);
}
.web-rastreo-ml-price {
	font-size: 1.1rem;
	font-weight: 400;
	color: rgba(0, 0, 0, .9);
	white-space: nowrap;
	text-align: right;
	align-self: start;
	padding-top: 2px;
}
.web-rastreo-item-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
}
.web-rastreo-item-tl {
	grid-column: 1 / -1;
	margin-top: 4px;
	padding-top: 10px;
	border-top: 1px dashed #eee;
}

/* Resumen compra — columna derecha sticky */
.web-rastreo-aside { min-width: 0; }
@media (min-width: 900px) {
	.web-rastreo-aside { position: sticky; top: 16px; }
}
.web-rastreo-resumen-card {
	background: #fff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.web-rastreo-resumen-title {
	margin: 0 0 16px;
	font-size: 1.15rem;
	font-weight: 600;
	color: rgba(0, 0, 0, .9);
}
.web-rastreo-res-rows { margin-bottom: 12px; }
.web-rastreo-res-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 6px 0;
	font-size: .88rem;
	color: rgba(0, 0, 0, .55);
}
.web-rastreo-res-row span:last-child { color: rgba(0, 0, 0, .9); font-weight: 500; }
.web-rastreo-res-row--ok span:last-child { color: #00a650; }
.web-rastreo-res-row--warn span:last-child { color: #f73; font-weight: 600; }
.web-rastreo-res-row--abonado,
.web-rastreo-res-row--abonado span:last-child { color: #00a650; font-weight: 600; }
.web-rastreo-res-row--saldo,
.web-rastreo-res-row--saldo span:last-child { color: #ea580c; font-weight: 600; }
.web-rastreo-res-abonado { color: #00a650; font-weight: 600; }
.web-rastreo-res-saldo { color: #ea580c; font-weight: 600; }
.web-rastreo-res-paid-ok { color: #00a650; font-weight: 600; }
.web-rastreo-res-paid-sep { color: #94a3b8; font-weight: 400; }
.web-rastreo-res-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 14px 0;
	margin-bottom: 14px;
	border-top: 1px solid #eee;
	font-size: 1rem;
	color: rgba(0, 0, 0, .9);
}
.web-rastreo-res-total strong {
	font-size: 1.5rem;
	font-weight: 600;
}
.web-rastreo-res-comercios {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
}
.web-rastreo-res-comercio {
	appearance: none;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	text-align: left;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.web-rastreo-res-comercio:hover,
.web-rastreo-res-comercio:focus-visible {
	border-color: #94a3b8;
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 2px rgba(52, 131, 250, .15);
}
.web-rastreo-res-comercio-name {
	font-size: .9rem;
	font-weight: 600;
	color: #0f172a;
	min-width: 0;
}
.web-rastreo-res-comercio-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	flex-shrink: 0;
}
.web-rastreo-res-comercio-paid {
	font-size: .72rem;
	color: #64748b;
	text-align: right;
}
.web-rastreo-res-comercio-total {
	font-size: .95rem;
	color: #0f172a;
}
.web-rastreo-res-rows--grupo { margin-bottom: 4px; }
.web-rastreo-res-jump-hint {
	margin: 10px 0 0;
	font-size: .78rem;
	color: #94a3b8;
	line-height: 1.4;
}
.web-rastreo-res-jump-hint--saldo { color: #c2410c; }
.web-rastreo-res-comercio--saldo {
	border-color: #fdba74;
	background: #fff7ed;
}
.web-rastreo-local-pay {
	padding: 14px 20px 18px;
	border-top: 1px solid #eee;
	background: #fafafa;
}
.web-rastreo-local-pay-rows {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 12px;
}
.web-rastreo-local-pay-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	font-size: .9rem;
	color: rgba(0, 0, 0, .55);
}
.web-rastreo-local-pay-row strong {
	color: rgba(0, 0, 0, .9);
	font-size: 1.05rem;
}
.web-rastreo-local-pay-row--ok { color: #00a650; }
.web-rastreo-local-pay-row--warn { color: #9a6700; }
.web-rastreo-abonado-lbl {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.web-rastreo-pay-det-toggle {
	border: 1px solid #bfdbfe;
	background: #eff6ff;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .02em;
	color: #1d4ed8;
	cursor: pointer;
	line-height: 1.4;
}
.web-rastreo-pay-det-toggle:hover {
	background: #dbeafe;
	border-color: #93c5fd;
}
.web-rastreo-pay-det-toggle.is-open {
	background: #fff7ed;
	border-color: #fdba74;
	color: #c2410c;
}
.web-rastreo-pay-hist {
	margin: 2px 0 6px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e8eef7;
}
.web-rastreo-pay-hist[hidden] { display: none !important; }
.web-rastreo-pay-hist-title {
	margin: 0 0 8px;
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #94a3b8;
}
.web-rastreo-pay-hist-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.web-rastreo-pay-hist-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	padding: 6px 0;
	border-top: 1px dashed #eef2f7;
	font-size: .86rem;
	line-height: 1.35;
}
.web-rastreo-pay-hist-item:first-child { border-top: none; padding-top: 0; }
.web-rastreo-pay-hist-met { font-weight: 600; color: #334155; }
.web-rastreo-pay-hist-sep { color: #cbd5e1; font-weight: 600; }
.web-rastreo-pay-hist-fecha { font-size: .82rem; color: #64748b; }
.web-rastreo-pay-hist-monto {
	margin-left: auto;
	color: #0f172a;
	font-weight: 700;
	white-space: nowrap;
}
.web-rastreo-pay-hist-comp {
	border: none;
	background: transparent;
	padding: 0;
	font-size: .82rem;
	font-weight: 700;
	color: #2563eb;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.web-rastreo-pay-hist-comp:hover { color: #1d4ed8; }

/* Modal comprobante transferencia */
body.web-comp-modal-open { overflow: hidden; }
.web-comp-modal {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 23, 42, .55);
}
.web-comp-modal-panel {
	width: min(520px, 100%);
	max-height: min(90vh, 720px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
	overflow: hidden;
}
.web-comp-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid #eef2f7;
}
.web-comp-modal-title {
	margin: 0;
	font-size: .95rem;
	font-weight: 700;
	color: #0f172a;
}
.web-comp-modal-close {
	border: none;
	background: #f1f5f9;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	color: #475569;
}
.web-comp-modal-close:hover { background: #e2e8f0; }
.web-comp-modal-body {
	padding: 12px;
	overflow: auto;
	background: #f8fafc;
	flex: 1;
	min-height: 0;
}
.web-comp-modal-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 60vh;
	object-fit: contain;
	border-radius: 8px;
	background: #fff;
}
.web-comp-modal-foot {
	padding: 12px 14px 14px;
	border-top: 1px solid #eef2f7;
}
.web-comp-modal-open-tab {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	text-decoration: none !important;
	font-weight: 700;
}
.web-comp-modal-open-ico {
	font-size: 1.05rem;
	line-height: 1;
}
.web-rastreo-seller-card.is-flash {
	box-shadow: 0 0 0 2px rgba(52, 131, 250, .45);
	transition: box-shadow .3s ease;
}
.web-rastreo-pago-block { margin-top: 0; }
.web-rastreo-aside-wa { margin-top: 14px; }
.web-rastreo-aside-wa .web-rastreo-wa-btn { max-width: none !important; width: 100%; }
.web-rastreo-aside-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #eee;
}

/* Footer sticky móvil — ver cart-shell--rastreo arriba */

/* Badges */
.web-rastreo-badge {
	font-size: .72rem;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	background: #fff3cd;
	color: #856404;
}
.web-rastreo-badge--ok { background: #e6f7ef; color: #00a650; }
.web-rastreo-badge--st { background: #e8f4fd; color: #3483fa; }
.web-rastreo-badge--dev { background: #fee8ea; color: #f23d4f; }
.web-rastreo-badge--dev-orange { background: #ffedd5; color: #ea580c; font-weight: 600; }
.web-rastreo-paso-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 8px;
}
.web-rastreo-paso-bar--pedido { margin: 0 0 8px; }
.web-rastreo-paso-lbl {
	font-size: .85rem;
	font-weight: 600;
	color: #334155;
}
.web-rastreo-paso-lbl--dev { color: #ea580c; }
.web-rastreo-tl-toggle {
	border: 1px solid #cbd5e1;
	background: #fff;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: .78rem;
	font-weight: 600;
	color: #475569;
	cursor: pointer;
}
.web-rastreo-tl-toggle:hover { border-color: var(--sandy-brown, #c97b3a); color: #1a1a1a; }
.web-rastreo-item-tl[hidden],
.web-rastreo-timeline-wrap[hidden] { display: none !important; }
.web-rastreo-plazo {
	font-size: .75rem;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	display: inline-block;
}
.web-rastreo-plazo--prep {
	color: #475569;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
}
.web-rastreo-plazo--fecha {
	color: #1e40af;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
}

/* Resumen entrega dual track */
.web-rastreo-resumen {
	margin: 0;
	padding: 14px 16px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.web-rastreo-resumen-msg { font-size: .88rem; color: #334155; margin: 0 0 10px; line-height: 1.45; }
.web-rastreo-resumen-block { margin-top: 8px; font-size: .85rem; }
.web-rastreo-resumen-block--ok strong { color: #00a650; }
.web-rastreo-resumen-block--pend strong { color: #f73; }
.web-rastreo-resumen-list { margin: 6px 0 0; padding-left: 1.2em; color: #475569; line-height: 1.5; }
.web-rastreo-resumen-st { color: #64748b; font-size: .85em; }

/* Pago */
.web-rastreo-pago-section {
	margin: 0;
	padding: 14px 0 0;
	background: transparent;
	border: none;
	border-top: 1px solid #eee;
	border-radius: 0;
}
.web-rastreo-pago-hint { font-size: .82rem; color: rgba(0, 0, 0, .55); margin: 0 0 10px; line-height: 1.45; }
.web-rastreo-pago--ok,
.web-rastreo-pago--parcial,
.web-rastreo-pago--pend,
.web-rastreo-pago--vendedor {
	font-size: .88rem;
	font-weight: 500;
	padding: 10px 12px;
	border-radius: 6px;
	margin: 0 0 10px;
	line-height: 1.4;
}
.web-rastreo-pago--ok { background: #e6f7ef; color: #00a650; }
.web-rastreo-pago--parcial { background: #fff8e6; color: #9a6700; }
.web-rastreo-pago--vendedor { background: #f5f5f5; color: #555; border-left: 3px solid #bbb; }
.web-rastreo-pago--pend { background: #f5f5f5; color: rgba(0, 0, 0, .55); }
.web-rastreo-mp-lbl { display: block; font-size: .82rem; font-weight: 600; color: rgba(0, 0, 0, .75); margin: 0 0 6px; }
.web-rastreo-pago-opciones {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 12px;
}
.web-rastreo-pago-opcion {
	padding: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
}
.web-rastreo-pago-opcion.is-active {
	border-color: #93c5fd;
	background: #f8fbff;
	box-shadow: 0 0 0 1px rgba(59, 130, 246, .15);
}
.web-rastreo-pago-opcion--unica,
.web-rastreo-pago-opcion--pend { margin-bottom: 10px; }
.web-rastreo-pago-opcion-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 4px;
	font-size: .95rem;
}
.web-rastreo-pago-opcion-head span {
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
}
.web-rastreo-pago-opcion-hint {
	margin: 0 0 10px;
	font-size: .8rem;
	color: #64748b;
	line-height: 1.4;
}
.web-btn-pagar-mp-fijo { 
    width: 100%; 
    max-width: 300px;
    margin-top: 8px; /* Separación sutil del total */
}

/* En pantallas de PC, ajustamos al tamaño del texto */
@media (min-width: 768px) {
    .web-btn--mp,
    .web-btn-pagar-mp-fijo {
        width: auto;
        min-width: 220px;
    }
}
/* Cobros 1.b — lista seña por producto + checks */
.web-rastreo-sena-lista {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 14px;
}
.web-rastreo-sena-linea {
	padding: 10px 12px;
	border: 1px solid #eef2f7;
	border-radius: 8px;
	background: #fafbfc;
}
.web-rastreo-sena-linea-main {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: baseline;
	margin-bottom: 4px;
}
.web-rastreo-sena-linea-nom {
	font-size: .9rem;
	font-weight: 600;
	color: #1e293b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.web-rastreo-sena-linea-sub {
	font-size: .8rem;
	color: #94a3b8;
	white-space: nowrap;
}
.web-rastreo-sena-linea-meta {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: .82rem;
	color: #475569;
}
.web-rastreo-sena-linea-meta strong { color: #0f172a; }
.web-rastreo-pago-checks {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 12px;
}
.web-rastreo-pago-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}
.web-rastreo-pago-check.is-selected {
	border-color: #93c5fd;
	background: #f8fbff;
}
.web-rastreo-pago-check input {
	margin-top: 3px;
	flex: 0 0 auto;
	accent-color: #2563eb;
}
.web-rastreo-pago-check-body { flex: 1; min-width: 0; }
.web-rastreo-pago-check-top {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: baseline;
	font-size: .92rem;
}
.web-rastreo-pago-check-top em {
	font-style: normal;
	font-weight: 700;
	white-space: nowrap;
}
.web-rastreo-pago-check-hint {
	display: block;
	margin-top: 4px;
	font-size: .78rem;
	color: #64748b;
	line-height: 1.4;
}
.web-rastreo-mp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.web-rastreo-mp-input {
	flex: 1 1 140px;
	min-width: 120px;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 1rem;
}
.web-rastreo-mp-saldo { font-size: .82rem; color: rgba(0, 0, 0, .45); width: 100%; }
.web-rastreo-notas {
	margin: 12px 0 0;
	padding: 10px 12px;
	font-size: .82rem;
	color: rgba(0, 0, 0, .55);
	background: #f5f5f5;
	border-radius: 6px;
	border-left: 3px solid var(--sandy-brown, #c97b3a);
	line-height: 1.45;
}
.web-rastreo-notas span { font-weight: 600; color: rgba(0, 0, 0, .75); }
.web-rastreo-dev-monto,
.web-rastreo-dev-neto { font-size: .88rem; color: #7f1d1d; margin: 0 0 6px; }
.web-rastreo-dev-list {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
}
.web-rastreo-dev-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(127, 29, 29, .12);
	font-size: .88rem;
	color: #7f1d1d;
}
.web-rastreo-dev-item:last-child { border-bottom: none; }
.web-rastreo-dev-nombre { margin: 0; color: #7f1d1d; }
.web-rastreo-dev-montos {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	color: #991b1b;
}
.web-rastreo-dev-ret { color: #9a3412; }
.web-rastreo-dev-line { color: #991b1b; }
.web-rastreo-entrega-envio {
	margin: 6px 0 0;
	font-size: .9rem;
}
.web-rastreo-entrega-envio--hint { color: #64748b; }

/* Historial */
.web-rastreo-hist-list {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}
.web-rastreo-hist-summary {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.web-rastreo-hist-summary-txt {
	flex: 1;
	min-width: 0;
	font-size: .88rem;
	color: #334155;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.web-rastreo-hist-toggle {
	appearance: none;
	border: none;
	background: transparent;
	color: var(--deep-saffron, #e76f51);
	font-size: .8rem;
	font-weight: 700;
	cursor: pointer;
	padding: 4px 0;
	flex-shrink: 0;
}
.web-rastreo-hist-toggle:hover,
.web-rastreo-hist-toggle:focus-visible {
	text-decoration: underline;
	outline: none;
}
.web-rastreo-hist-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 6px 0;
	border-bottom: 1px solid #f1f5f9;
}
.web-rastreo-hist-item:last-child { border-bottom: none; padding-bottom: 0; }
.web-rastreo-hist-item--inline { align-items: center; }
.web-rastreo-hist-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
	margin-top: 6px;
	flex-shrink: 0;
}
.web-rastreo-hist-item--inline .web-rastreo-hist-dot { margin-top: 0; }
.web-rastreo-hist-dot--entregado { background: #00a650; }
.web-rastreo-hist-dot--activo,
.web-rastreo-hist-dot--preparacion,
.web-rastreo-hist-dot--despachado { background: var(--sandy-brown, #c97b3a); }
.web-rastreo-hist-dot--en_camino { background: #ea580c; }
.web-rastreo-hist-dot--cancelado,
.web-rastreo-hist-dot--devuelto { background: #f23d4f; }
.web-rastreo-hist-body { flex: 1; min-width: 0; }
.web-rastreo-hist-inline {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	font-size: .85rem;
	line-height: 1.35;
}
.web-rastreo-hist-inline time {
	color: #94a3b8;
	font-size: .8rem;
	white-space: nowrap;
}
.web-rastreo-hist-sep { color: #cbd5e1; }
.web-rastreo-hist-time { display: block; font-size: .75rem; color: #94a3b8; }
.web-rastreo-hist-lbl {
	font-size: .85rem;
	font-weight: 600;
	color: #334155;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
	flex: 1;
}
.web-rastreo-hist-nota { display: block; font-size: .8rem; color: #64748b; margin-top: 2px; }
@media (max-width: 420px) {
	.web-rastreo-hist-inline { flex-direction: column; align-items: flex-start; gap: 2px; }
	.web-rastreo-hist-sep { display: none; }
}

/* Links secundarios */
.web-rastreo-link-btn {
	display: block;
	text-align: center;
	padding: 10px 14px;
	border-radius: 6px;
	border: 1px solid #ddd;
	background: #fff;
	color: #3483fa;
	text-decoration: none;
	font-size: .88rem;
	font-weight: 500;
	transition: background .15s ease;
}
.web-rastreo-link-btn:hover { background: #f5f5f5; }

@media (max-width: 899px) {
	.web-rastreo-page { padding: 10px 12px 24px; }
	.web-rastreo-ml-row {
		grid-template-columns: 64px 1fr;
		padding: 14px 16px;
	}
	.web-rastreo-ml-price {
		grid-column: 2;
		text-align: left;
		font-size: 1rem;
		font-weight: 600;
		margin-top: 4px;
	}
	.web-rastreo-ml-thumb { width: 64px; height: 64px; }
	.web-rastreo-resumen-card { margin-top: 0; }
	/* ESCENARIO 1 (Compra Simple 100%): Ocultamos caja de pago central porque el Footer tiene el botón. */
	.layout-escenario-1 .web-rastreo-pago-section--fijo { display: none !important; }

	/* ESCENARIOS 2 y 3 (Seña / Mixto): Mantenemos opciones Y botones. Solo ocultamos el de escritorio. */
	.layout-escenario-2 .web-rastreo-aside #web-btn-pagar-mp,
	.layout-escenario-3 .web-rastreo-aside #web-btn-pagar-mp { display: none !important; }
	
	/* Precaución general: ocultar el botón MP duplicado del resumen lateral en móviles */
	.web-rastreo-layout.has-sticky-pay .web-rastreo-aside #web-btn-pagar-mp { display: none !important; }
}

@media (max-width: 480px) {
	.web-rastreo-hero-title { font-size: 1.1rem; }
	.web-rastreo-res-total strong { font-size: 1.3rem; }
}

/* Timeline dentro de rastreo */
.web-rastreo-page .ped-timeline__marker {
	width: 2.25rem;
	height: 2.25rem;
	font-size: .9rem;
}
.web-rastreo-page .ped-timeline__label { font-size: .85rem; }
.web-rastreo-page .ped-timeline__step--current .ped-timeline__marker {
	background: #3483fa;
	box-shadow: 0 0 0 3px rgba(52, 131, 250, .2);
}
.web-rastreo-page .ped-timeline__step--tone-devuelto.ped-timeline__step--current .ped-timeline__marker,
.ped-timeline__step--tone-devuelto.ped-timeline__step--current .ped-timeline__marker {
	background: #ea580c;
	box-shadow: 0 0 0 3px rgba(234, 88, 12, .25);
}
.web-rastreo-page .ped-timeline__step--tone-devuelto .ped-timeline__label { color: #c2410c; }
.web-rastreo-page .ped-timeline__step--done .ped-timeline__marker { background: #00a650; }
.web-rastreo-page .ped-timeline__connector--done { background: #00a650; }

.ped-timeline {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	width: 100%;
	gap: 0;
}
.ped-timeline--vertical {
	flex-direction: column;
	align-items: stretch;
}
.ped-timeline__step {
	flex: 1 1 0;
	min-width: 4.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
}
.ped-timeline--vertical .ped-timeline__step {
	flex-direction: row;
	align-items: flex-start;
	text-align: left;
	flex: 0 0 auto;
	gap: 12px;
}
.ped-timeline__marker {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .85rem;
	font-weight: 700;
	background: #e2e8f0;
	color: #64748b;
	flex-shrink: 0;
}
.ped-timeline__step--done .ped-timeline__marker { background: #2a9d8f; color: #fff; }
.ped-timeline__step--current .ped-timeline__marker { background: var(--deep-saffron, #e76f51); color: #fff; box-shadow: 0 0 0 3px rgba(231, 111, 81, .25); }
.ped-timeline__body { min-width: 0; }
.ped-timeline__label { display: block; font-size: .82rem; font-weight: 600; color: #334155; line-height: 1.25; }
.ped-timeline__step--current .ped-timeline__label { color: #0f172a; }
.ped-timeline__hint { display: block; font-size: .72rem; color: #64748b; margin-top: 2px; line-height: 1.3; }
.ped-timeline__connector {
	flex: 1 1 8px;
	height: 3px;
	background: #e2e8f0;
	margin-top: .95rem;
	min-width: 6px;
}
.ped-timeline__connector--done { background: #2a9d8f; }
.ped-timeline--vertical .ped-timeline__connector {
	width: 3px;
	height: 14px;
	flex: 0 0 auto;
	margin: 0 0 0 .95rem;
	align-self: flex-start;
}
.ped-timeline--compact .ped-timeline__hint { display: none; }
.ped-timeline--compact .ped-timeline__label { font-size: .78rem; }
.ped-timeline--mini {
	display: flex;
	gap: 6px;
	align-items: center;
	padding: 4px 0;
}
.ped-timeline__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
}
.ped-timeline__dot--done { background: #2a9d8f; }
.ped-timeline__dot--current { background: #e76f51; box-shadow: 0 0 0 2px rgba(231, 111, 81, .35); }
.ped-timeline--cancelado .ped-timeline__marker,
.ped-timeline--devuelto .ped-timeline__step--current .ped-timeline__marker { background: #c0392b; color: #fff; }
@media (max-width: 560px) {
	.ped-timeline:not(.ped-timeline--mini) { flex-direction: column; align-items: stretch; }
	.ped-timeline:not(.ped-timeline--mini) .ped-timeline__step { flex-direction: row; text-align: left; }
	.ped-timeline:not(.ped-timeline--mini) .ped-timeline__connector {
		width: 3px; height: 14px; margin: 0 0 0 .95rem; flex: 0 0 auto;
	}
}
.ped-timeline__fecha { display: block; font-size: .68rem; color: #94a3b8; margin-top: 2px; }

.web-btn--mp {
	background: #3483fa;
	color: #fff;
	border: none;
	display: inline-block;
	width: 100%;
	max-width: 300px; /* Tope máximo para que no se descontrole */
	padding: 12px 16px;
	border-radius: 6px;
	font-weight: 600;
	font-size: .95rem;
	cursor: pointer;
	text-align: center;
	box-sizing: border-box;
}
.web-btn--mp:hover { background: #2968c8; }
.web-btn--mp:disabled { opacity: .65; cursor: wait; }
.web-cobro-embed { display: none !important; }
.web-cobro-embed-frame { width: 100%; min-height: 280px; border: 0; border-radius: 10px; background: #fff; }
.web-abono-page { max-width: 640px; margin: 0 auto; padding: 8px 0 24px; }
.web-abono-msg { font-size: .95rem; color: #334155; margin: 0 0 12px; line-height: 1.45; }
.web-abono-msg--ok { color: #059669; font-weight: 600; }
.web-abono-msg--err { color: #b91c1c; }
.web-abono-periodo { font-size: .9rem; color: #475569; margin: 0 0 8px; }
.web-abono-monto { font-size: 1rem; margin: 0 0 14px; }

.web-checkout-ok-card {
	padding: 16px 18px; border-radius: 12px; border: 1px solid #eee; background: #fafafa;
}
.web-checkout-ok-card--mp { border-color: #b8d4f8; background: #f0f7ff; }
.web-checkout-ok-card--vendedor { border-color: #e8e4de; }
.web-checkout-ok-card .web-pago-badge { margin-bottom: 10px; }
.web-checkout-ok-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.web-checkout-ok-actions .web-btn--sm { flex: 1 1 auto; min-width: 120px; text-align: center; }

/* —— Pagos por comercio (MP vs vendedor) —— */
.web-pago-guide {
	padding: 14px 16px;
	border-radius: 10px;
	margin-bottom: 16px;
	font-size: .88rem;
	line-height: 1.45;
}
.web-pago-guide strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.web-pago-guide p { margin: 0; opacity: .9; }
.web-pago-guide--mixto { background: #fff8e6; border: 1px solid #ffe08a; color: #5c4a00; }
.web-pago-guide--mp { background: #eef6ff; border: 1px solid #b8d4f8; color: #0c3d7a; }
.web-pago-guide--vendedor { background: #f5f5f5; border: 1px solid #e0e0e0; color: #333; }

.web-pago-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .02em;
}
.web-pago-badge-icon { font-size: .85rem; line-height: 1; }
.web-pago-badge--mp {
	background: #e8f4fd;
	color: #3483fa;
	border: 1px solid #b8d4f8;
	padding-top: 3px;
	padding-bottom: 3px;
}
.web-pago-badge--vendedor { background: #f5f5f5; color: #555; border: 1px solid #ddd; }

.web-rastreo-pago-section--grupo {
	margin: 16px 0 8px;
	padding: 16px;
	border: 1px solid #c5ddf8;
	border-radius: 12px;
	background: linear-gradient(180deg, #f0f7ff 0%, #fff 70%);
}
.web-rastreo-mp-grupo-title {
	margin: 0 0 6px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0c3d7a;
}
.web-rastreo-mp-grupo-rows { margin: 10px 0; }
.web-rastreo-mp-grupo-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	font-size: .9rem;
	color: #444;
}
.web-rastreo-mp-grupo-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin: 8px 0 14px;
	padding-top: 10px;
	border-top: 1px solid #d7e6f8;
	font-size: .95rem;
	font-weight: 600;
}
.web-rastreo-pago--grupo { color: #3483fa; font-size: .88rem; }
.web-checkout-ok-mp-grupo {
	margin: 12px 0 16px;
	padding: 14px;
	border-radius: 10px;
	background: #f0f7ff;
	border: 1px solid #c5ddf8;
	text-align: center;
}
.web-checkout-ok-mp-grupo-txt {
	margin: 0 0 10px;
	font-size: .9rem;
	color: #0c3d7a;
}

.web-pago-bucket {
	margin-bottom: 20px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e8e4de;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.web-pago-bucket--mp { border-color: #c5ddf8; }
.web-pago-bucket--vendedor { border-color: #e0e0e0; }
.web-pago-bucket-head {
	padding: 14px 16px;
	background: #fafafa;
	border-bottom: 1px solid #eee;
}
.web-pago-bucket--mp .web-pago-bucket-head { background: linear-gradient(180deg, #f0f7ff 0%, #fafafa 100%); }
.web-pago-bucket--vendedor .web-pago-bucket-head { background: #fafafa; }
.web-pago-bucket-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #222;
}
.web-pago-bucket-sub { margin: 4px 0 0; font-size: .82rem; color: #666; }
.web-pago-bucket-body { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.web-pago-bucket-body .cart-group { margin: 0; box-shadow: none; }
.web-pago-bucket-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: #fafafa;
	border-top: 1px solid #eee;
	font-size: .92rem;
	font-weight: 600;
}
.web-pago-bucket--mp .web-pago-bucket-foot { color: #3483fa; }

.web-pago-grupo-head { align-items: flex-start !important; }
.web-pago-grupo-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.web-pago-grupo-idx {
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #888;
}
.web-pago-grupo-hint {
	margin: 0;
	font-size: .8rem;
	color: #666;
	line-height: 1.4;
}
.web-pago-grupo-foot {
	padding: 0 12px 12px;
}
.web-pago-grupo--mp { border-left: 3px solid #3483fa; }
.web-pago-grupo--vendedor { border-left: 3px solid #bbb; }

.web-pago-totals {
	margin-top: 4px;
	padding-top: 12px;
	border-top: 2px solid #eee;
}
.web-pago-totals--ok { margin: 0 0 16px; padding: 12px 14px; background: #fafafa; border-radius: 10px; border: 1px solid #eee; }
.web-pago-total-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 6px 0;
	font-size: .9rem;
	color: #555;
}
.web-pago-total-row strong { color: #222; font-size: 1rem; }
.web-pago-total-row--mp strong { color: #3483fa; }
.web-pago-total-row--vendedor strong { color: #555; }
.web-pago-total-row--general {
	margin-top: 6px;
	padding-top: 10px;
	border-top: 1px dashed #ddd;
	font-size: 1rem;
	font-weight: 700;
	color: #222;
}
.web-pago-total-row--general strong { font-size: 1.2rem; }

.web-pago-foot-steps {
	margin: 12px 0;
	padding: 12px;
	background: #f8fafc;
	border-radius: 8px;
	font-size: .82rem;
	color: #444;
	line-height: 1.45;
}
.web-pago-foot-steps ul { margin: 6px 0 0; padding-left: 1.2em; }
.web-pago-foot-steps li { margin: 4px 0; }

.web-pago-form-hint { font-size: .82rem; color: #666; margin: 0 0 8px; font-weight: 400; }
.web-pago-form-mp-note {
	font-size: .88rem;
	color: #0c3d7a;
	background: #eef6ff;
	padding: 10px 12px;
	border-radius: 8px;
	margin: 12px 0 0;
	line-height: 1.45;
}

.web-btn--sm { padding: 8px 14px; font-size: .85rem; max-width: none; width: auto; display: inline-block; }

.web-checkout-split-notice {
	font-size: .9rem; background: #fff8e6; border: 1px solid #f0d78c; border-radius: 8px;
	padding: 10px 14px; margin-bottom: 16px; color: #5c4a1a;
}
.web-checkout-grupo {
	margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px dashed #ddd;
}
.web-checkout-grupo:last-of-type { border-bottom: none; }
.web-checkout-grupo-title { font-size: .98rem; margin: 0 0 10px; color: #222; }
.web-checkout-grupo-total {
	display: flex; justify-content: space-between; font-size: .95rem; margin-top: 8px; color: #444;
}
.web-cart-total--general { margin-top: 12px; padding-top: 12px; border-top: 2px solid #eee; font-size: 1.2rem; }

.web-checkout-ok-page { max-width: 720px; margin: 0 auto; padding-bottom: 24px; }
.web-checkout-ok-head { text-align: center; margin-bottom: 20px; }
.web-checkout-ok-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%; background: #2a9d8f; color: #fff;
	font-size: 1.6rem; font-weight: 700; margin-bottom: 8px;
}
.web-checkout-ok-lead { color: #444; margin: 8px 0; }
.web-checkout-ok-general { font-size: 1.05rem; margin-top: 8px; }
.web-checkout-ok-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.web-checkout-ok-card {
	background: #fafafa; border: 1px solid #eee; border-radius: 12px; padding: 14px 16px;
}
.web-checkout-ok-total { margin: 8px 0 12px; font-size: .95rem; }
.web-checkout-ok-code { font-size: 1.05rem; letter-spacing: .04em; }
.web-checkout-ok-hint {
	margin: 0 0 10px;
	padding: 10px 12px;
	font-size: .88rem;
	line-height: 1.45;
	color: #444;
	background: #f5f5f5;
	border-radius: 8px;
}
.web-checkout-ok-hint--warn {
	background: #fff8e6;
	border-left: 3px solid #e6a817;
}
.web-checkout-ok-hint--mail {
	background: #eefbf6;
	border-left: 3px solid #2a9d8f;
}
.web-btn--outline {
	background: #fff;
	color: #333;
	border: 1px solid #ccc;
}
.web-btn--outline:hover { border-color: var(--sandy-brown, #e67e22); }
.web-btn--sm { font-size: .85rem; padding: 8px 14px; display: inline-block; margin-right: 6px; margin-top: 4px; }
.web-rastreo-contacto-line { margin: 6px 0; font-size: .9rem; }
.web-rastreo-contacto-line span { color: #666; margin-right: 6px; }
.web-rastreo-contacto-hint { margin: 10px 0 0; font-size: .84rem; color: #555; line-height: 1.45; }
.web-rastreo-mixto-hint { margin: 0; font-size: .88rem; line-height: 1.45; }
.web-rastreo-panel--contacto { background: #f8fafc; border-color: #e2e8f0; }
.web-rastreo-seller-card--grupo { margin-bottom: 14px; }
.web-rastreo-badge--ext { background: #fff3e6; color: #9a5b00; font-size: .72rem; margin-left: 8px; }
.web-rastreo-badge--operador {
	background: #f3efff;
	color: #5b3ea6;
	font-size: .72rem;
}
.web-rastreo-badge--admin {
	background: #eef4ff;
	color: #1e4a8a;
	font-size: .72rem;
	margin-left: 8px;
	white-space: nowrap;
}
.web-rastreo-panel--comercios-ok { margin-bottom: 16px; }
.web-pago-totals--rastreo { margin: 0 0 14px; }
.web-rastreo-copy-code {
	margin-left: 8px;
	font-size: .78rem;
	padding: 4px 10px;
	vertical-align: middle;
}
.web-rastreo-hero-meta { flex-wrap: wrap; }

/* P4 — Mis compras · P5 — Checkout 2 pasos */
.web-checkout-step-badge {
	margin: 0 0 14px;
	font-size: .85rem;
	color: #555;
}
.web-checkout-pago-page .web-checkout-pago--step2 {
	margin: 10px 0;
	padding: 10px;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	background: #fafafa;
}
.web-mis-compras-page { max-width: 640px; margin: 0 auto; padding: 8px 0 24px; }
.web-mis-compras-hint { font-size: .88rem; color: #666; margin: 0 0 16px; line-height: 1.45; }
.web-mis-compras-grupo {
	margin-bottom: 18px;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.web-mis-compras-grupo-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	padding: 12px 14px;
	background: #f8fafc;
	border-bottom: 1px solid #eee;
}
.web-mis-compras-grupo-title { margin: 0; font-size: 1rem; font-weight: 600; }
.web-mis-compras-fecha { font-size: .78rem; color: #888; }
.web-mis-compras-pedidos { display: flex; flex-direction: column; }
.web-mis-compras-card {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	gap: 4px 12px;
	padding: 12px 14px;
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid #f0f0f0;
}
.web-mis-compras-card:last-child { border-bottom: none; }
.web-mis-compras-card:hover { background: #f9fbff; }
.web-mis-compras-local { font-weight: 500; }
.web-mis-compras-total { font-weight: 600; text-align: right; }
.web-mis-compras-link { grid-column: 1 / -1; font-size: .82rem; color: #3483fa; }
.web-mis-compras-estado { grid-column: 1 / -1; font-size: .78rem; color: #666; }
.web-rastreo-panel--entrega { background: #f8fafc; }
.web-rastreo-entrega-modo { margin: 0 0 6px; }
.web-rastreo-entrega-dir { margin: 0; font-size: .9rem; }
.web-rastreo-entrega-alias { margin: 4px 0 0; font-size: .84rem; color: #666; }

.web-rastreo-comprobantes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.web-rastreo-pago-hint--sena { background: #f3efff; padding: 8px 10px; border-radius: 8px; }

.web-cart-hist {
	margin: 24px 0 8px;
	padding: 16px;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fafbfc;
}
.web-cart-hist-heading { margin: 0 0 6px; font-size: 1rem; }
.web-cart-hist-note { margin: 0 0 12px; font-size: .84rem; color: #555; line-height: 1.45; }
.web-cart-hist-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.web-cart-hist-item {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
}
.web-cart-hist-item:hover { border-color: #c5d8f7; background: #f9fbff; }
.web-cart-hist-title { font-weight: 500; font-size: .9rem; }
.web-cart-hist-date { font-size: .78rem; color: #888; white-space: nowrap; }
.web-cart-hist-empty { margin: 0; font-size: .88rem; color: #666; }
.web-cart-hist-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.web-cart-page--empty .web-cart-hist { max-width: 640px; margin-left: auto; margin-right: auto; }

/* —— Cuenta comprador v1 (email) —— */
/* Header: menú cuenta (derecha, antes de Contacto) */
.web-cuenta-nav-li { position: relative; list-style: none; }
.web-cuenta-menu { position: relative; }
.web-cuenta-menu-trigger {
	display: inline-flex; align-items: center; gap: 8px; max-width: 200px;
	padding: 4px 8px 4px 4px; border: 1px solid transparent; border-radius: 999px;
	background: transparent; cursor: pointer; font: inherit; color: var(--onyx, #1a1a1a);
}
.web-cuenta-menu-trigger:hover,
.web-cuenta-menu.is-open .web-cuenta-menu-trigger {
	background: rgba(0, 0, 0, .04); border-color: #e2e8f0;
}
.web-cuenta-menu-ava {
	width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
	display: grid; place-items: center; background: #e2e8f0;
	font-size: .8rem; font-weight: 700; color: #475569; overflow: hidden;
}
.web-cuenta-menu-ava.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.web-cuenta-menu-name {
	font-size: .88rem; font-weight: 600; white-space: nowrap;
	overflow: hidden; text-overflow: ellipsis; max-width: 120px;
}
.web-cuenta-menu-chev {
	display: inline-flex; color: #64748b; transition: transform .15s ease;
}
.web-cuenta-menu-drop {
	/* top:100% + padding-top = puente hover (sin hueco muerto bajo el nombre) */
	position: absolute; top: 100%; right: 0; z-index: 80;
	min-width: 200px; padding: 8px 0 0;
	background: transparent; border: none; box-shadow: none;
	display: none; flex-direction: column;
	pointer-events: none;
}
.web-cuenta-menu-drop-panel {
	display: flex; flex-direction: column; gap: 2px;
	padding: 6px; border-radius: 10px;
	background: #fff; border: 1px solid #e2e8f0;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
}
/* Hover / focus / is-open (delay JS al salir) */
@media (min-width: 1024px) {
	.web-cuenta-menu:hover .web-cuenta-menu-drop,
	.web-cuenta-menu.is-open .web-cuenta-menu-drop,
	.web-cuenta-menu:focus-within .web-cuenta-menu-drop {
		display: flex;
		pointer-events: auto;
	}
	.web-cuenta-menu:hover .web-cuenta-menu-chev,
	.web-cuenta-menu.is-open .web-cuenta-menu-chev,
	.web-cuenta-menu:focus-within .web-cuenta-menu-chev {
		transform: rotate(180deg);
	}
}
.web-cuenta-menu-item {
	display: block; width: 100%; text-align: left; padding: 10px 12px;
	border: 0; border-radius: 8px; background: transparent; cursor: pointer;
	font: inherit; font-size: .9rem; font-weight: 600; color: #334155;
	text-decoration: none;
}
.web-cuenta-menu-item:hover { background: #f8fafc; color: #1a1a1a; }
.web-cuenta-menu-item--danger { color: #b91c1c; border-top: 1px solid #f1f5f9; margin-top: 4px; border-radius: 0 0 8px 8px; }
/* Chip avatar en header-tools (móvil / <1024px; en desktop usa el menú de la nav) */
.web-cuenta-header-chip {
	display: none; align-items: center; justify-content: flex-start; gap: 8px;
	padding: 4px 8px 4px 4px; line-height: 1.2; text-decoration: none;
	border-radius: 999px; color: var(--onyx, #1a1a1a);
}
.web-cuenta-header-chip .web-cuenta-menu-ava { width: 32px; height: 32px; }
.web-cuenta-header-chip-name {
	font-size: .86rem; font-weight: 600; max-width: 96px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 1023px) {
	.web-cuenta-header-chip:not([hidden]) { display: inline-flex; }
}
@media (max-width: 420px) {
	.web-cuenta-header-chip-name { max-width: 72px; }
}

.web-cuenta-forgot {
	display: block;
	width: 100%;
	align-self: stretch;
	margin: -2px 0 8px;
	padding: 0;
	border: 0;
	background: none;
	color: #2563eb;
	font-size: .88rem;
	font-weight: 500;
	text-decoration: underline;
	cursor: pointer;
	text-align: right;
}
.web-cuenta-forgot:hover { color: #1d4ed8; }
.web-cuenta-form-row2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
@media (max-width: 520px) {
	.web-cuenta-form-row2 { grid-template-columns: 1fr; }
}
.web-cuenta-reset-paso { margin-top: 4px; }
.web-cuenta-reset-email {
	margin: 0 0 12px;
	font-size: .92rem;
	color: #334155;
	line-height: 1.4;
}
.web-cuenta-reset-reenviar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 4px;
	padding: 10px 14px;
	width: 100%;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	color: #2563eb;
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}
.web-cuenta-reset-reenviar:hover:not(:disabled) {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1d4ed8;
}
.web-cuenta-reset-reenviar:disabled {
	opacity: .55;
	cursor: wait;
}
.web-cuenta-pending-icon {
	font-size: 2.4rem; line-height: 1; text-align: center; margin: 8px 0 12px;
}
.web-cuenta-pending-back { margin-top: 8px; }
.web-cuenta-busy {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
	font-size: .92rem;
	font-weight: 600;
	line-height: 1.35;
}
.web-cuenta-busy[hidden] { display: none !important; }
.web-cuenta-busy-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #2563eb;
	flex-shrink: 0;
	animation: web-cuenta-pulse 1s ease-in-out infinite;
}
@keyframes web-cuenta-pulse {
	0%, 100% { opacity: .35; transform: scale(.85); }
	50% { opacity: 1; transform: scale(1); }
}
.web-cuenta-linkish {
	border: 0;
	background: none;
	padding: 0;
	color: var(--sandy-brown, #c97b3a);
	font: inherit;
	font-size: .88rem;
	cursor: pointer;
	text-decoration: underline;
}
.web-cuenta-filtros {
	display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px;
}
.web-cuenta-filtro {
	border: 1px solid #e2e8f0; background: #fff; padding: 6px 12px; border-radius: 8px;
	font-size: .8rem; font-weight: 600; color: #64748b; cursor: pointer;
}
.web-cuenta-filtro.is-active {
	border-color: var(--sandy-brown, #c97b3a); background: #fff7ed; color: #9a3412;
}
.web-cuenta-form--grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.web-cuenta-form--grid .web-cuenta-form-span { grid-column: 1 / -1; }
@media (max-width: 640px) {
	.web-cuenta-form--grid { grid-template-columns: 1fr; }
}
.web-cuenta-pedido-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.web-cuenta-red-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.web-cuenta-red {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc;
}
.web-cuenta-historia-grid { margin-top: 4px; }
.web-cuenta-hist-list { margin-top: 8px; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; background: #fff; }
.web-cuenta-hist-card {
	display: flex; align-items: center; gap: 12px; padding: 12px;
	text-decoration: none; color: inherit; border-bottom: 1px solid #f1f5f9;
	transition: background .15s ease;
}
.web-cuenta-hist-card:last-child { border-bottom: 0; }
.web-cuenta-hist-card:hover { background: #f8fafc; }
.web-cuenta-hist-price-row {
	display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
	margin-top: 4px; width: 100%;
}
.web-cuenta-hist-price { font-size: .95rem; font-weight: 700; color: #1a1a1a; min-width: 0; }
.web-cuenta-hist-price .ml-price-row {
	display: inline-flex; align-items: baseline; justify-content: flex-start; gap: 8px;
}
.web-cuenta-hist-price .ml-price {
	font-size: 1rem; font-weight: 700; flex: 0 0 auto;
}
.web-cuenta-hist-price .ml-discount {
	font-size: .82rem; color: #00a650; font-weight: 700; white-space: nowrap;
}
.web-cuenta-hist-price .ml-price-list-row { margin-bottom: 0; min-height: 0; }
.web-cuenta-hist-price .ml-price-list { font-size: .78rem; }
.web-cuenta-hist-ultimo {
	flex-shrink: 0; font-size: .78rem; font-weight: 800; color: #00a650;
	letter-spacing: .02em; text-transform: uppercase;
}

.web-cuenta-wrap,
.web-cuenta-hub { max-width: 960px; margin: 24px auto 48px; padding: 0 16px; overflow: visible; }
.web-cuenta-layout { display: flex; flex-direction: column; gap: 0; overflow: visible; }
.web-cuenta-aside { margin-bottom: 8px; }
.web-cuenta-main { min-width: 0; }
.web-cuenta-nav-btn--salir { color: #b91c1c; }
.web-cuenta-head { margin-bottom: 20px; }
.web-cuenta-title { margin: 0 0 8px; font-size: 1.55rem; font-weight: 700; color: #1a1a1a; }
.web-cuenta-lead { margin: 0; color: #64748b; font-size: .95rem; line-height: 1.45; }
.web-cuenta-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.web-cuenta-tab {
	flex: 1; padding: 10px 12px; border: 1px solid #e2e8f0; background: #f8fafc;
	border-radius: 8px; cursor: pointer; font-weight: 600; color: #475569;
}
.web-cuenta-tab.is-active { background: #fff; border-color: var(--sandy-brown, #c97b3a); color: #1a1a1a; }
.web-cuenta-form { display: flex; flex-direction: column; gap: 12px; }
.web-cuenta-lbl { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: #334155; }
.web-cuenta-lbl input,
.web-cuenta-lbl textarea {
	padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; font-weight: 400;
}
.web-cuenta-opt { font-weight: 400; color: #94a3b8; }
.web-cuenta-check {
	display: flex; align-items: center; gap: 8px; font-size: .9rem; color: #334155; font-weight: 500;
}
.web-cuenta-sub { margin: 0 0 8px; font-size: 1.1rem; }
.web-cuenta-sub--inline {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px;
	font-weight: 700;
}
.web-cuenta-hint-inline {
	font-size: .88rem; font-weight: 400; color: #64748b; line-height: 1.35;
}
.web-cuenta-hint { margin: 0 0 12px; font-size: .88rem; color: #64748b; }
.web-cuenta-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; font-size: .9rem; }
.web-cuenta-msg.is-ok { background: #ecfdf5; color: #065f46; }
.web-cuenta-msg.is-err { background: #fef2f2; color: #991b1b; }
.web-cuenta-foot { margin: 20px 0 0; font-size: .88rem; color: #64748b; }
.web-cuenta-foot a { color: var(--sandy-brown, #c97b3a); }
.web-cuenta-card {
	background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 18px; margin-bottom: 16px;
}
.web-cuenta-wa-soon { margin: 0; font-size: .85rem; color: #94a3b8; }
.web-cuenta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.web-cuenta-compras-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.web-cuenta-compra {
	border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; background: #f8fafc;
}
.web-cuenta-pedido {
	border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; margin-top: 10px; background: #fff;
}
.web-cuenta-pedido:first-of-type { margin-top: 8px; }
.web-cuenta-pedido-top {
	display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap;
}
.web-cuenta-pedido-id {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0;
}
.web-cuenta-entrega-badge {
	display: inline-block; padding: 2px 8px; border-radius: 4px;
	background: #f1f5f9; color: #475569; font-size: .72rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .03em;
}
.web-cuenta-ml-sena {
	margin: 2px 0 0; font-size: .78rem; font-weight: 600; color: #c2410c;
}
a.web-cuenta-ml-title-link {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden; text-decoration: none; color: inherit; font-weight: 600;
}
a.web-cuenta-ml-title-link:hover { color: var(--sandy-brown, #c97b3a); text-decoration: underline; }
.web-cuenta-foot-sena-row {
	display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap;
	gap: 8px 12px; width: 100%; font-size: .88rem;
}
.web-cuenta-foot-sena-lbl {
	color: #9a3412; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.web-cuenta-foot-sena-v { color: #c2410c; font-weight: 800; }
.web-cuenta-sena-detalle-btn {
	border: 0; background: none; padding: 0; margin: 0;
	color: #2563eb; font: inherit; font-size: .78rem; font-weight: 700;
	text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.web-cuenta-sena-detalle-btn:hover,
.web-cuenta-sena-detalle-btn.is-open { color: #1d4ed8; }
.web-cuenta-sena-detalle {
	width: 100%; margin-top: 2px; padding: 12px 14px;
	border: 1px solid #fde68a; border-radius: 8px; background: #fffbeb;
	box-sizing: border-box;
}
.web-cuenta-sena-detalle-lead {
	margin: 0 0 8px; font-size: .82rem; color: #92400e; line-height: 1.4;
}
.web-cuenta-sena-monto { margin: 4px 0 0; font-size: .86rem; color: #78350f; }
.web-cuenta-sena-list {
	list-style: none; margin: 6px 0 0; padding: 0;
	display: flex; flex-direction: column; gap: 4px;
}
.web-cuenta-sena-list li {
	display: flex; justify-content: space-between; gap: 10px;
	font-size: .82rem; color: #78350f;
}
.web-cuenta-sena-list li span {
	min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.web-cuenta-sena-list li strong { flex-shrink: 0; color: #9a3412; }
.web-cuenta-sena-sugerido {
	display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
	margin-top: 10px; padding-top: 8px; border-top: 1px dashed #fbbf24;
	font-size: .86rem; color: #78350f;
}
.web-cuenta-sena-sugerido span { font-weight: 700; text-align: left; }
.web-cuenta-sena-sugerido strong { font-weight: 800; color: #9a3412; }
.web-cuenta-ml-list {
	margin-top: 10px; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; background: #fff;
}
.web-cuenta-ml-list .web-rastreo-ml-row { padding: 10px 12px; }
.web-cuenta-pedido-foot {
	margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef2f7;
	display: flex; flex-direction: column; align-items: stretch; gap: 8px;
}
.web-cuenta-foot-total,
.web-cuenta-foot-pago {
	width: 100%;
	display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.web-cuenta-foot-total {
	flex-direction: row; justify-content: flex-end; align-items: baseline; gap: 12px;
}
.web-cuenta-foot-k { font-size: .82rem; color: #64748b; font-weight: 600; }
.web-cuenta-foot-v { font-size: 1.12rem; font-weight: 800; color: #0f172a; letter-spacing: -.01em; }
.web-cuenta-foot-paid-cluster {
	display: inline-flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-end;
	gap: 6px 8px; font-size: .88rem;
}
.web-cuenta-foot-row {
	display: flex; justify-content: flex-end; align-items: center; gap: 12px;
	font-size: .88rem; width: 100%; max-width: 320px;
}
.web-cuenta-foot-row--saldo { margin-top: 2px; }
.web-cuenta-foot-abonado-lbl { color: #334155; font-weight: 600; }
.web-cuenta-foot-abonado-v { color: #00a650; font-weight: 700; }
.web-cuenta-foot-pagado {
	color: #00a650; font-weight: 800; letter-spacing: .02em; font-size: .86rem;
}
.web-cuenta-foot-saldo { color: #c2410c; font-weight: 800; }
.web-cuenta-foot-reemb { color: #64748b; font-weight: 600; }
.web-cuenta-pay-detalle {
	border: 0; background: none; padding: 0; margin: 0;
	color: #2563eb; font: inherit; font-size: .78rem; font-weight: 600;
	text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.web-cuenta-pay-detalle:hover,
.web-cuenta-pay-detalle.is-open { color: #1d4ed8; }
.web-cuenta-pay-hist {
	width: 100%; max-width: none; margin-top: 4px; padding: 12px 14px;
	border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc;
	box-sizing: border-box;
}
.web-cuenta-pay-hist-title {
	margin: 0 0 8px; font-size: .75rem; font-weight: 700; color: #64748b;
	text-transform: uppercase; letter-spacing: .04em;
}
.web-cuenta-pay-hist-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.web-cuenta-pay-hist-item {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	font-size: .82rem; color: #334155;
}
.web-cuenta-pay-hist-met { font-weight: 600; }
.web-cuenta-pay-hist-item time { color: #94a3b8; }
.web-cuenta-pay-hist-item strong { margin-left: auto; font-weight: 700; color: #0f172a; }
.web-cuenta-pay-hist-item strong.is-reemb { color: #64748b; }
.web-cuenta-pay-hist-comp {
	border: 0; background: none; padding: 0; margin: 0;
	color: #2563eb; font: inherit; font-size: inherit; font-weight: 600;
	text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.web-cuenta-pay-hist-comp:hover { color: #1d4ed8; }
.web-cuenta-pay-hist-empty { margin: 0; font-size: .82rem; color: #94a3b8; }
.web-cuenta-pedido-cta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.web-cuenta-email-wrap { position: relative; display: block; }
.web-cuenta-email-wrap input { width: 100%; padding-right: 6.5rem; box-sizing: border-box; }
.web-cuenta-email-ok {
	position: absolute; right: 10px; bottom: 10px;
	font-size: .78rem; font-weight: 700; color: #00a650; line-height: 1;
	pointer-events: none; white-space: nowrap;
}
.web-cuenta-tel-ok {
	position: absolute; right: 10px; bottom: 10px;
	font-size: .72rem; font-weight: 700; color: #047857; line-height: 1;
	pointer-events: none; white-space: nowrap;
}
.web-cuenta-email-wrap input.has-tel-ok,
.web-cuenta-email-wrap input:disabled { padding-right: 9.5rem; }
.web-cuenta-hint--estricta {
	margin: 0 0 8px; padding: 10px 12px; border-radius: 8px;
	background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa;
}
.web-cuenta-avatar-pick { display: inline-flex; cursor: pointer; margin: 0; }
.web-rastreo-status-pill--sm { max-width: 100%; white-space: normal; text-align: right; line-height: 1.25; }
.web-cuenta-pag {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
	margin: 16px 0 4px;
}
.web-cuenta-pag-info { font-size: .85rem; color: #64748b; margin: 0 6px; }
.web-cuenta-pag-btn {
	border: 1px solid #e2e8f0; background: #fff; padding: 6px 12px; border-radius: 8px;
	cursor: pointer; font-size: .85rem; font-weight: 600; color: #334155;
}
.web-cuenta-pag-btn:hover:not(:disabled) { border-color: #cbd5e1; background: #f8fafc; }
.web-cuenta-pag-btn:disabled { opacity: .45; cursor: default; }
.web-cuenta-pag-btn.is-active {
	border-color: var(--sandy-brown, #c97b3a); background: #fff7ed; color: #9a3412;
}
.web-cuenta-compra-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: .85rem; }
.web-cuenta-compra-local { font-weight: 600; color: #1a1a1a; }
.web-cuenta-compra-saldo {
	margin: 0 0 6px; font-size: .82rem; color: #c2410c; font-weight: 600;
}
.web-cuenta-meta { color: #64748b; font-size: .8rem; font-weight: 400; }
.web-cuenta-st { color: #475569; font-size: .8rem; }
.web-cuenta-link { color: var(--sandy-brown, #c97b3a); font-weight: 600; text-decoration: none; white-space: nowrap; }
.web-cuenta-empty { margin: 0; font-size: .9rem; color: #64748b; line-height: 1.45; }

.web-cuenta-welcome {
	margin: 0 0 16px; padding: 12px 14px; border-radius: 10px;
	background: linear-gradient(135deg, #f0fdf4, #ecfdf5); color: #065f46; font-size: .92rem; line-height: 1.4;
}
.web-cuenta-hub-head {
	display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.web-cuenta-avatar {
	width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
	background: #e2e8f0; display: grid; place-items: center;
}
.web-cuenta-avatar--lg { width: 88px; height: 88px; }
.web-cuenta-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.web-cuenta-avatar-img--lg { width: 100%; height: 100%; object-fit: cover; }
.web-cuenta-avatar-ini {
	font-size: 1.5rem; font-weight: 700; color: #475569;
}
.web-cuenta-avatar-ini--lg { font-size: 2rem; }
.web-cuenta-avatar-row {
	display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin-bottom: 8px;
}
.web-cuenta-nav {
	display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
	border-bottom: 1px solid #e2e8f0; padding-bottom: 10px;
}
.web-cuenta-nav-btn {
	border: 0; background: transparent; padding: 8px 12px; border-radius: 8px;
	font-weight: 600; font-size: .88rem; color: #64748b; cursor: pointer;
}
.web-cuenta-nav-btn.is-active {
	background: #fff7ed; color: #9a3412;
}
.web-cuenta-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px;
}
.web-cuenta-stat {
	display: flex; align-items: center; justify-content: center;
	padding: 12px 10px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc;
	text-decoration: none; color: inherit; cursor: pointer; font: inherit; text-align: center;
}
.web-cuenta-stat strong {
	font-size: .92rem; font-weight: 700; color: #1a1a1a; line-height: 1.25;
	white-space: nowrap;
}
.web-cuenta-todo { margin: 0; padding-left: 1.1rem; color: #64748b; font-size: .88rem; line-height: 1.5; }
.web-cuenta-recent {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center;
	padding: 10px 0; border-top: 1px solid #e2e8f0; text-decoration: none; color: inherit; font-size: .9rem;
}
.web-cuenta-recent:first-of-type { border-top: 0; }
.web-cuenta-recent-right {
	display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px;
	flex-wrap: wrap;
}
.web-cuenta-recent-pay {
	display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
	text-align: right; min-width: 5.5rem;
}
.web-cuenta-recent-total { font-weight: 800; color: #0f172a; font-size: .95rem; }
.web-cuenta-recent-abonado { font-size: .78rem; font-weight: 700; color: #00a650; }
.web-cuenta-recent-saldo { font-size: .78rem; font-weight: 700; color: #c2410c; }
.web-cuenta-recent-pagado { font-size: .78rem; font-weight: 800; color: #00a650; letter-spacing: .02em; }

/* Mis presupuestos (mueblería) */
.web-cuenta-pres-list {
	display: flex; flex-direction: column; gap: 10px; margin-top: 4px;
}
.web-cuenta-pres-card {
	display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px 14px; align-items: start;
	padding: 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff;
	text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
.web-cuenta-pres-card:hover {
	border-color: #cbd5e1; box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
}
.web-cuenta-pres-card.is-disabled { opacity: .72; cursor: default; }
.web-cuenta-pres-thumb {
	width: 88px; height: 88px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
	background: #f1f5f9; display: grid; place-items: center; border: 1px solid #eef2f7;
	align-self: stretch; min-height: 88px;
}
.web-cuenta-pres-thumb-img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.web-cuenta-pres-thumb-ph {
	width: 28px; height: 28px; border-radius: 6px; background: #e2e8f0;
}
.web-cuenta-pres-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.web-cuenta-pres-row {
	display: flex; align-items: baseline; justify-content: space-between; gap: 10px 14px;
}
.web-cuenta-pres-row--head { align-items: flex-start; }
.web-cuenta-pres-title {
	margin: 0; flex: 1; min-width: 0; font-size: .95rem; font-weight: 700; color: #0f172a; line-height: 1.35;
}
.web-cuenta-pres-estado { font-weight: 600; font-size: .88rem; }
.web-cuenta-pres-estado--prep { color: #9a3412; }
.web-cuenta-pres-estado--enviado { color: #1d4ed8; }
.web-cuenta-pres-estado--aceptado { color: #047857; }
.web-cuenta-pres-estado--rechazado { color: #b91c1c; }
.web-cuenta-pres-estado--produccion { color: #b45309; }
.web-cuenta-pres-estado--terminado { color: #6d28d9; }
.web-cuenta-pres-estado--entregado { color: #047857; }
.web-cuenta-pres-estado--entregado-deuda { color: #c2410c; }
.web-cuenta-pres-estado--pagado { color: #047857; }
.web-cuenta-pres-estado--replanteo { color: #c2410c; }
.web-cuenta-pres-cta {
	flex-shrink: 0; font-size: .82rem; font-weight: 700; color: #2563eb; white-space: nowrap;
	padding-top: 1px;
}
.web-cuenta-pres-card:hover .web-cuenta-pres-cta { color: #1d4ed8; text-decoration: underline; }
.web-cuenta-pres-local {
	margin: 0; flex: 1; min-width: 0; font-size: .82rem; color: #64748b; line-height: 1.35;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.web-cuenta-pres-pay {
	display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
	flex-shrink: 0;
}
.web-cuenta-pres-pay-inline {
	font-size: .86rem; font-weight: 700; white-space: nowrap; text-align: right; line-height: 1.35;
}
.web-cuenta-pres-pay-inline--abonado { color: #00a650; }
.web-cuenta-pres-pay-inline--saldo { color: #c2410c; }
.web-cuenta-pres-pay-inline--pagado { color: #047857; }
.web-cuenta-pres-pay-inline--total { color: #0f172a; font-weight: 800; font-size: .95rem; }
@media (max-width: 640px) {
	.web-cuenta-pres-card {
		grid-template-columns: 72px minmax(0, 1fr); gap: 10px;
	}
	.web-cuenta-pres-thumb { width: 72px; height: 72px; min-height: 72px; }
	.web-cuenta-pres-row--local { flex-wrap: wrap; }
}

.web-cuenta-dir-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.web-cuenta-dir {
	display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	padding: 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc;
}
.web-cuenta-dir-body { flex: 1; min-width: 180px; }
.web-cuenta-dir-body p { margin: 4px 0 0; font-size: .9rem; color: #334155; }
.web-cuenta-dir-actions { display: flex; gap: 6px; align-items: flex-start; }
.web-cuenta-badge {
	display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px;
	background: #fff7ed; color: #9a3412; font-size: .72rem; font-weight: 600;
}
@media (max-width: 640px) {
	.web-cuenta-stats { grid-template-columns: repeat(2, 1fr); }
	.web-cuenta-stat strong { white-space: normal; font-size: .88rem; }
	.web-cuenta-recent { grid-template-columns: 1fr; }
	.web-cuenta-recent-right { justify-content: flex-start; }
	.web-cuenta-recent-pay { align-items: flex-start; }
	.web-cuenta-pedido-top { flex-direction: column; align-items: stretch; }
}

/* Desktop: menú lateral izq + contenido der */
@media (min-width: 900px) {
	.web-cuenta-layout {
		display: grid;
		grid-template-columns: 210px minmax(0, 1fr);
		gap: 24px;
		align-items: start;
	}
	/* Header NO es fixed: al scrollear debe pegarse arriba del viewport (sin hueco de --web-header-h). */
	.web-cuenta-aside {
		margin-bottom: 0;
		position: sticky;
		top: 12px;
		align-self: start;
		z-index: 2;
		max-height: calc(100vh - 24px);
		overflow-y: auto;
	}
	.web-cuenta-nav {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 4px;
		margin-bottom: 0;
		padding: 10px;
		border-bottom: 0;
		border: 1px solid #e2e8f0;
		border-radius: 12px;
		background: #fff;
	}
	.web-cuenta-nav-btn {
		width: 100%;
		text-align: left;
		padding: 10px 12px;
	}
	.web-cuenta-nav-btn.is-active {
		background: #fff7ed;
		color: #9a3412;
	}
	.web-cuenta-actions--foot { margin-top: 4px; }
}


/* ===== ML-style cart (#/carrito) ===== */
.ml-cart-toolbar {
	display: flex;
	align-items: center;
	margin: 0 0 12px;
	padding: 4px 2px;
}
.ml-cart-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	user-select: none;
	font-size: .92rem;
	color: #333;
}
.ml-cart-check input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.ml-cart-check-box {
	width: 18px;
	height: 18px;
	border: 2px solid #999;
	border-radius: 3px;
	display: inline-block;
	flex-shrink: 0;
	background: #fff;
	position: relative;
}
.ml-cart-check input:checked + .ml-cart-check-box {
	background: #3483fa;
	border-color: #3483fa;
}
.ml-cart-check input:checked + .ml-cart-check-box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 4px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.ml-cart-check--all { font-weight: 600; }

.ml-cart-seller {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 6px;
	margin-bottom: 14px;
	overflow: visible;
	transition: opacity .2s ease;
}
.ml-cart-seller.is-deselected { opacity: .55; }
.ml-cart-seller--invalid { border-color: #f0d78c; background: #fffdf5; }

.ml-cart-seller-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid #f0f0f0;
}
.ml-cart-seller-id {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1;
}
.ml-cart-seller-logo {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: #f5f5f5;
}
.ml-cart-seller-logo--ph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #666;
	font-size: .95rem;
}
.ml-cart-seller-titles {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	min-width: 0;
}
.ml-cart-seller-name {
	font-size: 1rem;
	font-weight: 700;
	color: #333;
	text-decoration: none;
}
a.ml-cart-seller-name:hover { color: var(--sandy-brown, #c97b3a); }
.ml-cart-seller-titles .web-cart-pago-chip { margin: 0; }

.ml-cart-items {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ml-cart-item {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 12px 14px;
	align-items: start;
	padding: 14px;
	border-top: 1px solid #f0f0f0;
}
.ml-cart-item:first-child { border-top: 0; }
.ml-cart-item--invalid { opacity: .85; background: #fffaf0; }
.ml-cart-item-media {
	width: 88px;
	height: 88px;
	border-radius: 4px;
	overflow: hidden;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	grid-row: 1 / span 1;
}
.ml-cart-item-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ml-cart-item-ph { font-size: 1.4rem; }
.ml-cart-item-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ml-cart-item-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.ml-cart-item-info { min-width: 0; flex: 1; }
.ml-cart-item-title-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	flex-wrap: wrap;
}
.ml-cart-item-title {
	margin: 0;
	font-size: .95rem;
	font-weight: 600;
	color: #333;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	min-width: 140px;
}
a.ml-cart-item-title:hover { color: #3483fa; }
.ml-cart-item-variant {
	margin: 4px 0 0;
	font-size: .82rem;
	color: #666;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	line-height: 1.35;
}
.ml-cart-attr-sep { color: #bbb; font-weight: 400; }
.ml-cart-attr-text { color: #666; }
.ml-cart-plazo {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1.3;
	white-space: nowrap;
}
.ml-cart-plazo--fab {
	color: #00a650;
	background: rgba(0, 166, 80, .1);
}
.ml-cart-plazo--encargue {
	color: #2968c8;
	background: rgba(52, 131, 250, .12);
}
.ml-cart-item-warn {
	margin: 6px 0 0;
	font-size: .82rem;
	color: #b76e00;
}
.ml-cart-item-encargue {
	margin: 4px 0 0;
	width: 100%;
	font-size: .82rem;
	color: #666;
	line-height: 1.35;
}
.ml-cart-item-remove {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #3483fa;
	font-size: .85rem;
	cursor: pointer;
	text-align: left;
	flex-shrink: 0;
	white-space: nowrap;
}
.ml-cart-item-remove:hover { text-decoration: underline; }
.ml-cart-item-qty {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
}
.ml-cart-item-qty-lbl { font-size: .9rem; color: #666; }
.ml-cart-stock-hint {
	font-size: .82rem;
	color: #757575;
	font-weight: 600;
	white-space: nowrap;
	line-height: 1.2;
}
.cart-qty-stepper-btn:disabled {
	opacity: .35;
	cursor: not-allowed;
}
.ml-cart-avisos {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 6px;
	background: #fff8e6;
	border: 1px solid #f0e0b2;
}
.ml-cart-aviso {
	margin: 0;
	font-size: .88rem;
	color: #8a6d3b;
	line-height: 1.35;
}
.ml-cart-aviso + .ml-cart-aviso { margin-top: 6px; }
.ml-cart-item-price {
	text-align: right;
	min-width: 110px;
	flex-shrink: 0;
}
.ml-cart-item-price-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	margin-bottom: 2px;
}
.ml-cart-item-list {
	font-size: .85rem;
	color: #999;
	text-decoration: line-through;
}
.ml-cart-item-off {
	font-size: .78rem;
	font-weight: 700;
	color: #00a650;
}
.ml-cart-item-total {
	display: block;
	font-size: 1.1rem;
	color: #333;
}
.ml-cart-item-unit {
	display: block;
	margin-top: 2px;
	font-size: .78rem;
	color: #888;
}

.ml-cart-seller-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 8px;
	padding: 12px 14px 14px;
	border-top: 1px solid #f0f0f0;
}
.ml-cart-ship-block { min-width: 0; }
.ml-cart-ship-label {
	margin: 0 0 2px;
	font-size: .75rem;
	font-weight: 600;
	color: #888;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.ml-cart-ship { margin: 0; font-size: .85rem; color: #666; }
.ml-cart-ship--free { color: #00a650; font-weight: 600; }
.ml-cart-seller-sub { margin: 0; font-size: .9rem; color: #333; }
.ml-cart-seller-sub strong { font-size: 1.05rem; }

.ml-cart-resumen-title {
	margin: 0 0 12px;
	font-size: 1.15rem;
	font-weight: 700;
	color: #333;
}
.ml-cart-resumen-rows { margin-bottom: 10px; }
.ml-cart-resumen-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: .92rem;
	color: #333;
	margin-bottom: 6px;
}
.ml-cart-resumen-row--muted { color: #666; font-size: .85rem; }
.ml-cart-resumen-row strong {
	font-size: 1.15rem;
	font-weight: 700;
	color: #333;
}
.ml-cart-resumen-actions {
	margin: 14px 0 0;
}
.ml-cart-resumen-hint {
	margin: 10px 0 0;
	font-size: .8rem;
	color: #888;
	line-height: 1.35;
}

@media (max-width: 700px) {
	.ml-cart-item {
		grid-template-columns: 72px 1fr;
	}
	.ml-cart-item-media { width: 72px; height: 72px; }
	.ml-cart-item-top { flex-direction: column; gap: 6px; }
	.ml-cart-item-price { text-align: left; min-width: 0; }
	.ml-cart-item-price-row { justify-content: flex-start; }
}

/* ===== Ficha v2 UX improvements ===== */

/* Gallery: mobile horizontal thumbs below stage */
@media (max-width: 767px) {
	.web-ficha-galeria-inner {
		flex-direction: column-reverse;
	}
	.web-ficha-thumbs-col {
		flex-direction: row;
		flex: 0 0 auto;
		width: 100%;
		max-height: none !important;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 2px;
	}
	.web-ficha-thumbs-col::-webkit-scrollbar { display: none; }
	.web-ficha-thumb { flex-shrink: 0; }
}

/* Desktop stage: taller presence */
@media (min-width: 768px) {
	.web-ficha-img-main {
		aspect-ratio: 4/5;
		min-height: 50vh;
	}
}

/* Category eyebrow */
.web-ficha-cat {
	display: block;
	font-size: .78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--sandy-brown);
	text-decoration: none;
	margin-bottom: 4px;
}
.web-ficha-cat:hover { text-decoration: underline; }

/* Vendido por */
.web-ficha-vendido-por {
	font-size: .85rem;
	color: #888;
	margin-bottom: 6px;
}
.web-ficha-vendido-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: inherit;
}
.web-ficha-vendido-logo {
	width: 28px;
	height: 28px;
	object-fit: contain;
	border-radius: 6px;
	border: 1px solid #eee;
	background: #fff;
	flex: 0 0 auto;
}
.web-ficha-vendido-link strong {
	color: var(--sandy-brown);
	font-weight: 600;
}
.web-ficha-vendido-link:hover strong { text-decoration: underline; }

/* Stars ficha */
.web-ficha-rating { margin: 2px 0 12px; }
.web-ficha-rating-title {
	margin: 0 0 4px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #64748b;
}
.web-ficha-stars {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 1.05rem;
}
.web-star {
	line-height: 1;
	display: inline-block;
}
.web-star--full { color: #f5a623; }
.web-star--half {
	color: #ddd;
	position: relative;
}
.web-star--half::before {
	content: '★';
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	overflow: hidden;
	color: #f5a623;
	white-space: nowrap;
	display: inline-block;
}
.web-star--empty { color: #ddd; }
.web-ficha-rating-score {
	margin-left: 8px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #f5a623;
	line-height: 1;
}
.web-ficha-stars-none {
	font-size: .75rem;
	color: #aaa;
	margin-left: 6px;
}

/* Price: main → % OFF pill → strikethrough */
.web-precio-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 3px;
}
.web-precio-pill {
	display: inline-flex;
	align-items: center;
	background: #ecfdf5;
	color: #047857;
	font-size: .82rem;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
}
/* Update existing .web-precio-off to keep compatibility but pill wins */
.web-precio-off.web-precio-pill { margin-right: 0; }

/* Tarjeta / efectivo note in pagos */
.web-precio-efectivo-note,
.web-precio-tarjeta-note {
	font-size: .82rem;
	color: #555;
	margin: 2px 0 0;
}
.web-precio-efectivo-note strong { color: #333; }

/* Stock clarity badges */
.web-stock-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .02em;
}
.web-stock-badge--instock {
	background: #ecfdf5;
	color: #047857;
}
.web-stock-badge--nostock {
	background: #fef2f2;
	color: #dc2626;
}

/* Description preview (clamped, near price) */
.web-ficha-desc-preview {
	font-size: .88rem;
	color: #555;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 5px;
}
.web-ficha-desc-preview--clamp {
	-webkit-line-clamp: 3;
}
.web-ficha-desc-ver-mas {
	display: inline-block;
	font-size: .82rem;
	color: var(--sandy-brown);
	text-decoration: none;
	margin-bottom: 10px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
}
.web-ficha-desc-ver-mas:hover { text-decoration: underline; }

/* Urgencia última unidad */
.web-ficha-urgency {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff4e5;
	border: 1px solid #fdba74;
	color: #c2410c;
	font-size: .92rem;
	font-weight: 700;
	line-height: 1.35;
}

/* Plazo (azul) + Bajo pedido */
.web-ficha-plazo-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
}
.web-ficha-plazo-box {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: .88rem;
	font-weight: 700;
	color: #1d4ed8;
	background: rgba(52, 131, 250, .12);
	border: 1px solid rgba(52, 131, 250, .28);
	line-height: 1.3;
}

/* Medidas mueble */
.web-ficha-medidas-prod { margin: 0 0 12px; }
.web-ficha-medidas-box {
	padding: 12px 14px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid #e8eef5;
}
.web-ficha-medidas-title {
	margin: 0 0 8px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #64748b;
}
.web-ficha-medidas-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
	font-size: .95rem;
	color: #333;
}
.web-ficha-medidas-k { font-weight: 600; color: #555; }

/* Acciones ficha */
.web-ficha-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}
.web-ficha-add-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
}
.web-btn--ver-carrito {
	flex: 0 0 auto;
	white-space: nowrap;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	display: none;
	align-items: center;
}
.web-btn--ver-carrito[hidden] { display: none !important; }
.web-btn--ver-carrito.is-visible:not([hidden]) {
	display: inline-flex;
}
.web-btn--wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	padding: 12px 18px;
	border: none;
	border-radius: 8px;
	background: #25D366;
	color: #fff;
	font-weight: 700;
	font-size: .98rem;
	cursor: pointer;
	transition: filter .15s;
}
.web-ficha-actions .web-btn--wa { width: 100%; max-width: none; }
.web-btn--wa:hover { filter: brightness(.96); }
.web-btn--wa .web-ficha-btn-ico--wa { color: #fff; }
.web-btn--wishlist {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 11px 16px;
	border: 1.5px solid #e5e5e5;
	border-radius: 8px;
	background: #fff;
	color: #444;
	font-size: .95rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .15s, color .15s, background .15s;
}
.web-btn--wishlist:hover {
	border-color: #d0d0d0;
	background: #fafafa;
	color: #444;
}
/* Favorito activo: mismo borde/fondo/texto; solo corazón relleno en rojo */
.web-btn--wishlist.is-fav,
.web-btn--wishlist.is-fav:hover {
	border-color: #e5e5e5;
	background: #fff;
	color: #444;
}
.web-btn--wishlist.is-fav .web-ficha-btn-ico--heart-on {
	color: #e74c3c;
}
.web-ficha-social {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 2px;
}
.web-ficha-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #e5e5e5;
	background: #fff;
	color: #555;
	cursor: pointer;
	text-decoration: none;
	transition: transform .15s, border-color .15s, color .15s, background .15s;
}
.web-ficha-icon-btn:hover {
	transform: scale(1.05);
	border-color: #ccc;
	color: #222;
}
.web-ficha-icon-btn--wa {
	background: #25D366;
	border-color: #25D366;
	color: #fff;
}
.web-ficha-icon-btn--wa:hover {
	background: #1fb855;
	border-color: #1fb855;
	color: #fff;
}
.web-ficha-btn-ico { flex: 0 0 auto; }
.web-ficha-btn-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.1em;
	font-weight: 800;
}

/* Qty stepper */
.web-qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
}
.web-qty-btn {
	width: 36px;
	height: 36px;
	border: none;
	background: #f5f5f5;
	font-size: 1.25rem;
	font-weight: 300;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	flex-shrink: 0;
	transition: background .12s;
	line-height: 1;
}
.web-qty-btn:hover { background: #e8e8e8; }
.web-qty-btn:active { background: #ddd; }
.web-qty-input--stepper {
	width: 44px;
	text-align: center;
	border: none;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-radius: 0;
	padding: 0;
	height: 36px;
	font-size: .95rem;
	background: #fff;
	-moz-appearance: textfield;
}
.web-qty-input--stepper::-webkit-outer-spin-button,
.web-qty-input--stepper::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Add to cart feedback state */
.web-btn--add-cart.is-added {
	background: rgba(4, 120, 87, .12) !important;
	color: #047857 !important;
	pointer-events: none;
}

/* CTAs ficha: flujo normal (debajo de stock, arriba de descripción) */
.web-ficha-cta-block {
	position: relative;
	margin: 4px 0 16px;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border: none;
}

/* Favoritos button in ficha */
.web-ficha-fav-wrap { margin: 8px 0 4px; }
.web-ficha-fav-btn {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	color: #555;
	font-size: .9rem;
	font-weight: 500;
	cursor: pointer;
	text-align: center;
	transition: border-color .15s, color .15s;
}
.web-ficha-fav-btn:hover {
	border-color: #e74c3c;
	color: #e74c3c;
	background: #fff8f8;
}

/* Two-axis variant selector */
.web-var-axis-section { margin-bottom: 14px; }
.web-var-chip--size {
	width: auto;
	height: auto;
	min-width: 44px;
	min-height: 38px;
	padding: 6px 14px;
	border-radius: 6px;
	font-size: .9rem;
	font-weight: 600;
}
.web-var-chip.is-unavailable {
	opacity: .32;
	cursor: not-allowed;
}
.web-var-size-chips,
.web-var-color-chips { flex-wrap: wrap; }

/* Related cargar más */
.web-ficha-related-more {
	text-align: center;
	padding: 14px 0 4px;
}
.web-ficha-load-more {
	background: transparent;
	border: 1.5px solid var(--sandy-brown);
	color: var(--sandy-brown);
	padding: 9px 22px;
	border-radius: 8px;
	font-weight: 600;
	font-size: .9rem;
	cursor: pointer;
	transition: background .15s;
	display: inline-block;
}
.web-ficha-load-more:hover { background: #fff7ee; }
/* =========================================================
   AJUSTE RESPONSIVE: BARRA STICKY Y MONTOS GRANDES
   ========================================================= */

/* 1. Evitamos que el botón herede el 100% de la clase .web-btn--mp */
.cart-shell-row .web-rastreo-sticky-pay {
    width: auto !important; 
    min-width: 120px;
    flex: 0 0 auto;
    white-space: nowrap; 
}

/* 2. El contenedor del precio cede espacio si el número es muy largo */
.web-rastreo-sticky-total {
    flex: 1 1 auto;
    min-width: 0; 
    padding-right: 12px; 
}

/* 3. Evitamos que números gigantes rompan la caja bajándolos de línea */
.web-rastreo-sticky-val {
    word-break: break-word; 
    line-height: 1.2;
    display: block;
}

/* 4. En pantallas muy angostas, achicamos apenas la fuente del total */
@media (max-width: 380px) {
    .web-rastreo-sticky-val {
        font-size: 1.1rem; 
    }
}