/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Child theme de GeneratePress para CSS custom de tienda.limaymayorista.com.ar
 Author:       Damián Bouzo
 Template:     generatepress
 Version:      1.0.2
*/

/* TOKENS — ver DESIGN.md */
:root {
	--brand: #393185;
	--brand-strong: #090155;
	--brand-tint: #ebeaf3;
	--brand-line-soft: #39318511;
	--brand-line: #39318575;
	--page: #ffffff;
	--surface-alt: #fbfbfd;
	--field: #f7f8f9;
	--field-border: #f0f0f0;
	--text: #222222;
	--title: #000000;
	--muted: #5d5f70;
	--gray-line: #b2b2be;
	--gp-accent: #4979a4;
	--gp-accent-hover: #377fbf;
	--space-1: 0.44rem;
	--space-2: 0.67rem;
	--space-3: 1rem;
	--space-4: 1.5rem;
	--space-5: 2.25rem;
	--space-6: 3.38rem;
	--space-7: 5.06rem;
	--radius-xs: 3px;
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--shadow-card: 0 0 1px 1px rgba(127,127,127,0.2);
	--shadow-card-hover: 0 4px 12px rgba(57,49,133,0.18);
	--shadow-badge: 0 0 2px 2px #39318511;
	--shadow-focus: inset 0 0 0 1.5px #39318590;
	--font-sans: Inter, Helvetica, sans-serif;
}

/*slider pro*/
.slider-pro {
	margin-bottom: 2rem;
}
.slider-pro .sp-image-container {
	border-radius: var(--radius-md);
}


a.button.product_type_simple.add_to_cart_button {
	background-color: var(--brand);
	color: white;
	border: solid 1px #39318585;
	margin-top: 0.5rem!important;
	font-size: 13px;
}	

.top-bar .inside-top-bar {
	padding-bottom: 0px;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}
#secondary-navigation {
	background-color: var(--brand);
}
#secondary-navigation .main-nav ul li a {font-weight:600}
#secondary-navigation .main-nav ul li a:hover {
	background-color: var(--brand-tint);
	color: var(--brand);
}
body {
	font-family: var(--font-sans);
}
body:not(.home) .top-bar {
    display: none;
}

.product .wc-product-image img {
	border-radius: 4px;
}
.product-category.product .wc-product-image img {
	border-radius: 12px
}

main#main {
	margin-top: 0px;
	margin-bottom: 0px;
}
.site-content .inside-article {
	padding-bottom: 0px;
	padding-top: 60px
}
.woocommerce-ordering .orderby {
	background-color: #39318501;
	border: #39318533 solid 1px;
	border-radius: 3px;
}
/* FOOTER */
#footer-widgets .footer-widgets-container {
	padding-bottom: 0px;
}
#footer-widgets .footer-widget-1 {
   
    padding: 1.5rem;
    background-color: var(--surface-alt);
	border-radius: 8px;
	margin-bottom: 2rem;
	border: solid 1px var(--brand-line-soft);

		
}
#footer-widgets .footer-widget-1 p {
	color: var(--brand-strong);
}
#footer-widgets .footer-widget-1 .footer-title {
	margin-bottom: 1rem;
}
#footer-widgets .footer-widget-1 .footer-first-description {
	margin-bottom: 0.5rem;
}

#footer-widgets .footer-widget-2 aside {
	margin-bottom: 1rem;
}

#footer-widgets .footer-widget-2 h4{
	color : var(--brand);
	font-weight: 700;
	margin-top: 1rem;
}
#footer-widgets .footer-widget-2 ul.wc-block-product-categories-list--depth-1{
	display: none;
}

.wc-block-product-categories-list.wc-block-product-categories-list--depth-0 > li > a, #footer-widgets .footer-widget-2 .widget_brand_nav a {
	font-weight: 400;
	text-decoration: none;
