/* ==========================================================================
   Avodah — Identidad visual (paleta verde/crema + tipografía del mockup)
   ========================================================================== */

:root {
	/* Paleta */
	--avodah-green-900: #2f3a1e; /* barra superior / pie / texto fuerte */
	--avodah-green-700: #46562f; /* botones, acentos, titulares */
	--avodah-green-500: #6b7a4f; /* salvia / hover */
	--avodah-green-300: #aebb96; /* detalles suaves */
	--avodah-cream:     #f5f1e7; /* fondo de página */
	--avodah-sand:      #ece5d4; /* tarjetas / secciones */
	--avodah-sand-2:    #e3dac6; /* tiles de categoría */
	--avodah-ink:       #2b2e22; /* texto principal */
	--avodah-muted:     #6e6b5e; /* texto secundario */
	--avodah-white:     #ffffff;
	--avodah-line:      #ded6c2; /* bordes */

	/* Tipografía */
	--avodah-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--avodah-font-body: "Nunito Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* Radios y sombras */
	--avodah-radius: 14px;
	--avodah-radius-sm: 10px;
	--avodah-shadow: 0 8px 24px rgba(47, 58, 30, 0.08);
}

/* Base ------------------------------------------------------------------- */
body {
	font-family: var(--avodah-font-body);
	color: var(--avodah-ink);
	background-color: var(--avodah-cream);
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.woocommerce-loop-product__title,
.product_title {
	font-family: var(--avodah-font-display);
	color: var(--avodah-green-900);
	font-weight: 600;
	line-height: 1.15;
}

a {
	color: var(--avodah-green-700);
}

a:hover {
	color: var(--avodah-green-500);
}

/* Botones ---------------------------------------------------------------- */
.button,
button,
input[type="submit"],
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background-color: var(--avodah-green-700);
	color: var(--avodah-white);
	border: 0;
	border-radius: 999px;
	padding: 0.7em 1.5em;
	font-weight: 700;
	font-family: var(--avodah-font-body);
	transition: background-color 0.18s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background-color: var(--avodah-green-900);
	color: var(--avodah-white);
}

.button--ghost,
.woocommerce a.button.outline {
	background: transparent;
	color: var(--avodah-green-700);
	box-shadow: inset 0 0 0 2px var(--avodah-green-700);
}

/* Precios WooCommerce ----------------------------------------------------- */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--avodah-green-900);
	font-weight: 800;
}

/* Tarjetas de producto ---------------------------------------------------- */
.woocommerce ul.products li.product {
	background: var(--avodah-white);
	border: 1px solid var(--avodah-line);
	border-radius: var(--avodah-radius);
	padding: 14px;
	box-shadow: var(--avodah-shadow);
}

.woocommerce ul.products li.product a img {
	border-radius: var(--avodah-radius-sm);
	background: var(--avodah-sand);
}

/* Badge "Artesanal" usado en plantillas/widgets de Avodah */
.avodah-badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--avodah-green-900);
	background: var(--avodah-green-300);
	border-radius: 999px;
	padding: 0.25em 0.7em;
}

/* Cintas de utilidad ------------------------------------------------------ */
.avodah-section {
	background: var(--avodah-sand);
	border-radius: var(--avodah-radius);
	padding: 28px;
}

/* Mi Cuenta / paneles de Avodah ------------------------------------------ */
.avodah-account-table {
	width: 100%;
	border-collapse: collapse;
}

.avodah-account-table th,
.avodah-account-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid var(--avodah-line);
	vertical-align: middle;
}

.avodah-card {
	background: var(--avodah-white);
	border: 1px solid var(--avodah-line);
	border-radius: var(--avodah-radius);
	padding: 18px 20px;
	box-shadow: var(--avodah-shadow);
	margin-bottom: 18px;
}

.avodah-pill {
	display: inline-block;
	padding: 0.2em 0.7em;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
}

.avodah-pill--ok { background: #dcebc8; color: #3f5a23; }
.avodah-pill--warn { background: #f5e2c0; color: #8a5a18; }
.avodah-pill--muted { background: #e6e1d4; color: #6e6b5e; }

/* ==========================================================================
   Header de Avodah (top bar + header principal)
   ========================================================================== */

/* Ocultar el título "Inicio" de la portada (la home es visual) */
.home .page .entry-title,
.home .elementor-page-title,
.page-id-37 .entry-title { display: none; }

/* --- Top bar --- */
.avodah-topbar {
	background: var(--avodah-green-900);
	color: var(--avodah-cream);
	font-size: 0.84rem;
}
.avodah-topbar__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 24px;
}
.avodah-topbar__item { display: flex; align-items: center; gap: 6px; }
.avodah-topbar a { color: var(--avodah-cream); text-decoration: none; font-weight: 700; }
.avodah-topbar a:hover { text-decoration: underline; }

/* --- Header principal --- */
.avodah-header {
	background: #fbf9f3;
	border-bottom: 1px solid var(--avodah-line);
	position: sticky;
	top: 0;
	z-index: 100;
}
.avodah-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 12px 24px;
}

/* Logo */
.avodah-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.avodah-logo__svg { display: block; }
.avodah-logo__name {
	font-family: var(--avodah-font-display);
	font-size: 1.7rem;
	font-weight: 600;
	color: var(--avodah-green-900);
	line-height: 1;
	display: block;
}
.avodah-logo__tag {
	font-size: 0.6rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--avodah-green-500);
	display: block;
	margin-top: 4px;
}

