/**
 * "Mi cuenta" (inc/theme/account-page.php y woocommerce/myaccount/dashboard.php del tema hijo).
 * Solo se carga en las páginas de la cuenta. Mismo lenguaje del carrito y el checkout.
 */

body.woocommerce-account {
	--acc-yellow: var(--sym-color-yellow, #ffc300);
	--acc-yellow-hover: var(--sym-color-yellow-hover, #e6af00);
	--acc-yellow-soft: #fff8dc;
	--acc-ink: #111313;
	--acc-muted: #5e6565;
	--acc-line: #e3e6e6;
	--acc-soft: #f6f7f7;
	--acc-green: #1e7b34;
}

body.woocommerce-account .page-wrapper .content-page {
	font-family: var(--sym-font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	color: var(--acc-ink);
}

/* ======================================================================
   Menú lateral
   ====================================================================== */
body.woocommerce-account .woocommerce-MyAccount-navigation-wrapper {
	padding: 22px 16px;
	border: 1px solid var(--acc-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0 0 2px; padding: 0; border: 0; }

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--acc-ink);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	transition: background-color 0.15s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--acc-soft); }

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--acc-yellow-soft);
	box-shadow: inset 3px 0 0 var(--acc-yellow);
	font-weight: 800;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: #b3261e; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--acc-line); }

/* ======================================================================
   Escritorio
   ====================================================================== */
.sym-acc { display: grid; gap: 18px; }
.sym-acc p { margin: 0; }
.sym-acc ul { margin: 0; padding: 0; list-style: none; }
.sym-acc a { text-decoration: none; }
.sym-acc__icon { flex: none; }

.sym-acc__card {
	padding: 20px;
	border: 1px solid var(--acc-line);
	border-radius: 18px;
	background: #fff;
}

.sym-acc__eyebrow {
	color: var(--acc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Saludo */
.sym-acc__hello {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 16px;
	padding: 22px;
	border-radius: 18px;
	background: #111;
	color: #fff;
}

.sym-acc__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--acc-yellow);
	color: #000;
	font-size: 24px;
	font-weight: 900;
}

.sym-acc__hello-text { flex: 1 1 220px; min-width: 0; }

.sym-acc .sym-acc__title {
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-transform: none;
}

.sym-acc__meta { margin-top: 4px !important; color: #c9cece; font-size: 13.5px; overflow-wrap: anywhere; }

/* Botones */
.sym-acc .sym-acc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1.5px solid var(--acc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--acc-ink);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sym-acc .sym-acc__btn:hover { border-color: var(--acc-ink); }

.sym-acc .sym-acc__btn--primary {
	border-color: var(--acc-yellow);
	background: var(--acc-yellow);
	color: #000;
}

.sym-acc .sym-acc__btn--primary:hover { border-color: var(--acc-yellow-hover); background: var(--acc-yellow-hover); color: #000; }

/* Contadores */
.sym-acc ul.sym-acc__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.sym-acc__stats li {
	display: grid;
	gap: 2px;
	padding: 16px;
	border: 1px solid var(--acc-line);
	border-radius: 16px;
	background: #fff;
}

.sym-acc__stats strong { font-size: 28px; font-weight: 900; line-height: 1; }
.sym-acc__stats span { color: var(--acc-muted); font-size: 13px; font-weight: 600; }
.sym-acc__stats li.is-active { border-color: var(--acc-yellow); background: var(--acc-yellow-soft); }

/* Último pedido */
.sym-acc__last-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--acc-line);
}

.sym-acc__order-number { margin-top: 4px !important; font-size: 17px; font-weight: 800; }

.sym-acc__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--acc-soft);
	color: var(--acc-ink);
	font-size: 13px;
	font-weight: 800;
}