color: var(--brand-strong);
}
.wc-block-product-categories-list.wc-block-product-categories-list--depth-0 > li > a:hover, #footer-widgets .footer-widget-2 .widget_brand_nav a:hover {
	text-decoration: underline;
}
#footer-widgets .footer-widget-2 .widget_brand_nav .count{
	display: none;
}
.footer-card-container .widget{
	margin-bottom: 0px;
}
.footer-card-container {
	padding: 0;
	text-align: left;
	margin-bottom: 0;
}
footer .inside-site-info {
	flex-direction: column;
}
footer .inside-site-info .copyright-bar {
		margin: 0px;
		font-size: 0.75rem;
		color: var(--brand-strong);
}
footer .inside-site-info .copyright-bar a {
	color: var(--brand-strong);
}
.footer-bar-active .footer-bar {
	margin-bottom: 0px;	
	width: 100%;
}

.footer-bar-active .footer-bar a{
	color: var(--brand-strong);
}
.afip-data-fiscal {
	margin-top: 1rem;
	max-height: 6rem
}
.wp-block-social-link {
	border-radius: 3px
}

/* BUSCADOR */
.ywcas-classic-search.ywcas-large .ywcas-input-field-wrapper, .ywcas-classic-search.ywcas-small .ywcas-input-field-wrapper {
	border-radius: 5px;
	border: solid 1px var(--field-border)!important;
	background-color: var(--field)!important;
}
.ywcas-classic-search .ywcas-input-field-wrapper:focus-within {
	box-shadow: var(--shadow-focus);
}
.ywcas-classic-search.ywcas-small .ywcas-input-field-wrapper .ywcas-submit-wrapper {
	display: flex;
	background-color: transparent!important;
	border: none!important;
}
.product.product-category a {
	color: black;
}
.product.product-type-simple a {
	color: #000000;
}
.product.product-type-simple h2 {
	text-decoration:underline;
}
.panel.woocommerce-Tabs-panel > h2 {
	text-decoration: none;
}
section.related.products > h2{
	text-decoration: none;
}

/* HOME */
.home .wp-block-woocommerce-product-collection {
	margin-top: 2rem
}
.home .wp-block-woocommerce-product-collection h3.categories-title a {
	position: relative;
	text-decoration: none;
	text-decoration-thickness: 1px;
	color: var(--title);
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
	transition: bottom 0.2s ease, opacity 0.5s ease;
}
/* Estado inicial oculto: sólo lo aplica custom.js cuando el observer
   arrancó de verdad. Sin JS (o sin soporte de IntersectionObserver) el
   título queda visible por defecto, nunca atascado en opacity:0. */
.home .wp-block-woocommerce-product-collection h3.categories-title.js-will-animate a {
	opacity: 0;
	bottom: -20px;
}
.home .wp-block-woocommerce-product-collection h3.categories-title.visible a{
	opacity: 1;
	bottom: 0px;
}
.home .catalog-cta-container .wp-block-button{
	margin-top:-1rem;
}
.home .catalog-cta-container .wp-element-button {
	border-radius: var(--radius-sm);
	background-color: var(--brand);
	color: var(--page);
	padding: 1rem 2rem;
	min-height: 44px;
	text-decoration: none;
	font-weight: 600;
	margin-bottom: 4rem;
	margin-top: 2rem;
}
.home .catalog-cta-container .wp-element-button:hover,
.home .catalog-cta-container .wp-element-button:focus {
	background-color: var(--brand-strong);
	color: var(--page);
}
.home .woocommerce ul.products {
	margin-bottom: 0;
}
.home h2.section-title {
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--title);
	text-align: center;
	margin-top: 2rem;
	margin-bottom: 2rem;
	position: relative;
	transition: opacity 0.2s ease-out, top 0.5s ease;
}
/* Ver nota en .categories-title.js-will-animate más arriba: mismo criterio. */
.home h2.section-title.js-will-animate {
	top: -10px;
	opacity: 0;
}