/* Navegación */
.avodah-nav { flex: 1; }
.avodah-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.avodah-menu li { position: relative; }
.avodah-menu > li > a {
	display: block;
	padding: 9px 13px;
	text-decoration: none;
	color: var(--avodah-ink);
	font-weight: 700;
	font-size: 0.95rem;
	border-radius: 999px;
	white-space: nowrap;
	transition: background 0.15s, color 0.15s;
}
.avodah-menu > li > a:hover,
.avodah-menu > li.current-menu-item > a { color: var(--avodah-green-700); background: var(--avodah-sand); }
.avodah-menu .has-mega > a::after {
	content: "";
	display: inline-block;
	width: 7px; height: 7px;
	margin-left: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}
/* Submenú */
.avodah-menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--avodah-line);
	border-radius: 14px;
	box-shadow: var(--avodah-shadow);
	padding: 8px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
	z-index: 60;
}
.avodah-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.avodah-menu .sub-menu a { font-weight: 600; font-size: 0.9rem; border-radius: 8px; }

/* Buscador */
.avodah-search {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid var(--avodah-line);
	border-radius: 999px;
	padding: 4px 5px 4px 18px;
	width: 290px;
	flex-shrink: 0;
}
.avodah-search input[type="search"] {
	border: 0; background: transparent; outline: none;
	flex: 1; min-width: 0;
	font-size: 0.9rem; color: var(--avodah-ink);
	font-family: var(--avodah-font-body);
}
.avodah-search button {
	background: var(--avodah-green-700);
	border: 0; cursor: pointer;
	width: 38px; height: 38px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	padding: 0;
}
.avodah-search button svg { width: 18px; height: 18px; color: #fff; }

/* Acciones (cuenta / favoritos / carrito) */
.avodah-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.avodah-actions > a {
	display: flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%;
	color: var(--avodah-green-900);
	position: relative;
	transition: background 0.15s;
}
.avodah-actions > a:hover { background: var(--avodah-sand); }
.avodah-actions svg { width: 23px; height: 23px; }
.avodah-cart__count {
	position: absolute; top: 0; right: 0;
	background: var(--avodah-green-700);
	color: #fff;
	font-size: 0.66rem; font-weight: 800;
	min-width: 18px; height: 18px;
	border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	padding: 0 4px;
	font-family: var(--avodah-font-body);
}

/* Hamburguesa (oculta en desktop) */
.avodah-nav-toggle {
	display: none;
	flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px;
	background: transparent; border: 0; cursor: pointer;
	margin-left: auto;
}
.avodah-nav-toggle span {
	display: block; width: 24px; height: 2px;
	background: var(--avodah-green-900); border-radius: 2px;
	transition: 0.2s;
}

/* --- Responsive --- */
@media (max-width: 980px) {
	.avodah-topbar__center { display: none; }
}
@media (max-width: 1080px) {
	.avodah-header__inner { flex-wrap: wrap; gap: 14px; }
	.avodah-nav-toggle { display: flex; order: 3; }
	.avodah-actions { order: 2; margin-left: auto; }
	.avodah-search { order: 4; width: 100%; }
	.avodah-nav {
		order: 5; flex-basis: 100%;
		display: none;
	}
	body.avodah-nav-open .avodah-nav { display: block; }
	.avodah-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.avodah-menu a { padding: 12px 14px; border-radius: 10px; }
	.avodah-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; border-radius: 0;
		padding: 0 0 0 16px; min-width: 0; display: none;
	}
	.avodah-menu li.avodah-sub-open > .sub-menu { display: block; }
}
@media (max-width: 600px) {
	.avodah-topbar__inner { font-size: 0.76rem; padding: 7px 16px; }
	.avodah-header__inner { padding: 12px 16px; }
	.avodah-logo__name { font-size: 1.4rem; }
}

/* Logo subido por el cliente (Personalizar → Logo) */
.avodah-logo__img { display: block; max-height: 56px; width: auto; }
.avodah-logo--image { gap: 0; }

/* --- Iconos (Lucide) en el topbar --- */
.avodah-topbar .avodah-ico { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.95; }
.avodah-ico { vertical-align: middle; }

/* ==========================================================================
   Mega menú (Tienda / Perros / Gatos)
   ========================================================================== */
.avodah-menu .has-mega { position: static; }
.avodah-mega {
	position: absolute;
	left: 0; right: 0;
	top: 100%;
	background: #fff;
	border-top: 1px solid var(--avodah-line);
	box-shadow: 0 18px 40px rgba(47, 58, 30, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 90;
}
.avodah-menu .has-mega:hover > .avodah-mega,
.avodah-menu .has-mega:focus-within > .avodah-mega {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.avodah-mega__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 26px 24px;
	display: flex;
	gap: 32px;
	align-items: stretch;
}
.avodah-mega__cols {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 28px;
	align-content: start;
}
.avodah-mega__title {
	grid-column: 1 / -1;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--avodah-muted);
	font-weight: 800;
	margin-bottom: 6px;
}
.avodah-mega__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border-radius: 12px;
	text-decoration: none;
	color: var(--avodah-ink);
}
.avodah-mega__link:hover { background: var(--avodah-sand); }
.avodah-mega__dot {
	width: 10px; height: 10px; border-radius: 50%;
	background: var(--avodah-green-300);
	flex-shrink: 0;
	transition: background 0.15s, transform 0.15s;
}
.avodah-mega__link:hover .avodah-mega__dot { background: var(--avodah-green-700); transform: scale(1.25); }
.avodah-mega__link-name { display: block; font-weight: 700; font-size: 0.95rem; color: var(--avodah-green-900); }
.avodah-mega__link-desc { display: block; font-size: 0.8rem; color: var(--avodah-muted); }

