/* AYOBAN Marketplace · Mi Cuenta */
:root {
	--ayb-rojo: #E60023;
	--ayb-oscuro: #0D1B2A;
	--ayb-gris: #F5F6F8;
	--ayb-borde: #E3E5E8;
	--ayb-texto: #333;
	--ayb-suave: #777;
	--ayb-ok: #00A650;
	--ayb-azul: #0055A4;
	--ayb-espera: #E8A200;
	--ayb-radio: 10px;
}

/* ---------- Menú lateral ---------- */
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li.ayb-grupo { margin-top: 18px; }
.woocommerce-MyAccount-navigation li.ayb-grupo::before {
	display: block;
	padding: 0 12px 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ayb-suave);
}
.woocommerce-MyAccount-navigation li.ayb-grupo-compras::before { content: "Compras"; }
.woocommerce-MyAccount-navigation li.ayb-grupo-ventas::before  { content: "Ventas"; }
.woocommerce-MyAccount-navigation li.ayb-grupo-cuenta::before  { content: "Mi cuenta"; }

.woocommerce-MyAccount-navigation li.is-active > a {
	color: var(--ayb-rojo);
	font-weight: 600;
	box-shadow: inset 3px 0 0 var(--ayb-rojo);
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--vender:not(.is-active) > a { color: var(--ayb-rojo); font-weight: 600; }

/* ---------- Bloques generales ---------- */
.ayb-titulo { margin: 0 0 16px; font-size: 22px; color: var(--ayb-oscuro); }
.ayb-hola   { margin: 0 0 18px; color: var(--ayb-oscuro); }
.ayb-bajada { color: var(--ayb-suave); margin-bottom: 18px; }
.ayb-chico  { font-size: 13px; color: var(--ayb-suave); }

.ayb-bloque,
.ayb-vacio,
.ayb-requisitos {
	background: #fff;
	border: 1px solid var(--ayb-borde);
	border-radius: var(--ayb-radio);
	padding: 18px;
	margin-bottom: 14px;
}
.ayb-bloque h3, .ayb-requisitos h3 { margin: 0 0 8px; font-size: 16px; }
.ayb-vacio { text-align: center; padding: 32px 18px; }

.ayb-aviso {
	background: #FFF4F6;
	border-left: 4px solid var(--ayb-rojo);
	border-radius: 6px;
	padding: 12px 14px;
	margin: 14px 0;
	font-size: 14px;
}

.ayb-etiqueta {
	display: inline-block;
	background: var(--ayb-oscuro);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 4px 10px;
	border-radius: 20px;
	margin-bottom: 10px;
}

/* ---------- Botones ---------- */
/* El texto siempre queda centrado, aunque el tema le ponga su propia altura o relleno (el «html body» es para ganarle al CSS de WooCommerce). */
.ayb-boton.button,
.ayb-boton-sec.button { border-radius: 6px; }
html body .ayb-boton.button,
html body .ayb-boton-sec.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
html body .ayb-boton.button[hidden],
html body .ayb-boton-sec.button[hidden] { display: none; }
.ayb-boton.button { background: var(--ayb-rojo); color: #fff; border-color: var(--ayb-rojo); }
.ayb-boton.button:hover { filter: brightness(.92); color: #fff; }
.ayb-boton.button:disabled { opacity: .55; cursor: not-allowed; }
.ayb-boton-sec.button { background: #fff; color: var(--ayb-rojo); border: 1px solid var(--ayb-rojo); }

/* ---------- Tarjetas del resumen ---------- */
.ayb-tarjetas {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
	margin-bottom: 8px;
}
.ayb-tarjeta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: #fff;
	border: 1px solid var(--ayb-borde);
	border-radius: var(--ayb-radio);
	padding: 18px;
	color: var(--ayb-texto);
	text-decoration: none;
	transition: box-shadow .15s, transform .15s;
}
.ayb-tarjeta:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-1px); }
.ayb-tarjeta-num { font-size: 26px; font-weight: 700; color: var(--ayb-oscuro); }
.ayb-tarjeta-txt { font-size: 14px; color: var(--ayb-suave); }
.ayb-tarjeta-destacada { background: var(--ayb-oscuro); border-color: var(--ayb-oscuro); }
.ayb-tarjeta-destacada .ayb-tarjeta-num,
.ayb-tarjeta-destacada .ayb-tarjeta-txt { color: #fff; }

/* ---------- Listas (compras / publicaciones) ---------- */
.ayb-lista { list-style: none; margin: 0; padding: 0; }
.ayb-item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--ayb-borde);
	border-radius: var(--ayb-radio);
	padding: 14px;
	margin-bottom: 10px;
}
.ayb-item-img { flex: 0 0 72px; }
.ayb-item-img img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.ayb-item-info { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ayb-item-nombre { color: var(--ayb-oscuro); overflow-wrap: anywhere; }
.ayb-item-nombre small { font-weight: 400; color: var(--ayb-suave); }
.ayb-item-meta { font-size: 13px; color: var(--ayb-suave); }
.ayb-item-total { font-weight: 600; }
.ayb-item-acciones { display: flex; flex-direction: column; gap: 6px; }

.ayb-estado { font-size: 13px; font-weight: 600; }
.ayb-estado-ok     { color: var(--ayb-ok); }
.ayb-estado-espera { color: var(--ayb-espera); }
.ayb-estado-mal    { color: var(--ayb-rojo); }
.ayb-estado-neutro { color: var(--ayb-suave); }

.ayb-paginas { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }

/* ---------- Vender ---------- */
.ayb-pasos { padding-left: 20px; margin-bottom: 16px; }
.ayb-pasos li { margin-bottom: 8px; }

/* ---------- Celular ---------- */
@media (max-width: 600px) {
	.ayb-item { flex-wrap: wrap; }
	.ayb-item-acciones { flex-direction: row; width: 100%; }
	.ayb-item-acciones .button { flex: 1; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.ayb-tarjeta { transition: none; }
	.ayb-tarjeta:hover { transform: none; }
}

/* ---------- Celular / tablet: la sección elegida reemplaza al menú ---------- */
.ayb-volver { display: none; }

@media (max-width: 1024px) {
	/* Se esconde el menú (y lo que WoodMart pone debajo) cuando estás dentro de una sección */
	body.ayb-interna .woocommerce-MyAccount-navigation,
	body.ayb-interna *:has(> .woocommerce-MyAccount-navigation):not(:has(> .woocommerce-MyAccount-content)) {
		display: none;
	}
	body.ayb-interna .woocommerce-MyAccount-content {
		width: 100%;
		max-width: 100%;
		flex: 0 0 100%;
	}
	body.ayb-interna .ayb-volver {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 4px 0 14px;
		margin-bottom: 14px;
		border-bottom: 1px solid var(--ayb-borde);
		font-size: 16px;
		font-weight: 600;
		color: var(--ayb-oscuro);
		text-decoration: none;
	}
	body.ayb-interna .ayb-volver span { font-size: 20px; line-height: 1; }
}

/* ---------- Íconos del menú (dibujados para AYOBAN) ---------- */
.woocommerce-MyAccount-navigation li > a {
	background-repeat: no-repeat !important;
	background-position: 6px center !important;
	background-size: 22px 22px !important;
	padding-left: 38px !important;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--dashboard > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2010.5%2012%203l9%207.5V20a1%201%200%200%201-1%201h-5v-6H9v6H4a1%201%200%200%201-1-1z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--mis-compras > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%208h14l-1%2012H6L5%208z%20M9%208V6a3%203%200%200%201%206%200v2'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--favoritos > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20.84%204.61a5.5%205.5%200%200%200-7.78%200L12%205.67l-1.06-1.06a5.5%205.5%200%200%200-7.78%207.78l1.06%201.06L12%2021.23l7.78-7.78%201.06-1.06a5.5%205.5%200%200%200%200-7.78z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--preguntas > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%205h16v11H9l-5%204V5z%20M8%209h8%20M8%2012h5'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--reclamos > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2021V4%20M5%204h11l-2%204%202%204H5'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--vender > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%203h8l10%2010-8%208L3%2011V3z%20M7.5%207.5h.01'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--mis-publicaciones > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%207l9-4%209%204v10l-9%204-9-4V7z%20M3%207l9%204%209-4%20M12%2011v10'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--mis-ventas > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2017l6-6%204%204%208-8%20M15%207h6v6'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--cobros > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%207h16v12H4z%20M4%207V5h13v2%20M16%2013h.01'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--reputacion > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202l3.09%206.26L22%209.27l-5%204.87%201.18%206.88L12%2017.77l-6.18%203.25L7%2014.14%202%209.27l6.91-1.01L12%202z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-account > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2021v-2a4%204%200%200%200-4-4H8a4%204%200%200%200-4%204v2%20M12%203a4%204%200%201%200%200%208%204%204%200%200%200%200-8z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-address > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2021s-7-6.2-7-11a7%207%200%200%201%2014%200c0%204.8-7%2011-7%2011z%20M12%207.5a2.5%202.5%200%201%200%200%205%202.5%202.5%200%200%200%200-5z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--seguridad > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203l8%203v6c0%205-3.5%208-8%209-4.5-1-8-4-8-9V6l8-3z%20M9%2012l2%202%204-4'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4%20M16%2017l5-5-5-5%20M21%2012H9'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--dashboard.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2010.5%2012%203l9%207.5V20a1%201%200%200%201-1%201h-5v-6H9v6H4a1%201%200%200%201-1-1z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--mis-compras.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%208h14l-1%2012H6L5%208z%20M9%208V6a3%203%200%200%201%206%200v2'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--favoritos.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20.84%204.61a5.5%205.5%200%200%200-7.78%200L12%205.67l-1.06-1.06a5.5%205.5%200%200%200-7.78%207.78l1.06%201.06L12%2021.23l7.78-7.78%201.06-1.06a5.5%205.5%200%200%200%200-7.78z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--preguntas.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%205h16v11H9l-5%204V5z%20M8%209h8%20M8%2012h5'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--reclamos.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2021V4%20M5%204h11l-2%204%202%204H5'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--vender.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%203h8l10%2010-8%208L3%2011V3z%20M7.5%207.5h.01'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--mis-publicaciones.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%207l9-4%209%204v10l-9%204-9-4V7z%20M3%207l9%204%209-4%20M12%2011v10'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--mis-ventas.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2017l6-6%204%204%208-8%20M15%207h6v6'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--cobros.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%207h16v12H4z%20M4%207V5h13v2%20M16%2013h.01'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--reputacion.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202l3.09%206.26L22%209.27l-5%204.87%201.18%206.88L12%2017.77l-6.18%203.25L7%2014.14%202%209.27l6.91-1.01L12%202z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-account.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%2021v-2a4%204%200%200%200-4-4H8a4%204%200%200%200-4%204v2%20M12%203a4%204%200%201%200%200%208%204%204%200%200%200%200-8z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-address.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2021s-7-6.2-7-11a7%207%200%200%201%2014%200c0%204.8-7%2011-7%2011z%20M12%207.5a2.5%202.5%200%201%200%200%205%202.5%202.5%200%200%200%200-5z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--seguridad.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203l8%203v6c0%205-3.5%208-8%209-4.5-1-8-4-8-9V6l8-3z%20M9%2012l2%202%204-4'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4%20M16%2017l5-5-5-5%20M21%2012H9'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--vender:not(.is-active) > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%203h8l10%2010-8%208L3%2011V3z%20M7.5%207.5h.01'/%3E%3C/svg%3E") !important; }

/* ---------- Favoritos: WoodMart dibuja otro Mi Cuenta adentro; se esconde el menú repetido ---------- */
.woocommerce-MyAccount-content .woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content *:has(> .woocommerce-MyAccount-navigation):not(:has(> .woocommerce-MyAccount-content)) {
	display: none !important;
}
.woocommerce-MyAccount-content .woocommerce-MyAccount-content {
	width: 100%;
	max-width: 100%;
	flex: 0 0 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
}

/* ---------- Formulario de verificación ---------- */
.ayb-form fieldset {
	border: 1px solid var(--ayb-borde);
	border-radius: var(--ayb-radio);
	background: #fff;
	padding: 14px 18px 6px;
	margin: 0 0 14px;
}
.ayb-form legend { font-weight: 700; padding: 0 8px; color: var(--ayb-oscuro); }
.ayb-campo { margin-bottom: 14px; }
.ayb-campo label { display: block; font-weight: 600; margin-bottom: 4px; }
.ayb-campo input[type="text"],
.ayb-campo input[type="tel"],
.ayb-campo input[type="file"] { width: 100%; max-width: 100%; }
.ayb-ayuda { font-size: 13px; color: var(--ayb-suave); margin: 4px 0 0; }
.ayb-ayuda.ayb-ayuda-colores { margin: 8px 0 12px; font-size: 14px; line-height: 1.45; color: var(--ayb-oscuro); }
/* El botón «Elegir archivos» de las fotos del publicador: azul Francia, grande y con letra clara, para que se vea y se toque fácil (en el celular también). */
#ayb_fotos { font-size: 14px; color: var(--ayb-suave); }
#ayb_fotos::file-selector-button { margin: 0 12px 0 0; padding: 12px 20px; border: 0; border-radius: 8px; background: var(--ayb-azul); color: #fff; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; }
#ayb_fotos::-webkit-file-upload-button { margin: 0 12px 0 0; padding: 12px 20px; border: 0; border-radius: 8px; background: #0055A4; color: #fff; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; }
#ayb_fotos:hover::file-selector-button { background: #00417F; }
#ayb_fotos:focus-visible { outline: 2px solid var(--ayb-azul); outline-offset: 3px; border-radius: 8px; }
.ayb-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; cursor: pointer; }
.ayb-check input { margin-top: 4px; flex: 0 0 auto; }
.ayb-aviso-ok { background: #effaf4; border-left-color: var(--ayb-ok); }

/* ============================================================
   Fase 3 · Publicar producto
   ============================================================ */

/* Ícono del menú: Publicar producto (un + dentro de un círculo) */
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--publicar > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M12%208v8M8%2012h8'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--publicar.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M12%208v8M8%2012h8'/%3E%3C/svg%3E") !important; }

/* Campos que usa el publicador */
.ayb-campo select,
.ayb-campo textarea,
.ayb-campo input[type="number"] { width: 100%; max-width: 100%; }
.ayb-etiqueta-campo { display: block; margin-bottom: 6px; font-weight: 600; }

/* Encabezado de Mis publicaciones y tarjeta de la tienda */
.ayb-encabezado { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.ayb-encabezado .ayb-titulo { margin: 0; }
.ayb-tienda {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 14px;
	background: #fff;
	border: 1px solid var(--ayb-borde);
	border-radius: var(--ayb-radio);
	padding: 12px 16px;
	margin-bottom: 14px;
}
.ayb-tienda .ayb-mas[open] { flex: 1 1 100%; }
.ayb-tienda .ayb-mas > summary { color: var(--ayb-rojo); font-weight: 600; }
.ayb-tienda .ayb-mas .ayb-form { margin-top: 10px; }

/* Acciones de cada publicación */
.ayb-item-acciones { min-width: 150px; }
.ayb-item-acciones form { margin: 0; }
.ayb-item-acciones form .button { width: 100%; }
.ayb-item-motivo {
	display: block;
	margin-top: 4px;
	padding: 6px 8px;
	background: #FFF4F6;
	border-radius: 6px;
	font-size: 13px;
	color: var(--ayb-rojo);
	overflow-wrap: anywhere;
}
.ayb-mas > summary { cursor: pointer; list-style: none; text-align: center; padding: 6px 0; font-size: 13px; color: var(--ayb-suave); }
.ayb-mas > summary::-webkit-details-marker { display: none; }
.ayb-mas > summary::after { content: " ▾"; }
.ayb-mas[open] > summary::after { content: " ▴"; }
.ayb-mas-cuerpo { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding: 8px 0 2px; border-top: 1px solid var(--ayb-borde); font-size: 14px; }
.ayb-mas-cuerpo form { margin: 0; }
.ayb-mas-cuerpo a { color: var(--ayb-oscuro); }
.ayb-link-boton { padding: 0; background: none; border: 0; font: inherit; color: var(--ayb-oscuro); text-align: left; text-decoration: underline; cursor: pointer; }
.ayb-eliminar > summary { cursor: pointer; list-style: none; color: var(--ayb-rojo); }
.ayb-eliminar > summary::-webkit-details-marker { display: none; }
.ayb-eliminar form { margin-top: 8px; }
.ayb-eliminar p { margin: 0 0 8px; }

/* Barra de pasos */
.ayb-seccion ol.ayb-progreso { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.ayb-seccion ol.ayb-progreso li { flex: 1; margin: 0; padding: 8px 4px 10px; border-bottom: 3px solid var(--ayb-borde); text-align: center; font-size: 13px; color: var(--ayb-suave); }
.ayb-seccion ol.ayb-progreso li a { color: inherit; text-decoration: none; }
.ayb-seccion ol.ayb-progreso li.activo { color: var(--ayb-rojo); border-bottom-color: var(--ayb-rojo); font-weight: 700; }
.ayb-seccion ol.ayb-progreso li.hecho { color: var(--ayb-oscuro); border-bottom-color: var(--ayb-ok); }
.ayb-progreso-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-right: 4px;
	border-radius: 50%;
	background: var(--ayb-borde);
	color: var(--ayb-texto);
	font-size: 12px;
	font-weight: 700;
}
.ayb-progreso li.activo .ayb-progreso-n { background: var(--ayb-rojo); color: #fff; }
.ayb-progreso li.hecho .ayb-progreso-n { background: var(--ayb-ok); color: #fff; }

/* Paso 1: fotos (3 por fila en el celular, 4 en pantallas más grandes; cada foto en un cuadrado, entera, con gris clarito) */
.ayb-seccion ul.ayb-fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.ayb-seccion ul.ayb-fotos:empty { display: none; }
@media (min-width: 600px) { .ayb-seccion ul.ayb-fotos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ayb-foto { position: relative; margin: 0; padding: 4px 4px 6px; background: #fff; border: 1px solid var(--ayb-borde); border-radius: 8px; min-width: 0; }
.ayb-foto .ayb-foto-img { display: block; aspect-ratio: 1 / 1; background: #F3F4F6; border-radius: 6px; overflow: hidden; }
.ayb-foto .ayb-foto-img img { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; }
.ayb-foto-opcion { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; line-height: 1.2; cursor: pointer; }
.ayb-foto-opcion input { margin: 0; flex: 0 0 auto; }
/* La ✕ para quitar: círculo chico sobre la esquina de la foto, con un área para tocar de 36 × 36 */
.ayb-seccion ul.ayb-fotos li.ayb-foto .ayb-foto-x { all: unset; box-sizing: border-box; position: absolute; top: 2px; right: 2px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 6px solid transparent; border-radius: 50%; background: rgba(13, 27, 42, .72); background-clip: padding-box; color: #fff; font-size: 12px; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ayb-seccion ul.ayb-fotos li.ayb-foto .ayb-foto-x:focus-visible { outline: 2px solid var(--ayb-oscuro); outline-offset: 1px; }
.ayb-foto-x input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ayb-foto-x-icono { pointer-events: none; }
.ayb-seccion ul.ayb-fotos li.ayb-foto .ayb-foto-x:has(input:checked) { background-color: var(--ayb-rojo); }
.ayb-foto .ayb-solo-lector { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* «Nueva»: todavía está solo en el celular, se sube al guardar */
.ayb-foto .ayb-foto-etiqueta { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 2px 7px; border-radius: 10px; background: #0a58ca; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.4; }
/* Una guardada marcada para quitar: se ve apagada y avisa que se quita al guardar */
.ayb-foto.ayb-foto-quitada .ayb-foto-img { opacity: .3; }
.ayb-foto:has(.ayb-foto-x input:checked) .ayb-foto-img { opacity: .3; }
.ayb-foto.ayb-foto-quitada .ayb-foto-opcion { visibility: hidden; }
.ayb-foto:has(.ayb-foto-x input:checked) .ayb-foto-opcion { visibility: hidden; }
.ayb-foto.ayb-foto-quitada::after { content: "Se quita al guardar"; position: absolute; left: 6px; right: 6px; top: 38%; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--ayb-oscuro); pointer-events: none; }
.ayb-foto:has(.ayb-foto-x input:checked)::after { content: "Se quita al guardar"; position: absolute; left: 6px; right: 6px; top: 38%; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--ayb-oscuro); pointer-events: none; }
.ayb-fotos-cuenta { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ayb-texto); }
.ayb-fotos-nota { margin: 0 0 12px; font-size: 13px; color: var(--ayb-suave); }
.ayb-fotos-avisos { margin: 0 0 10px; padding: 8px 12px; background: #FFF4F6; border-left: 4px solid var(--ayb-rojo); border-radius: 6px; font-size: 13px; }
.ayb-fotos-avisos p { margin: 0 0 4px; }
.ayb-fotos-avisos p:last-child { margin-bottom: 0; }

/* Paso 2 y 3: opciones, filas, resumen y botones */
.ayb-opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.ayb-form .ayb-opcion {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--ayb-borde);
	border-radius: 8px;
	font-weight: 400;
	cursor: pointer;
}
.ayb-form .ayb-opcion input { margin-top: 4px; flex: 0 0 auto; }
.ayb-form .ayb-opcion span { display: flex; flex-direction: column; gap: 2px; }
.ayb-form .ayb-opcion small { font-size: 12.5px; color: var(--ayb-suave); }
.ayb-form .ayb-opcion:has(input:checked) { border-color: var(--ayb-rojo); background: #FFF4F6; }

.ayb-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ayb-fila-4 { grid-template-columns: repeat(4, 1fr); }

.ayb-resumen-pub {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid var(--ayb-borde);
	border-radius: var(--ayb-radio);
}
.ayb-resumen-pub img { flex: 0 0 56px; width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.ayb-resumen-pub > div { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }

.ayb-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 12px; }
.ayb-volver-paso { font-size: 14px; color: var(--ayb-suave); text-decoration: none; }
.ayb-volver-paso:hover { text-decoration: underline; }

/* Celular */
@media (max-width: 600px) {
	.ayb-item-acciones { flex-wrap: wrap; }
	.ayb-item-acciones > form { flex: 1; }
	.ayb-item-acciones > .ayb-mas { flex: 1 0 100%; }
	.ayb-fila-4 { grid-template-columns: 1fr 1fr; }
	.ayb-acciones .button { flex: 1 1 auto; text-align: center; }
	.ayb-form input[type="text"],
	.ayb-form select,
	.ayb-form textarea { font-size: 16px; }
	.ayb-seccion ol.ayb-progreso li { font-size: 12px; }
	.ayb-progreso-n { display: flex; margin: 0 auto 4px; }
}

/* ============================================================
   Fase 4 · Mis ventas, Cobros y Compra Protegida
   ============================================================ */

/* Filtros de la lista de ventas */
.ayb-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ayb-filtro {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	background: #fff;
	border: 1px solid var(--ayb-borde);
	border-radius: 20px;
	font-size: 14px;
	color: var(--ayb-texto);
	text-decoration: none;
	white-space: nowrap;
}
.ayb-filtro span { font-size: 12px; color: var(--ayb-suave); }
.ayb-filtro:hover { border-color: var(--ayb-rojo); }
.ayb-filtro.activo { background: var(--ayb-oscuro); border-color: var(--ayb-oscuro); color: #fff; }
.ayb-filtro.activo span { color: rgba(255, 255, 255, .75); }

.ayb-volver-fila { margin: 0 0 10px; }

/* Bloques con más énfasis */
.ayb-bloque-accion { border-color: var(--ayb-rojo); box-shadow: inset 4px 0 0 var(--ayb-rojo); }
.ayb-bloque-alerta { border-color: var(--ayb-rojo); background: #FFF4F6; }
.ayb-bloque-ok { border-color: var(--ayb-ok); background: #effaf4; }
.ayb-bloque .ayb-estado-grande { margin: 0 0 4px; font-size: 18px; }

/* Texto citado (lo escribió una persona) */
.ayb-cita {
	margin: 6px 0 10px;
	padding: 10px 12px;
	background: var(--ayb-gris);
	border-left: 3px solid var(--ayb-borde);
	border-radius: 4px;
	font-size: 14px;
	overflow-wrap: anywhere;
}

/* Secciones que se abren y cierran */
.ayb-desplegable > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	color: var(--ayb-oscuro);
}
.ayb-desplegable > summary::-webkit-details-marker { display: none; }
.ayb-desplegable > summary::after { content: "▾"; color: var(--ayb-suave); }
.ayb-desplegable[open] > summary::after { content: "▴"; }
.ayb-desplegable[open] > summary { margin-bottom: 10px; }
.ayb-bloque .ayb-eliminar > summary { font-weight: 600; }

/* Productos y montos de una venta */
.ayb-productos { list-style: none; margin: 0 0 14px; padding: 0; }
.ayb-productos li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--ayb-borde); overflow-wrap: anywhere; }
.ayb-productos li:last-child { border-bottom: 0; }
.ayb-productos-img { flex: 0 0 48px; }
.ayb-productos-img img { display: block; width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.ayb-productos small { color: var(--ayb-suave); }
/* Compra con varios vendedores: lista corta de lo que trae cada paquete y aviso de arriba */
.ayb-productos-parte { list-style: none; margin: 4px 0 6px; padding: 0; }
.ayb-productos-parte li { margin: 0; padding: 3px 0; overflow-wrap: anywhere; }
.ayb-varios { margin-bottom: 14px; }

.ayb-montos { margin: 0; }
.ayb-montos > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--ayb-borde); }
.ayb-montos dt { margin: 0; font-weight: 400; }
.ayb-montos dd { margin: 0; font-weight: 600; white-space: nowrap; }
.ayb-montos .ayb-montos-sub dt { padding-left: 14px; font-size: 13px; color: var(--ayb-suave); }
.ayb-montos .ayb-montos-sub dd { font-size: 13px; font-weight: 400; color: var(--ayb-suave); }
.ayb-montos > .ayb-montos-total { margin-top: 4px; border-bottom: 0; border-top: 2px solid var(--ayb-oscuro); }
.ayb-montos-total dt,
.ayb-montos-total dd { font-size: 17px; font-weight: 700; color: var(--ayb-oscuro); }

.ayb-direccion { margin: 0 0 8px; font-style: normal; line-height: 1.6; overflow-wrap: anywhere; }

/* Línea de tiempo */
.ayb-linea { list-style: none; margin: 10px 0 4px; padding: 0; }
.ayb-linea li { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0; padding-bottom: 14px; }
.ayb-linea li:last-child { padding-bottom: 0; }
.ayb-linea li::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--ayb-borde); }
.ayb-linea li:last-child::before { display: none; }
.ayb-linea li.hecho::before { background: var(--ayb-ok); }
.ayb-linea-punto {
	flex: 0 0 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 2px solid var(--ayb-borde);
	border-radius: 50%;
	background: #fff;
	font-size: 12px;
	line-height: 1;
	color: #fff;
}
.ayb-linea li.hecho .ayb-linea-punto { background: var(--ayb-ok); border-color: var(--ayb-ok); }
.ayb-linea-txt { display: flex; flex-direction: column; gap: 2px; }
.ayb-linea li.pendiente .ayb-linea-txt strong { font-weight: 600; color: var(--ayb-suave); }
.ayb-linea-txt small { font-size: 12.5px; color: var(--ayb-suave); }

/* Cobros */
.ayb-destino { margin: 0 0 4px; overflow-wrap: anywhere; }
.ayb-movs { list-style: none; margin: 0; padding: 0; }
.ayb-movs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--ayb-borde); }
.ayb-movs li:last-child { border-bottom: 0; }
.ayb-movs small { font-size: 13px; color: var(--ayb-suave); }
.ayb-movs form { margin: 0; flex: 0 0 auto; }
.ayb-mov-monto { font-weight: 700; white-space: nowrap; }
.ayb-mov-monto.mas { color: var(--ayb-ok); }
.ayb-cobros .ayb-tarjeta-num { font-size: 22px; }

/* Compra Protegida (lo que ve el comprador) */
.ayb-codigo-caja {
	margin: 14px 0;
	padding: 16px;
	text-align: center;
	background: #FFFBEA;
	border: 2px dashed var(--ayb-espera);
	border-radius: var(--ayb-radio);
}
.ayb-codigo-titulo { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ayb-suave); }
.ayb-codigo-num {
	display: block;
	margin: 6px 0 10px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 36px;
	font-weight: 800;
	letter-spacing: .18em;
	color: var(--ayb-oscuro);
}
.ayb-codigo-caja p { margin: 0; font-size: 14px; text-align: left; }
.ayb-protegida .ayb-form { margin: 10px 0; }

@media (max-width: 600px) {
	.ayb-filtros { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	.ayb-movs li { flex-wrap: wrap; }
	.ayb-codigo-num { font-size: 30px; letter-spacing: .12em; }
	.ayb-montos dt { max-width: 62%; }
}

/* Aviso de vencimiento de una venta sin despachar */
.ayb-urgente { color: var(--ayb-rojo); font-weight: 700; }

/* ============================================================
   Fase 5 · Preguntas y chat de cada compra
   ============================================================ */

.ayb-aviso-ok    { background: #effaf4; border-left-color: var(--ayb-ok); }
.ayb-aviso-error { background: #FFF4F6; border-left-color: var(--ayb-rojo); }
.ayb-aviso-info  { background: var(--ayb-gris); border-left-color: var(--ayb-oscuro); }

/* "Nuevo" / "3 mensajes nuevos" */
.ayb-nuevo {
	display: inline-block;
	align-self: flex-start;
	margin: 2px 0;
	padding: 2px 9px;
	background: var(--ayb-rojo);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	border-radius: 20px;
}

/* Lista de preguntas */
.ayb-preg-item .ayb-item-info { flex: 1; min-width: 0; }
.ayb-preg-nueva { border-color: var(--ayb-rojo); box-shadow: inset 4px 0 0 var(--ayb-rojo); }
.ayb-cita-resp { background: #effaf4; border-left-color: var(--ayb-ok); }
.ayb-preg-retirar { margin-top: 8px; }
.ayb-preg-responder { margin-top: 10px; }
.ayb-preg-responder textarea,
.ayb-chat-form textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.ayb-chat-etiqueta { display: block; font-weight: 600; margin-bottom: 4px; }

/* Chat de la compra */
.ayb-chat h3 { margin-bottom: 4px; }
.ayb-chat-vacio { margin: 12px 0; color: var(--ayb-suave); }
.ayb-chat-lista {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 12px 0;
	padding: 12px;
	max-height: 460px;
	overflow-y: auto;
	background: var(--ayb-gris);
	border-radius: var(--ayb-radio);
}
.ayb-chat-msg {
	max-width: 85%;
	padding: 9px 12px;
	background: #fff;
	border: 1px solid var(--ayb-borde);
	border-radius: 12px;
	font-size: 14px;
	overflow-wrap: anywhere;
}
.ayb-chat-mio  { align-self: flex-end; background: #FFF4F6; border-color: #f6c9d0; }
.ayb-chat-otro { align-self: flex-start; }
.ayb-chat-nuevo { box-shadow: 0 0 0 2px var(--ayb-rojo); }
.ayb-chat-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 3px; font-size: 12px; color: var(--ayb-suave); }
.ayb-chat-cab strong { color: var(--ayb-oscuro); font-size: 13px; }
.ayb-chat-texto { color: var(--ayb-texto); }
.ayb-chat-oculto { font-style: italic; color: var(--ayb-suave); }
.ayb-chat-escribir { margin-top: 6px; }
.ayb-chat-form { margin-top: 8px; }
.ayb-chat-pie { margin: 12px 0 0; }

/* Denunciar (pregunta o mensaje) */
.ayb-denuncia { margin-top: 6px; font-size: 13px; }
.ayb-denuncia > summary { cursor: pointer; color: var(--ayb-suave); list-style: none; }
.ayb-denuncia > summary::-webkit-details-marker { display: none; }
.ayb-denuncia > summary:hover { color: var(--ayb-rojo); text-decoration: underline; }
.ayb-denuncia-form { display: grid; gap: 8px; margin-top: 8px; padding: 10px; background: #fff; border: 1px solid var(--ayb-borde); border-radius: 8px; }
.ayb-denuncia-form label { display: block; font-weight: 600; font-size: 13px; }
.ayb-denuncia-form select,
.ayb-denuncia-form input[type="text"] { width: 100%; max-width: 100%; box-sizing: border-box; }

@media (max-width: 600px) {
	.ayb-chat-msg { max-width: 94%; }
	.ayb-chat-lista { max-height: 380px; padding: 8px; }
}

/* Botón «Preguntar de nuevo» en Mis preguntas */
.ayb-preg-de-nuevo { margin: 12px 0 0; }

/* Favoritos (estilo AliExpress): en celular una lista con la foto a la izquierda; en PC una grilla de tarjetas */
.ayb-fav-tabs { display: flex; gap: 20px; margin: 0 0 4px; border-bottom: 1px solid var(--ayb-borde); }
html body .ayb-fav-tabs a {
	display: inline-block; padding: 8px 0; margin: 0 0 -1px; font-size: 15px; line-height: 1.3;
	color: var(--ayb-suave); text-decoration: none; border-bottom: 2px solid transparent;
}
html body .ayb-fav-tabs a.es-activa { color: var(--ayb-oscuro); font-weight: 600; border-bottom-color: var(--ayb-oscuro); }
html body .ayb-fav-tabs a:hover { color: var(--ayb-oscuro); }

.ayb-fav-lista { list-style: none; margin: 0; padding: 0; }
.ayb-fav-lista > li.ayb-fav {
	display: flex; gap: 12px; align-items: flex-start; box-sizing: border-box;
	margin: 0; padding: 14px 0; border-bottom: 1px solid var(--ayb-borde); list-style: none;
}
.ayb-fav-lista > li.ayb-fav:last-child { border-bottom: 0; }
.ayb-fav-lista .ayb-fav-img { flex: 0 0 104px; width: 104px; height: 104px; display: block; margin: 0; padding: 0; overflow: hidden; border-radius: 8px; background: var(--ayb-gris); line-height: 0; }
.ayb-fav-lista .ayb-fav-img img { display: block; width: 100% !important; height: 100% !important; max-width: none; margin: 0; padding: 0; object-fit: cover; }
.ayb-fav-cuerpo { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ayb-fav-cuerpo > * { margin: 0; }
html body .ayb-fav-cuerpo a.ayb-fav-nombre {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
	font-size: 14px; line-height: 1.35; font-weight: 400; color: var(--ayb-texto); text-decoration: none;
}
html body .ayb-fav-cuerpo a.ayb-fav-nombre:hover { color: var(--ayb-rojo); }
.ayb-fav-precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; line-height: 1.25; }
.ayb-fav-ahora { font-size: 18px; font-weight: 600; color: var(--ayb-oscuro); }
.ayb-fav-ahora ins, .ayb-fav-ahora .amount { text-decoration: none; background: none; }
.ayb-fav-ahora del { font-size: 13px; font-weight: 400; color: #999; }
.ayb-fav-ahora ins { font-weight: 600; }
.ayb-fav-antes { font-size: 13px; font-weight: 400; color: #999; text-decoration: line-through; }
.ayb-fav-antes .amount { color: inherit; }
.ayb-fav-tag { align-self: flex-start; padding: 2px 8px; border-radius: 4px; font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--ayb-rojo); background: #FDE8EB; }
.ayb-fav-tag-gris { color: var(--ayb-suave); background: var(--ayb-gris); font-weight: 400; }
.ayb-fav-fila { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.ayb-fav-form { margin: 0; padding: 0; }
.ayb-fav-fila > .ayb-fav-form:first-child { flex: 1 1 0; min-width: 0; }
.ayb-fav-fila > .ayb-fav-btn { flex: 1 1 0; min-width: 0; }
html body .ayb-fav .ayb-fav-btn {
	display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%;
	height: 44px; min-height: 44px; margin: 0; padding: 0 10px; border: 1px solid #111; border-radius: 22px;
	background: #111; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; text-decoration: none;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: none; cursor: pointer;
}
html body .ayb-fav .ayb-fav-btn:hover { background: #333; border-color: #333; color: #fff; }
html body .ayb-fav .ayb-fav-btn-sec { background: #fff; color: #111; }
html body .ayb-fav .ayb-fav-btn-sec:hover { background: var(--ayb-gris); color: #111; border-color: #111; }
html body .ayb-fav .ayb-fav-btn-off { background: var(--ayb-gris); border-color: var(--ayb-gris); color: #888; cursor: default; }
html body .ayb-fav .ayb-fav-quitar {
	display: flex; align-items: center; justify-content: center; box-sizing: border-box; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px;
	margin: 0; padding: 0; border: 1px solid #ccc; border-radius: 50%; background: #fff; color: #555; box-shadow: none; cursor: pointer;
}
html body .ayb-fav .ayb-fav-quitar:hover { border-color: var(--ayb-rojo); color: var(--ayb-rojo); background: #fff; }
.ayb-fav .ayb-fav-btn:focus-visible, .ayb-fav .ayb-fav-quitar:focus-visible, .ayb-fav-tabs a:focus-visible { outline: 2px solid var(--ayb-azul); outline-offset: 2px; }
.ayb-fav-form-quitar { flex: 0 0 auto; }

@media (min-width: 601px) {
	.ayb-fav-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; padding-top: 16px; }
	.ayb-fav-lista > li.ayb-fav { flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--ayb-borde); border-radius: var(--ayb-radio); background: #fff; }
	.ayb-fav-lista > li.ayb-fav:last-child { border-bottom: 1px solid var(--ayb-borde); }
	.ayb-fav-lista .ayb-fav-img { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1 / 1; }
	.ayb-fav-cuerpo { width: 100%; flex: 1 1 auto; }
	.ayb-fav-fila { margin-top: auto; padding-top: 6px; }
}

/* Menú lateral: medidas propias, para que se vea igual con cualquier configuración del tema */
.woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.woocommerce-MyAccount-navigation li > a {
	display: flex !important;
	align-items: center !important;
	box-sizing: border-box;
	min-height: 40px;
	margin: 0 !important;
	padding-top: 6px !important;
	padding-bottom: 6px !important;
	padding-right: 12px !important;
	line-height: 1.3 !important;
}
.woocommerce-MyAccount-navigation li > a::before,
.woocommerce-MyAccount-navigation li > a::after { content: none !important; display: none !important; }
.woocommerce-MyAccount-navigation li.ayb-grupo { margin-top: 10px !important; }
@media (max-width: 600px) {
	.woocommerce-MyAccount-navigation li > a { min-height: 44px; font-size: 16px; }
}

/* 0.14.3 — Menú más compacto y con el ícono alineado al texto.
   WordPress mete un <br> invisible adentro de cada enlace; como el enlace es flex, ese <br>
   pasaba a ser una línea entera: inflaba cada ítem a ~59px y bajaba el texto respecto del ícono. */
html body .woocommerce-MyAccount-navigation li > a > br { display: none !important; }
html body .woocommerce-MyAccount-navigation li > a {
	min-height: 38px !important;
	padding-top: 4px !important;
	padding-bottom: 4px !important;
	line-height: 1.3 !important;
	background-position: 6px 50% !important;
}
html body .woocommerce-MyAccount-navigation li.ayb-grupo { margin-top: 10px !important; }
html body .woocommerce-MyAccount-navigation li.ayb-grupo::before { padding-bottom: 4px; }
@media (max-width: 600px) {
	html body .woocommerce-MyAccount-navigation li > a { min-height: 40px !important; font-size: 16px !important; }
}

/* Etiqueta de envío: botones grandes, pensados para usar desde el celular */
.ayb-eti-envio .ayb-boton-grande,
.ayb-eti-envio button.ayb-boton-grande {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 52px;
	line-height: 1.2;
	padding: 14px 16px;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	margin-top: 12px;
}
.ayb-eti-envio textarea { width: 100%; box-sizing: border-box; font-size: 16px; }
.ayb-eti-envio .ayb-ok { background: #eef8ee; border-left: 4px solid #2e7d32; padding: 10px 12px; border-radius: 6px; }

/* Avisos de «te llegó algo»: globito con número en el menú y aviso con enlace en las tarjetas */
.woocommerce-MyAccount-navigation li.ayb-aviso > a::after {
	content: "!" !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	box-sizing: border-box;
	border-radius: 10px;
	background: var(--ayb-rojo, #d7263d);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
.woocommerce-MyAccount-navigation li.ayb-n-1 > a::after { content: "1" !important; }
.woocommerce-MyAccount-navigation li.ayb-n-2 > a::after { content: "2" !important; }
.woocommerce-MyAccount-navigation li.ayb-n-3 > a::after { content: "3" !important; }
.woocommerce-MyAccount-navigation li.ayb-n-4 > a::after { content: "4" !important; }
.woocommerce-MyAccount-navigation li.ayb-n-5 > a::after { content: "5" !important; }
.woocommerce-MyAccount-navigation li.ayb-n-6 > a::after { content: "6" !important; }
.woocommerce-MyAccount-navigation li.ayb-n-7 > a::after { content: "7" !important; }
.woocommerce-MyAccount-navigation li.ayb-n-8 > a::after { content: "8" !important; }
.woocommerce-MyAccount-navigation li.ayb-n-9 > a::after { content: "9" !important; }
.woocommerce-MyAccount-navigation li.ayb-n-mas > a::after { content: "9+" !important; }

.ayb-aviso-chat {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 8px;
	padding: 10px 12px;
	background: #fff3f3;
	border: 1px solid var(--ayb-rojo, #d7263d);
	border-radius: 8px;
	color: var(--ayb-rojo, #d7263d);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}
.ayb-aviso-chat:hover { background: #ffe6e6; }

/* Reclamos: el reclamo se hace desde la propia página (botón rojo que abre el formulario). */
.ayb-item-reclamar { flex-wrap: wrap; }
.ayb-item-reclamo { flex: 1 1 100%; }
.ayb-reclamo-nuevo > summary.button { display: inline-block; cursor: pointer; }
.ayb-reclamo-nuevo[open] > summary.button { margin-bottom: 10px; }

/* ============================================================
   Mis opiniones (v0.10.11): pestañas, estrellas para tocar y pantalla para calificar
   ============================================================ */

/* Ícono del menú: una estrella */
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--mis-opiniones > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203l2.7%205.6%206.1.9-4.4%204.3%201%206.1L12%2017l-5.4%202.9%201-6.1L3.2%209.5l6.1-.9z'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--mis-opiniones.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203l2.7%205.6%206.1.9-4.4%204.3%201%206.1L12%2017l-5.4%202.9%201-6.1L3.2%209.5l6.1-.9z'/%3E%3C/svg%3E") !important; }
/* 0.14.3 — «Preguntas recibidas» no tenía ícono (bandeja de entrada) */
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--preguntas-recibidas > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23333333'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2013l2-8h12l2%208v6H4v-6z%20M4%2013h5l1%202h4l1-2h5'/%3E%3C/svg%3E") !important; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--preguntas-recibidas.is-active > a { background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23E60023'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2013l2-8h12l2%208v6H4v-6z%20M4%2013h5l1%202h4l1-2h5'/%3E%3C/svg%3E") !important; }

/* Pestañas Pendientes / Realizadas */
.ayb-op-tabs { display: flex; border-bottom: 2px solid var(--ayb-borde); margin: 0 0 16px; }
.ayb-op-tabs a {
	flex: 1;
	text-align: center;
	padding: 12px 8px;
	margin-bottom: -2px;
	font-weight: 600;
	color: var(--ayb-oscuro) !important;
	text-decoration: none !important;
	border-bottom: 3px solid transparent;
}
.ayb-op-tabs a[aria-current="page"] { color: var(--ayb-rojo) !important; border-bottom-color: var(--ayb-rojo); }

/* Tarjetas */
.ayb-op-lista { list-style: none; margin: 0; padding: 0; }
.ayb-op-card {
	background: #fff;
	border: 1px solid var(--ayb-borde);
	border-radius: var(--ayb-radio);
	padding: 14px;
	margin: 0 0 12px;
}
.ayb-op-cab { display: flex; align-items: flex-start; gap: 14px; }
.ayb-op-cab .ayb-item-img { flex: 0 0 72px; line-height: 0; }
.ayb-op-cab .ayb-item-img img { width: 72px !important; height: 72px !important; max-width: none; object-fit: cover; border-radius: 8px; display: block; margin: 0; }
.ayb-op-resultado { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ayb-borde); }
.ayb-op-resultado p { margin: 0 0 8px; }
.ayb-op-res .ayb-estrellas-g { font-size: 26px; }

/* Estrellas para tocar en la lista (en el HTML van de la 5 a la 1; se muestran de la 1 a la 5) */
.ayb-op-estrellas { display: flex; flex-direction: row-reverse; justify-content: center; gap: 2px; margin-top: 10px; }
.ayb-op-estrellas a {
	font-size: 40px;
	line-height: 1;
	padding: 4px 9px;
	color: #c9ccd1 !important;
	text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
}
.ayb-op-estrellas a:hover,
.ayb-op-estrellas a:hover ~ a,
.ayb-op-estrellas a:focus,
.ayb-op-estrellas a:focus ~ a { color: #f0b400 !important; }

/* Pantalla para calificar */
.ayb-op-volver { display: inline-block; margin: 0 0 12px; font-weight: 600; color: var(--ayb-oscuro) !important; text-decoration: none !important; }
.ayb-op-form .ayb-op-picker { border: 0; background: transparent; padding: 0; margin: 14px 0 18px; text-align: center; }
.ayb-op-form .ayb-op-picker legend { float: none; width: 100%; padding: 0; margin: 0 0 6px; font-size: 18px; font-weight: 700; text-align: left; }
.ayb-op-picker-fila { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; }
.ayb-op-picker-fila input[type="radio"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	pointer-events: none;
}
.ayb-op-picker-fila label {
	display: inline-block !important;
	margin: 0 !important;
	padding: 2px 8px;
	font-size: 46px;
	line-height: 1;
	color: #c9ccd1;
	cursor: pointer;
	border-radius: 8px;
}
.ayb-op-picker-fila input:checked ~ label,
.ayb-op-picker-fila label:hover,
.ayb-op-picker-fila label:hover ~ label { color: #f0b400; }
.ayb-op-picker-fila input:focus-visible + label { outline: 3px solid rgba(13, 27, 42, .5); outline-offset: 2px; }
.ayb-op-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ayb-op-aviso-vendedor { margin: 8px 0 0; text-align: left; }
.ayb-op-form h3 { margin: 0 0 8px; font-size: 18px; color: var(--ayb-oscuro); }
.ayb-op-form h3 label { font-size: inherit; margin: 0; }
.ayb-op-form h3 small { font-size: 13px; font-weight: 400; color: var(--ayb-suave); }
.ayb-op-fotos-caja {
	display: block !important;
	padding: 18px 14px;
	border: 2px dashed #5b8def;
	border-radius: var(--ayb-radio);
	background: #fff;
	text-align: center;
	color: #0a58ca;
	font-weight: 600;
	cursor: pointer;
}
.ayb-op-fotos-caja input[type="file"] { display: block; margin: 10px auto 0; max-width: 100%; font-weight: 400; color: var(--ayb-texto); }
.ayb-op-form textarea { width: 100%; max-width: 100%; }
.ayb-op-form .ayb-op-publicar.button { width: 100%; padding: 14px; font-size: 17px; font-weight: 700; margin-top: 6px; background: var(--ayb-rojo); color: #fff; border: 1px solid var(--ayb-rojo); border-radius: 6px; }
.ayb-op-form .ayb-op-publicar.button:hover { filter: brightness(.92); color: #fff; }
@media (max-width: 480px) {
	.ayb-op-estrellas a { font-size: 36px; padding: 4px 7px; }
	.ayb-op-picker-fila label { font-size: 42px; padding: 2px 5px; }
}


/* ---------- Direcciones (libreta del comprador) ---------- */
.ayb-dir-lista { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.ayb-dir { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--ayb-borde); border-radius: var(--ayb-radio); }
.ayb-dir-alias { align-self: flex-start; margin-bottom: 4px; padding: 1px 8px; border-radius: 6px; background: #E7E9EC; color: #374151; font-size: 12px; font-weight: 600; }
.ayb-dir-calle { font-size: 16px; color: var(--ayb-oscuro); overflow-wrap: anywhere; }
.ayb-dir-linea { font-size: 14px; color: var(--ayb-suave); overflow-wrap: anywhere; }
.ayb-dir-acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ayb-dir-confirmar { margin-top: 10px; padding: 12px; background: #FDECEA; border-radius: 8px; }
.ayb-dir-confirmar p { margin: 0 0 10px; }
.ayb-dir-confirmar .button { margin-right: 8px; }
.ayb-dir-form { max-width: 520px; }
/* El borde rojo de los campos con error lo pone ayoban-cajas.css */


/* ============================================================
   Verificación de vendedor en 3 pasos (v0.14.0)
   Sin JavaScript se ve el formulario entero; con JavaScript, de a un paso.
   ============================================================ */
.ayb-vf { scroll-margin-top: 90px; }
.ayb-vf-barra { display: none; }
.ayb-vf-js .ayb-vf-barra { display: flex; gap: 8px; max-width: 860px; margin: 0 0 14px; padding: 0; list-style: none; }
.ayb-vf-js .ayb-vf-barra li { flex: 1; margin: 0; padding: 8px 4px 10px; border-bottom: 3px solid var(--ayb-borde); text-align: center; font-size: 13px; color: var(--ayb-suave); }
.ayb-vf-js .ayb-vf-barra li.activo { color: var(--ayb-rojo); border-bottom-color: var(--ayb-rojo); font-weight: 700; }
.ayb-vf-js .ayb-vf-barra li.hecho { color: var(--ayb-oscuro); border-bottom-color: var(--ayb-ok); cursor: pointer; }
.ayb-vf-barra li.activo .ayb-progreso-n { background: var(--ayb-rojo); color: #fff; }
.ayb-vf-barra li.hecho .ayb-progreso-n { background: var(--ayb-ok); color: #fff; }
.ayb-vf-barra li:focus-visible { outline: 2px solid var(--ayb-rojo); outline-offset: 2px; }
.ayb-vf-ch { display: none; }

.ayb-vf-tarjeta { max-width: 860px; background: #fff; border: 1px solid var(--ayb-borde); border-radius: var(--ayb-radio); padding: 20px 22px; box-sizing: border-box; }
.ayb-vf-paso + .ayb-vf-paso { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ayb-borde); }
.ayb-vf-js .ayb-vf-paso { display: none; }
.ayb-vf-js .ayb-vf-paso + .ayb-vf-paso { margin: 0; padding: 0; border: 0; }
.ayb-vf-js .ayb-vf-paso.ayb-vf-actual { display: block; }
.ayb-vf-paso h3 { margin: 0 0 2px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ayb-oscuro); outline: none; }
.ayb-vf-n { margin: 0 0 14px; font-size: 12.5px; color: var(--ayb-suave); }
.ayb-vf-nota { margin: 0 0 12px; }

.ayb-vf-dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ayb-vf-fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
.ayb-vf-fotos .ayb-campo { margin: 0; }

.ayb-campo .ayb-vf-sube { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; margin: 0; padding: 12px; box-sizing: border-box; border: 1.5px dashed #BDBDBD; border-radius: 12px; background: #FAFAFA; text-align: center; font-weight: 400; overflow: hidden; }
.ayb-vf-ico { display: block; width: 30px; height: 30px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5E5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M6.5 16c.5-1.5 1.5-2 2.5-2s2 .5 2.5 2M14 10h4M14 13h3'/%3E%3C/svg%3E"); }
.ayb-vf-ico-cara { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5E5A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M6.2 18.5c1.3-2 3.2-3 5.8-3s4.5 1 5.8 3'/%3E%3C/svg%3E"); }
.ayb-vf-tit { font-size: 14px; font-weight: 600; color: var(--ayb-oscuro); }
.ayb-vf-arch { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ayb-suave); }
.ayb-vf-elegir, .ayb-vf-mini { display: none; }
.ayb-vf-js .ayb-vf-sube { cursor: pointer; }
.ayb-vf-js .ayb-vf-sube:hover { border-color: var(--ayb-rojo); }
.ayb-vf-js .ayb-vf-sube:focus-within { outline: 2px solid var(--ayb-rojo); outline-offset: 2px; }
.ayb-vf-js .ayb-vf-sube input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ayb-vf-js .ayb-vf-elegir { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 14px; border: 1px solid var(--ayb-rojo); border-radius: 6px; color: var(--ayb-rojo); font-size: 13px; font-weight: 600; }
.ayb-vf-sube.ayb-vf-lleno { border-style: solid; border-color: var(--ayb-ok); }
.ayb-vf-sube.ayb-vf-lleno .ayb-vf-ico { display: none; }
.ayb-vf-sube.ayb-vf-lleno .ayb-vf-mini { display: block; width: 100%; height: 84px; object-fit: cover; border-radius: 8px; }
.ayb-vf-sube input[type="file"] { max-width: 100%; }
.ayb-vf input[type="text"], .ayb-vf input[type="tel"], .ayb-vf input[type="file"] { box-sizing: border-box; max-width: 100%; }

.ayb-vf-fin { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--ayb-borde); }
.ayb-vf-fin h4 { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--ayb-oscuro); }
/* WoodMart agranda labels y casillas (18px): se achican dentro del asistente */
html body .ayb-vf .ayb-campo > label:not(.ayb-vf-sube) { font-size: 15px; font-weight: 700; line-height: 1.3; margin: 0 0 4px; }
html body .ayb-vf-fin .ayb-check { font-size: 14.5px; font-weight: 400; line-height: 1.45; margin: 0 0 10px; align-items: flex-start; }
html body .ayb-vf-fin .ayb-check input { margin: 2px 0 0; width: 18px; height: 18px; flex: 0 0 18px; }

.ayb-vf-error { margin: 4px 0 0; font-size: 13px; color: var(--ayb-error, #D92D20); }
.ayb-vf-aviso { margin: 6px 0 0; padding: 8px 12px; border-radius: 8px; background: #FEF3F2; color: #B42318; font-size: 13px; }
/* Foto o casillas que faltan: la tarjeta de la foto y las casillas también se marcan en rojo */
.ayb-vf .ayb-campo-mal .ayb-vf-sube { border-color: var(--ayb-error, #D92D20); border-style: dashed; }
.ayb-vf .ayb-vf-fin.ayb-campo-mal .ayb-check input { outline: 2px solid var(--ayb-error, #D92D20); outline-offset: 1px; }

.ayb-vf-botones { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
html body .ayb-vf .ayb-vf-botones .button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 120px; height: 42px; min-height: 0; margin: 0; padding: 0 24px; line-height: 1; text-align: center; white-space: nowrap; }
html body .ayb-vf .ayb-vf-botones .ayb-boton { background: var(--ayb-rojo); border: 1px solid var(--ayb-rojo); color: #fff; }
html body .ayb-vf .ayb-vf-botones .ayb-boton:hover { filter: brightness(.92); color: #fff; }
html body .ayb-vf .ayb-vf-botones .ayb-boton-sec { background: #fff; border: 1px solid var(--ayb-rojo); color: var(--ayb-rojo); }
.ayb-vf-volver, .ayb-vf-sig { display: none !important; }
.ayb-vf-js .ayb-vf-botones { justify-content: space-between; }
.ayb-vf-js .ayb-vf-volver, .ayb-vf-js .ayb-vf-sig { display: inline-flex !important; }
.ayb-vf-js .ayb-vf-enviar { display: none !important; }
.ayb-vf-js[data-paso="1"] .ayb-vf-volver { visibility: hidden; }
.ayb-vf-js[data-paso="3"] .ayb-vf-sig { display: none !important; }
.ayb-vf-js[data-paso="3"] .ayb-vf-enviar { display: inline-flex !important; }

@media (max-width: 700px) {
	.ayb-vf-tarjeta { padding: 16px 14px; }
	.ayb-vf-dos, .ayb-vf-fotos { grid-template-columns: minmax(0, 1fr); }
	.ayb-vf-lg { display: none; }
	.ayb-vf-ch { display: inline; }
	.ayb-vf-barra .ayb-progreso-n { display: flex; margin: 0 auto 4px; }
	.ayb-campo .ayb-vf-sube { min-height: 120px; }
	html body .ayb-vf .ayb-vf-botones .button { flex: 1 1 0; min-width: 0; padding: 0 12px; }
	html body .ayb-vf .ayb-vf-botones .ayb-vf-volver { flex: 0 0 auto; min-width: 96px; }
	.ayb-vf-js[data-paso="1"] .ayb-vf-volver { display: none !important; }
	.ayb-vf input[type="tel"] { font-size: 16px; }
}

/* ============================================================
   Textos más legibles (v0.14.1): títulos y etiquetas en casi negro y negrita,
   textos de ayuda en gris oscuro y un poco más gruesos (sobre todo para el celular).
   Llevan !important porque WoodMart y Elementor pintan estos textos en gris claro con reglas muy específicas.
   ============================================================ */
html body .ayb-seccion .ayb-titulo,
html body .ayb-vf-paso h3,
html body .ayb-vf-fin h4,
html body .ayb-form legend { color: #000 !important; }
html body .ayb-campo > label:not(.ayb-vf-sube),
html body .ayb-etiqueta-campo { color: #111 !important; font-weight: 700 !important; }
html body .ayb-bajada,
html body .ayb-ayuda,
html body .ayb-vf-n { color: #444 !important; font-weight: 500 !important; }
html body .ayb-vf-js .ayb-vf-barra li { color: #555; font-weight: 500; }
html body .ayb-vf-js .ayb-vf-barra li.activo { color: var(--ayb-rojo); font-weight: 700; }
html body .ayb-vf-js .ayb-vf-barra li.hecho { color: #111; }
@media (max-width: 700px) {
	html body .ayb-ayuda { font-size: 13.5px; }
}

/* ============================================================
   La compra en tres pantallas (v0.14.2): menú «Acciones», enlaces de la compra, volver, título del chat
   ============================================================ */
.ayb-ico { width: 20px; height: 20px; flex: none; }

/* Menú «Acciones» de la lista de compras (un <details>: funciona sin JavaScript) */
.ayb-acciones { position: relative; }
.ayb-acciones > summary {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	box-sizing: border-box;
}
.ayb-acciones > summary::-webkit-details-marker { display: none; }
.ayb-acciones > summary .ayb-ico { width: 16px; height: 16px; transition: transform .15s ease; }
.ayb-acciones[open] > summary .ayb-ico { transform: rotate(180deg); }
.ayb-acciones-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 30;
	min-width: 210px;
	margin: 0;
	padding: 4px;
	list-style: none;
	background: #fff;
	border: 1px solid #D5D8DC;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}
.ayb-acciones-menu li { margin: 0; padding: 0; }
.ayb-acciones-menu li + li { border-top: 1px solid #ECEEF0; }
html body .ayb-acciones-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 10px;
	min-height: 44px;
	box-sizing: border-box;
	font-weight: 700;
	font-size: 15px;
	color: #111;
	text-decoration: none;
	border-radius: 8px;
}
html body .ayb-acciones-menu a:hover,
html body .ayb-acciones-menu a:focus-visible { background: #F4F5F7; color: #000; }
.ayb-acciones-menu .ayb-ico { color: var(--ayb-rojo); }
.ayb-item-acciones > .ayb-acciones { flex: 1 1 0; min-width: 0; }
/* El tema (WoodMart) le pone margen arriba y abajo a todos los <details>: en el celular la fila estira «Ver detalle» hasta ese alto y el botón rojo queda enorme. Sin márgenes, los dos botones miden lo mismo. */
html body .ayb-item-acciones > .ayb-acciones { margin: 0 !important; }
/* Los dos botones de la tarjeta, del mismo alto con cualquier tema (igual que en Favoritos) */
html body .ayb-item-acciones-compra { align-items: stretch; }
html body .ayb-item-acciones-compra > a.button,
html body .ayb-item-acciones-compra > .ayb-acciones > summary.button {
	display: flex; align-items: center; justify-content: center;
	box-sizing: border-box; width: 100%; height: 44px; min-height: 0; margin: 0; padding: 0 12px; line-height: 1.2;
}
/* «Acciones» no se pinta de gris al tocarlo (el tema lo hace con todos los .button): queda blanco con borde y letra rojos, apenas rosado al apoyar el dedo o tener el menú abierto */
html body .ayb-acciones > summary.button { background: #fff !important; color: var(--ayb-rojo) !important; border: 1px solid var(--ayb-rojo) !important; }
html body .ayb-acciones > summary.button:hover,
html body .ayb-acciones > summary.button:focus,
html body .ayb-acciones > summary.button:active,
html body .ayb-acciones[open] > summary.button { background: #FFF4F6 !important; color: var(--ayb-rojo) !important; border-color: var(--ayb-rojo) !important; }
@media (min-width: 601px) {
	.ayb-item-acciones > .ayb-acciones { flex: none; }
}

/* Enlaces de la compra: Reclamo, Mensaje y Cancelar, uno abajo del otro */
.ayb-acciones-compra { list-style: none; margin: 14px 0 0; padding: 0; }
.ayb-acciones-compra li { margin: 0; padding: 0; border-top: 1px solid var(--ayb-borde); }
.ayb-enlace-accion {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 2px;
	min-height: 44px;
	box-sizing: border-box;
	font-size: 15px;
	font-weight: 700;
	color: #111;
	text-decoration: none;
	cursor: pointer;
}
.ayb-enlace-accion .ayb-ico { color: var(--ayb-rojo); }
a.ayb-enlace-accion:hover span,
a.ayb-enlace-accion:focus-visible span { text-decoration: underline; }
html body .ayb-enlace-reclamo { color: var(--ayb-rojo); font-weight: 700 !important; list-style: none; }
.ayb-enlace-reclamo::-webkit-details-marker { display: none; }
.ayb-protegida .ayb-bloque > .ayb-eliminar { margin-top: 14px; border-top: 1px solid var(--ayb-borde); }
.ayb-protegida .ayb-bloque > .ayb-eliminar + .ayb-acciones-compra { margin-top: 0; }
.ayb-punto {
	margin-left: auto;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--ayb-rojo);
	color: #fff;
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
}
.ayb-acciones-compra.ayb-bloque,
.ayb-bloque.ayb-acciones-compra { margin-top: 0; padding-top: 0; padding-bottom: 0; }

/* Pantallas de Mensaje y de Cancelar */
.ayb-volver-compra {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 0 0 6px;
	color: var(--ayb-rojo);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
.ayb-volver-compra:hover span,
.ayb-volver-compra:focus-visible span { text-decoration: underline; }
.ayb-titulo-mensaje { display: flex; align-items: center; gap: 10px; }
.ayb-titulo-mensaje .ayb-ico { width: 22px; height: 22px; color: var(--ayb-rojo); }
.ayb-cancelar-compra { margin-bottom: 14px; }
/* «Quiero cancelar»: botón rojo y de ancho completo, igual que el del Botón de Arrepentimiento (el tema suele pintar los .button de gris) */
html body .woocommerce-MyAccount-content .ayb-cancelar-compra .button.ayb-boton { background: var(--ayb-rojo) !important; color: #fff !important; border-color: var(--ayb-rojo) !important; width: 100%; }
/* Jerarquía en las pantallas Mensaje y Cancelar: el título más grande que las etiquetas (WoodMart pone las etiquetas en 18 px y los h3 más chicos) y una caja de motivo de tamaño razonable */
html body .woocommerce-MyAccount-content .ayb-pantalla-compra .ayb-bloque h3,
html body .woocommerce-MyAccount-content .ayb-pantalla-compra .ayb-arrep-caja h3 { font-size: 20px !important; line-height: 1.25 !important; margin: 0 0 10px !important; }
html body .woocommerce-MyAccount-content .ayb-pantalla-compra :is(.ayb-campo > label, .ayb-arrep-campo label, .ayb-chat-etiqueta) { font-size: 16px !important; }

/* ============================================================
   Textos más legibles en el resto de las pantallas (v0.14.2): Vender, la compra, su línea de tiempo,
   el chat, cancelar y el resumen del pedido. Mismo criterio que arriba: títulos negros y en negrita,
   etiquetas casi negras, párrafos en gris oscuro y un poco más gruesos. !important porque WoodMart y
   Elementor los pintan en gris claro con reglas más específicas.
   ============================================================ */
html body .woocommerce-MyAccount-content :is(.ayb-bloque h3, .ayb-requisitos h3, .ayb-arrep-caja h3, .ayb-arrep h3, .ayb-chat h3, .ayb-seccion h2, .ayb-seccion h3),
html body .woocommerce-MyAccount-content .woocommerce-order-details__title,
html body .woocommerce-MyAccount-content h2 { color: #000 !important; font-weight: 700 !important; }

html body .woocommerce-MyAccount-content :is(.ayb-pasos li, .ayb-requisitos li, .ayb-protegida .ayb-bloque > p, .ayb-protegida .ayb-bloque > form p, .ayb-pantalla-compra .ayb-bloque p, .ayb-arrep-caja p, .ayb-chat p, .ayb-chat-texto, .ayb-chico, .ayb-item-meta, .ayb-productos-parte li, .ayb-linea-txt small, .ayb-chat-cab),
html body .woocommerce-MyAccount-content .ayb-aviso:not(.ayb-aviso-error):not(.ayb-aviso-ok) { color: #3A3A3A !important; font-weight: 500 !important; }

html body .woocommerce-MyAccount-content :is(.ayb-pasos li strong, .ayb-requisitos li strong, .ayb-bloque p strong, .ayb-chat p strong, .ayb-chat-cab strong, .ayb-aviso strong, .ayb-chico strong, .ayb-item-nombre, .ayb-item-total),
html body .woocommerce-MyAccount-content :is(.ayb-linea-txt strong, .ayb-chat-etiqueta, .ayb-arrep-campo label, .ayb-protegida .ayb-campo > label, .ayb-pantalla-compra .ayb-campo > label) { color: #111 !important; font-weight: 700 !important; }

html body .woocommerce-MyAccount-content .ayb-linea li.pendiente .ayb-linea-txt strong { color: #555 !important; }
html body .woocommerce-MyAccount-content :is(.ayb-arrep-ayuda, .ayb-chat-pie) { color: #444 !important; font-weight: 500 !important; }
html body .woocommerce-MyAccount-content .ayb-chat-oculto { color: #555 !important; }

/* Resumen del pedido (la tabla de WooCommerce) y lo que WooCommerce escribe arriba */
html body .woocommerce-MyAccount-content .woocommerce-table--order-details :is(th, td, td a),
html body .woocommerce-MyAccount-content .woocommerce-customer-details address,
html body .woocommerce-MyAccount-content .woocommerce-OrderUpdates .comment-text,
html body .woocommerce-MyAccount-content .woocommerce-OrderUpdates .woocommerce-OrderUpdate-meta { color: #3A3A3A !important; font-weight: 500 !important; }
html body .woocommerce-MyAccount-content .woocommerce-table--order-details :is(thead th, tfoot th, .product-name > a:first-child) { color: #111 !important; font-weight: 700 !important; }

@media (max-width: 700px) {
	html body .woocommerce-MyAccount-content .ayb-chico { font-size: 13.5px; }
	html body .woocommerce-MyAccount-content .ayb-linea-txt small { font-size: 13px; }
}

/* ==========================================================================================
   0.14.4 — Reputación con los 4 escudos, separaciones más cortas, formularios sin huecos y Resumen sin párrafo de WooCommerce
   ========================================================================================== */

/* Los 4 escudos en una fila (Reputación). En el celular entran los 4 uno al lado del otro */
html body .woocommerce-MyAccount-content .ayb-escudos-fila {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
	align-items: end;
	max-width: 680px;
	margin: 0 0 12px;
}
html body .woocommerce-MyAccount-content .ayb-escudos-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	min-width: 0;
	padding: 4px 0;
	border-radius: 12px;
	box-sizing: border-box;
}
html body .woocommerce-MyAccount-content .ayb-escudos-item .ayb-escudo { display: block; width: 100%; max-width: none; height: auto; }
html body .woocommerce-MyAccount-content .ayb-escudos-actual { box-shadow: 0 0 0 2px var(--ayb-rojo); background: #FFF4F6; }
html body .woocommerce-MyAccount-content .ayb-escudos-tu {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--ayb-rojo);
}

/* Subtítulos de las secciones (Tus calificaciones, Verificación) */
html body .woocommerce-MyAccount-content h3.ayb-subtitulo {
	margin: 16px 0 10px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	color: #000;
}

/* Reputación: separaciones más cortas */
html body .woocommerce-MyAccount-content .ayb-reputacion .ayb-bajada { margin: 0 0 12px; }
html body .woocommerce-MyAccount-content .ayb-nivel-panel { padding: 14px; margin: 0 0 8px; }
html body .woocommerce-MyAccount-content .ayb-nivel-cab { gap: 12px; }
html body .woocommerce-MyAccount-content .ayb-nivel-sig { margin: 10px 0 4px; line-height: 1.4; }
html body .woocommerce-MyAccount-content .ayb-nivel-lista { margin: 0 0 4px; }
html body .woocommerce-MyAccount-content .ayb-nivel-lista li { margin: 0 !important; padding: 2px 0 !important; line-height: 1.35 !important; }
html body .woocommerce-MyAccount-content .ayb-nivel-nota { margin: 6px 0 0; }

/* Formularios de WooCommerce en Mi cuenta (Mis datos): WordPress mete un <br> invisible entre el título y la caja y abre un hueco de ~25 px */
html body .woocommerce-MyAccount-content :is(form.woocommerce-EditAccountForm, form.edit-account, .woocommerce-address-fields) br,
html body .woocommerce-MyAccount-content p.form-row > br { display: none !important; }

/* Resumen: sin el párrafo «Desde el panel de control de tu cuenta podés ver tus pedidos recientes…» (si WooCommerce lo vuelve a poner, queda oculto igual) */
html body .woocommerce-MyAccount-content > p:has(+ .ayb-resumen):not(:has(a[href*="logout"])) { display: none !important; }

/* ============================================================
   v0.14.5 — «Volver» en rojo y en negrita (igual que «Volver a la compra») en Mis ventas y en los pasos de Publicar
   ============================================================ */
html body .woocommerce-MyAccount-content a.ayb-volver-rojo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--ayb-rojo) !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	text-decoration: none !important;
}
html body .woocommerce-MyAccount-content a.ayb-volver-rojo:hover span,
html body .woocommerce-MyAccount-content a.ayb-volver-rojo:focus-visible span { text-decoration: underline; }
html body .woocommerce-MyAccount-content a.ayb-volver-rojo .ayb-ico { flex: 0 0 auto; }
html body .woocommerce-MyAccount-content .ayb-volver-fila { margin: 0 0 6px; }

/* ============================================================
   v0.14.5 — «Archivar» en el menú «Acciones» de Mis compras y el enlace «Ver archivadas»
   ============================================================ */
html body .ayb-acciones-menu form.ayb-form-accion { margin: 0 !important; padding: 0 !important; }
html body .ayb-acciones-menu button.ayb-acciones-btn {
	display: flex;
	align-items: center;
	justify-content: flex-start !important; /* WoodMart centra el contenido de los botones */
	gap: 10px;
	width: 100%;
	min-height: 44px;
	padding: 12px 10px;
	box-sizing: border-box;
	margin: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 8px;
	box-shadow: none !important;
	color: #111 !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: inherit; /* igual que los enlaces del menú: así miden lo mismo */
	text-align: left;
	text-transform: none !important;
	letter-spacing: normal;
	cursor: pointer;
}
html body .ayb-acciones-menu button.ayb-acciones-btn:hover,
html body .ayb-acciones-menu button.ayb-acciones-btn:focus-visible { background: #F4F5F7 !important; color: #000 !important; }
html body .woocommerce-MyAccount-content p.ayb-ver-archivadas { margin: 14px 0 0; font-size: 15px; font-weight: 700; }
html body .woocommerce-MyAccount-content p.ayb-ver-archivadas a { color: var(--ayb-rojo); text-decoration: none; }
html body .woocommerce-MyAccount-content p.ayb-ver-archivadas a:hover { text-decoration: underline; }
html body .woocommerce-MyAccount-content .ayb-ver-archivadas-aviso { color: var(--ayb-rojo); font-weight: 700; }

/* ============================================================
   v0.14.6 — Mi cuenta en el celular y la tablet: panel de inicio, Avisos y Compra Protegida
   (la compu sigue con el menú de la izquierda y el resumen de siempre)
   ============================================================ */
.ayb-panel { display: none; }

@media (max-width: 1024px) {
	/* En el inicio, igual que adentro de cada sección: el menú largo se esconde y el panel ocupa todo el ancho */
	body.ayb-es-panel .woocommerce-MyAccount-navigation,
	body.ayb-es-panel *:has(> .woocommerce-MyAccount-navigation):not(:has(> .woocommerce-MyAccount-content)) { display: none; }
	body.ayb-es-panel .woocommerce-MyAccount-content { width: 100%; max-width: 100%; flex: 0 0 100%; }
	body.ayb-es-panel .ayb-resumen { display: none; }
	body.ayb-es-panel .ayb-panel { display: block; }
}

/* ----- Panel de inicio ----- */
html body .ayb-panel {
	--ayb-p-fondo: #F6F6F8;
	--ayb-p-texto: #222;
	--ayb-p-suave: #5F6368;
	--ayb-p-rojo: #CC0020;
	--ayb-p-rosa: #FDECEF;
	--ayb-p-linea: #ECECF0;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin: 0 0 0 calc(50% - 50vw);
	padding: 0 0 24px;
	background: var(--ayb-p-fondo);
	color: var(--ayb-p-texto);
	font-size: 15px;
	line-height: 20px;
}
html body .ayb-panel *,
html body .ayb-avisos *,
html body .ayb-protegida * { box-sizing: border-box; }
html body .ayb-panel a,
html body .ayb-avisos a,
html body .ayb-protegida a { text-decoration: none; }
html body .ayb-panel .ayb-p-ico,
html body .ayb-avisos .ayb-p-ico,
html body .ayb-protegida .ayb-p-ico { flex: none; display: block; max-width: none; }

/* Franja roja de arriba: quién sos + campanita */
html body .ayb-panel .ayb-p-cabecera {
	position: relative;
	margin: 0;
	padding: 12px 16px 38px;
	background: var(--ayb-rojo);
	border-radius: 0 0 24px 24px;
}
/* El tema deja unos píxeles blancos entre el buscador rojo y el contenido: la franja se estira hacia arriba con el mismo rojo para que se vea una sola pieza */
html body .ayb-panel .ayb-p-cabecera::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; background: var(--ayb-rojo); }
html body .ayb-panel .ayb-p-perfil { display: flex; align-items: center; gap: 12px; min-height: 56px; }
html body .ayb-panel .ayb-p-avatar {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff;
	color: var(--ayb-p-rojo);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}
html body .ayb-panel .ayb-p-quien { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
html body .ayb-panel .ayb-p-nombre {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 20px;
	line-height: 26px;
	font-weight: 700;
	color: #fff;
}
html body .ayb-panel a.ayb-p-miperfil {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0 -12px -16px 0; /* el toque mide 44 px de alto; el espacio que ocupa es el de siempre (28 px) */
	padding: 0 12px 16px 0;
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: #fff !important;
}
html body .ayb-panel a.ayb-p-miperfil:hover { text-decoration: underline; }
html body .ayb-panel a.ayb-p-campana {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #fff !important;
}
html body .ayb-panel a.ayb-p-campana:focus-visible,
html body .ayb-panel a.ayb-p-miperfil:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }

/* Globitos con número (campanita y fichas) */
html body .ayb-panel .ayb-p-globo {
	position: absolute;
	top: -6px;
	right: -6px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--ayb-p-rojo);
	color: #fff;
	font-size: 11px;
	line-height: 1;
	font-weight: 700;
}
html body .ayb-panel .ayb-p-globo-campana { top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #222; }
.ayb-p-solo-lectores { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Franja «Compra Protegida» (se monta un poco sobre el rojo) */
html body .ayb-panel a.ayb-p-protegida {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	margin: -24px 16px 0;
	padding: 8px 14px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .10);
	color: var(--ayb-p-texto) !important;
}
html body .ayb-panel .ayb-p-protegida > .ayb-p-ico-escudo { color: var(--ayb-p-rojo); }
html body .ayb-panel .ayb-p-protegida > .ayb-p-ico-flecha,
html body .ayb-panel .ayb-p-renglon > .ayb-p-ico-flecha,
html body .ayb-panel .ayb-p-pendiente > .ayb-p-ico-flecha,
html body .ayb-avisos .ayb-p-renglon > .ayb-p-ico-flecha { color: #6B7280; }
html body .ayb-panel .ayb-p-protegida-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html body .ayb-panel .ayb-p-protegida-tit { font-size: 15px; line-height: 20px; font-weight: 600; }
html body .ayb-panel .ayb-p-protegida-sub { font-size: 13px; line-height: 18px; color: var(--ayb-p-suave); }

html body .ayb-panel .ayb-p-cuerpo { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 0; }

/* Tarjetas blancas (también las usan Avisos y Compra Protegida) */
html body .ayb-p-bloque {
	margin: 0;
	padding: 16px;
	background: #fff;
	border: 1px solid #ECECF0;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
}
html body .ayb-p-h2 {
	margin: 0 0 8px;
	padding: 0;
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	color: #222;
}
html body .ayb-p-bloque-cab { display: flex; align-items: center; justify-content: space-between; min-height: 28px; margin-bottom: 12px; }
html body .ayb-p-bloque-cab .ayb-p-h2 { margin: 0; }
html body .ayb-panel a.ayb-p-vertodo {
	display: inline-flex;
	align-items: center;
	margin: -12px 0;
	padding: 12px 0 12px 12px; /* el toque mide 44 px de alto; la fila sigue midiendo lo mismo */
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: var(--ayb-p-rojo) !important;
}
html body .ayb-panel a.ayb-p-vertodo:hover { text-decoration: underline; }

/* Círculo de color con dibujito */
html body .ayb-p-circulo {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #FDECEF;
	color: #CC0020;
}
html body .ayb-p-circulo-chico { width: 32px; height: 32px; }
html body .ayb-p-circulo-grande { width: 64px; height: 64px; }
html body .ayb-p-circulo-blanco { background: #fff; color: #222; }

/* «Para hacer hoy» y los renglones con flecha */
html body .ayb-panel a.ayb-p-pendiente,
html body .ayb-panel a.ayb-p-renglon,
html body .ayb-avisos a.ayb-p-renglon {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	border-top: 1px solid #ECECF0;
	color: #222 !important;
}
html body .ayb-panel a.ayb-p-renglon,
html body .ayb-avisos a.ayb-p-renglon { min-height: 64px; }
html body .ayb-panel .ayb-p-hoy .ayb-p-h2 { margin-bottom: 4px; }
html body .ayb-panel .ayb-p-pendiente-txt { flex: 1; min-width: 0; font-size: 15px; line-height: 20px; font-weight: 600; }
html body .ayb-panel a.ayb-p-pendiente-mas { color: var(--ayb-p-rojo) !important; }
html body .ayb-panel .ayb-p-renglon-txt,
html body .ayb-avisos .ayb-p-renglon-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html body .ayb-panel .ayb-p-renglon-tit,
html body .ayb-avisos .ayb-p-renglon-tit { font-size: 15px; line-height: 20px; font-weight: 600; }
html body .ayb-panel .ayb-p-renglon-sub { font-size: 13px; line-height: 18px; color: var(--ayb-p-suave); }
html body .ayb-panel .ayb-p-cuenta .ayb-p-h2 { margin-bottom: 4px; }
html body .ayb-panel .ayb-p-vender { padding-top: 4px; padding-bottom: 4px; }
html body .ayb-panel .ayb-p-vender a.ayb-p-renglon { border-top: 0; }
html body .ayb-avisos .ayb-p-lista { padding-top: 4px; padding-bottom: 4px; }
html body .ayb-avisos .ayb-p-lista a.ayb-p-renglon:first-child { border-top: 0; }
html body .ayb-panel a.ayb-p-pendiente:hover,
html body .ayb-panel a.ayb-p-renglon:hover,
html body .ayb-avisos a.ayb-p-renglon:hover { background: #FAFAFB; }
html body .ayb-panel a:focus-visible,
html body .ayb-avisos a:focus-visible,
html body .ayb-protegida a:focus-visible { outline: 2px solid var(--ayb-p-rojo, #CC0020); outline-offset: 2px; border-radius: 8px; }

/* Fichas cuadradas (compras y ventas) */
html body .ayb-panel .ayb-p-fichas { display: grid; gap: 12px 4px; }
html body .ayb-panel .ayb-p-fichas-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
html body .ayb-panel .ayb-p-fichas-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body .ayb-panel a.ayb-p-ficha {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: #222 !important;
}
html body .ayb-panel .ayb-p-ficha-ico {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--ayb-p-fondo);
	color: #222;
}
html body .ayb-panel .ayb-p-ficha-txt { margin: 0; max-width: 100%; font-size: 12px; line-height: 16px; font-weight: 500; text-align: center; overflow-wrap: break-word; word-break: normal; }
/* Con 5 fichas por fila (compras) la columna es angosta: el texto puede salirse 4 px a cada lado para que «Preguntas» y «Reclamos» no se partan */
html body .ayb-panel .ayb-p-fichas-5 .ayb-p-ficha-txt { margin: 0 -4px; max-width: none; }
@media (max-width: 359px) { html body .ayb-panel .ayb-p-ficha-txt { font-size: 11px; } }

/* Números de ventas */
html body .ayb-panel .ayb-p-datos { display: flex; gap: 12px; margin-bottom: 16px; }
html body .ayb-panel a.ayb-p-dato {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-height: 76px;
	padding: 12px;
	border-radius: 12px;
	background: var(--ayb-p-fondo);
	color: #222 !important;
}
html body .ayb-panel a.ayb-p-dato-destacado { background: #FDECEF; }
html body .ayb-panel .ayb-p-dato-tit { font-size: 13px; line-height: 18px; color: var(--ayb-p-suave); }
html body .ayb-panel .ayb-p-dato-num { font-size: 20px; line-height: 28px; font-weight: 700; overflow-wrap: anywhere; }

/* Salir */
html body .ayb-panel a.ayb-p-salir {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	border: 1px solid #E3E3E8;
	border-radius: 14px;
	background: #fff;
	color: var(--ayb-p-rojo) !important;
	font-size: 15px;
	font-weight: 600;
}

/* ----- Avisos ----- */
html body .ayb-avisos,
html body .ayb-protegida { display: flex; flex-direction: column; gap: 12px; }
html body .ayb-avisos .ayb-titulo { margin-bottom: 0; }
html body .ayb-avisos .ayb-p-intro { margin: 0; font-size: 14px; line-height: 20px; color: #5F6368; }
html body .ayb-avisos .ayb-p-vacio { text-align: center; padding: 28px 20px; }
html body .ayb-avisos .ayb-p-vacio .ayb-p-circulo { margin: 0 auto 12px; }
html body .ayb-avisos .ayb-p-vacio-tit { margin: 0 0 6px; font-size: 18px; line-height: 24px; font-weight: 600; }
html body .ayb-avisos .ayb-p-vacio-txt { margin: 0; font-size: 14px; line-height: 20px; color: #4A4F57; }

/* ----- Compra Protegida ----- */
html body .ayb-protegida .ayb-pr-portada { text-align: center; padding: 24px 20px; border-radius: 20px; }
html body .ayb-protegida .ayb-pr-portada .ayb-p-circulo { margin: 0 auto; }
html body .ayb-protegida .ayb-pr-titulo { margin: 12px 0 6px; padding: 0; font-size: 24px; line-height: 31px; font-weight: 700; color: #222; }
html body .ayb-protegida .ayb-pr-bajada { margin: 0; font-size: 15px; line-height: 22px; color: #4A4F57; }
html body .ayb-protegida .ayb-p-h2 { margin-bottom: 16px; }
html body .ayb-protegida ol.ayb-pr-pasos { margin: 0; padding: 0; list-style: none; }
html body .ayb-protegida li.ayb-pr-paso { position: relative; margin: 0; padding: 0 0 18px 48px; list-style: none; }
html body .ayb-protegida li.ayb-pr-paso:last-child { padding-bottom: 0; }
html body .ayb-protegida li.ayb-pr-paso::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: #F3C4CB; }
html body .ayb-protegida li.ayb-pr-paso:last-child::after { display: none; }
html body .ayb-protegida .ayb-pr-num {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #CC0020;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	font-weight: 700;
}
html body .ayb-protegida .ayb-pr-paso-tit { display: block; font-size: 15px; line-height: 20px; font-weight: 600; color: #222; }
html body .ayb-protegida .ayb-pr-paso-txt { display: block; font-size: 14px; line-height: 20px; color: #4A4F57; }
html body .ayb-protegida .ayb-pr-fila { display: flex; gap: 12px; align-items: flex-start; }
html body .ayb-protegida .ayb-p-bloque > .ayb-pr-fila { padding-bottom: 16px; }
html body .ayb-protegida .ayb-p-bloque > .ayb-pr-fila:last-child { padding-bottom: 0; }
html body .ayb-protegida .ayb-pr-fila-txt { flex: 1; min-width: 0; }
html body .ayb-protegida .ayb-pr-nota { background: #EEEEF2; box-shadow: none; border-color: #EEEEF2; }
html body .ayb-protegida .ayb-pr-duda { padding: 12px 0; text-align: center; }
html body .ayb-protegida .ayb-pr-duda-tit { margin: 0 0 10px; font-size: 15px; line-height: 20px; font-weight: 600; }
html body .ayb-protegida a.ayb-pr-boton {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: 12px;
	background: #CC0020;
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
}
html body .ayb-protegida a.ayb-pr-boton:hover { background: #B0001C; }

@media (min-width: 1025px) {
	html body .ayb-avisos,
	html body .ayb-protegida { max-width: 640px; }
}
@media (prefers-reduced-motion: reduce) {
	html body .ayb-panel a { transition: none; }
}

/* ---------- Publicar: paso «Opciones» (0.21.0) ---------- */
.ayb-form .ayb-subtitulo { margin: 16px 0 4px; padding: 0; font-size: 15px; line-height: 1.3; color: var(--ayb-oscuro); }
.ayb-opc [hidden] { display: none !important; }
.ayb-opc-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 4px 0 2px; }
.ayb-opc-cab .ayb-etiqueta-campo { font-weight: 600; }
.ayb-opc-cuenta { font-size: 13px; color: var(--ayb-suave); }
.ayb-opc ul.ayb-opc-lista { display: grid; gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }
.ayb-opc-fila { position: relative; display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--ayb-borde); border-radius: 8px; }
.ayb-opc-foto { flex: 0 0 auto; }
.ayb-opc-foto > summary { display: block; width: 64px; list-style: none; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ayb-opc-foto > summary::-webkit-details-marker { display: none; }
.ayb-opc-mini { display: block; width: 64px; height: 64px; background: #F3F4F6; border-radius: 6px; overflow: hidden; }
.ayb-opc-mini img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.ayb-opc-cambiar { display: block; margin-top: 2px; font-size: 12px; line-height: 1.3; color: var(--ayb-rojo); }
.ayb-opc-fotos { position: absolute; z-index: 5; top: calc(100% - 2px); left: 0; right: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px; background: #fff; border: 1px solid var(--ayb-borde); border-radius: 8px; box-shadow: 0 6px 18px rgba(13, 27, 42, .18); }
.ayb-opc-ft { position: relative; display: block; margin: 0; aspect-ratio: 1 / 1; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #F3F4F6; cursor: pointer; }
.ayb-opc-ft input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ayb-opc-ft img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.ayb-opc-ft:has(input:checked) { border-color: var(--ayb-rojo); }
.ayb-opc-ft:has(input:focus-visible) { outline: 2px solid var(--ayb-oscuro); outline-offset: 1px; }
.ayb-opc-datos { flex: 1 1 auto; min-width: 0; }
.ayb-opc-linea { display: grid; grid-template-columns: minmax(0, 1fr) 76px 40px; gap: 8px; align-items: end; }
.ayb-opc-campo { display: block; min-width: 0; margin: 0; }
.ayb-opc-campo > span { display: block; margin: 0 0 3px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.ayb-opc-linea input[type="text"] { width: 100%; max-width: 100%; min-width: 0; margin: 0; }
.ayb-opc-quitar { box-sizing: border-box; width: 40px; height: 44px; margin: 0; padding: 0; background: #fff; border: 1px solid var(--ayb-borde); border-radius: 6px; color: var(--ayb-suave); font-size: 14px; line-height: 1; cursor: pointer; }
.ayb-opc-quitar:hover, .ayb-opc-quitar:focus-visible { color: var(--ayb-rojo); border-color: var(--ayb-rojo); }
.ayb-opc-pregunta { margin: 0 0 12px; font-size: 16px; line-height: 1.4; color: #0D1B2A; }
.ayb-opc-precio { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; }
.ayb-opc-precio > span { flex: 0 0 auto; font-size: 14px; font-weight: 600; line-height: 1.2; }
.ayb-opc-precio input[type="text"] { flex: 1 1 auto; width: 100%; min-width: 0; max-width: 100%; margin: 0; }
.ayb-opc-agregar { margin: 0 0 4px; }
.ayb-opc-total { margin: 10px 0 4px; font-size: 14px; }
.ayb-opc-uno { margin-top: 4px; }
@media (max-width: 480px) {
	.ayb-opc-fila { padding: 8px; gap: 8px; }
	.ayb-opc-linea { grid-template-columns: minmax(0, 1fr) 64px 40px; gap: 6px; }
	.ayb-opc-fotos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Paso 3 con talles (0.22.0) ---------- */
.ayb-opc .ayb-opc-tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ayb-opc .ayb-opc-dos { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; }
.ayb-opc .ayb-opc-tipos { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 10px; }
.ayb-opc .ayb-opcion:has(input:disabled:not(:checked)) { opacity: .55; cursor: not-allowed; }
.ayb-opc-sep { border: 0; border-top: 2px dashed #D5D8DD; margin: 18px 0 14px; }
.ayb-opc-panel { margin-top: 4px; }
.ayb-opc-precio-t { max-width: 260px; width: 100%; }
/* En el celular nada se sale de los costados: el recuadro del paso 3 puede achicarse y los cuadros de texto cuentan su relleno dentro del ancho. */
.ayb-form.ayb-opc fieldset { min-width: 0; max-width: 100%; box-sizing: border-box; }
.ayb-opc input[type="text"], .ayb-opc input[type="number"], .ayb-opc input[type="tel"], .ayb-opc input[type="search"], .ayb-opc select { box-sizing: border-box; max-width: 100%; }
.ayb-opc .ayb-opc-precio-t { max-width: 260px; }
.ayb-opc-paso { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ayb-oscuro); }
.ayb-opc-n { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--ayb-oscuro); color: #fff; font-size: 13px; }
/* Con talles, el stock se carga en la grilla de más abajo: el renglón de cada color queda con nombre, foto y precio. */
.ayb-opc--tl .ayb-opc-campo-stock { display: none; }
.ayb-opc--tl .ayb-opc-linea { grid-template-columns: minmax(0, 1fr) 40px; }
/* Fichas de talles */
.ayb-opc-tgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 6px; }
.ayb-opc .ayb-opc-tg { box-sizing: border-box; min-width: 58px; height: 48px; margin: 0; padding: 0 14px; border: 2px solid #D5D8DD; border-radius: 10px; background: #fff; font: inherit; font-size: 16px; font-weight: 700; line-height: 1; color: #666; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ayb-opc .ayb-opc-tg:hover { border-color: #9AA1AB; }
.ayb-opc .ayb-opc-tg.on { background: var(--ayb-oscuro); border-color: var(--ayb-oscuro); color: #fff; }
.ayb-opc .ayb-opc-tg.on::before { content: "\2713\00a0"; font-size: 13px; }
.ayb-opc .ayb-opc-tg:focus-visible { outline: 3px solid var(--ayb-azul); outline-offset: 2px; }
.ayb-opc-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 2px 0 6px; font-size: 14px; color: #555; }
.ayb-opc .ayb-opc-link { margin: 0; padding: 8px 2px; background: none; border: 0; font: inherit; font-weight: 600; color: var(--ayb-azul); text-decoration: underline; cursor: pointer; }
/* Tipo de talle que trae la categoría (0.23.0): una línea con «Cambiar», y el enlace para categorías sin medidas */
.ayb-opc-tipo-fijo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 18px 0 10px; padding: 10px 12px; background: #f4f6f8; border-radius: 10px; font-size: 15px; line-height: 1.35; color: var(--ayb-oscuro); }
.ayb-opc-tipo-fijo .ayb-opc-tipo-txt { flex: 1 1 160px; min-width: 0; }
.ayb-opc-tipo-fijo small { color: #555; font-size: 13px; }
@media (pointer: coarse), (max-width: 600px) {
	.ayb-opc .ayb-opc-link { min-height: 44px; display: inline-flex; align-items: center; }
	.ayb-opc .ayb-opc-link[hidden] { display: none; }
}
.ayb-opc-quiero { margin: 8px 0 4px; }
.ayb-opc-quiero[hidden], .ayb-opc-solo[hidden], .ayb-opc [data-ayb-solo-medidas][hidden] { display: none; }
.ayb-opc-nota-cat { margin: 6px 0 4px; }
.ayb-opc-nuevo { display: flex; gap: 8px; margin: 6px 0 8px; }
.ayb-opc-nuevo input[type="text"] { flex: 1 1 auto; min-width: 0; max-width: 260px; margin: 0; }
.ayb-opc-nuevo .button { flex: 0 0 auto; margin: 0; white-space: nowrap; }
.ayb-opc-aviso { margin: 0 0 8px; padding: 8px 12px; background: #FFF4F6; border-left: 4px solid var(--ayb-rojo); border-radius: 6px; font-size: 14px; }
/* Grilla de unidades */
.ayb-opc-grilla { display: grid; gap: 10px; margin: 8px 0; }
.ayb-opc-gfila { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 12px; background: #fff; border: 1px solid var(--ayb-borde); border-radius: 8px; }
.ayb-opc-gnom { display: flex; align-items: center; gap: 10px; flex: 0 0 150px; min-width: 0; font-weight: 700; color: var(--ayb-oscuro); }
.ayb-opc-gnom img { flex: 0 0 auto; width: 48px; height: 48px; margin: 0; border-radius: 6px; object-fit: cover; }
.ayb-opc-gnom span { min-width: 0; overflow: hidden; text-overflow: ellipsis; overflow-wrap: anywhere; }
.ayb-opc-celdas { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.ayb-opc-celda { display: block; width: 64px; margin: 0; }
.ayb-opc-celda span { display: block; margin: 0 0 3px; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.2; color: var(--ayb-oscuro); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ayb-opc-celda input[type="text"] { width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 0 4px; text-align: center; }
.ayb-opc-gcuenta { flex: 0 0 auto; font-size: 13px; color: #555; white-space: nowrap; }
.ayb-opc-resumen { margin: 8px 0 4px; font-size: 14px; }
.ayb-opc-resumen small { color: var(--ayb-suave); }
.ayb-opc-resumen.ayb-opc-mal { padding: 8px 12px; background: #FFF4F6; border-left: 4px solid var(--ayb-rojo); border-radius: 6px; }
.ayb-opc-resumen.ayb-opc-mal small { color: var(--ayb-texto); }
@media (max-width: 480px) {
	.ayb-opc .ayb-opc-tres { grid-template-columns: 1fr; }
	.ayb-opc .ayb-opc-tipos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ayb-opc .ayb-opc-tipos .ayb-opcion small { font-size: 12px; }
	.ayb-opc .ayb-opc-tg { min-width: 54px; }
	.ayb-opc-barra > span { flex: 1 0 100%; }
	.ayb-opc--tl .ayb-opc-linea { grid-template-columns: minmax(0, 1fr) 40px; }
	.ayb-opc-gfila { gap: 8px 10px; padding: 10px; }
	.ayb-opc-gnom { flex: 1 1 100%; }
	.ayb-opc-celdas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: 1 1 100%; }
	.ayb-opc-celda { width: auto; }
	.ayb-opc-gcuenta { margin-left: auto; }
	.ayb-opc-nuevo input[type="text"] { max-width: none; }
}