.home h2.section-title.visible {
	top: 0px;
	opacity: 1;
}
.home .entry-header {
	display: none;
}
.home .wp-block-woocommerce-product-collection .wc-block-product-template {
	
	margin-left: 0;
    background-color: var(--surface-alt);
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
    align-items: stretch;
	 border: solid 2px var(--brand-line-soft);
}
.home li.wc-block-product {

	margin-right: var(--space-4);
    min-width: 65%;
    background-color: var(--page);
    border-radius: var(--radius-md);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    box-shadow: var(--shadow-card);
	margin-top: 1rem;
	margin-bottom: 1rem;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.home li.wc-block-product:hover {
	box-shadow: var(--shadow-card-hover);
	transform: translateY(-2px);
}
/* Botón siempre al pie de la tarjeta, sin importar cuántas líneas ocupe el título */
.home li.wc-block-product > [data-block-name="woocommerce/product-button"] {
	margin-top: auto;
}
/* Imagen en recuadro cuadrado del mismo tamaño para todas las tarjetas */
.home li.wc-block-product .wc-block-components-product-image {
	aspect-ratio: 1 / 1;
	height: auto;
	margin-bottom: 0.75rem;
	margin-top: 1rem;
}
.home li.wc-block-product .wc-block-components-product-image a {
	display: block;
	width: 100%;
	height: 100%;
}
/* !important: WooCommerce fija object-fit:cover inline en el <img> */
.home li.wc-block-product .wc-block-components-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain !important;
}
/* Título con alto mínimo de 2 líneas (line-height 1.4 inline) y alineado a la izquierda,
   para que precio y botón queden a la misma altura entre tarjetas */
.home li.wc-block-product h2.wp-block-post-title {
	text-align: left;
	color: var(--title);
	font-size: 1rem;
	line-height: 1.5rem !important;
	min-height: 3rem;
}
.home li.wc-block-product h2.wp-block-post-title a {
	text-align: left;
}
/* Precio protagonista; "sin impuestos" y unidad de venta en chico y gris */
.home li.wc-block-product .wc-block-components-product-price {
	text-align: left;
}
.home .wc-block-product-template li.product .wc-block-components-product-price > span.amount {
	font-size: 1.4rem;
	line-height: 1.75rem;
}
.home .wc-block-product-template li.product .wc-block-components-product-price > span.amount bdi {
	font-weight: 500;
}
.home .wc-block-product-template li.product .limay-price-unit {
	font-size: 0.9rem;
	color: var(--muted);
	margin-left: 0.35rem;
	white-space: nowrap;
}
.home .wc-block-product-template li.product .woocommerce-price-suffix {
	font-size: 0.9rem;
	line-height: 1.25rem;
	font-weight: 400;
	color: var(--muted);
	margin-top: 0.35rem;
	margin-bottom: 0.75rem;
}
.home .wc-block-product-template li.product .woocommerce-price-suffix bdi {
	font-weight: 400;
	margin-top: 0 !important;
}
.home li.wc-block-product .wp-block-woocommerce-product-button,
.home li.wc-block-product .wc-block-components-product-button__button {
	width: 100%;
}
.home li.wc-block-product .wc-block-components-product-button__button {
	font-size: 13px;
	line-height: 16px;
	font-weight: 600;
}
.home .next-previous-container .wc-block-next-previous-buttons svg{
	height: 1rem;
	width: 1rem;
}
/* Cabecera del carrusel: título + "Ver todo" a la izquierda */
.home .next-previous-container {
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem 1rem;
	flex-wrap: wrap;
}
.home .next-previous-container .categories-title {
	margin: 0;
}
.home .limay-ver-todas {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--brand);
	text-decoration: none;
	white-space: nowrap;
}
.home .limay-ver-todas:hover,
.home .limay-ver-todas:focus {
	text-decoration: underline;
}
/* Flechas redondas flotando sobre los bordes de las tarjetas (el contenedor
   se estira al ancho de la colección y deja pasar los clics salvo en los botones) */
.home .wp-block-woocommerce-product-collection {
	position: relative;
}
.home .next-previous-container .wc-block-next-previous-buttons {
	position: absolute;
	left: 0;
	right: 0;
	top: 13.5rem;
	margin: 0;
	justify-content: space-between;
	pointer-events: none;
	z-index: 2;
}
.home .next-previous-container .wc-block-next-previous-buttons button{
	pointer-events: auto;
	min-height: 0;
	min-width: 0;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--page);
	color: var(--brand);
	border: 1px solid var(--brand-line);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(20, 19, 31, 0.2);
}
.home .next-previous-container .wc-block-next-previous-buttons button[aria-disabled="true"]{
	opacity: 0;
	pointer-events: none;
}
/* CARRITO */
/* Selector reforzado: el CSS inline del Personalizador de GeneratePress
   (fondo rgba(0,0,0,.05)) se imprime después y pisaba la regla simple. */