/* Tarjeta promo del mega */
.avodah-mega__promo {
	width: 290px;
	flex-shrink: 0;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	background: var(--avodah-sand);
	border: 1px solid var(--avodah-line);
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.avodah-mega__promo:hover { transform: translateY(-3px); box-shadow: var(--avodah-shadow); }
.avodah-mega__promo-img {
	display: block;
	height: 150px;
	background-size: cover;
	background-position: center;
	background-color: var(--avodah-sand-2);
}
.avodah-mega__promo-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; }
.avodah-mega__promo-tag {
	font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--avodah-green-500);
}
.avodah-mega__promo-title { font-family: var(--avodah-font-display); font-size: 1.15rem; color: var(--avodah-green-900); font-weight: 600; }
.avodah-mega__promo-text { font-size: 0.85rem; color: var(--avodah-muted); }
.avodah-mega__promo-cta { margin-top: 6px; font-weight: 800; color: var(--avodah-green-700); font-size: 0.88rem; }

/* Mega menú en móvil (acordeón) */
@media (max-width: 1080px) {
	.avodah-menu .has-mega { position: relative; }
	.avodah-mega {
		position: static;
		opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border-top: 0;
		display: none;
	}
	.avodah-menu .has-mega.avodah-mega-open > .avodah-mega { display: block; }
	.avodah-mega__inner { flex-direction: column; padding: 8px 0 8px 12px; gap: 12px; }
	.avodah-mega__cols { grid-template-columns: 1fr; }
	.avodah-mega__promo { width: 100%; flex-direction: row; align-items: center; }
	.avodah-mega__promo-img { width: 90px; height: 90px; flex-shrink: 0; }
}

/* ==========================================================================
   Hero de la portada (imagen de fondo full-bleed + texto a la izquierda)
   ========================================================================== */
.avodah-hero {
	position: relative;
	/* Full-bleed: rompe el contenedor de contenido del tema y ocupa todo el ancho */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background-color: var(--avodah-sand-2);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	overflow: hidden;
}
.avodah-hero__overlay {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg,
		var(--avodah-cream) 0%,
		rgba(245, 241, 231, 0.96) 28%,
		rgba(245, 241, 231, 0.72) 46%,
		rgba(245, 241, 231, 0.2) 62%,
		rgba(245, 241, 231, 0) 74%);
}
.avodah-hero__inner {
	position: relative; z-index: 2;
	max-width: 1280px; margin: 0 auto;
	padding: 64px 24px;
	min-height: 540px;
	display: flex; align-items: center;
}
.avodah-hero__text { max-width: 520px; }
.avodah-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--avodah-green-500);
	font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem;
}
.avodah-hero__title {
	font-family: var(--avodah-font-display);
	font-size: clamp(2.2rem, 4.6vw, 3.7rem);
	color: var(--avodah-green-900);
	line-height: 1.04;
	margin: 14px 0 16px;
	font-weight: 600;
}
.avodah-hero__sub { font-size: 1.1rem; color: var(--avodah-ink); max-width: 440px; margin: 0; }
.avodah-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 30px; }
.avodah-hero__btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-size: 1rem; }
.avodah-hero__btn.button--ghost { background: rgba(255, 255, 255, 0.55); }
.avodah-hero__btn .avodah-ico { width: 18px; height: 18px; }
.avodah-hero__badges {
	display: flex; gap: 28px; flex-wrap: wrap;
	list-style: none; margin: 0; padding: 0;
}
.avodah-hero__badges li { display: flex; align-items: center; gap: 11px; }
.avodah-hero__badges .avodah-ico { color: var(--avodah-green-700); width: 26px; height: 26px; flex-shrink: 0; }
.avodah-hero__badges strong { display: block; font-size: 0.92rem; color: var(--avodah-green-900); }
.avodah-hero__badges span { display: block; font-size: 0.8rem; color: var(--avodah-muted); }

.avodah-hero__seal {
	position: absolute; top: 28px; right: 40px; z-index: 3;
	width: 118px; height: 118px;
	border-radius: 50%;
	background: var(--avodah-cream);
	border: 2px solid var(--avodah-green-300);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; gap: 5px; padding: 10px;
	box-shadow: var(--avodah-shadow);
}
.avodah-hero__seal .avodah-ico { color: var(--avodah-green-700); }
.avodah-hero__seal span {
	font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--avodah-green-900); line-height: 1.3;
}

@media (max-width: 900px) {
	.avodah-hero__overlay {
		background: linear-gradient(180deg, rgba(245, 241, 231, 0.93) 0%, rgba(245, 241, 231, 0.86) 60%, rgba(245, 241, 231, 0.92) 100%);
	}
	.avodah-hero__inner { padding: 40px 20px; min-height: 440px; }
	.avodah-hero__text, .avodah-hero__sub { max-width: none; }
	.avodah-hero__seal { top: 16px; right: 16px; width: 92px; height: 92px; }
}
@media (max-width: 600px) {
	.avodah-hero__badges { gap: 16px; }
	.avodah-hero__inner { min-height: 380px; }
}

/* ==========================================================================
   Mi Cuenta (frontend) — layout + menú lateral con iconos
   ========================================================================== */
.logged-in.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 290px 1fr;
	gap: 28px;
	align-items: start;
	max-width: 1120px;
	margin: 0 auto;
}