.sym-acc__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sym-acc__status--processing,
.sym-acc__status--on-hold { background: #fff3cc; color: #7a5d00; }
.sym-acc__status--completed { background: #e8f5eb; color: var(--acc-green); }
.sym-acc__status--pending { background: #eaf0ff; color: #1f57d6; }
.sym-acc__status--cancelled,
.sym-acc__status--failed,
.sym-acc__status--refunded { background: #fdecea; color: #b3261e; }

.sym-acc ul.sym-acc__items { display: grid; gap: 10px; margin: 14px 0 !important; }
.sym-acc__items li { display: flex; align-items: center; gap: 12px; }

.sym-acc__item-img {
	display: inline-flex;
	flex: none;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--acc-soft);
}

.sym-acc__item-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sym-acc__item-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.sym-acc__item-name small { color: var(--acc-muted); font-weight: 500; }
.sym-acc__items-more { color: var(--acc-muted); font-size: 13px; font-weight: 600; }

.sym-acc__last-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding-top: 14px;
	border-top: 1px solid var(--acc-line);
}

.sym-acc__last-total { display: grid; }
.sym-acc__last-total span { color: var(--acc-muted); font-size: 12px; font-weight: 600; }
.sym-acc__last-total strong { font-size: 20px; font-weight: 900; }
.sym-acc__last-total strong .amount { color: var(--acc-ink); }

.sym-acc__last-ship { display: inline-flex; align-items: center; gap: 8px; color: var(--acc-muted); font-size: 13.5px; font-weight: 600; }
.sym-acc__last-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }

.sym-acc__empty { display: grid; gap: 12px; justify-items: start; }
.sym-acc__empty-text { color: var(--acc-muted); font-size: 15px; }

/* Accesos rápidos */
.sym-acc ul.sym-acc__quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.sym-acc .sym-acc__quick-item {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 14px;
	border: 1px solid var(--acc-line);
	border-radius: 14px;
	background: #fff;
	color: var(--acc-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sym-acc .sym-acc__quick-item:hover { border-color: var(--acc-yellow); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06); transform: translateY(-1px); }

.sym-acc__quick-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--acc-soft);
	transition: background-color 0.15s ease;
}

.sym-acc .sym-acc__quick-item:hover .sym-acc__quick-icon { background: var(--acc-yellow); }
.sym-acc__quick-text { display: grid; flex: 1 1 auto; min-width: 0; }
.sym-acc__quick-text strong { font-size: 15px; font-weight: 800; }
.sym-acc__quick-text span { color: var(--acc-muted); font-size: 12.5px; }
.sym-acc__quick-item > .sym-acc__icon { width: 18px; height: 18px; color: #9aa1a1; transition: transform 0.15s ease; }
.sym-acc .sym-acc__quick-item:hover > .sym-acc__icon { color: var(--acc-ink); transform: translateX(3px); }

/* Confianza y ayuda */
.sym-acc__trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sym-acc__trust-card { display: flex; gap: 14px; }

.sym-acc__trust-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	color: #fff;
}