body .main-navigation .cart-contents > span.number-of-items {
	color: white;
	background-color: var(--brand);
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button {
	border-radius: 4px;
	font-weight: 600;
}
/*PAGINA DE PRODUCTO*/
body.product-template-default  h1.product_title{
	font-size: 2rem;
	font-weight: 700;
	line-height: 2.5rem;
}
.woocommerce form .quantity.buttons-added .minus {
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}
.woocommerce form .quantity.buttons-added .plus {
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}
	/* CATALOGO */
.woocommerce-shop header .page-title{
	display: none;
}
.woocommerce-shop .woocommerce-breadcrumb {
	text-align: center;
}
.woocommerce div.product form.cart div.quantity > * {
		border: solid 1px #39318565;
	}
	.woocommerce div.product form.cart div.quantity .minus, .woocommerce div.product form.cart div.quantity .input-text {
		border-right: none;
	}
	.wc-block-product-template li.product bdi, .woocommerce div.product p.price, .woocommerce ul.products li.product .price {
		font-weight: 500;
		margin-top: .5rem !important;
	}
 .wc-block-product-template li.product .woocommerce-price-suffix, .woocommerce div.product p.price .woocommerce-price-suffix {
	display: block;
	color: var(--muted);
	font-size: 0.9rem;
margin-top: 0.25rem;
width: 100%;
}
.product .woocommerce-price-suffix.woocommerce, ul.products li.product .price .woocommerce-price-suffix {
	display: none;
}
.wc-block-product-template .wc-block-components-product-price {
	text-align: left;
}
.wc-block-product-template li.product .wc-block-components-product-button__button {
	background-color: var(--brand);
	color: white;
	border-radius: 4px;
	font-weight: 600;
	min-height: 44px;
}
.wc-block-product-template li.product .wc-block-components-product-button__button:hover,
.wc-block-product-template li.product .wc-block-components-product-button__button:focus {
	background-color: var(--brand-strong);
	color: white;
}
.wc-block-product-template li.product h2 a,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	    font-size: 1rem;
    text-decoration: none;
    font-weight: 700;
	text-align: left
}
.woocommerce nav.woocommerce-pagination ul   {
	border: solid 1px var(--brand-line);
	border-radius: 3px;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
	background-color: var(--brand-tint);
}
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	padding: 1rem;
}
.woocommerce nav.woocommerce-pagination ul li:not(:last-child)  {
	border-right: solid 1px var(--brand-line);
}
.woocommerce nav.woocommerce-pagination ul li:last-child  {
	border-right: none;
}
	.woocommerce div.product form.cart .button {
		border-radius: 3px;
	}

.woocommerce .product.sales-flash-overlay span.onsale {
	background-color: #fff;
	color: var(--brand);
	border-radius: 3px!important;
	box-shadow: var(--shadow-badge);
}
.woocommerce .product_meta {
	border-top: solid 1px #39318550;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background-color: var(--brand-line-soft);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active) {
	background-color: #fff;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--brand-strong);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active) a {
	
	color: var(--brand);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:first-child,     .woocommerce div.product .woocommerce-tabs ul.tabs li:last-child, .woocommerce table.shop_attributes th,     .woocommerce div.product .woocommerce-tabs ul.tabs li  {
	border-color: #39318550;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:first-child {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:last-child {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}
.woocommerce table.shop_attributes {
	border: solid 1px #39318550;
	border-radius: 3px;
}
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	border: none;
}
.woocommerce table.shop_attributes th {
	border-right: solid 1px #39318550 
}
.panel.woocommerce-Tabs-panel > h2 {
	display: none;
}
 .product section.related.products > h2 {
	color: var(--brand-strong);
	 font-weight: 600;
}
/* CARRITO */
a.wc-block-cart__submit-button {
	background-color: var(--brand);
	color: white;
}
.woocommerce-cart h1 {
	margin-top: 1rem;
	font-size: 1.5rem;
	text-align: center;
	font-weight: 600;
}
/* CHECKOUT */

.woocommerce-checkout .inside-navigation {
	display: none;
}
.woocommerce-checkout h2{ 
	margin-top: 1rem;
	font-size: 1.5rem;
	margin-left: -40px;
	padding-left: 0px;
	font-weight: 600;
}
.wc-block-checkout {
	padding-top: 0px;
}
body .wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:not(.is-link) {
	background-color: var(--brand);
	color: white;
	font-weight: 600;
	min-height: 52px;
	border-radius: 4px;
}
body .wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:not(.is-link):hover,
body .wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:not(.is-link):focus {
	background-color: var(--brand-strong);
	color: white;
}
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	    box-shadow: var(--shadow-focus)!important;
}
.wp-block-woocommerce-checkout-fields-block .wc-block-components-form .wc-block-components-text-input input,
.wp-block-woocommerce-checkout-fields-block .wc-block-components-form select{
	border: solid 1px #39318550
}
.wc-block-components-form .wc-block-components-checkout-step .wc-block-components-country-input {
	margin-top: 12px;
}