/* Tarjeta de navegación */
.avodah-account-nav {
	background: #fff;
	border: 1px solid var(--avodah-line);
	border-radius: 18px;
	padding: 10px;
	box-shadow: var(--avodah-shadow);
	position: sticky;
	top: 96px;
}
.avodah-account-card {
	display: flex; align-items: center; gap: 13px;
	padding: 14px 12px 16px;
	border-bottom: 1px solid var(--avodah-line);
	margin-bottom: 8px;
}
.avodah-account-card__avatar img {
	width: 54px; height: 54px; border-radius: 50%; display: block;
	border: 2px solid var(--avodah-green-300);
}
.avodah-account-card__meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.avodah-account-card__hi { font-size: 0.76rem; color: var(--avodah-muted); }
.avodah-account-card__name { font-family: var(--avodah-font-display); font-weight: 600; color: var(--avodah-green-900); font-size: 1.08rem; }
.avodah-account-card__email { font-size: 0.72rem; color: var(--avodah-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.avodah-account-nav ul { list-style: none; margin: 0; padding: 0; }
.avodah-account-nav li { margin: 0; }
.avodah-account-nav li a {
	display: flex; align-items: center; gap: 12px;
	padding: 11px 12px; border-radius: 11px;
	color: var(--avodah-ink); text-decoration: none;
	font-weight: 700; font-size: 0.94rem;
	transition: background 0.15s, color 0.15s;
}
.avodah-account-nav li a:hover { background: var(--avodah-sand); color: var(--avodah-green-700); }
.avodah-account-nav__icon { display: inline-flex; color: var(--avodah-green-500); flex-shrink: 0; }
.avodah-account-nav__icon svg { width: 20px; height: 20px; }
.avodah-account-nav li.is-active > a {
	background: var(--avodah-green-700); color: #fff;
}
.avodah-account-nav li.is-active > a .avodah-account-nav__icon { color: #fff; }
.avodah-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a { color: #a3443a; }
.avodah-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: #f6e5e2; color: #8a3226; }

/* Contenido */
.woocommerce-account .woocommerce-MyAccount-content {
	background: #fff;
	border: 1px solid var(--avodah-line);
	border-radius: 18px;
	padding: 28px 30px;
	box-shadow: var(--avodah-shadow);
	min-width: 0;
}
.woocommerce-account .woocommerce-MyAccount-content > h3:first-child,
.woocommerce-account .woocommerce-MyAccount-content > h2:first-child { margin-top: 0; }

/* Tablas nativas de WooCommerce (pedidos, direcciones) */
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .shop_table {
	border-collapse: collapse; width: 100%;
}
.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .woocommerce-orders-table td {
	padding: 12px 10px; border-bottom: 1px solid var(--avodah-line);
}

@media (max-width: 860px) {
	.logged-in.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 18px; }
	.avodah-account-nav { position: static; }
}

/* Refuerzo: anular float/width por defecto de WooCommerce en Mi Cuenta */
.woocommerce-account .woocommerce {
	display: grid !important;
	grid-template-columns: 290px minmax(0, 1fr) !important;
	gap: 28px;
	max-width: 1120px;
	margin: 0 auto;
	align-items: start;
	float: none !important;
	width: auto !important;
}
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { content: none !important; }
.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce > .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	max-width: none !important;
}
@media (max-width: 860px) {
	.woocommerce-account .woocommerce { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   Home rediseño: secciones, comprar por mascota, categorías con foto,
   tarjetas de producto compactas (5 columnas, estilo retailer)
   ========================================================================== */
.avodah-sec-title {
	font-family: var(--avodah-font-display);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	color: var(--avodah-green-900);
	margin: 0 0 18px;
}
.avodah-pets__inner, .avodah-cats__inner { max-width: 1280px; margin: 0 auto; padding: 8px 24px 4px; }

/* Comprar por mascota */
.avodah-pets { margin: 8px 0 6px; }
.avodah-pets__row { display: flex; gap: 40px; flex-wrap: wrap; }
.avodah-pet { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.avodah-pet__img {
	width: 118px; height: 118px; border-radius: 50%;
	background-size: cover; background-position: center;
	border: 3px solid var(--avodah-green-300);
	box-shadow: var(--avodah-shadow);
	transition: transform 0.18s ease, border-color 0.18s ease;
}
.avodah-pet:hover .avodah-pet__img { transform: translateY(-4px); border-color: var(--avodah-green-700); }
.avodah-pet__label { font-weight: 800; color: var(--avodah-green-900); font-size: 1.05rem; }

/* Tiles de categoría con foto */
.avodah-cats { margin: 10px 0; }
.avodah-cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.avodah-cat {
	position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
	display: flex; align-items: flex-end; text-decoration: none;
	background: var(--avodah-sand-2) center/cover no-repeat;
	box-shadow: var(--avodah-shadow);
	transition: transform 0.18s ease;
}
.avodah-cat:hover { transform: translateY(-4px); }
.avodah-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(47,58,30,0) 35%, rgba(47,58,30,0.82) 100%); }
.avodah-cat__label { position: relative; z-index: 2; color: #fff; padding: 14px; font-weight: 800; font-size: 1rem; line-height: 1.2; }
.avodah-cat__label small { display: block; font-weight: 600; opacity: 0.85; font-size: 0.78rem; margin-top: 2px; }

/* --- Tarjetas de producto compactas (5 col) --- */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin: 0 0 28px !important;
	padding: 0;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important;
	padding: 10px 10px 12px; position: relative;
	display: flex; flex-direction: column;
}
.woocommerce ul.products li.product a img { margin: 0 0 8px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.9rem !important; line-height: 1.28; padding: 0 !important; margin: 0 0 4px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em;
	font-family: var(--avodah-font-body); font-weight: 700; color: var(--avodah-ink);
}
.woocommerce ul.products li.product .price { font-size: 1rem !important; margin: 0 0 8px; }
.woocommerce ul.products li.product .star-rating { font-size: 0.78em; margin: 0 0 6px; }
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
	font-size: 0.8rem !important; padding: 0.55em 0.9em !important;
	margin: auto 0 0 !important; width: 100%; text-align: center; box-sizing: border-box;
}
.avodah-badge--card { position: absolute; top: 16px; left: 16px; z-index: 3; }

@media (max-width: 1100px) {
	.woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
	.avodah-cats__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.avodah-cats__grid { grid-template-columns: repeat(2, 1fr); }
	.avodah-pets__row { gap: 24px; justify-content: center; }
	.avodah-pet__img { width: 92px; height: 92px; }
}

/* Anular el clearfix ::before/::after de WooCommerce que en grid crea celdas vacías */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { content: none !important; display: none !important; }

/* ==========================================================================
   Footer de Avodah
   ========================================================================== */
.avodah-footer { background: var(--avodah-green-900); color: #d8dcc9; margin-top: 40px; }
.avodah-footer__inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.avodah-footer__top { padding: 48px 0 36px; }
.avodah-footer__top .avodah-footer__inner {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1.4fr; gap: 32px;
}
.avodah-footer h4 {
	color: #fff; font-family: var(--avodah-font-body); font-size: 0.82rem;
	text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; font-weight: 800;
}
.avodah-footer ul { list-style: none; margin: 0; padding: 0; }
.avodah-footer ul li { margin-bottom: 10px; }
.avodah-footer a { color: #d8dcc9; text-decoration: none; transition: color 0.15s; }
.avodah-footer a:hover { color: #fff; }

/* Marca */
.avodah-footer__logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.avodah-footer__logo span { font-family: var(--avodah-font-display); font-size: 1.6rem; color: #fff; font-weight: 600; }
.avodah-footer__logo-img { height: 54px; width: auto; filter: brightness(0) invert(1); opacity: 0.94; }
.avodah-footer__brand p { font-size: 0.9rem; line-height: 1.6; max-width: 320px; margin: 0 0 16px; }
.avodah-footer__social { display: flex; gap: 10px; }
.avodah-footer__social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(255,255,255,0.08); color: #fff;
	transition: background 0.15s, transform 0.15s;
}
.avodah-footer__social a:hover { background: var(--avodah-green-500); transform: translateY(-2px); }

/* Contacto */
.avodah-footer__contact ul li { display: flex; align-items: flex-start; gap: 10px; }
.avodah-footer__contact svg { color: var(--avodah-green-300); flex-shrink: 0; margin-top: 2px; }

/* Newsletter */
.avodah-footer__news p { font-size: 0.9rem; line-height: 1.5; margin: 0 0 14px; }
.avodah-footer__form { display: flex; background: rgba(255,255,255,0.1); border-radius: 999px; padding: 4px; }
.avodah-footer__form input {
	flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
	color: #fff; padding: 8px 14px; font-size: 0.9rem; font-family: var(--avodah-font-body);
}
.avodah-footer__form input::placeholder { color: #aeb59a; }
.avodah-footer__form button {
	border: 0; cursor: pointer; background: var(--avodah-green-300); color: var(--avodah-green-900);
	font-weight: 800; border-radius: 999px; padding: 8px 18px; font-size: 0.85rem; white-space: nowrap;
	transition: background 0.15s;
}
.avodah-footer__form button:hover { background: #fff; }
.avodah-footer__note { font-size: 0.85rem; color: var(--avodah-green-300); margin: 10px 0 0; font-weight: 700; }
.avodah-footer__note--err { color: #e0a98f; }

/* Franja de pagos */
.avodah-footer__pay { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; }
.avodah-footer__pay .avodah-footer__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avodah-footer__pay-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: #aeb59a; font-weight: 800; }
.avodah-footer__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.avodah-footer__chip {
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(255,255,255,0.08); color: #eef0e5;
	border-radius: 8px; padding: 6px 12px; font-size: 0.82rem; font-weight: 700;
}
.avodah-footer__chip svg { color: var(--avodah-green-300); }
.avodah-footer__coverage { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: #d8dcc9; }
.avodah-footer__coverage svg { color: var(--avodah-green-300); }

/* Barra inferior */
.avodah-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.avodah-footer__bottom .avodah-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; }
.avodah-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1000px) {
	.avodah-footer__top .avodah-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
	.avodah-footer__brand, .avodah-footer__news { grid-column: 1 / -1; }
	.avodah-footer__coverage { margin-left: 0; }
}
@media (max-width: 560px) {
	.avodah-footer__top .avodah-footer__inner { grid-template-columns: 1fr; }
	.avodah-footer__bottom .avodah-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Tienda: layout con sidebar de filtros
   ========================================================================== */
.avodah-shop {
	display: grid; grid-template-columns: 250px 1fr; gap: 34px;
	max-width: 1280px; margin: 0 auto; align-items: start;
}
.avodah-shop__main { min-width: 0; }

/* Sidebar */
.avodah-shop__filters {
	background: #fff; border: 1px solid var(--avodah-line); border-radius: 16px;
	padding: 8px 18px 18px; box-shadow: var(--avodah-shadow);
	position: sticky; top: 96px;
}
.avodah-shop__filters-head { display: none; }
.avodah-filter { padding: 16px 0; border-bottom: 1px solid var(--avodah-line); }
.avodah-filter:last-of-type { border-bottom: 0; }
.avodah-filter h3 {
	font-family: var(--avodah-font-body); font-size: 0.82rem; font-weight: 800;
	text-transform: uppercase; letter-spacing: 0.06em; color: var(--avodah-green-900); margin: 0 0 12px;
}
.avodah-filter__list { list-style: none; margin: 0; padding: 0; }
.avodah-filter__list li { margin: 0; }
.avodah-filter__list a {
	display: flex; justify-content: space-between; align-items: center;
	padding: 7px 10px; border-radius: 8px; text-decoration: none;
	color: var(--avodah-ink); font-weight: 600; font-size: 0.92rem;
}
.avodah-filter__list a:hover { background: var(--avodah-sand); }
.avodah-filter__list li.is-active > a { background: var(--avodah-green-700); color: #fff; }
.avodah-filter__count { font-size: 0.78rem; color: var(--avodah-muted); }
.avodah-filter__list li.is-active .avodah-filter__count { color: #dfe6d0; }

/* Checkboxes (mascota / artesanal) */
.avodah-filter__checks { list-style: none; margin: 0; padding: 0; }
.avodah-check { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--avodah-ink); font-weight: 600; font-size: 0.92rem; }
.avodah-check:hover { background: var(--avodah-sand); }
.avodah-check__box { width: 18px; height: 18px; border: 2px solid var(--avodah-green-300); border-radius: 5px; flex-shrink: 0; position: relative; transition: 0.15s; }
.avodah-check.is-checked .avodah-check__box { background: var(--avodah-green-700); border-color: var(--avodah-green-700); }
.avodah-check.is-checked .avodah-check__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.avodah-check.is-checked { color: var(--avodah-green-900); font-weight: 800; }

/* Precio */
.avodah-price__row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.avodah-price__row input { width: 100%; padding: 8px 10px; border: 1px solid var(--avodah-line); border-radius: 8px; }
.avodah-price .button { padding: 0.5em 1.2em; font-size: 0.85rem; }
.avodah-filter__clear { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--avodah-green-700); font-size: 0.9rem; }

/* Chips de filtros activos */
.avodah-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.avodah-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--avodah-sand); color: var(--avodah-green-900); border-radius: 999px; padding: 5px 12px; font-size: 0.84rem; font-weight: 700; text-decoration: none; }
.avodah-chip:hover { background: var(--avodah-green-300); }
.avodah-chip svg { width: 14px; height: 14px; }

/* Toolbar (result count + ordering) */
.avodah-shop__main .woocommerce-result-count { margin: 2px 0 14px; color: var(--avodah-muted); font-size: 0.9rem; }
.avodah-shop__main .woocommerce-ordering { float: right; margin: 0 0 14px; }
.avodah-shop__main .woocommerce-ordering select {
	padding: 9px 14px; border: 1px solid var(--avodah-line); border-radius: 999px; background: #fff; font-weight: 700; color: var(--avodah-green-900);
}
.avodah-shop__main ul.products { clear: both; grid-template-columns: repeat(4, 1fr); }

/* Toggle de filtros (móvil) */
.avodah-filters-toggle { display: none; align-items: center; gap: 8px; }

@media (max-width: 1100px) {
	.avodah-shop { grid-template-columns: 220px 1fr; gap: 24px; }
	.avodah-shop__main ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
	.avodah-shop { grid-template-columns: 1fr; }
	.avodah-shop__filters {
		position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw;
		z-index: 1000; border-radius: 0; transform: translateX(-105%); transition: transform 0.25s ease;
		overflow-y: auto;
	}
	body.avodah-filters-open .avodah-shop__filters { transform: translateX(0); }
	body.avodah-filters-open::after { content: ""; position: fixed; inset: 0; background: rgba(47,58,30,0.5); z-index: 999; }
	.avodah-shop__filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 10px; }
	.avodah-filters-close { background: transparent; border: 0; cursor: pointer; color: var(--avodah-green-900); }
	.avodah-filters-toggle {
		display: inline-flex; background: #fff; border: 1px solid var(--avodah-line);
		color: var(--avodah-green-900); font-weight: 700; padding: 9px 16px; border-radius: 999px; cursor: pointer; margin-bottom: 14px;
	}
	.avodah-shop__main ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
	.avodah-shop__main ul.products { grid-template-columns: repeat(2, 1fr); }
	.avodah-shop__main .woocommerce-ordering { float: none; }
}

/* ==========================================================================
   Carrito
   ========================================================================== */
.woocommerce-cart .avodah-continue { display: inline-block; margin-bottom: 16px; font-weight: 700; color: var(--avodah-green-700); text-decoration: none; }
.woocommerce-cart .avodah-continue:hover { color: var(--avodah-green-900); }

/* Layout 2 columnas (solo cuando hay items) */
.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) {
	display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 28px 40px;
	align-items: start; max-width: 1180px; margin: 0 auto;
}
.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) > * { grid-column: 1 / -1; }
.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) > form.woocommerce-cart-form { grid-column: 1; }
.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) > .cart-collaterals { grid-column: 2; position: sticky; top: 96px; }

/* Tabla de items como tarjeta */
.woocommerce-cart-form table.cart {
	border: 1px solid var(--avodah-line); border-collapse: collapse; width: 100%;
	background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--avodah-shadow);
}
.woocommerce-cart-form table.cart thead th {
	background: var(--avodah-sand); color: var(--avodah-green-900);
	font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800;
	padding: 14px 14px; border: 0; text-align: left;
}
.woocommerce-cart-form table.cart td { padding: 16px 14px; border-top: 1px solid var(--avodah-line); vertical-align: middle; }
.woocommerce-cart-form .product-thumbnail img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; background: var(--avodah-sand); }
.woocommerce-cart-form .product-remove a.remove {
	color: #b32d2e !important; font-weight: 700; border-radius: 50%;
	width: 26px; height: 26px; line-height: 24px; text-align: center; display: inline-block;
}
.woocommerce-cart-form .product-remove a.remove:hover { background: #f6e5e2; color: #8a3226 !important; }
.woocommerce-cart-form .product-name a { font-weight: 700; color: var(--avodah-green-900); text-decoration: none; }
.woocommerce-cart-form .product-name a:hover { color: var(--avodah-green-700); }
.woocommerce-cart-form .product-price, .woocommerce-cart-form .product-subtotal { color: var(--avodah-green-900); font-weight: 700; }
.woocommerce-cart-form .quantity input.qty {
	width: 62px; padding: 8px; border: 1px solid var(--avodah-line); border-radius: 8px; text-align: center;
}
.woocommerce-cart-form td.actions { padding: 16px 14px; }
.woocommerce-cart-form td.actions .coupon { display: flex; gap: 8px; align-items: center; }
.woocommerce-cart-form td.actions .coupon input#coupon_code {
	border: 1px solid var(--avodah-line); border-radius: 999px; padding: 10px 16px; width: 180px;
}
.woocommerce-cart-form td.actions .button { border-radius: 999px; }

