/*
Theme Name: layerbabuena
Theme URI: https://layerbabuena.co
Author: La Yerbabuena
Author URI: https://layerbabuena.co
Description: Tema original de La Yerbabuena: tienda naturista colombiana desde 1986. Diseño biofílico, accesible, responsive y enfocado en conversión, con SEO/GEO y WooCommerce integrado.
Tags: e-commerce,woocommerce,custom-logo,custom-menu,featured-images,full-width-template,threaded-comments,footer-widgets,responsive-layout,accessibility-ready
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: layerbabuena
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================
   Design tokens La Yerbabuena v2 (2026)
   Paleta de marca + semantic tokens para todo el tema.
   ========================================================= */
:root {
	--lbl-cream: #FDF9F0;
	--lbl-white: #FFFFFF;
	--lbl-ink: #1A2E39;
	--lbl-green: #0e6258;
	--lbl-green-100: #E6F2EC;
	--lbl-green-300: #487F63;
	/* Verde de texto: 5.4:1 sobre crema (WCAG AA). */
	--lbl-green-text: #3D7056;
	--lbl-gold: #F0D36C;
	--lbl-border: #e3ede8;
	--lbl-radius: 16px;
	--lbl-radius-lg: 24px;
	--lbl-shadow: 0 8px 24px rgba(14, 98, 88, 0.10);
	--lbl-shadow-lg: 0 18px 48px rgba(14, 98, 88, 0.14);
	--lbl-focus: #0e6258;
	--lbl-touch: 44px;
}

/* Foco visible en todos los controles interactivos (nunca eliminar el ring). */
:where(a, button, summary, input, select, textarea, [role="button"]):focus-visible {
	outline: 3px solid var(--lbl-focus);
	outline-offset: 3px;
	border-radius: 6px;
}

/* =========================================================
   BASE DEL TEMA ORIGINAL — reset, layout, header, footer
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	/* Evita scroll horizontal: el menú off-canvas queda fuera del viewport. */
	overflow-x: clip;
	background-color: var(--lbl-cream);
	color: var(--lbl-ink);
	font-family: Rubik, Overpass, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--lbl-green-text); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.2; }