/* Selector Enviar / Retiro: el fondo blanco es un pseudo-elemento que se
   desliza hacia la opción elegida (padding 4px + gap 4px de WooCommerce). */
#shipping-method.wc-block-checkout__shipping-method-container {
	position: relative;
	background-color: var(--brand);
	color: white;
	font-weight: 600;
}
#shipping-method.wc-block-checkout__shipping-method-container::before {
	content: '';
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 4px;
	width: calc((100% - 12px) / 2);
	background-color: #fff;
	border-radius: 4px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#shipping-method.wc-block-checkout__shipping-method-container:has(> .wc-block-checkout__shipping-method-option--selected:last-child)::before {
	transform: translateX(calc(100% + 4px));
}
#shipping-method .wc-block-checkout__shipping-method-option {
	position: relative;
	z-index: 1;
	border: none;
	background-color: transparent;
	color: white;
	transition: color 0.3s ease, transform 0.15s ease;
}
#shipping-method .wc-block-checkout__shipping-method-option:active {
	transform: scale(0.97);
}
#shipping-method .wc-block-checkout__shipping-method-option--selected {
	color: black;
	background-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
	#shipping-method.wc-block-checkout__shipping-method-container::before,
	#shipping-method .wc-block-checkout__shipping-method-option {
		transition: none;
	}
}

/* Precio de ficha con bulto (plugin Bulk Sale Manager) */
.bsm-price p {
	margin: 0;
}
.bsm-price__bulk {
	padding-top: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.6rem;
}
.bsm-price__amount {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 2.1rem;
}
.bsm-price__per {
	color: var(--muted);
}
.bsm-price__tax,
.bsm-price__unit {
	font-size: 0.95rem;
	color: var(--muted);
}
.bsm-price__tax {
	padding-top: 0.5rem;
}
.bsm-price__unit {
	margin-top: 0.25rem;
}
.bsm-price {
	margin-bottom: 1rem;
}

/* Unidad de venta junto al selector de cantidad (ver functions.php) */
.limay-qty-unit {
	flex-basis: 100%;
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	color: var(--brand-strong);
}
.limay-qty-unit .limay-qty-total {
	display: block;
	color: #4a4a4a;
}
@media screen and (max-width: 799px) {
	.limay-qty-unit {
		padding-top: 0.5rem;
	}
}