/* Resumen (Total del carrito) */
.cart-collaterals .cart_totals { width: 100% !important; float: none !important; }
.cart-collaterals .cross-sells { display: none; } /* usamos nuestro cross-sell abajo */
.cart_totals h2 { font-family: var(--avodah-font-display); font-size: 1.5rem; margin: 0 0 14px; }
.cart_totals table {
	border: 1px solid var(--avodah-line) !important; border-radius: 14px; overflow: hidden;
	background: #fff; box-shadow: var(--avodah-shadow); margin-bottom: 16px; width: 100%;
}
.cart_totals table th, .cart_totals table td { padding: 14px 16px !important; border-top: 1px solid var(--avodah-line); }
.cart_totals table tr:first-child th, .cart_totals table tr:first-child td { border-top: 0; }
.cart_totals .order-total .amount { color: var(--avodah-green-900); font-size: 1.15rem; }
.cart_totals .checkout-button, .cart_totals .wc-proceed-to-checkout .button {
	display: block; width: 100%; text-align: center; padding: 15px !important; font-size: 1.05rem !important;
}
.wc-proceed-to-checkout { padding: 0 !important; }

/* Cross-sell propio */
.avodah-cart-cross { margin-top: 36px; }
.avodah-cart-cross .avodah-sec-title { margin-bottom: 16px; }