p { margin: 0 0 1.2em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	clip-path: inset(50%); white-space: nowrap; border: 0;
}
.lbl-skip-link {
	position: fixed; top: 8px; left: 8px; z-index: 9999;
	transform: translateY(-160%);
	background: var(--lbl-green); color: #fff;
	padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700;
}
.lbl-skip-link:focus { transform: translateY(0); color: #fff; }

.lbl-container { width: min(100% - 30px, 1200px); margin-inline: auto; }

/* ── Header ── */
.lbl-site-header {
	position: sticky; top: 0; z-index: 200;
	background: rgba(253, 249, 240, .95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(14, 98, 88, .12);
}
.lbl-header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.lbl-branding { display: flex; align-items: center; flex: 0 0 auto; max-width: 240px; }
.lbl-branding img { display: block; max-height: 60px; width: auto; }
.lbl-brand-text { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.lbl-brand-name { font-size: 1.3rem; font-weight: 800; color: var(--lbl-ink); letter-spacing: -.02em; }
.lbl-brand-tagline { font-size: .7rem; color: var(--lbl-green-text); font-weight: 600; margin-top: 3px; }
.lbl-nav { flex: 1 1 auto; }
.lbl-menu, .lbl-menu ul.sub-menu { list-style: none; margin: 0; padding: 0; }
.lbl-menu { display: flex; align-items: center; justify-content: center; gap: 2px; }
.lbl-menu > li > a {
	display: flex; align-items: center; min-height: 44px;
	padding: 0 13px; border-radius: 999px;
	color: var(--lbl-ink); font-size: .92rem; font-weight: 600; text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.lbl-menu > li > a:hover, .lbl-menu > li > a:focus-visible,
.lbl-menu > li.current-menu-item > a { background: var(--lbl-green-100); color: var(--lbl-green); }
.lbl-menu .menu-item-has-children { position: relative; }
.lbl-menu ul.sub-menu {
	position: absolute; top: calc(100% - 2px); left: 0; z-index: 210;
	min-width: 220px; padding: 8px;
	background: #fff; border: 1px solid #e3ede8; border-radius: 14px;
	box-shadow: var(--lbl-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.lbl-menu .menu-item-has-children:hover > ul.sub-menu,
.lbl-menu .menu-item-has-children:focus-within > ul.sub-menu { opacity: 1; visibility: visible; transform: none; }
.lbl-menu ul.sub-menu li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--lbl-ink); font-size: .88rem; text-decoration: none; }
.lbl-menu ul.sub-menu li a:hover { background: var(--lbl-green-100); color: var(--lbl-green); }
.lbl-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; flex: 0 0 auto; }
.lbl-tools .tools-icon {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; min-width: 44px; min-height: 44px;
	border: 0; border-radius: 50%; background: transparent; color: var(--lbl-ink);
	cursor: pointer; text-decoration: none; transition: background .2s ease, color .2s ease;
}
.lbl-tools .tools-icon:hover { background: var(--lbl-green-100); color: var(--lbl-green); }
.lbl-tools .lbl-whatsapp-icon { color: #25D366; }
.lbl-tools .lbl-whatsapp-icon:hover { color: #128C7E; }
.lbl-cart-count {
	position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0 4px; border-radius: 999px; background: var(--lbl-green);
	color: #fff; font-size: 10px; font-weight: 800; line-height: 1;
}

/* Mini-carrito AJAX del header */
.lbl-cart-wrap { position: relative; display: inline-flex; }
.lbl-mini-cart {
	display: none;
	position: absolute; top: calc(100% + 6px); right: 0; z-index: 60;
	width: min(340px, calc(100vw - 32px));
	padding: 14px; background: var(--lbl-white); color: var(--lbl-ink);
	border: 1px solid var(--lbl-border); border-radius: var(--lbl-radius);
	box-shadow: var(--lbl-shadow-lg);
}
.lbl-mini-cart.is-open { display: block; }
.lbl-mini-cart-empty { margin: 6px 0; font-size: 14px; color: #5b6b63; }
.lbl-mini-cart-items { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
.lbl-mini-cart-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--lbl-border); }
.lbl-mini-cart-item img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: var(--lbl-cream); }
.lbl-mini-cart-item-info { flex: 1; min-width: 0; }
.lbl-mini-cart-item-name { display: block; font-size: 13px; font-weight: 700; line-height: 1.35; }
.lbl-mini-cart-item-qty { display: block; margin-top: 2px; font-size: 12px; color: #5b6b63; }
.lbl-mini-cart-remove { border: 0; background: transparent; color: #8a9a92; cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 4px; }
.lbl-mini-cart-remove:hover, .lbl-mini-cart-remove:focus { color: #b42318; }
.lbl-mini-cart-total { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 14px; font-weight: 800; }
.lbl-mini-cart-actions { display: grid; gap: 8px; }
.lbl-mini-cart-actions a { display: block; padding: 10px 12px; border-radius: 10px; text-align: center; font-size: 13px; font-weight: 800; text-decoration: none; }
.lbl-mini-cart-view-cart { background: var(--lbl-green-100); color: var(--lbl-green); }
.lbl-mini-cart-checkout { background: var(--lbl-green); color: #fff; }
.lbl-menu-toggle { display: none; }
.lbl-nav-overlay { display: none; }

@media (max-width: 991px) {
	.lbl-header-inner { min-height: 66px; gap: 10px; flex-wrap: wrap; row-gap: 0; }
	.lbl-branding { max-width: 55%; }
	.lbl-brand-name { font-size: 1.1rem; }
	.lbl-brand-tagline { display: none; }

	/* Sin menú en móvil: se oculta por completo la navegación del header. */
	.lbl-menu-toggle { display: none; }
	.lbl-nav { display: none !important; }
	.lbl-nav-overlay { display: none !important; }
}

/* Header en móvil: el logo y los iconos deben caber siempre en la pantalla. */
@media (max-width: 767px) {
	.lbl-header-inner { gap: 6px; }
	.lbl-branding { max-width: 46%; flex: 1 1 auto; min-width: 0; }
	.lbl-tools { gap: 0; margin-left: 0; }
	.lbl-tools .tools-icon { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
	/* En móvil el WhatsApp flotante ya está disponible; el del header sobra. */
	.lbl-tools .lbl-whatsapp-icon { display: none; }
}

/* ── Diálogo de búsqueda ── */
.lbl-search-dialog[hidden] { display: none !important; }
.lbl-search-dialog { position: fixed; inset: 0; z-index: 400; display: grid; place-items: start center; padding: 11vh 16px 16px; }
.lbl-search-dialog__backdrop { position: absolute; inset: 0; background: rgba(10, 30, 25, .52); }
.lbl-search-dialog__panel { position: relative; width: min(100%, 620px); background: var(--lbl-cream); border-radius: var(--lbl-radius-lg); padding: 30px; box-shadow: var(--lbl-shadow-lg); }
.lbl-search-dialog__close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 28px; line-height: 1; color: var(--lbl-ink); cursor: pointer; }
.lbl-search-dialog__title { font-size: 1.4rem; font-weight: 800; color: var(--lbl-ink); margin: 0 0 16px; }
.lbl-search-dialog__panel form { display: flex; gap: 8px; }
.lbl-search-dialog__panel input[type="search"] { flex: 1; min-width: 0; border: 2px solid #dce9e2; border-radius: 999px; padding: 12px 18px; background: #fff; color: var(--lbl-ink); }
.lbl-search-dialog__panel button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--lbl-green); color: #fff; cursor: pointer; }
.lbl-search-dialog__hint { font-size: 13px; color: var(--lbl-green-text); margin: 12px 2px 0; }

/* ── Contenido y pie ── */
.lbl-site-main { min-height: 50vh; padding: 26px 0 64px; }
.lbl-page-header { margin: 0 0 28px; }
.lbl-page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--lbl-ink); }
.lbl-site-footer { background: #14271d; color: #e7f1eb; padding: 56px 0 22px; margin-top: 0; }
.lbl-site-footer a { color: #e7f1eb; }
/* La landing y el pie van pegados: sin banda crema entre la CTA y el footer.
   El !important cierra el hueco aunque una versión anterior de la landing
   conserve su padding-bottom móvil. */
.lbl-landing { margin-bottom: 0 !important; padding-bottom: 0 !important; }
#lbl-site-footer { margin-top: 0 !important; }
.lbl-footer-widgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.lbl-site-footer .widget { margin-bottom: 24px; }
.lbl-site-footer .widget-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; color: #fff; }
.lbl-site-footer .widget p, .lbl-site-footer .widget li { font-size: 14px; line-height: 1.7; color: rgba(231, 241, 235, .78); }
.lbl-site-footer .widget ul { list-style: none; padding: 0; margin: 0; }
.lbl-site-footer .widget li { margin-bottom: 6px; }
.lbl-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 26px; padding-top: 18px; font-size: 13px; color: rgba(231, 241, 235, .72); }
.lbl-footer-bottom a { text-decoration: underline; }
.lbl-footer-legal { margin: 8px 0 0; }
.lbl-footer-legal a:hover { color: #F0D36C; }
@media (max-width: 767px) { .lbl-footer-widgets { grid-template-columns: 1fr; gap: 8px; } }

/* ── WooCommerce base (sin tema anterior) ── */
.woocommerce .woocommerce-breadcrumb { font-size: 13px; margin: 0 0 22px; color: var(--lbl-green-text); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0 0 32px; }
/* WooCommerce usa ::before/::after como clearfix. Dentro de un grid se
   convierten en celdas vacías: hueco antes del primer producto y al final. */
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
/* La tienda y las categorías usan columns-5 y 20 productos: 4 filas exactas. */
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: center; background: #fff; border: 1px solid #ece7da; border-radius: 16px; padding: 14px 14px 18px; box-shadow: 0 6px 22px rgba(31, 62, 48, .05); }
.woocommerce ul.products li.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 800; color: var(--lbl-ink); }
.woocommerce ul.products li.product .price { color: var(--lbl-green); font-weight: 800; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	background: var(--lbl-green) !important; color: #fff !important; border: 0 !important;
	border-radius: 10px !important; padding: 11px 20px !important; font-weight: 700 !important;
	cursor: pointer; text-decoration: none; transition: background .2s ease, transform .2s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #0a4c44 !important; transform: translateY(-1px); }
.woocommerce .woocommerce-ordering select { min-height: 44px; border-radius: 8px; border: 1px solid #dce9e2; padding: 0 10px; }
/* Tienda: ocultar el H1 SEO duplicado y el selector de orden.
   En la búsqueda se conserva el selector (body.search). */
.lbl-archive-h1 { display: none !important; }
body.woocommerce:not(.search) .woocommerce-ordering { display: none !important; }
.lbl-pagination { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 32px 0; }
.lbl-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid #dce9e2; border-radius: 10px; background: #fff; color: var(--lbl-ink); text-decoration: none; }
.lbl-pagination .page-numbers.current { background: var(--lbl-green); border-color: var(--lbl-green); color: #fff; }
@media (max-width: 1199px) { .woocommerce ul.products.columns-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.woocommerce ul.products.columns-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Blog ── */
.lbl-blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 767px) { .lbl-blog-grid { grid-template-columns: 1fr; } }

/* ── Blog, archivos, 404 y comentarios ── */
.lbl-post-card { background: #fff; border: 1px solid #ece7da; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 22px rgba(31, 62, 48, .05); transition: transform .2s ease, box-shadow .2s ease; }
.lbl-post-card:hover { transform: translateY(-4px); box-shadow: var(--lbl-shadow-lg); }
.lbl-post-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.lbl-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lbl-post-body { padding: 22px; }
.lbl-post-title { font-size: 1.3rem; font-weight: 800; color: var(--lbl-ink); }
.lbl-post-title a { color: inherit; text-decoration: none; }
.lbl-post-title a:hover { color: var(--lbl-green-text); }
.lbl-post-excerpt { color: #4b5b60; font-size: 15px; }
.lbl-excerpt-more, .lbl-post-more { color: var(--lbl-green-text); font-weight: 700; text-decoration: none; }
.lbl-post-more { display: inline-block; margin-top: 6px; }
.lbl-post-meta, .entry-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: #6c7a7e; margin-bottom: 10px; }
.lbl-post-meta a, .entry-meta a { color: var(--lbl-green-text); text-decoration: none; }
.lbl-post-single { max-width: 820px; margin-inline: auto; }
.lbl-post-cover { margin: 22px 0; border-radius: 16px; overflow: hidden; }
.lbl-post-cover img { width: 100%; }
.lbl-post-content { font-size: 17px; line-height: 1.75; color: #2f4148; }
.lbl-post-content img { border-radius: 12px; }
.lbl-post-footer { margin-top: 30px; padding-top: 18px; border-top: 1px solid #e3ede8; font-size: 14px; }
.lbl-archive-header { margin-bottom: 30px; }
.lbl-archive-desc { color: #4b5b60; font-size: 16px; }
.lbl-empty-state, .lbl-404 { max-width: 650px; margin: 0 auto; text-align: center; padding: 60px 20px; }
.lbl-404-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; line-height: 1; color: var(--lbl-green-100); margin: 0; }
.lbl-404-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px 0; }
.lbl-btn-tienda, .lbl-btn-wa { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.lbl-btn-tienda { background: var(--lbl-green); color: #fff !important; }
.lbl-btn-wa { background: #25D366; color: #fff !important; }
.post-navigation { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding: 18px 22px; background: #fff; border: 1px solid #ece7da; border-radius: 14px; }
.post-navigation span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6c7a7e; }
.post-navigation a { font-weight: 700; text-decoration: none; }
.comments-area { max-width: 820px; margin: 48px auto 0; }
.comments-title, .comment-reply-title { font-size: 1.4rem; font-weight: 800; color: var(--lbl-ink); }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.lbl-comment-body { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #e3ede8; }
.lbl-comment-avatar img { border-radius: 50%; }
.lbl-comment-content { flex: 1; }
.lbl-comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 14px; }
.lbl-comment-head time { color: #6c7a7e; font-size: 12px; }
.lbl-comment-text { margin: 8px 0; color: #2f4148; }
.lbl-comment-actions { font-size: 13px; }
.comment-form input, .comment-form textarea { display: block; width: 100%; max-width: 560px; min-height: 44px; padding: 10px 14px; border: 1px solid #dce9e2; border-radius: 10px; background: #fff; color: var(--lbl-ink); }
.comment-form textarea { min-height: 130px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form .submit { background: var(--lbl-green) !important; color: #fff !important; border: 0; border-radius: 10px !important; padding: 12px 24px !important; font-weight: 700; cursor: pointer; }
.lbl-sidebar .widget { background: #fff; border: 1px solid #ece7da; border-radius: 14px; padding: 18px; margin-bottom: 20px; }

.search-input-group input[type="search"]:focus-visible {
	outline: 2px solid var(--lbl-focus);
	outline-offset: 2px;
}

/* Objetivos táctiles mínimos recomendados (44×44 px). */
.lbl-tools .tools-icon,
.lbl-search-dialog button,
.lbl-slider-prev,
.lbl-slider-next,
.woocommerce button.button,
.woocommerce a.button {
	min-width: var(--lbl-touch);
	min-height: var(--lbl-touch);
}

/* Custom Product Search Box */
.custom-product-search-section {
    padding: 0;
    background: transparent;
    position: relative;
    width: 100%;
    min-height: clamp(320px, 42vw, 560px);
    max-height: 640px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-product-search-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 22, 30, 0.16) 0%, rgba(7, 22, 30, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Eliminar espacio extra entre búsqueda y contenido */
.site-content,
#content,
.lbl-container > .site-main,
.site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.custom-search-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 15px 0;
    position: relative;
    z-index: 3;
    width: 100%;
}

.search-input-group {
    display: flex;
    align-items: center;
    background-color: var(--lbl-cream, #FDF9F0);
    border: 2px solid var(--lbl-border, #e3ede8);
    border-radius: 50px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-input-group:focus-within {
    border-color: var(--lbl-green, #1A2E39);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.search-input-group input[type="search"] {
    flex: 1;
    border: none;
    background: none;
    padding: 12px 20px;
    font-size: 16px;
    outline: none;
    color: var(--lbl-ink, #1A2E39);
    min-width: 0;
    /* Fix for flexbox items */
}

.search-input-group button.search-submit-btn {
    background-color: var(--lbl-green, #1A2E39) !important;
    border: none !important;
    padding: 12px 20px;
    cursor: pointer;
    color: #FDF9F0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0 48px 48px 0;
    min-width: 60px;
    height: 100%;
}

.search-input-group button.search-submit-btn:hover {
    background-color: var(--lbl-green-600, #0a4c44) !important;
}

.search-input-group button.search-submit-btn svg {
    width: 20px;
    height: 20px;
    stroke: #fff !important;
}

/* ── Iconos del Header (Buscador, Carrito, WhatsApp, Mi Cuenta) ── */
.lbl-tools .tools-icon svg { width: 22px; height: 22px; }
.lbl-tools .lbl-whatsapp-icon { color: #25D366 !important; }
.lbl-tools .lbl-whatsapp-icon:hover,
.lbl-tools .lbl-whatsapp-icon:focus-visible { color: #128C7E !important; }
.lbl-tools .lbl-whatsapp-icon svg { fill: currentColor !important; stroke: none !important; }

@media (max-width: 991px) {
    .lbl-tools .tools-icon svg { width: 20px; height: 20px; }
}

.lbl-whatsapp-float {
    position: fixed;
    left: calc(20px + env(safe-area-inset-left));
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 99999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #0e6258;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    overflow: visible;
    animation: whatsappFloatPulse 2.6s ease-in-out infinite;
}

.lbl-whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    animation: whatsappRing 2.6s ease-out infinite;
    pointer-events: none;
}

.lbl-whatsapp-float:hover,
.lbl-whatsapp-float:focus-visible {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.lbl-whatsapp-float svg {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

@keyframes whatsappFloatPulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes whatsappRing {
    0% {
        transform: scale(0.9);
        opacity: 0.95;
    }

    70% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Ensure it looks good on mobile */



@media (max-width: 768px) {
    .topbar-item.topbar-right {
        display: none !important;
    }

    .custom-product-search-section {
        min-height: 360px;
        max-height: none;
        padding: 0 0 24px;
    }



    .custom-search-wrapper {
        padding: 20px 15px 0;
        max-width: 100%;
    }

    .search-input-group {
        border-radius: 999px;
    }

    .search-input-group input[type="search"] {
        font-size: 14px;
        padding: 11px 14px;
    }

    .search-input-group button.search-submit-btn {
        padding: 10px 14px;
        min-width: 46px;
    }

    .custom-header-slider {
        margin-top: 0;
    }

    .custom-header-slider-track {
        min-height: 360px;
    }

    .custom-header-slide {
        min-height: 360px;
    }

    .slide-image {
        height: 360px;
        object-position: center 35%;
    }

    .custom-header-slider-caption {
        bottom: 16px;
        font-size: 0.72rem;
        padding: 7px 12px;
    }
}

/* Quitar filtro/superposición oscura en el buscador en móvil */
.custom-product-search-section::before {
    background: transparent !important;
}

@media (prefers-color-scheme: dark) {

    html,
    body,
    body.custom-background,
    #page,
    #view,
    .site,
    #content,
    .site-content,
    .site-main {
        background-color: #FDF9F0 !important;
        background: #FDF9F0 !important;
    }
}

/* El layout del header lo define el bloque base .lbl-header-inner.
   El menú móvil se controla con body.lbl-menu-open + .lbl-nav-overlay. */

/* ── Ocultar etiqueta "Gratis" en la opción de envío del checkout (WooCommerce Blocks) ── */
.wc-block-checkout__shipping-option--free {
    display: none !important;
}

/* ── Centrar el texto de información del footer (Copyright, WhatsApp, etc.) ── */
.site-infor-col {
    text-align: center !important;
    width: 100% !important;
}

/* ── Overlay del menú móvil (definido en la base con .lbl-nav-overlay) ── */
.lbl-nav-overlay { cursor: pointer; }

/* ── Separación entre widgets del footer en móvil ── */
@media (max-width: 768px) {

    footer .widget,
    .site-footer .widget,
    #colophon .widget,
    .footer-widgets .widget {
        margin-bottom: 16px !important;
        padding-bottom: 16px !important;
    }

    footer .widget:last-child,
    .site-footer .widget:last-child,
    #colophon .widget:last-child,
    .footer-widgets .widget:last-child {
        border-bottom: none;
        margin-bottom: 12px !important;
        padding-bottom: 12px !important;
    }
}

/* ── H1 portada (SEO): visible solo para buscadores y lectores de pantalla ── */
h1.lbl-h1-portada {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px 0 0 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ── CSS movido desde el plugin descuento-cantidad-envio (antes inline en <head>) ── */
.woocommerce-mini-cart__total.total:not(.custom-subtotal) {
    display: none !important;
}

.woocommerce-cart .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/cross-sells"],
.woocommerce-cart .wp-block-woocommerce-product-collection h2.wp-block-heading {
    display: none !important;
}

.wc-block-components-totals-item__value,
.wc-block-checkout__shipping-option__price,
.woocommerce-shipping-totals td {
    font-weight: normal !important;
    text-transform: none !important;
}

.wc-block-cart__submit-button,
.wc-block-components-button.contained {
    background-color: #0e6258 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 16px 36px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    letter-spacing: 1px !important;
    box-shadow: 0 8px 24px rgba(72, 127, 99, 0.25) !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-button.contained:hover {
    background-color: #487F63 !important;
    opacity: 0.95 !important;
    transform: translateY(-2px);
}

/* En el carrito la ciudad aún no se elige (checkout clásico), así que
   cualquier "Gratis" es prematuro: se oculta fila o valor, según dónde
   aplique la clase. En el checkout sí puede mostrarse. */
.woocommerce-cart .wc-block-components-totals-item.lbl-shipping-pendiente,
.woocommerce-cart .wc-block-components-totals-item__value.lbl-shipping-pendiente {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   PÁGINA DE PRODUCTO — Rediseño Landing Page (conversión)
   Aplica SOLO a páginas de producto (body.single-product)
   ═══════════════════════════════════════════════════════════ */

body.single-product .product-page-container {
    background: #ffffff;
}

/* ── Contenedor del producto: galería + resumen con aire ── */
body.single-product .product-page-container > .lbl-container,
body.single-product div.product .summary.entry-summary {
    border: none;
}

/* Galería: tarjeta con sombra suave y bordes redondeados */
body.single-product .woocommerce-product-gallery {
    background: #fbfaf7;
    border: 1px solid #efede6;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(31, 62, 48, 0.06);
}

body.single-product .woocommerce-product-gallery__wrapper img {
    border-radius: 14px;
}

/* Título: mayor jerarquía */
body.single-product h1.product_title.entry-title {
    font-size: clamp(26px, 3vw, 36px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #14271d !important;
    margin: 0 0 10px !important;
}

/* ── Precio: moderno, con descuento destacado ── */
body.single-product p.price {
    margin: 0 0 16px !important;
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

body.single-product p.price .amount {
    font-size: 34px !important;
    font-weight: 900 !important;
    color: #0e6258 !important;
    letter-spacing: -0.5px;
}

body.single-product p.price del {
    font-size: 20px !important;
    color: #9aa29c !important;
    font-weight: 500 !important;
}

body.single-product p.price ins {
    text-decoration: none !important;
}

body.single-product p.price del .amount {
    font-size: 20px !important;
    color: #9aa29c !important;
    font-weight: 500 !important;
}

/* ── Bottón Añadir: grande, fuerte, ancho completo ── */
body.single-product .summary.entry-summary form.cart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

body.single-product .summary.entry-summary form.cart .quantity {
    max-width: 130px;
}

body.single-product .single_add_to_cart_button.button.alt {
    background: #0e6258 !important;
    border: none !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
    text-transform: none !important;
    border-radius: 12px !important;
    padding: 18px 28px !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 22px rgba(14, 98, 88, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

body.single-product .single_add_to_cart_button.button.alt:hover {
    background: #0a4c44 !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(14, 98, 88, 0.36);
}

/* Tabla de descuentos por volumen (plugin) → tarjeta limpia */
body.single-product .wc-cantidad-descuentos {
    border: 1px solid #e8e4d8 !important;
    border-radius: 12px !important;
    background: #faf8f2 !important;
    padding: 16px !important;
    margin: 0 !important;
}

body.single-product .wc-cantidad-descuentos p {
    font-weight: 700 !important;
    color: #14271d !important;
    margin-bottom: 10px !important;
    font-size: 14px;
}

body.single-product .wc-cantidad-descuentos table {
    font-size: 13px !important;
}

body.single-product .wc-cantidad-descuentos td {
    padding: 6px 0 !important;
    border-bottom: 1px dashed #e8e4d8 !important;
}

body.single-product .wc-cantidad-descuentos tr:last-child td {
    border-bottom: none !important;
}

/* ── Mini-strip de confianza bajo el precio ── */
.lbl-product-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 18px 0 14px;
    padding: 14px;
    background: #fbfaf7;
    border: 1px solid #efede6;
    border-radius: 14px;
}

.lbl-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 2px;
}

.lbl-trust-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e8f3ef;
    color: #0e6258;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lbl-trust-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.lbl-trust-label {
    font-weight: 700;
    font-size: 13px;
    color: #14271d;
}

.lbl-trust-sub {
    font-size: 11px;
    color: #7a837c;
}

a.lbl-trust-sub {
    color: #7a837c;
    text-decoration: none;
    max-width: max-content;
}

a.lbl-trust-sub:hover,
a.lbl-trust-sub:focus-visible {
    color: #0e6258;
}

/* ── Caja de respaldo + CTA WhatsApp ── */
.lbl-product-reassurance {
    margin: 14px 0 6px;
    padding: 14px;
    border: 1px solid #e6e2d5;
    border-radius: 14px;
    background: #fffdf8;
}

.lbl-reassure-line {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    color: #14271d;
    margin-bottom: 10px;
}

.lbl-reassure-icon {
    color: #0e6258;
    display: inline-flex;
}

/* ── Banda de beneficios ── */
.lbl-product-benefits {
    margin: 34px auto 10px;
    max-width: 1200px;
    padding: 0 15px;
}

.lbl-benefits-title {
    text-align: center;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: #14271d;
    margin: 0 0 24px !important;
}

.lbl-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.lbl-benefit-card {
    background: #fbfaf7;
    border: 1px solid #efede6;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lbl-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(31, 62, 48, 0.08);
}

.lbl-benefit-icon {
    color: #0e6258;
    display: inline-flex;
    margin-bottom: 12px;
}

.lbl-benefit-title {
    font-size: 17px;
    font-weight: 800;
    color: #14271d;
    margin: 0 0 6px !important;
}

.lbl-benefit-text {
    font-size: 13.5px;
    color: #5c665f;
    margin: 0 !important;
    line-height: 1.5;
}

/* Tarjeta de contacto por WhatsApp: icono arriba, etiqueta debajo, sub debajo (estilo trust) */
a.lbl-benefit-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

a.lbl-benefit-link .lbl-benefit-label {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    color: #14271d;
    margin: 0 0 6px;
}

a.lbl-benefit-link .lbl-benefit-sub {
    font-size: 12.5px;
    line-height: 1.5;
    color: #7a837c;
    max-width: 240px;
}

a.lbl-benefit-link:hover .lbl-benefit-label,
a.lbl-benefit-link:hover .lbl-benefit-sub,
a.lbl-benefit-link:focus-visible .lbl-benefit-label,
a.lbl-benefit-link:focus-visible .lbl-benefit-sub {
    color: #0e6258;
}

/* ── Pestañas: modernas, estilo pill ── */
body.single-product .woocommerce-tabs {
    max-width: 1200px;
    margin: 24px auto 30px;
    padding: 0 15px;
}

body.single-product .woocommerce-tabs ul.tabs {
    border-bottom: none !important;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: #f3f0e8 !important;
    border-radius: 999px !important;
    margin: 0 !important;
    overflow: hidden;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    padding: 10px 20px !important;
    font-weight: 700;
    color: #5c665f;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
    background: #0e6258 !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #fff !important;
}

body.single-product .woocommerce-tabs .panel {
    border: 1px solid #efede6;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    margin-top: 14px !important;
}

body.single-product .woocommerce-tabs .panel h2 {
    font-size: 22px;
    font-weight: 800;
    color: #14271d;
}

body.single-product .woocommerce-tabs .panel p,
body.single-product .woocommerce-tabs .panel li {
    font-size: 15px;
    line-height: 1.6;
    color: #3d463f;
}

/* ── Meta (SKU, categoría) ── */
body.single-product .product_meta {
    font-size: 13px;
    color: #7a837c;
    border-top: 1px dashed #efede6;
    padding-top: 12px;
    margin-top: 12px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .lbl-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lbl-product-trust-strip {
        grid-template-columns: 1fr;
    }
    .lbl-benefits-grid {
        grid-template-columns: 1fr;
    }
    body.single-product p.price .amount {
        font-size: 30px !important;
    }
}

/* ============================================
   PAGINA DE PRODUCTO – Landing (lyb-pdp)
   Aplica SOLO al contenido de la landing de producto
   Marco de contenido: 10px izquierda/derecha
   ============================================ */
body.single-product .lyb-pdp {
		width: 90% !important;
		max-width: 1400px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding: 0 10px 80px !important;
		box-sizing: border-box;
	}
	body.single-product { overflow-x: hidden; }
	body.single-product .lbl-container.container-fluid { max-width: none !important; width: 100% !important; }
	body.single-product #primary.content-area { width: 100% !important; max-width: none !important; }
	body.single-product .site-main,
	body.single-product #main .woocommerce { width: 100% !important; max-width: none !important; }
body.single-product .lyb-pdp .lyb-pdp__conf {
	display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
	background: #E9F3EE; border: 1px solid #CFE4DA; border-radius: 10px;
	padding: 10px 16px; margin: 4px 0 18px; font-size: 13px; color: #33654d; font-weight: 600;
}
.lyb-conf-item.lyb-conf-check::before {
	content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px;
	background: #487F63; border-radius: 50%;
	-webkit-mask: no-repeat center / 12px 12px; mask: no-repeat center / 12px 12px;
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
}
.lyb-hero { display: block; width: 100%; max-width: none; margin-bottom: 56px; }
.lyb-hero__galeria { position: static; }
.lyb-hero__galeria .product-gallery { width: 100%; float: none; }
.lyb-hero__galeria .product-summary { display: none; }
.lyb-hero__galeria .woocommerce-product-gallery { margin: 0; }
.lyb-hero__galeria .woocommerce-product-gallery img { border-radius: 14px; }
.lyb-buzon { background: #ffffff; border: 1px solid #e6ece9; border-radius: 16px; padding: 26px; box-shadow: 0 10px 30px rgba(73,127,99,.10); }
.lyb-buzon .product_title { font-size: 28px; line-height: 1.2; margin: 0 0 10px; font-weight: 700; color: #2b2b2b; }
.lyb-buzon .price { font-size: 30px; font-weight: 700; color: #487F63; margin: 6px 0 14px; }
.lyb-buzon .woocommerce-product-details__short-description { color: #5a5a5a; font-size: 15px; line-height: 1.55; margin: 0 0 18px; }
.lyb-buzon form.cart { border-top: 1px solid #eef2f0; padding-top: 18px; gap: 12px; }
.lyb-buzon form.cart button.single_add_to_cart_button,
.lyb-buzon form.cart a.add_to_cart_button { width: 100%; border-radius: 10px; font-weight: 700; }
.lyb-buzon .product_meta { margin-top: 16px; font-size: 12px; color: #8a8a8a; border-top: 1px dashed #e2e8e4; padding-top: 14px; }
.lyb-buzon .product_meta > span { display: block; margin: 2px 0; }
.lyb-buzon__metodo { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.lyb-metodo-item { display: inline-block; background: #F0F6F2; color: #33654d; border: 1px solid #D4E6DB; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.lyb-btn { border: 0; cursor: pointer; font-family: inherit; border-radius: 10px; font-weight: 700; transition: background .2s ease; }
.lyb-btn--comprar,
.lyb-btn--cta { background: #487F63; color: #fff; width: 100%; padding: 15px 20px; font-size: 17px; margin-top: 14px; }
.lyb-btn--comprar:hover,
.lyb-btn--cta:hover { background: #3a6a52; color: #fff; }
.lyb-buzon__seguridad { display: flex; gap: 18px; margin-top: 14px; font-size: 12px; color: #6d7b73; justify-content: center; }
.lyb-buzon__seguridad .lyb-conf-check { display: inline-block; width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; }
.lyb-buzon__seguridad .lyb-conf-check::before { width: 14px; height: 14px; vertical-align: -3px; }
.lyb-h2 { font-size: 24px; color: #2b2b2b; margin: 0 0 22px; text-align: center; }
.lyb-beneficios { margin: 0 0 60px; }
.lyb-beneficios__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lyb-tarjeta { background: #F6FAF8; border: 1px solid #E4EEE8; border-radius: 14px; padding: 22px 18px; text-align: center; }
.lyb-tarjeta h3 { font-size: 16px; color: #2b2b2b; margin: 10px 0 8px; }
.lyb-tarjeta p { font-size: 13px; line-height: 1.5; color: #5a6a61; margin: 0; }
.lyb-tarjeta__icono { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: #487F63; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; }
.lyb-icono-natural::after { content:""; position:absolute; inset:0; background: #fff; -webkit-mask: center/28px no-repeat; mask: center/28px no-repeat; -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z"/><path d="M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z"/><path d="M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12"/></svg>'); }
.lyb-icono-envio::after { content:""; position:absolute; inset:0; background:#fff; -webkit-mask: center/28px no-repeat; mask: center/28px no-repeat; -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="5.5" cy="17.5" r="3.5"/><circle cx="18.5" cy="17.5" r="3.5"/><path d="M15 17H8.5"/><path d="M5 17H3L1 14h4l4-9h5l3 4h4l-1.5 3.5"/><path d="M15 17l2.5-6H14"/><path d="M5.5 5h4"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="5.5" cy="17.5" r="3.5"/><circle cx="18.5" cy="17.5" r="3.5"/><path d="M15 17H8.5"/><path d="M5 17H3L1 14h4l4-9h5l3 4h4l-1.5 3.5"/><path d="M15 17l2.5-6H14"/><path d="M5.5 5h4"/></svg>'); }
.lyb-icono-pago::after { content:""; position:absolute; inset:0; background:#fff; -webkit-mask: center/28px no-repeat; mask: center/28px no-repeat; -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="1" y="4" width="22" height="16" rx="2" ry="2"/><line x1="1" y1="10" x2="23" y2="10"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="1" y="4" width="22" height="16" rx="2" ry="2"/><line x1="1" y1="10" x2="23" y2="10"/></svg>'); }
.lyb-icono-seguro::after { content:""; position:absolute; inset:0; background:#fff; -webkit-mask: center/28px no-repeat; mask: center/28px no-repeat; -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>'); }
.lyb-icono-respaldo::after { content:""; position:absolute; inset:0; background:#fff; -webkit-mask: center/28px no-repeat; mask: center/28px no-repeat; -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8" r="7"/><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8" r="7"/><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"/></svg>'); }
.lyb-icono-oferta::after { content:""; position:absolute; inset:0; background:#fff; -webkit-mask: center/28px no-repeat; mask: center/28px no-repeat; -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="19" y1="5" x2="5" y2="19"/><circle cx="6.5" cy="6.5" r="2.5"/><circle cx="17.5" cy="17.5" r="2.5"/></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="19" y1="5" x2="5" y2="19"/><circle cx="6.5" cy="6.5" r="2.5"/><circle cx="17.5" cy="17.5" r="2.5"/></svg>'); }
.lyb-detalle { margin: 0 0 60px; }
.lyb-detalle .wc-tabs-wrapper { border: 1px solid #E4EEE8; border-radius: 14px; background: #fff; padding: 24px; }
.lyb-detalle ul.wc-tabs { justify-content: center; }
.lyb-testimonios { margin: 0 0 60px; }
.lyb-testimonios__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lyb-testimonio { background: #fff; border: 1px solid #E4EEE8; border-radius: 14px; padding: 22px; }
.lyb-estrellas { color: #E8A93B; font-size: 16px; margin-bottom: 8px; letter-spacing: 2px; }
.lyb-testimonio p { font-size: 14px; color: #4a4a4a; line-height: 1.55; margin: 0 0 12px; font-style: italic; }
.lyb-testimonio__autor { font-size: 13px; color: #487F63; font-weight: 700; }
.lyb-faq { margin: 0 0 60px; max-width: 820px; margin-left: auto; margin-right: auto; }
.lyb-faq details { border: 1px solid #E4EEE8; background: #fff; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.lyb-faq summary { cursor: pointer; padding: 15px 18px; font-weight: 600; color: #2b2b2b; list-style: none; position: relative; padding-right: 34px; }
.lyb-faq summary::-webkit-details-marker { display: none; }
.lyb-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #487F63; font-size: 20px; }
.lyb-faq details[open] summary::after { content: "\2212"; }
.lyb-faq details p { margin: 0; padding: 0 18px 16px; font-size: 14px; color: #5a6a61; line-height: 1.55; }
.lyb-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, #487F63, #3a6a52); color: #fff; border-radius: 16px; padding: 34px; margin: 0 0 60px; }
.lyb-cta__titulo { margin: 0 0 6px; font-size: 24px; color: #fff; }
.lyb-cta__texto { margin: 0; font-size: 15px; opacity: .92; }
.lyb-btn--cta { margin: 0; background: #fff; color: #487F63; }
.lyb-btn--cta:hover { background: #F0F6F2; }
.lyb-barra-fija { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; border-top: 1px solid #E4EEE8; padding: 10px 16px; align-items: center; gap: 14px; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
.lyb-barra-fija__precio { font-size: 19px; font-weight: 700; color: #487F63; white-space: nowrap; }
.lyb-btn--barra { flex: 1; background: #487F63; color: #fff; padding: 13px 16px; font-size: 15px; }
.lyb-btn--barra:hover { background: #3a6a52; }
@media (max-width: 900px) {
	.lyb-hero { margin-bottom: 24px; }
	.lyb-beneficios__grid { grid-template-columns: repeat(2, 1fr); }
.lyb-testimonios__grid { grid-template-columns: 1fr; }
	.lyb-cta { padding: 26px; }
	.lyb-barra-fija { display: flex; }
	body.single-product .lyb-pdp { padding-bottom: 96px; width: 100% !important; max-width: none !important; }
}

/* Breadcrumb verde (color de los enlaces del sitio) */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
    color: #487F63 !important;
}
.woocommerce .woocommerce-breadcrumb a:hover {
    color: #1A2E39 !important;
}

/* ============================================
   FUENTE DEL SITIO: Rubik (desde la Librería de Fuentes)
   La fuente Rubik ya está cargada por WordPress vía uploads/fonts.
   ============================================ */
body,
button,
input,
select,
textarea,
.lbl-menu a,
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
	font-family: Rubik, Overpass, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.product_title,
.widget-title,
.woocommerce-loop-product__title,
.comment-author cite {
	font-family: Rubik, Overpass, sans-serif !important;
	/* Rubik solo tiene 400 y 800 en la Librería. Los títulos usaban 700,
	   así que se suben a 800 para usar el peso real (sin bold sintetizado). */
	font-weight: 800;
}

/* ============================================
   BOTÓN "PEDIR POR WHATSAPP" (single product)
   Va debajo del botón normal, no lo reemplaza.
   ============================================ */
.lbl-wa-buy-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 9px !important;
	width: 100% !important;
	background: #ffffff !important;
	border: 2px solid #0e6258 !important;
	color: #0e6258 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0.3px;
	border-radius: 12px !important;
	padding: 14px 28px !important;
	margin-top: 10px !important;
	box-sizing: border-box;
	text-decoration: none !important;
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}
.lbl-wa-buy-button:hover {
	background: #e9f3ee !important;
	color: #0a4c44 !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(14, 98, 88, 0.16);
}
.lbl-wa-buy-button svg {
	flex: 0 0 auto;
}

/* Mini carrito: "Carrito" como enlace simple (no botón) */
.woocommerce-mini-cart__buttons .wc-forward.lbl-mini-cart-view-cart {
	display: block;
	float: none;
	margin: 6px 0 10px;
	padding: 0;
	background: none;
	border: none;
	color: #0e6258;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.woocommerce-mini-cart__buttons .wc-forward.lbl-mini-cart-view-cart:hover,
.woocommerce-mini-cart__buttons .wc-forward.lbl-mini-cart-view-cart:focus {
	background: none;
	color: #09504a;
}

/* ═══════════════════════════════════════════════════════════
   BLOG — Rediseño de las entradas (tarjetas con borde/sombra)
   Lista, grid, estándar, zigzag y entrada individual.
   ═══════════════════════════════════════════════════════════ */

/* ── Encabezado del listado del blog ── */
.lbl-archive-header {
	max-width: 820px;
	margin: 0 auto 42px;
	text-align: center;
}
.lbl-archive-title {
	font-size: clamp(28px, 4vw, 40px) !important;
	font-weight: 800 !important;
	color: #14271d !important;
	line-height: 1.15 !important;
	margin: 0 0 10px !important;
	letter-spacing: -0.5px;
}
.lbl-archive-desc {
	font-size: 16px;
	color: #5c665f;
	line-height: 1.6;
	text-align: center;
}
.lbl-archive-desc p {
	margin: 8px 0 0;
}

/* ── Tarjeta base de cada entrada (todas las vistas) ── */
.site-main .post-loop {
	border-bottom: 0 !important;
	background: #ffffff;
	border: 1px solid #ece7da;
	border-radius: 18px;
	padding: clamp(24px, 3.2vw, 38px);
	box-shadow: 0 6px 22px rgba(31, 62, 48, 0.05);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	overflow: hidden;
}
.site-main .post-loop:hover,
.site-main .post-loop:focus-within {
	transform: translateY(-4px);
	border-color: #cfe4da;
	box-shadow: 0 18px 40px rgba(31, 62, 48, 0.12);
}
.site-main .post-loop + .post-loop {
	margin-top: 28px !important;
}

/* ── Imagen de portada ── */
.post-loop .post-cover-image {
	margin-bottom: 22px !important;
}
.post-loop .post-cover-image a {
	display: block;
	border-radius: 12px;
	overflow: hidden;
}
.post-loop .post-cover-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 12px;
	display: block;
	transition: transform 0.35s ease;
}
.post-loop:hover .post-cover-image img {
	transform: scale(1.03);
}

/* ── Título resaltado ── */
.post-loop .entry-title {
	margin: 0 0 14px !important;
	line-height: 1.25 !important;
	letter-spacing: -0.3px;
	font-size: clamp(20px, 3vw, 28px) !important;
	font-weight: 800 !important;
	color: #14271d !important;
}
.post-loop .entry-title a {
	color: #14271d;
	text-decoration: none;
	background-image: linear-gradient(#0e6258, #0e6258);
	background-size: 0% 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.3s ease, color 0.2s ease;
}
.post-loop .entry-title a:hover,
.post-loop .entry-title a:focus-visible {
	color: #0e6258;
	background-size: 100% 2px;
}

/* ── Meta en "píldoras" (fecha, autor, categoría, comentarios) ── */
.post-loop .entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px !important;
}
.post-loop .entry-meta .post-meta-separator {
	display: none !important;
}
.post-loop .entry-meta .post-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
	padding: 5px 12px;
	border-radius: 999px;
	background: #f2f6f2;
	color: #3d463f !important;
	font-size: 12.5px !important;
	font-weight: 600;
	line-height: 1.4;
}
.post-loop .entry-meta .post-meta-item a {
	color: inherit;
	text-decoration: none;
}
.post-loop .entry-meta .post-meta-item a:hover {
	color: #0e6258;
}
.post-loop .entry-meta .cat-links {
	background: #0e6258;
	color: #ffffff !important;
}
.post-loop .entry-meta .cat-links a {
	color: #ffffff;
}
.post-loop .entry-meta .cat-links a:hover {
	color: #e7f3ee;
}

/* ── Extracto / contenido ── */
.post-loop .summary-text,
.post-loop .entry-content {
	color: #3d463f !important;
	font-size: 15.5px !important;
	line-height: 1.7;
}
.post-loop .entry-content {
	margin-top: 18px !important;
}

/* ── Botón "Leer más" ── */
.post-loop .post-read-more {
	margin-top: 22px !important;
	clear: both;
}
.post-loop .post-read-more a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #0e6258;
	color: #ffffff !important;
	padding: 11px 22px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 8px 18px rgba(14, 98, 88, 0.22);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.post-loop .post-read-more a::after {
	content: "→";
	transition: transform 0.2s ease;
}
.post-loop .post-read-more a:hover,
.post-loop .post-read-more a:focus-visible {
	background: #0a4c44;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(14, 98, 88, 0.3);
}
.post-loop .post-read-more a:hover::after {
	transform: translateX(3px);
}

/* ── Enlace "Leer más" dentro del extracto (listado/estándar/zigzag) ── */
.entry-summary .lbl-excerpt-more,
.summary-text .lbl-excerpt-more {
	display: inline-block;
	margin-left: 4px;
	font-weight: 700;
	font-size: 14px;
	color: #0e6258;
	text-decoration: none;
	border-bottom: 2px solid #0e6258;
	padding-bottom: 1px;
	white-space: nowrap;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.entry-summary .lbl-excerpt-more:hover,
.entry-summary .lbl-excerpt-more:focus-visible,
.summary-text .lbl-excerpt-more:hover,
.summary-text .lbl-excerpt-more:focus-visible {
	color: #0a4c44;
	border-color: #0a4c44;
}

/* ── Vista Grid: imagen a sangre, texto con padding ── */
.blog-layout-grid .site-main .post-loop {
	padding: 0;
	margin-bottom: 30px;
	text-align: center;
}
.blog-layout-grid .site-main .entry-header {
	padding: 0;
}
.blog-layout-grid .site-main .entry-header .entry-header-item:not(.post-cover-image) {
	margin-left: 24px;
	margin-right: 24px;
}
.blog-layout-grid .post-loop .post-cover-image {
	margin-bottom: 20px !important;
}
.blog-layout-grid .post-loop .post-cover-image a {
	border-radius: 0;
}
.blog-layout-grid .post-loop .post-cover-image img {
	border-radius: 0;
	aspect-ratio: 16 / 10;
}
.blog-layout-grid .site-main .summary-text {
	padding: 0 24px 26px !important;
}
.blog-layout-grid .site-main .entry-title {
	font-size: 19px !important;
}

/* ── Vista Estándar / Zigzag: imagen a la izquierda ── */
.blog-layout-standard .site-main .post-loop .entry-image-link img,
.blog-layout-zigzag .site-main .post-loop .entry-image-link img {
	border-radius: 12px;
	object-fit: cover;
	width: 100%;
	aspect-ratio: 4 / 3;
}

/* ═══════════════════════════════════════════════════════════
   BLOG — Entrada individual (single)
   ═══════════════════════════════════════════════════════════ */
.single-post .site-main .post-loop {
	padding: clamp(26px, 4vw, 50px);
}
.single-post .site-main .post-loop:hover,
.single-post .site-main .post-loop:focus-within {
	transform: none;
}
.single-post .site-main .post-loop .entry-title {
	font-size: clamp(28px, 4.5vw, 42px) !important;
	font-weight: 800 !important;
	color: #14271d !important;
	line-height: 1.15 !important;
	margin-bottom: 16px !important;
}
.single-post .entry-content {
	color: #333;
}
.single-post .entry-content p,
.single-post .entry-content li {
	font-size: 16px !important;
	line-height: 1.7;
	color: #333;
}
.single-post .entry-content h2 {
	font-size: 26px;
	font-weight: 800;
	color: #14271d;
	margin: 1.6em 0 0.6em;
}
.single-post .entry-content h3 {
	font-size: 21px;
	font-weight: 800;
	color: #14271d;
	margin: 1.5em 0 0.5em;
}
.single-post .entry-content a {
	color: #0e6258;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.single-post .entry-content a:hover {
	color: #0a4c44;
}
.single-post .entry-content blockquote {
	border-left: 4px solid #0e6258;
	background: #f2f6f2;
	padding: 16px 20px;
	border-radius: 0 12px 12px 0;
	color: #4a524c;
	font-style: italic;
	margin: 24px 0;
}
.single-post .entry-content img {
	border-radius: 14px;
}
.single-post .entry-content pre {
	background: #14271d;
	color: #e6efe9;
	border-radius: 12px;
	padding: 18px;
	overflow: auto;
}
.single-post .entry-content table {
	border-collapse: collapse;
	width: 100%;
}
.single-post .entry-content td,
.single-post .entry-content th {
	border: 1px solid #e7e2d4;
	padding: 8px 10px;
}

/* ── Etiquetas (tags) en píldoras ── */
.single-post .site-main .entry-footer {
	margin-top: 28px !important;
	clear: both;
}
.single-post .tags-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.single-post .tags-links .label {
	font-weight: 700;
	color: #14271d;
	font-size: 14px;
}
.single-post .tags-links a {
	background: #f2f6f2;
	border: 1px solid #e2eae4;
	border-radius: 999px;
	color: #3d463f;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
.single-post .tags-links a:hover,
.single-post .tags-links a:focus-visible {
	background: #0e6258;
	border-color: #0e6258;
	color: #ffffff;
}

/* ── Caja de autor ── */
.post-author-box {
	background: #ffffff;
	border: 1px solid #ece7da;
	border-radius: 16px;
	padding: 26px;
	box-shadow: 0 6px 22px rgba(31, 62, 48, 0.05);
}

/* ── Navegación entre entradas ── */
.single-post .post-navigation {
	background: #ffffff;
	border: 1px solid #ece7da;
	border-radius: 14px;
	padding: 18px 22px;
	box-shadow: 0 4px 16px rgba(31, 62, 48, 0.04);
}

/* ── Artículos relacionados ── */
.related-box .related-title {
	font-size: 24px !important;
	font-weight: 800 !important;
	color: #14271d !important;
	margin: 0 0 22px !important;
}
.related-box .related-post {
	background: #ffffff;
	border: 1px solid #ece7da;
	border-radius: 14px;
	overflow: hidden;
	padding: 0 0 22px;
	box-shadow: 0 4px 16px rgba(31, 62, 48, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.related-box .related-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(31, 62, 48, 0.12);
}
.related-box .related-post .entry-header {
	display: block;
}
.related-box .related-post .entry-header img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}
.related-box .related-post .posted-on {
	font-size: 12px;
	color: #7a837c;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 14px 18px 4px;
}
.related-box .related-post .entry-title {
	font-size: 16px !important;
	font-weight: 800 !important;
	margin: 0 18px 10px !important;
	line-height: 1.35 !important;
}
.related-box .related-post .entry-title a {
	color: #14271d;
	text-decoration: none;
}
.related-box .related-post .entry-title a:hover {
	color: #0e6258;
}
.related-box .related-post .post-read-more {
	margin: 0 18px;
	font-size: 13px;
	font-weight: 700;
}
.related-box .related-post .post-read-more a {
	color: #0e6258;
	text-decoration: none;
}
.related-box .related-post .post-read-more a:hover {
	text-decoration: underline;
}

/* ── Comentarios ── */
.comments-area {
	background: #ffffff;
	border: 1px solid #ece7da;
	border-radius: 16px;
	padding: 28px;
	margin-top: 40px;
	box-shadow: 0 6px 22px rgba(31, 62, 48, 0.05);
}
.comments-area .comments-title,
.comments-area .comment-reply-title {
	color: #14271d;
	font-size: 22px;
	font-weight: 800;
}

/* ── Paginación ── */
.site-main .pagination li .page-numbers {
	transition: all 0.2s ease;
}
.site-main .pagination li .page-numbers.current {
	background: #0e6258;
	border-color: #0e6258;
}
.site-main .pagination li .page-numbers:not(.current):hover {
	color: #0e6258;
	border-color: #0e6258;
}

/* ============================================
   CHECKOUT SIMPLIFICADO (solo Colombia)
   ============================================ */
.woocommerce-checkout form.lbl-checkout-columns,
.woocommerce-checkout .lbl-checkout-columns {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 36px;
	align-items: start;
}
.lbl-checkout-col-review {
	position: sticky;
	top: 24px;
}
@media (max-width: 900px) {
	.woocommerce-checkout .lbl-checkout-columns {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.lbl-checkout-col-review {
		position: static;
	}
}

/* Títulos de sección numerados */
.lbl-checkout-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #14271d;
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 18px;
}
.lbl-checkout-section-title .lbl-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: #0e6258;
	color: #ffffff;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 800;
	flex: 0 0 auto;
}

/* El checkout clásico dibuja un "Datos de facturación": ya va en el título "1" */
.checkout .woocommerce-billing-fields h3 {
	display: none !important;
}

/* País: oculto, siempre queda Colombia seleccionado */
.checkout #billing_country_field,
.lbl-checkout-country-hidden {
	display: none !important;
}

/* Caja del resumen del pedido */
.checkout .woocommerce-checkout-review-order {
	background: #ffffff;
	border: 1px solid #ece7da;
	border-radius: 16px;
	box-shadow: 0 6px 22px rgba(31, 62, 48, 0.06);
	overflow: hidden;
}
.checkout .woocommerce-checkout-review-order .shop_table {
	border-bottom: 1px solid #ece7da;
	margin: 0;
}
.checkout .woocommerce-checkout-review-order .shop_table th,
.checkout .woocommerce-checkout-review-order .shop_table td {
	font-size: 14px;
}
.checkout .woocommerce-checkout-review-order .shop_table tfoot th {
	color: #14271d;
}
.checkout .woocommerce-checkout-review-order .cart-subtotal {
	font-weight: 600;
}
.checkout .woocommerce-checkout-review-order .order-total th,
.checkout .woocommerce-checkout-review-order .order-total .woocommerce-Price-amount {
	font-size: 17px;
	font-weight: 800;
	color: #0e6258;
}

/* Bloque de pago */
.checkout #payment {
	background: transparent;
	border-radius: 0 0 16px 16px;
}
.checkout #payment .payment_methods {
	padding: 20px 22px 6px;
}
.checkout #payment .payment_box {
	background: #f4f8f6;
	border: 1px solid #d8e6df;
	border-radius: 10px;
}
.checkout #payment_heading {
	display: none !important;
}

/* Mensaje de transferencia Bre-B / Bold */
.lbl-bacs-segura-msg {
	background: #ffffff;
	border-radius: 8px;
	padding: 12px 14px;
	margin: 10px 0 6px;
	font-size: 14px;
	line-height: 1.65;
	color: #14271d;
}
.lbl-bacs-segura-msg strong {
	display: block;
	font-size: 15px;
	margin-bottom: 2px;
}
label[for="payment_method_bacs"] {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 8px;
}

/* Botón "Realizar pedido" */
.checkout #payment #place_order {
	width: calc(100% - 44px);
	margin: 16px 22px 22px;
	padding: 16px 28px;
	background: #0e6258;
	border-color: #0e6258;
	color: #ffffff;
	font-size: 17px;
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0.3px;
	border-radius: 12px;
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.checkout #payment #place_order:hover {
	background: #0a4d45;
	border-color: #0a4d45;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(14, 98, 88, 0.3);
}

/* Mensaje del pasaje de dirección de Bloques pasó a clásico: respaldo legible */
.checkout .form-row {
	margin-bottom: 16px;
}

/* ============================================
   AVISOS DE ERROR DEL CHECKOUT: texto legible
   (corrección móvil: el icono se veía pero el
   texto no, porque dependía de la fuente
   "WooCommerce" y de herencia de color)
   ============================================ */
.woocommerce-NoticeGroup-checkout,
body.woocommerce-checkout .woocommerce-notices-wrapper {
	display: block !important;
}

/* Caja de error: fondo rojo sólido + texto blanco SIEMPRE visible */
body.woocommerce-checkout form.checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error,
body.woocommerce-checkout .woocommerce .woocommerce-error {
	display: block !important;
	background-color: #c0392b !important;
	color: #ffffff !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
	padding: 14px 18px !important;
	border-radius: 10px !important;
	margin: 0 0 20px !important;
	list-style: none !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	overflow: visible !important;
}

body.woocommerce-checkout .woocommerce-error li {
	display: flex !important;
	align-items: flex-start !important;
	flex-wrap: nowrap !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: 100% !important;
	color: #ffffff !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
	font-weight: 400 !important;
	background: none !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	white-space: normal !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}
body.woocommerce-checkout .woocommerce-error li:last-child {
	margin-bottom: 0 !important;
}

/* Icono de exclamación dibujado con CSS puro
   (sin depender de la fuente "WooCommerce") */
body.woocommerce-checkout .woocommerce-error li::before {
	content: "!" !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	width: 20px !important;
	height: 20px !important;
	border-radius: 50% !important;
	background-color: #ffffff !important;
	color: #c0392b !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-error li strong {
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
}

/* Enlaces dentro de los avisos de error */
body.woocommerce-checkout .woocommerce-error li a {
	display: inline !important;
	color: #ffffff !important;
	text-decoration: underline !important;
	margin: 0 0 0 6px !important;
}

/* ============================================
   MENÚ "CONDICIÓN": buscador de subcategorías
   Filtra los ítems del desplegable mientras se
   escriben 3+ letras; scroll de respaldo.
   ============================================ */
li.lbl-cond-buscador-li {
	padding: 6px 8px 8px !important;
	border-bottom: 1px solid rgba(31, 62, 48, 0.12) !important;
	margin-bottom: 4px !important;
}
.lbl-cond-buscador {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 12px;
	font-size: 14px;
	font-family: inherit;
	color: #14271d;
	background: #f4f8f6;
	border: 1px solid #cdded5;
	border-radius: 8px;
	outline: none;
}
.lbl-cond-buscador:focus {
	border-color: #0e6258;
	box-shadow: 0 0 0 3px rgba(14, 98, 88, 0.12);
}
li.lbl-cond-item-oculto {
	display: none !important;
}
li.lbl-cond-sin-resultados {
	display: none;
	padding: 8px 12px;
	font-size: 13px;
	color: #7a8a81;
}
li.lbl-cond-sin-resultados.lbl-visible {
	display: block;
}
/* Scroll de respaldo cuando el desplegable es muy alto */
ul.sub-menu.lbl-cond-submenu {
	max-height: min(70vh, 430px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* ============================================
   MENÚ "PRODUCTOS": buscador con resultados en
   vivo — productos con Añadir al carrito, igual
   que todas las búsquedas del sitio.
   ============================================ */
li.lbl-prod-buscador-li {
	padding: 6px 8px 8px !important;
	border-bottom: 1px solid rgba(31, 62, 48, 0.12) !important;
	margin-bottom: 4px !important;
}
.lbl-prod-buscador {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 12px;
	font-size: 14px;
	font-family: inherit;
	color: #14271d;
	background: #f4f8f6;
	border: 1px solid #cdded5;
	border-radius: 8px;
	outline: none;
}
.lbl-prod-buscador:focus {
	border-color: #0e6258;
	box-shadow: 0 0 0 3px rgba(14, 98, 88, 0.12);
}
li.lbl-prod-resultados-li {
	padding: 4px 8px 8px !important;
	border-bottom: 1px solid rgba(31, 62, 48, 0.12) !important;
	margin-bottom: 4px !important;
}
.lbl-oculto {
	display: none !important;
}
ul.sub-menu.lbl-prod-submenu {
	max-height: min(70vh, 430px);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.lbl-prod-estado,
.lbl-prod-sin-res {
	padding: 8px 4px;
	font-size: 13px;
	color: #7a8a81;
}
.lbl-prod-total {
	font-size: 12.5px;
	color: #5c665f;
	margin: 0 0 6px;
	padding: 0 2px;
	line-height: 1.4;
}
ul.products.lbl-prod-filas {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
}
ul.products.lbl-prod-filas li.product {
	display: flex !important;
	align-items: center;
	gap: 10px;
	float: none !important;
	width: auto !important;
	margin: 0 0 6px !important;
	padding: 6px !important;
	background: #ffffff;
	border: 1px solid #e3ede8;
	border-radius: 10px;
	box-sizing: border-box;
}
ul.products.lbl-prod-filas li.product img {
	width: 52px !important;
	height: 52px !important;
	object-fit: cover;
	border-radius: 8px;
	flex: 0 0 auto;
	margin: 0 !important;
}
.lbl-bprod-link {
	flex: 0 0 auto;
	line-height: 0;
}
.lbl-bprod-info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.lbl-bprod-nombre {
	font-size: 13px;
	font-weight: 600;
	color: #14271d;
	line-height: 1.35;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.lbl-bprod-nombre:hover {
	color: #0e6258;
}
.lbl-bprod-precio {
	font-size: 13px;
	color: #0e6258;
	font-weight: 700;
}
.lbl-bprod-precio del {
	color: #9aa69f;
	font-weight: 400;
}
.lbl-bprod-accion {
	flex: 0 0 auto;
}
ul.products.lbl-prod-filas li.product .button {
	font-size: 12px !important;
	padding: 7px 10px !important;
	border-radius: 8px !important;
	white-space: nowrap;
	line-height: 1.3 !important;
}
.lbl-prod-ver-todos {
	display: block;
	padding: 8px 4px 2px;
	font-size: 13px;
	font-weight: 700;
	color: #0e6258;
	text-decoration: underline;
}
/* El desplegable de Productos es un poco más ancho para que
   las tarjetas respiren (solo escritorio). */
@media (min-width: 993px) {
	ul.sub-menu.lbl-prod-submenu {
		width: min(360px, 40vw);
	}
}

/* ============================================
   BÚSQUEDA — RESULTADOS COMO PRODUCTOS (no blog)
   Rejilla WooCommerce con Añadir al carrito.
   ============================================ */
.lbl-search-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 15px 60px !important;
}
.lbl-search-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 26px;
}
.lbl-search-header .page-title {
	font-size: clamp(24px, 4vw, 36px) !important;
	font-weight: 800 !important;
	color: #14271d !important;
	margin: 0 0 10px !important;
}
.lbl-search-header .page-title span {
	color: #0e6258;
}
.lbl-search-sub {
	font-size: 15px;
	color: #5c665f;
	margin: 0 0 18px;
	line-height: 1.6;
}
.lbl-search-again {
	display: flex;
	gap: 0;
	max-width: 560px;
	margin: 0 auto;
	background: #fff;
	border: 2px solid #e6e2d5;
	border-radius: 999px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(31, 62, 48, 0.06);
}
.lbl-search-again:focus-within {
	border-color: #0e6258;
}
.lbl-search-input {
	flex: 1;
	border: none !important;
	background: none !important;
	padding: 13px 20px !important;
	font-size: 15px !important;
	outline: none !important;
	min-width: 0;
	color: #14271d;
}
.lbl-search-btn {
	background: #0e6258 !important;
	color: #fff !important;
	border: none !important;
	padding: 13px 26px !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	cursor: pointer;
}
.lbl-search-btn:hover {
	background: #0a4c44 !important;
}
.lbl-search-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
}
.lbl-search-toolbar .woocommerce-result-count {
	margin: 0;
	font-size: 14px;
	color: #5c665f;
}
.lbl-search-toolbar .woocommerce-ordering {
	margin: 0;
}
body.search ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
body.search ul.products::before,
body.search ul.products::after {
	display: none !important;
}
body.search ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}
.lbl-search-empty {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}
.lbl-search-empty-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 20px;
}
.lbl-btn-tienda,
.lbl-btn-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lbl-btn-tienda {
	background: #0e6258;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(14, 98, 88, 0.25);
}
.lbl-btn-tienda:hover {
	background: #0a4c44;
	transform: translateY(-2px);
}
.lbl-btn-wa {
	background: #25d366;
	color: #fff !important;
}
.lbl-btn-wa:hover {
	background: #1ebe5a;
	transform: translateY(-2px);
}
@media (max-width: 991px) {
	body.search ul.products {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 640px) {
	body.search ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.lbl-search-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
}

/* ============================================
   UX: migas de pan en fichas de producto
   ============================================ */
.lbl-product-breadcrumbs {
	max-width: 1200px;
	margin: 0 auto 12px;
	padding: 0 15px;
	font-size: 13px;
	color: #5a6a61;
}
.lbl-product-breadcrumbs .woocommerce-breadcrumb {
	margin: 0;
	font-size: 13px;
}
.lbl-product-breadcrumbs a { color: #0e6258; }
.lbl-product-breadcrumbs a:hover { text-decoration: underline; }

/* ============================================
   UX: respetar prefers-reduced-motion en todo el tema
   ============================================ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}