.wc-block-cart .wc-block-cart-item__remove-link {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
@media screen and (max-width: 799px) {
	.woocommerce-shop nav#secondary-navigation, .home nav#secondary-navigation {
		display: none;
	}
	/*slider pro*/
	.slider-pro {
		margin-top: 1.25rem;
	}
	header.site-header {
		position: fixed;
		z-index: 999;
		width:100%;
	}
	body.sticky-enabled .secondary-navigation{
		padding-top: 60px;
	}
	/* Donde la navegación secundaria es visible, ella ya compensa el
	   header fijo: el padding de 60px del artículo duplicaba el hueco. */
	body:not(.home):not(.woocommerce-shop) .site-content .inside-article {
		padding-top: 1.25rem;
	}
.site-logo {
		order: 1;
		max-width: 40px;
		margin-right: .5rem;
	}
	.site-header .header-widget {
		order: 2;
		margin: 0px;
		width: 61%;
		flex-basis: unset;
	}
	.site-header .header-widget .widget {
		order: 2;
		margin: 0px;
	}
	.site-header .inside-header {
		flex-direction: row;
		padding: 0 0.75rem;
	}
	#mobile-menu-control-wrapper.main-navigation {
		order: 3;
		margin-left: auto;
		margin-right: 0px;

	}
	
	#mobile-header.main-navigation .menu-toggle .gp-icon svg, #mobile-menu-control-wrapper.main-navigation .menu-toggle .gp-icon svg{
    display: none !important;
}
#mobile-header.main-navigation button.menu-toggle:before, #mobile-menu-control-wrapper.main-navigation button.menu-toggle:before {
    content: url('/wp-content/uploads/2025/09/mine-svgrepo-com-1-1.svg') !important; /* Asegúrate de reemplazar esta URL con la de tu SVG */
    width: 24px; /* Ajusta el tamaño según sea necesario */
    height: 24px; /* Ajusta el tamaño según sea necesario */
	display: block;
	padding-top: 0.5rem;
	margin-bottom: -1rem;
	background-color: white;
}
	.mobile-menu-control-wrapper .menu-toggle {
		background-color: white;
		min-width: 44px;
		padding: 0px;
		margin-left: 0.5rem;
		margin-right: 0.5rem;
		height: 60px
	}
	.main-navigation .menu-bar-items {
		margin-left: 0.5rem;
	}
	.main-navigation .menu-bar-item {
		width: 40px;
	}
	.main-navigation .menu-bar-item>a {
		padding: 0px;
		display: flex;
		justify-content: center;
	}
	  
		.woocommerce-checkout h2, .entry-content .wc-block-checkout.checkout-form {
			margin-left: -0.5rem;
			margin-right: 0.5rem;
			width: calc(100% + 1rem)
		}
	.wc-block-components-sidebar-layout.wc-block-cart {
		margin-left: 1rem;
		margin-right: 1rem;
	}
	/*
	 * FOOTER
	 * */
		#footer-widgets .footer-widget-2 .wp-block-columns{
		gap: 0px;
		}
	#footer-widgets .footer-widget-2 .brands-column {
		display: none;
	}
	#footer-widgets div.footer-widget-1 {
		margin-bottom: 0px;
	}
	
	ul.social-links.wp-block-social-links 	{
		margin-top: 2rem;
		margin-bottom: 1rem;
		justify-content: center;
	}
	footer .inside-site-info .copyright-bar {
		margin-top: 1rem;
	}
	/* PAGINA DE PRODUCTO */
		button.wa-order-button {
			margin-left: 0!important;
			margin-top: 1rem;
		}
	.woocommerce div.product form.cart .single_add_to_cart_button {
		margin-top: 1rem;
		height: 50px;
		font-weight: 600;
	}
		.woocommerce div.product form.cart .single_add_to_cart_button[type="submit"	]  {
			width: 55%;
		}

	
	/*BUSCADOR*/
	.ywcas-classic-search.ywcas-large .ywcas-input-field-wrapper, .ywcas-classic-search.ywcas-small .ywcas-input-field-wrapper input {
	height: 42px!important;
}

	
	/* RESULTADOS DEL BUSCADOR */
	.wp-block-yith-search-block .ywcas-classic-search.ywcas-large button, .wp-block-yith-search-block .ywcas-classic-search.ywcas-small button {
		background-color: var(--brand);
		border-radius: 3px;
		font-weight: 500;
		visibility: hidden;
		padding: 0;
		content: '';
	}

		.wp-block-yith-search-block .ywcas-classic-search.ywcas-large button::after, .wp-block-yith-search-block .ywcas-classic-search.ywcas-small button::after {
	visibility: visible;
  display: block;
  background-color: var(--brand);
	padding: 1rem 1.5rem;
	margin-top: -1.5rem;
	border-radius: 3px;
		content: "Agregar al carrito" ;
			
	}
	.ywcas-search-mobile .search-result-item {
		margin-bottom: 2rem;
	}
	.ywcas-search-mobile .search-result-item__content {
		row-gap: 8px;
	}

	header.woocommerce-products-header .wp-block-yith-search-block {
		width: 100%;
		margin-left: auto;
		margin-bottom: 2rem
	}
	/* HOME */
	.home .section-title,
	.home .wp-block-woocommerce-product-collection h3.categories-title a {
		font-size: 1.25rem;
		line-height: 1.75rem;
	}
	.home .wp-block-woocommerce-product-collection {
		margin-top: 1.5rem;
	}
	.home li.wc-block-product {
		margin-right: var(--space-2);
	}
	.home .next-previous-container {
	justify-content: center;
}
	.home .next-previous-container .wc-block-next-previous-buttons {
		display: none;
	}
	.home .catalog-cta-container .wp-element-button {
		margin-top: 1rem;
		margin-bottom: 2rem;
	}
	.home .wp-block-yith-search-block {
		padding: 0 15px 15px;
		box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.1)
	}
	
}
@media screen and (min-width: 800px) {
	header.site-header {
		display: flex;
		justify-content:center
	}
	.inside-header {
		width: 1200px;
		padding-left: 30px;
		padding-right: 30px;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}
	.site-logo {
		order: 1;
	}
	.site-header .header-widget {
		order: 2;
		margin-right: 0px;
		margin-left: auto;
		width: 60%;
	}
	#site-navigation.main-navigation {
		order: 3;
		margin-left: auto;
		margin-right: 0px;
	}
	a.button.product_type_simple.add_to_cart_button {
		font-size: 1rem;
	}	
	.top-bar .mobile-header-container {
		display: none;
	}
	.site-content .inside-article 	{ 
		padding-top: 24px
	}
		/* FOOTER */
	.footer-widgets {
		border-radius: 3px;
	}
	.footer-widgets-container {
		margin-bottom: 2rem;
	}
	
	.footer-widget-1{ 
		width: 1200px
	}
	#footer-widgets .footer-widget-2 .wp-block-columns{
		width: 100%;
		
	}
	#footer-widgets .inside-footer-widgets {
		max-width: 1200px;
		flex-direction: column;
		margin-left: auto;
		margin-right: auto;
	}
	.footer-bar-active .footer-bar .widget {
		display: flex;
		align-items:center;
	}
	.footer-bar-active .footer-bar {
		margin-bottom: 0px;	
		width: 1200px;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		margin-bottom: 1rem;
	}
	.site-footer.footer-bar-active {
		margin-left: auto;
		margin-right: auto;
		border-radius: 2px;
	}
	div.inside-site-info {
		padding-right: 0px;
		padding-left: 0px	;
	}
	.footer-card-container div:nth-child(1) {
		margin-right: 1rem;
	}
	.footer-card-container div:nth-child(2) {
		width: 70%;
	}

	/*BUSCADOR*/
	.ywcas-search-results .search-result-add-to-cart {
		background-color: var(--brand);
		border-radius: 0px;
	}
	

	/* HOME */
	.home .site-content .wp-block-yith-search-block{
		display: block;
		margin-bottom: 30px;
	}
	/* alignwide ensancha el buscador más allá del contenedor de contenido */
	.site-content .wp-block-yith-search-block.alignwide {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	.home .wp-block-woocommerce-product-collection h3.categories-title a {
		font-size: 2rem;
	}
	.home li.wc-block-product {
		min-width: 20%
	}
	.home li.wc-block-product 
	.wc-block-components-product-image {
		height: 15rem;
		
	}

	/* PAGINA DE PRODUCTO */
	.woocommerce div.product.do-quantity-buttons form.cart {
	flex-direction: column;
	}
	.woocommerce div.product form.cart div.quantity {
		margin-bottom: 1.5rem;
	}
		
	.woocommerce div.product form.cart .button {
		max-width: 45%;
		font-weight: 500;
	}
	.woocommerce div.product .wa-order-class button.wa-order-button {
		margin-left: 0;
		margin-top: 1rem;
	}
	/* CATALOGO */
	header.woocommerce-products-header .wp-block-yith-search-block, .wp-block-yith-search-block {
		width: 100%;
		margin-left: auto;
		margin-bottom: 40px;
	}
	.wp-block-yith-search-block .ywcas-classic-search.ywcas-small input {
		padding-top: 1rem!important;
		padding-bottom: 1rem!important;
	}
}