/* Estado vacío */
.woocommerce-cart .cart-empty { text-align: center; font-size: 1.25rem; color: var(--avodah-green-900); padding: 48px 0 8px; font-family: var(--avodah-font-display); }
.woocommerce-cart .return-to-shop { text-align: center; margin-bottom: 44px; }

@media (max-width: 900px) {
	.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) { grid-template-columns: 1fr; }
	.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) > .cart-collaterals { position: static; }
	.avodah-cart-cross ul.products { grid-template-columns: repeat(2,1fr); }
}

/* Ajuste ancho cupón del carrito */
.woocommerce-cart-form td.actions .coupon input#coupon_code { flex: 0 0 190px; width: 190px; }

/* ==========================================================================
   Ficha de producto (PDP)
   ========================================================================== */
/* Pestañas de marca */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	border: 0 !important; padding: 0 !important; margin: 0 0 22px !important;
	display: flex; gap: 8px; flex-wrap: wrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent !important; border: 0 !important; border-radius: 999px !important;
	margin: 0 !important; padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 10px 20px !important; border-radius: 999px; font-weight: 700; color: var(--avodah-ink); display: block;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active) a:hover { background: var(--avodah-sand); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--avodah-green-700) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce div.product .woocommerce-tabs .panel { padding-top: 4px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-family: var(--avodah-font-display); }