.sym-acc__trust-icon--green { background: var(--acc-green); }
.sym-acc__trust-icon--wa { background: #25d366; }
.sym-acc__trust-title { margin-bottom: 4px !important; font-size: 15px; font-weight: 800; }
.sym-acc__trust-card p:not(.sym-acc__trust-title) { color: var(--acc-muted); font-size: 13.5px; line-height: 1.45; }

.sym-acc__trust-card a {
	display: inline-block;
	margin-top: 8px;
	color: var(--acc-ink);
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: underline !important;
	text-decoration-color: var(--acc-yellow) !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 4px;
}

/* Ofertas */
.sym-acc__offers { margin-top: 10px; }

.sym-acc .sym-acc__section-title {
	margin: 0 0 14px;
	color: var(--acc-ink);
	font-family: inherit;
	font-size: 20px;
	font-weight: 800;
	text-transform: none;
}

.sym-acc ul.sym-acc__offers-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sym-acc ul.sym-acc__offers-list > li { min-width: 0; }

/* ======================================================================
   Pedidos, detalle, direcciones y formularios
   ====================================================================== */
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content .title {
	font-family: var(--sym-font-body, "Inter", system-ui, sans-serif);
	letter-spacing: 0;
	text-transform: none;
}

body.woocommerce-account .woocommerce-orders-table {
	overflow: hidden;
	border: 1px solid var(--acc-line);
	border-radius: 16px;
	border-collapse: separate;
	border-spacing: 0;
}

body.woocommerce-account .woocommerce-orders-table th {
	padding: 12px 14px;
	background: var(--acc-soft);
	color: var(--acc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.woocommerce-account .woocommerce-orders-table td { padding: 14px; border-top: 1px solid var(--acc-line); font-size: 14px; }
body.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a { color: var(--acc-ink); font-weight: 800; }

body.woocommerce-account .woocommerce-orders-table .woocommerce-button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,
body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content .button {
	min-height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: var(--acc-yellow) !important;
	color: #000 !important;
	font-family: var(--sym-font-body, "Inter", system-ui, sans-serif) !important;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover { background: var(--acc-yellow-hover) !important; }

body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea,
body.woocommerce-account .woocommerce-MyAccount-content .select2-container .select2-selection--single,
body.woocommerce-account form.login input.input-text,
body.woocommerce-account form.register input.input-text {
	min-height: 48px;
	border: 1.5px solid var(--acc-line);
	border-radius: 12px;
	background: var(--acc-soft);
	color: var(--acc-ink);
	font-size: 15px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus,
body.woocommerce-account form.login input.input-text:focus,
body.woocommerce-account form.register input.input-text:focus {
	border-color: var(--acc-ink);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(255, 195, 0, 0.3);
	outline: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content label,
body.woocommerce-account form.login label,
body.woocommerce-account form.register label { font-size: 13px; font-weight: 600; }

body.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
	padding: 18px;
	border: 1px solid var(--acc-line);
	border-radius: 16px;
	background: #fff;
}

body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title a.edit {
	color: var(--acc-ink);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: var(--acc-yellow);
	text-decoration-thickness: 2px;
}

body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details {
	padding: 20px;
	border: 1px solid var(--acc-line);
	border-radius: 16px;
	background: #fff;
}

/* Ingreso y registro (sin sesión) */
body.woocommerce-account:not(.logged-in) form.login,
body.woocommerce-account:not(.logged-in) form.register {
	padding: 24px;
	border: 1px solid var(--acc-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}

body.woocommerce-account:not(.logged-in) form.login button[type="submit"],
body.woocommerce-account:not(.logged-in) form.register button[type="submit"] {
	width: 100%;
	min-height: 50px;
	border: 0;
	border-radius: 999px;
	background: var(--acc-yellow) !important;
	color: #000 !important;
	font-family: var(--sym-font-body, "Inter", system-ui, sans-serif) !important;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

/* ======================================================================
   Tablet y celular
   ====================================================================== */
@media (max-width: 1024px) {
	.sym-acc ul.sym-acc__offers-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.sym-acc ul.sym-acc__quick,
	.sym-acc__trust { grid-template-columns: 1fr; }
	.sym-acc__hello { padding: 18px; }
	.sym-acc .sym-acc__title { font-size: 20px; }
	.sym-acc__stats strong { font-size: 24px; }
	.sym-acc__last-actions { width: 100%; margin-left: 0; }
	.sym-acc__last-actions .sym-acc__btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	.sym-acc * { transition: none !important; }
}

.sym-acc__last-total strong .amount,
.sym-acc__last-total strong bdi { font-size: 20px; font-weight: 900; }

/* ======================================================================
   Avisos de la cuenta
   ====================================================================== */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	border: 1px solid var(--acc-line);
	border-left: 4px solid var(--acc-yellow);
	border-radius: 12px;
	background: #fffdf5;
	color: var(--acc-ink);
	font-size: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before { color: #b38900; }

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info a.button {
	float: none;
	order: 2;
	margin-left: auto;
	padding: 0 18px;
	line-height: 40px;
	text-decoration: none;
}

/* ======================================================================
   Tabla de pedidos: sin mayúsculas ni fondo gris de XStore, estado en color
   ====================================================================== */
body.woocommerce-account .woocommerce-orders-table td,
body.woocommerce-account .woocommerce-orders-table th.woocommerce-orders-table__cell-order-number {
	background: #fff;
	color: var(--acc-ink);
	text-transform: none;
	vertical-align: middle;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-total { color: var(--acc-muted) !important; }
body.woocommerce-account .woocommerce-orders-table__cell-order-total .amount { color: var(--acc-ink); font-weight: 800; }

body.woocommerce-account .woocommerce-orders-table__cell-order-status { font-size: 13px; font-weight: 700; }

body.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { color: var(--acc-green); font-weight: 800; }
body.woocommerce-account .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status { color: #7a5d00; font-weight: 800; }
body.woocommerce-account .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status { color: #b3261e; font-weight: 800; }
body.woocommerce-account .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status { color: #1f57d6; font-weight: 800; }

body.woocommerce-account .woocommerce-orders-table .woocommerce-button { min-width: 72px; white-space: nowrap; }
body.woocommerce-account .woocommerce-orders-table tr:hover td { background: #fffdf5; }

/* ======================================================================
   Celular: el menú pasa a una fila deslizable sobre el contenido
   ====================================================================== */
@media (max-width: 767px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation-wrapper {
		padding: 10px;
		border-radius: 14px;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation-wrapper > :not(.woocommerce-MyAccount-navigation) { display: none; }

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 6px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	body.woocommerce-account .woocommerce-MyAccount-navigation li { flex: none; margin: 0; }

	body.woocommerce-account .woocommerce-MyAccount-navigation li a {
		min-height: 40px;
		padding: 0 14px;
		border: 1px solid var(--acc-line);
		border-radius: 999px;
		font-size: 14px;
		white-space: nowrap;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { border-color: var(--acc-yellow); box-shadow: none; }

	body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
}

body.woocommerce-account .woocommerce-orders-table .woocommerce-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	line-height: 1;
}

/* ======================================================================
   Detalle del pedido (ver-pedido)
   ====================================================================== */
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type:has(mark.order-number) {
	padding: 16px 18px;
	border: 1px solid var(--acc-line);
	border-radius: 14px;
	background: var(--acc-yellow-soft);
	font-size: 15px;
}

body.woocommerce-account .woocommerce-MyAccount-content mark {
	padding: 0;
	background: none;
	color: var(--acc-ink);
	font-weight: 800;
	text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-content mark.order-status {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: #fff;
	color: var(--acc-green);
}

body.woocommerce-account .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-column__title {
	margin: 0 0 14px;
	color: var(--acc-ink);
	font-size: 20px !important;
	font-weight: 800 !important;
}

body.woocommerce-account .woocommerce-table--order-details { width: 100%; border: 0; border-collapse: collapse; }

body.woocommerce-account .woocommerce-table--order-details thead th {
	padding: 0 0 10px;
	border-bottom: 1px solid var(--acc-line);
	color: var(--acc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.woocommerce-account .woocommerce-table--order-details td,
body.woocommerce-account .woocommerce-table--order-details tfoot th {
	padding: 12px 0;
	border-bottom: 1px solid var(--acc-line);
	background: none;
	color: var(--acc-ink);
	font-size: 14px;
	text-transform: none;
}

body.woocommerce-account .woocommerce-table--order-details .product-name a { color: var(--acc-ink); font-weight: 700; }
body.woocommerce-account .woocommerce-table--order-details .product-quantity { color: var(--acc-muted); font-weight: 600; }
body.woocommerce-account .woocommerce-table--order-details td.product-total,
body.woocommerce-account .woocommerce-table--order-details tfoot td { text-align: right; }
body.woocommerce-account .woocommerce-table--order-details tfoot th { color: var(--acc-muted); font-weight: 600; text-align: left; }

body.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child td {
	padding: 14px;
	border: 0;
	background: var(--acc-yellow-soft);
	color: var(--acc-ink);
	font-size: 18px;
	font-weight: 900;
}

body.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child th { border-radius: 12px 0 0 12px; }
body.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child td { border-radius: 0 12px 12px 0; }
body.woocommerce-account .woocommerce-table--order-details .wompi-mini-logos { display: none; }

/* Caja de envío del pedido */
body.woocommerce-account .sym-shipping-info-row td { padding: 0 0 12px !important; border: 0 !important; }

body.woocommerce-account .sym-shipping-details-box {
	display: grid;
	gap: 8px;
	padding: 16px 18px;
	border: 1px solid var(--acc-line) !important;
	border-left: 4px solid var(--acc-yellow) !important;
	border-radius: 14px;
	background: var(--acc-soft) !important;
	box-shadow: none !important;
}

body.woocommerce-account .sym-shipping-details-box .sym-shipping-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14px;
}

body.woocommerce-account .sym-shipping-details-box .sym-label { min-width: 0; color: var(--acc-muted); font-weight: 600; }
body.woocommerce-account .sym-shipping-details-box .sym-value { color: var(--acc-ink); font-weight: 700; text-align: right; }

body.woocommerce-account .sym-shipping-details-box .sym-shipping-row--button { justify-content: flex-start; margin-top: 6px; }

body.woocommerce-account .sym-shipping-details-box .sym-shipping-row--button .button {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 20px;
	line-height: 1;
}

/* Pedir de nuevo y datos del cliente */
body.woocommerce-account .order-again { margin: 16px 0 0; }
body.woocommerce-account .order-again .button { display: inline-flex; align-items: center; height: 44px; line-height: 1; }

body.woocommerce-account .woocommerce-customer-details { margin-top: 18px; }
body.woocommerce-account .woocommerce-customer-details .woocommerce-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.woocommerce-account .woocommerce-customer-details .woocommerce-column { width: auto; float: none; margin: 0; padding: 0; }

body.woocommerce-account .woocommerce-customer-details address {
	padding: 16px;
	border: 1px solid var(--acc-line) !important;
	border-radius: 14px;
	background: var(--acc-soft);
	color: var(--acc-ink);
	font-size: 14px;
	font-style: normal;
	line-height: 1.6;
}

/* ======================================================================
   Direcciones y formularios
   ====================================================================== */
body.woocommerce-account .woocommerce-MyAccount-content > p:has(+ .woocommerce-Addresses),
body.woocommerce-account .woocommerce-MyAccount-content > p:has(+ .u-columns) { color: var(--acc-muted); font-size: 14px; }

body.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.woocommerce-account .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-Addresses::after { display: none; }
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address { width: auto; float: none; margin: 0; }

body.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--acc-line);
}

body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Address-title h3 { margin: 0; font-size: 17px !important; font-weight: 800 !important; }

body.woocommerce-account .woocommerce-Address-title a.edit {
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--acc-yellow);
	color: #000 !important;
	font-size: 13px;
	text-decoration: none !important;
}

body.woocommerce-account .woocommerce-Address address { color: var(--acc-ink); font-size: 14px; font-style: normal; line-height: 1.6; }

body.woocommerce-account .woocommerce-address-fields,
body.woocommerce-account form.woocommerce-EditAccountForm {
	padding: 22px;
	border: 1px solid var(--acc-line);
	border-radius: 18px;
	background: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-content form > h2,
body.woocommerce-account .woocommerce-MyAccount-content form > h3 { margin: 0 0 16px; font-size: 20px !important; font-weight: 800 !important; }

body.woocommerce-account form.woocommerce-EditAccountForm fieldset {
	margin: 18px 0 0;
	padding: 18px;
	border: 1px solid var(--acc-line);
	border-radius: 14px;
	background: var(--acc-soft);
}

body.woocommerce-account form.woocommerce-EditAccountForm fieldset legend {
	padding: 0 8px;
	color: var(--acc-ink);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
}

body.woocommerce-account form.woocommerce-EditAccountForm fieldset input.input-text { background: #fff; }
body.woocommerce-account form.woocommerce-EditAccountForm em { color: var(--acc-muted); font-size: 12.5px; font-style: normal; }

body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	height: 48px;
	margin-top: 8px;
	padding: 0 24px;
	line-height: 1;
}

/* ======================================================================
   Favoritos y Comparar (páginas de XStore dentro de la cuenta)
   ====================================================================== */
body.woocommerce-account .wishlist-empty.empty-wishlist-block,
body.woocommerce-account .compare-empty,
body.woocommerce-account .empty-compare-block {
	max-width: 640px;
	margin: 10px auto 40px;
	padding: 36px 24px;
	border: 1px solid var(--acc-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
	text-align: center;
}

body.woocommerce-account .wishlist-empty h1,
body.woocommerce-account .empty-compare-block h1,
body.woocommerce-account .compare-empty h1 {
	margin: 0 0 8px;
	font-family: var(--sym-font-body, "Inter", system-ui, sans-serif) !important;
	font-size: 26px !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
}

body.woocommerce-account .wishlist-empty p,
body.woocommerce-account .empty-compare-block p { color: var(--acc-muted); font-size: 15px; }

body.woocommerce-account .wishlist-empty .btn,
body.woocommerce-account .empty-compare-block .btn {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--acc-yellow) !important;
	color: #000 !important;
	font-family: var(--sym-font-body, "Inter", system-ui, sans-serif) !important;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

/* Tabla de favoritos */
body.woocommerce-account .xstore-wishlist-table {
	overflow: hidden;
	border: 1px solid var(--acc-line);
	border-radius: 18px;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
}

body.woocommerce-account .xstore-wishlist-table th {
	padding: 14px;
	border-bottom: 1px solid var(--acc-line);
	background: var(--acc-soft);
	color: var(--acc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.woocommerce-account .xstore-wishlist-table td { padding: 16px 14px; border-bottom: 1px solid var(--acc-line); vertical-align: middle; }
body.woocommerce-account .xstore-wishlist-table tr:last-child td { border-bottom: 0; }

body.woocommerce-account .xstore-wishlist-table .xstore-wishlist-image img,
body.woocommerce-account .xstore-compare-table .xstore-compare-image img {
	width: 84px;
	height: 84px;
	padding: 4px;
	border-radius: 12px;
	background: var(--acc-soft);
	object-fit: contain;
	mix-blend-mode: multiply;
}

body.woocommerce-account .xstore-wishlist-table .product-title,
body.woocommerce-account .xstore-compare-table .product-title {
	color: var(--acc-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
}

body.woocommerce-account .xstore-wishlist-table .sku_wrapper { color: var(--acc-muted); font-size: 12px; }
body.woocommerce-account .xstore-wishlist-table .price del,
body.woocommerce-account .xstore-compare-table .price del { color: #9aa1a1; font-size: 13px; }
body.woocommerce-account .xstore-wishlist-table .price ins,
body.woocommerce-account .xstore-wishlist-table .price > .amount,
body.woocommerce-account .xstore-compare-table .price ins { color: #c62828; font-weight: 800; text-decoration: none; }

body.woocommerce-account .xstore-wishlist-table .stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 800;
}

body.woocommerce-account .xstore-wishlist-table .stock.in-stock { background: #e8f5eb; color: var(--acc-green); }
body.woocommerce-account .xstore-wishlist-table .stock.out-of-stock { background: #f1f1f1; color: var(--acc-muted); }

/* Botones de favoritos y comparar */
body.woocommerce-account .xstore-wishlist-table .actions-buttons .button,
body.woocommerce-account .xstore-wishlist-form .btn:not(.bordered):not(.mtips),
body.woocommerce-account .xstore-wishlist-form button,
body.woocommerce-account .xstore-compare-table .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--acc-yellow) !important;
	color: #000 !important;
	font-family: var(--sym-font-body, "Inter", system-ui, sans-serif) !important;
	font-size: 13.5px;
	font-weight: 800;
	letter-spacing: 0 !important;
	line-height: 1;
	text-transform: none !important;
}

body.woocommerce-account .xstore-wishlist-table .btn.bordered,
body.woocommerce-account .xstore-wishlist-form .btn.bordered {
	height: 42px;
	border: 1.5px solid var(--acc-line);
	border-radius: 999px;
	background: #fff !important;
	color: var(--acc-ink) !important;
	font-family: var(--sym-font-body, "Inter", system-ui, sans-serif) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

body.woocommerce-account .xstore-wishlist-form select {
	height: 42px;
	border: 1.5px solid var(--acc-line);
	border-radius: 12px;
	background-color: var(--acc-soft);
}

body.woocommerce-account .xstore-wishlist-form + div,
body.woocommerce-account .xstore-wishlist-form .share-wishlist,
body.woocommerce-account [class*="wishlist"] .share-post {
	border-color: var(--acc-line) !important;
	border-radius: 14px;
}

/* Tabla de comparar */
body.woocommerce-account .xstore-compare-table-wrapper {
	overflow-x: auto;
	border: 1px solid var(--acc-line);
	border-radius: 18px;
	background: #fff;
}

body.woocommerce-account .xstore-compare-table { margin: 0; border: 0; border-collapse: collapse; }
body.woocommerce-account .xstore-compare-table th,
body.woocommerce-account .xstore-compare-table td { padding: 16px; border: 0; border-bottom: 1px solid var(--acc-line); }
body.woocommerce-account .xstore-compare-table tr:last-child th,
body.woocommerce-account .xstore-compare-table tr:last-child td { border-bottom: 0; }

body.woocommerce-account .xstore-compare-table th,
body.woocommerce-account .xstore-compare-table td:first-child {
	background: var(--acc-soft);
	color: var(--acc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.woocommerce-account .xstore-compare-table td:empty { background: #fff; }
body.woocommerce-account .xstore-compare-table .xstore-compare { color: var(--acc-muted); font-size: 13px; }
body.woocommerce-account .xstore-compare-table .xstore-compare:hover { color: #b3261e; }

/* Cantidad en píldora */
body.woocommerce-account .xstore-wishlist-table .quantity-wrapper,
body.woocommerce-account .xstore-compare-table .quantity-wrapper {
	overflow: hidden;
	border: 1.5px solid var(--acc-line);
	border-radius: 999px;
}

body.woocommerce-account .xstore-wishlist-table .quantity-wrapper .minus,
body.woocommerce-account .xstore-wishlist-table .quantity-wrapper .plus,
body.woocommerce-account .xstore-wishlist-table .quantity-wrapper .qty,
body.woocommerce-account .xstore-compare-table .quantity-wrapper .minus,
body.woocommerce-account .xstore-compare-table .quantity-wrapper .plus,
body.woocommerce-account .xstore-compare-table .quantity-wrapper .qty { border: 0; background: transparent; }

@media (max-width: 767px) {
	body.woocommerce-account .woocommerce-Addresses,
	body.woocommerce-account .woocommerce-customer-details .woocommerce-columns { grid-template-columns: 1fr; }
	body.woocommerce-account .woocommerce-address-fields,
	body.woocommerce-account form.woocommerce-EditAccountForm { padding: 16px; }
	body.woocommerce-account .woocommerce-MyAccount-content button[type="submit"] { width: 100%; }
}

/* Favoritos: celdas y encabezados con un solo fondo (XStore pinta columnas por separado). */
body.woocommerce-account .xstore-wishlist-table th { background: var(--acc-soft) !important; }
body.woocommerce-account .xstore-wishlist-table td { background: #fff !important; }

/* Direcciones: tarjeta aunque XStore no use el contenedor .woocommerce-Addresses. */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address {
	max-width: 560px;
	padding: 18px;
	border: 1px solid var(--acc-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

/* Comparar: títulos sin mayúsculas y botones inferiores con el estilo del sitio. */
body.woocommerce-account .xstore-compare-table .xstore-compare-title,
body.woocommerce-account .xstore-compare-table .xstore-compare-title * { text-transform: none !important; letter-spacing: 0 !important; }

body.woocommerce-account .xstore-compare-form .btn,
body.woocommerce-account .xstore-compare-form button,
body.woocommerce-account .xstore-compare-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--acc-yellow) !important;
	color: #000 !important;
	font-family: var(--sym-font-body, "Inter", system-ui, sans-serif) !important;
	font-size: 13.5px;
	font-weight: 800;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

body.woocommerce-account .xstore-compare-form select {
	height: 42px;
	border: 1.5px solid var(--acc-line);
	border-radius: 12px;
	background-color: var(--acc-soft);
}

/* Favoritos: todo el encabezado con el mismo fondo. */
body.woocommerce-account .xstore-wishlist-table thead,
body.woocommerce-account .xstore-wishlist-table thead * { background: var(--acc-soft) !important; }