/* RUBROS — sección [limay_rubros] (functions.php).
   Mismo lenguaje que los carruseles de la Home: contenedor var(--surface-alt) con borde
   suave, tarjetas blancas de 8px con sombra tenue, títulos negros en 600 y
   violeta var(--brand) como único color de marca. */
.limay-rubros {
	margin: 2rem 0;
}
.limay-rubros__cabecera {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
}
.limay-rubros__eyebrow {
	margin: 0 0 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
}
.limay-rubros__titulo {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 2rem;
	color: var(--title);
}
.limay-rubros__todas {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--brand);
	text-decoration: none;
	white-space: nowrap;
}
.limay-rubros__todas:hover { text-decoration: underline; }
.limay-rubros__todas-mobile { display: none; }
.limay-rubros__grilla {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin-top: 0.5rem;
	padding: 1rem 1.5rem;
	background-color: var(--surface-alt);
	border: solid 2px var(--brand-line-soft);
	border-radius: var(--radius-md);
}
.limay-rubros__card {
	display: flex;
	flex-direction: column;
	padding: 1rem;
	background: var(--page);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	text-decoration: none;
	color: var(--title);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.limay-rubros__card:hover,
.limay-rubros__card:focus-visible {
	box-shadow: var(--shadow-card-hover);
	transform: translateY(-2px);
}
.limay-rubros__imagen {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	margin-bottom: 0.75rem;
	overflow: hidden;
	background: var(--page);
	border: 1px solid var(--brand-line-soft);
	border-radius: var(--radius-md);
}
.limay-rubros__imagen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.limay-rubros__tag {
	position: absolute;
	top: 0.4rem;
	left: 0.4rem;
	padding: 0.15rem 0.5rem;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--page);
	background: var(--brand);
	border-radius: var(--radius-sm);
}
.limay-rubros__nombre {
	margin: 0 0 0.4rem;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.5rem;
	text-align: left;
	color: var(--title);
}
.limay-rubros__resumen {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--muted);
}
.limay-rubros__pie {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--brand);
}