/* Trust badges bajo el CTA */
.avodah-pdp-trust {
	display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
	margin: 22px 0 6px; padding: 16px; background: var(--avodah-sand); border-radius: 14px;
}
.avodah-pdp-trust__item { display: flex; align-items: center; gap: 10px; }
.avodah-pdp-trust__item svg { color: var(--avodah-green-700); flex-shrink: 0; }
.avodah-pdp-trust__item strong { display: block; font-size: 0.85rem; color: var(--avodah-green-900); line-height: 1.2; }
.avodah-pdp-trust__item span { display: block; font-size: 0.75rem; color: var(--avodah-muted); }

/* Precio y título del PDP */
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 1.6rem; }
.single-product .avodah-card { margin-top: 18px; }

@media (max-width: 560px) {
	.avodah-pdp-trust { grid-template-columns: 1fr; gap: 10px; }
}

/* ==========================================================================
   Wishlist (favoritos)
   ========================================================================== */
.avodah-wish { background: transparent; border: 0; cursor: pointer; color: var(--avodah-green-700); padding: 0; display: inline-flex; align-items: center; line-height: 1; }
.avodah-wish--loop {
	position: absolute; top: 14px; right: 14px; z-index: 3;
	width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.92);
	align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(47,58,30,0.12);
	transition: transform 0.15s ease, color 0.15s ease;
}
.avodah-wish--loop:hover { transform: scale(1.12); }
.avodah-wish--single { gap: 8px; margin-top: 14px; font-weight: 700; color: var(--avodah-green-700); font-size: 0.95rem; }
.avodah-wish--single:hover { color: var(--avodah-green-900); }
.avodah-wish.is-active { color: #c0492f; }

/* Contador del corazón en el header */
.avodah-wish-link { position: relative; }
.avodah-wish-count {
	position: absolute; top: 0; right: 0; background: var(--avodah-green-700); color: #fff;
	font-size: 0.66rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 999px;
	display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* ==========================================================================
   Testimonios
   ========================================================================== */
.avodah-testi { margin: 12px 0; }
.avodah-testi__inner { max-width: 1280px; margin: 0 auto; padding: 8px 24px; }
.avodah-testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.avodah-testi__card {
	background: #fff; border: 1px solid var(--avodah-line); border-radius: 16px;
	padding: 24px; margin: 0; box-shadow: var(--avodah-shadow);
	display: flex; flex-direction: column; gap: 12px;
}
.avodah-testi__stars { color: #e0a02f; display: flex; gap: 2px; }
.avodah-testi__card blockquote { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--avodah-ink); }
.avodah-testi__card figcaption { margin-top: auto; }
.avodah-testi__card figcaption strong { display: block; color: var(--avodah-green-900); font-family: var(--avodah-font-display); font-size: 1.05rem; }
.avodah-testi__card figcaption span { font-size: 0.85rem; color: var(--avodah-muted); }

/* ==========================================================================
   Contacto
   ========================================================================== */
.avodah-contact { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; max-width: 1100px; }
.avodah-contact__info h3, .avodah-contact__form h3 { font-family: var(--avodah-font-display); margin-top: 0; }
.avodah-contact__info ul { list-style: none; margin: 0 0 20px; padding: 0; }
.avodah-contact__info li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--avodah-ink); }
.avodah-contact__info li svg { color: var(--avodah-green-700); flex-shrink: 0; margin-top: 2px; }
.avodah-contact__info a { color: var(--avodah-ink); text-decoration: none; }
.avodah-contact__info a:hover { color: var(--avodah-green-700); }
.avodah-contact__wa { display: inline-flex !important; align-items: center; gap: 8px; }
.avodah-contact__form .form-row { margin-bottom: 14px; }
.avodah-contact__form .form-row-first, .avodah-contact__form .form-row-last { width: 48%; display: inline-block; vertical-align: top; }
.avodah-contact__form .form-row-first { margin-right: 3%; }
.avodah-contact__form label { display: block; font-weight: 700; margin-bottom: 5px; color: var(--avodah-green-900); }
.avodah-contact__form input, .avodah-contact__form textarea {
	width: 100%; padding: 11px 14px; border: 1px solid var(--avodah-line); border-radius: 10px; background: #fff; font-family: var(--avodah-font-body);
}
.avodah-contact__ok { font-size: 1.1rem; color: var(--avodah-green-900); font-weight: 700; }