@media (max-width: 1024px) {
	.limay-rubros__grilla { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile: grilla 2x2 compacta, sin tag, resumen largo ni pie */
@media (max-width: 640px) {
	.limay-rubros { margin: 1.5rem 0; }
	.limay-rubros__cabecera { align-items: center; }
	.limay-rubros__eyebrow,
	.limay-rubros__tag,
	.limay-rubros__pie,
	.limay-rubros__todas-desktop { display: none; }
	.limay-rubros__todas-mobile { display: inline; }
	.limay-rubros__titulo { font-size: 1.25rem; }
	.limay-rubros__todas { font-size: 0.85rem; }
	.limay-rubros__grilla { gap: 0.75rem; padding: 0.75rem; }
	.limay-rubros__card { align-items: center; padding: 0.9rem 0.5rem; text-align: center; }
	.limay-rubros__imagen {
		width: 4.5rem;
		aspect-ratio: 1 / 1;
		margin-bottom: 0.6rem;
		border: 0;
		border-radius: var(--radius-md);
	}
	.limay-rubros__nombre { margin: 0 0 0.2rem; font-size: 0.95rem; text-align: center; }
	.limay-rubros__resumen { margin: 0; font-size: 0.8rem; }
}

/* BUSCADOR EN EL HEADER (desktop): centrado en pantalla, entre el logo y los
   links de la nav. En desktop reemplaza al buscador del contenido (home,
   catálogo, categorías). También se repite en la nav cuando queda fija. */
.limay-header-search {
	display: none;
}
@media screen and (min-width: 800px) {
	.site-header .inside-header,
	.main-navigation .inside-navigation {
		position: relative;
	}
	.limay-header-search {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: clamp(220px, calc(100vw - 640px), 480px);
	}
	/* Anula el margin-bottom/width que las reglas del catálogo le dan a
	   cualquier .wp-block-yith-search-block. */
	.limay-header-search .wp-block-yith-search-block {
		width: 100%;
		margin: 0;
	}
	.limay-header-search .ywcas-classic-search input {
		padding-top: .6rem !important;
		padding-bottom: .6rem !important;
	}
	/* El de la nav solo existe cuando está fija */
	.limay-sticky-search {
		display: none;
	}
	.navigation-stick .limay-sticky-search {
		display: block;
	}
	.site-header .header-widget {
		display: none;
	}
	.home .site-content .wp-block-yith-search-block,
	.woocommerce-shop .site-content .wp-block-yith-search-block,
	header.woocommerce-products-header .wp-block-yith-search-block,
	.limay-category-search {
		display: none;
	}
}