@media (max-width: 860px) {
	.avodah-testi__grid { grid-template-columns: 1fr; }
	.avodah-contact { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   Login / Registro (Mi Cuenta deslogueado)
   ========================================================================== */
.woocommerce-account:not(.logged-in) .woocommerce { display: block !important; max-width: 940px; margin: 0 auto; }
/* El tema imprime el título de página "Mi cuenta"; lo ocultamos (la UI de cuenta ya da contexto) */
.woocommerce-account .entry-title { display: none; }
.avodah-login-hero { text-align: center; margin: 0 0 28px; }
.avodah-login-hero h2 { font-family: var(--avodah-font-display); font-size: 2rem; color: var(--avodah-green-900); margin: 0 0 6px; }
.avodah-login-hero p { color: var(--avodah-muted); margin: 0; }

.woocommerce-account:not(.logged-in) #customer_login {
	display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 28px; align-items: start;
	width: 100% !important; max-width: 100% !important; float: none !important;
}
.woocommerce-account:not(.logged-in) #customer_login::before,
.woocommerce-account:not(.logged-in) #customer_login::after { content: none !important; display: none !important; }
.woocommerce-account:not(.logged-in) #customer_login > div {
	width: auto !important; float: none !important;
	background: #fff; border: 1px solid var(--avodah-line); border-radius: 16px;
	padding: 28px 30px; box-shadow: var(--avodah-shadow);
}
.woocommerce-account:not(.logged-in) #customer_login h2 {
	font-family: var(--avodah-font-display); margin-top: 0; color: var(--avodah-green-900);
}
.woocommerce-account #customer_login .woocommerce-form-row label,
.woocommerce-account .woocommerce-EditAccountForm label,
.woocommerce-account .woocommerce-address-fields label { font-weight: 700; color: var(--avodah-green-900); }
.woocommerce-account #customer_login input.input-text,
.woocommerce-account .woocommerce-EditAccountForm input.input-text,
.woocommerce-account .woocommerce-address-fields input.input-text,
.woocommerce-account .woocommerce-address-fields select {
	width: 100%; padding: 11px 14px; border: 1px solid var(--avodah-line); border-radius: 10px; background: #fff;
}
.woocommerce-account #customer_login .button,
.woocommerce-account .woocommerce-EditAccountForm .button,
.woocommerce-account .woocommerce-address-fields .button,
.woocommerce-address .button { width: 100%; text-align: center; }
.woocommerce-account #customer_login .woocommerce-form-login__rememberme { display: block; margin: 10px 0; font-weight: 400; }
.woocommerce-account #customer_login .lost_password { margin-top: 10px; }
.woocommerce-account #customer_login .lost_password a { color: var(--avodah-green-700); }

/* Caja de credenciales demo */
.avodah-demo-creds {
	max-width: 620px; margin: 0 auto 26px; text-align: left;
	background: #eef2e3; border: 1px dashed var(--avodah-green-500); border-radius: 12px;
	padding: 16px 20px; color: var(--avodah-green-900);
}
.avodah-demo-creds strong { display: block; margin-bottom: 8px; }
.avodah-demo-creds ul { margin: 0; padding-left: 18px; }
.avodah-demo-creds li { margin: 4px 0; font-size: 0.92rem; }
.avodah-demo-creds code { background: #fff; border: 1px solid var(--avodah-line); border-radius: 6px; padding: 1px 7px; font-size: 0.86rem; }
.avodah-demo-creds__note { display: block; margin-top: 10px; font-size: 0.78rem; color: var(--avodah-muted); }

/* Formularios de cuenta (detalles/direcciones) más aireados */
.woocommerce-EditAccountForm fieldset { border: 1px solid var(--avodah-line); border-radius: 12px; padding: 16px 18px; margin-top: 18px; }
.woocommerce-EditAccountForm fieldset legend { font-weight: 800; color: var(--avodah-green-900); padding: 0 6px; }

@media (max-width: 720px) {
	.woocommerce-account:not(.logged-in) #customer_login { grid-template-columns: 1fr; }
}
