/* =========================================================
   YO, TURO — SHOP / GRILLAS / CATEGORÍAS
========================================================= */

/* Product cards base */
.woocommerce-loop-product__title {
    font-size: 30px !important;
}

.ast-woo-shop-product-description {
    font-size: 14px;
}

.astra-shop-thumbnail-wrap img {
    border-radius: 20px !important;
}

.ast-woo-product-category {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px !important;
    padding-top: 10px;
}

/* Cards premium */
.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: all .3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.woocommerce ul.products li.product img {
    width: calc(100% - 24px);
    margin: 12px;
    border-radius: 18px;
    transition: transform .45s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,.10);
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    transition: .25s;
}

.woocommerce ul.products li.product .product-details,
.woocommerce ul.products li.product .astra-shop-summary-wrap {
    padding: 0 20px 20px;
}

/* Breadcrumbs */
.ast-breadcrumbs .trail-items li {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
}

.trail-items li::after {
    content: "|";
    padding: 0 15px;
}

/* Hero categorías */
.ast-archive-entry-banner[data-post-type="product"] {
    padding-top: 0;
}

.archive .ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"],
.term-poleras .ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"] {
    background: url('https://yoturo.com/wp-content/uploads/2026/07/hero-pensando-pensamientos-2.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.term-adoptados .ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"] {
    background: url('https://yoturo.com/wp-content/uploads/2026/07/hero-la-vida-es-mejor-con-un-mestizo.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.term-papas-perrunos .ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"] {
    background: url('https://yoturo.com/wp-content/uploads/2026/07/hero-papa-de-un-rescatado.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.term-mamas-perrunas .ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"] {
    background: url('https://yoturo.com/wp-content/uploads/2026/07/hero-en-mi-era-de-mama-perruna.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.term-yo-turo .ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"] {
    background: url('https://yoturo.com/wp-content/uploads/2026/07/hero-yo-turo.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.term-dog-lovers .ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"] {
    background: url('https://yoturo.com/wp-content/uploads/2026/07/hero-dog-lover.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Disponible en: antes de las variaciones en grilla */
.woocommerce ul.products li.product table.variations::before {
    content: "Talles disponibles:";
    display: table-caption;
    caption-side: top;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #999;
    margin: 10px 0 4px;
    text-align: left;
}

/* =========================================================
   Ocultar barra nativa de resultados y ordenamiento
   ========================================================= */

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	display: none !important;
}

/* Eliminar el espacio que deja Astra alrededor */

.woocommerce .ast-shop-toolbar-container,
.woocommerce .woocommerce-notices-wrapper + .ast-shop-toolbar-container {
	display: none !important;
}

.archive .site-main > .ast-woocommerce-container {
	padding-top: clamp(36px, 4vw, 60px);
}

/* ==========================================================
   YO, TURO - CATÁLOGO
========================================================== */

.woocommerce-result-count,
.woocommerce-ordering,
.ast-shop-toolbar-container{
    display:none !important;
}


/* ==========================================================
   CONTENEDOR
========================================================== */

.turo-catalog-filters{

    width:100%;
    max-width:1360px;

    margin:-70px auto 42px;

    background:#fff;

    border-radius:24px;

    padding:18px 30px;

    box-shadow:
        0 12px 40px rgba(0,0,0,.06);

    position:relative;
    z-index:5;
}


/* ocultamos el header */

.turo-catalog-filters__top{
    display:none;
}


/* ==========================================================
   FILAS
========================================================== */

.turo-filter-group{

    display:grid;

    grid-template-columns:90px 1fr;

    align-items:center;

    gap:16px;

    padding:8px 0;
}

.turo-filter-group + .turo-filter-group{

    border-top:1px solid rgba(0,0,0,.05);
}


/* ==========================================================
   LABEL
========================================================== */

.turo-filter-group__label{

    font-size:14px;

    font-weight:600;

    letter-spacing:0;

    text-transform:none;

    color:#777;
}


/* ==========================================================
   PILLS
========================================================== */

.turo-filter-pills{

    display:flex;

    flex-wrap:wrap;

    gap:10px;
}


.turo-filter-pill{

    display:flex;

    align-items:center;

    justify-content:center;

    height:36px;

    padding:0 18px;

    border-radius:999px;

    border:1px solid #ddd;

    background:#fff;

    color:#111;

    font-size:13px;

    font-weight:500;

    text-decoration:none;

    transition:.25s;
}


.turo-filter-pill:hover{

    background:#111;

    border-color:#111;

    color:#fff;
}


.turo-filter-pill.is-active{

    background:#111;

    color:#fff;

    border-color:#111;
}


/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:768px){

    .turo-catalog-filters{

        margin:-30px 16px 30px;

        width:auto;

        padding:18px;

        border-radius:18px;
    }

    .turo-filter-group{

        display:block;
    }

    .turo-filter-group__label{

        margin-bottom:10px;
    }

    .turo-filter-pills{

        flex-wrap:nowrap;

        overflow-x:auto;

        scrollbar-width:none;

        padding-bottom:6px;
    }

    .turo-filter-pills::-webkit-scrollbar{
        display:none;
    }

    .turo-filter-pill{

        flex:0 0 auto;
    }

}

/* =========================================================
   YO, TURO — Contadores del filtro
   ========================================================= */

.turo-filter-pill {
	gap: 8px;
}

.turo-filter-pill__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 22px;
	height: 22px;

	padding: 0 6px;

	border-radius: 999px;

	background: rgba(17, 17, 17, 0.065);
	color: rgba(17, 17, 17, 0.62);

	font-size: 10px;
	font-weight: 700;
	line-height: 1;

	transition:
		background-color 0.25s ease,
		color 0.25s ease;
}

.turo-filter-pill:hover .turo-filter-pill__count,
.turo-filter-pill.is-active .turo-filter-pill__count {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}


/* =========================================================
   Animación AJAX de la grilla
   ========================================================= */

.ast-woocommerce-container > ul.products {
	transition:
		opacity 0.22s ease,
		transform 0.32s cubic-bezier(.19, 1, .22, 1);
}

.ast-woocommerce-container.turo-catalog-is-loading
	> ul.products {
	opacity: 0.28;

	transform: translateY(8px);

	pointer-events: none;
}

/* =========================================================
   YO, TURO — Loader interno del catálogo
   ========================================================= */

.ast-woocommerce-container,
.woocommerce {
	position: relative;
}

.turo-catalog-loader {
	position: absolute;
	top: 150px;
	left: 50%;
	z-index: 50;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 190px;
	height: 160px;

	padding: 24px;

	border: 1px solid rgba(17, 17, 17, 0.06);
	border-radius: 30px;

	background: rgba(255, 255, 255, 0.96);

	box-shadow:
		0 20px 55px rgba(0, 0, 0, 0.12);

	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transform:
		translateX(-50%)
		translateY(10px)
		scale(0.96);

	transition:
		opacity 0.25s ease,
		visibility 0.25s ease,
		transform 0.35s cubic-bezier(.19, 1, .22, 1);
}

.turo-catalog-is-loading .turo-catalog-loader {
	opacity: 1;
	visibility: visible;

	transform:
		translateX(-50%)
		translateY(0)
		scale(1);
}

.turo-catalog-loader__content {
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	width: 130px;
	height: 115px;
}

.turo-catalog-loader__logo {
	display: block;

	width: 98px !important;
	height: auto !important;

	animation:
		turoCatalogLogoPulse
		1.3s
		ease-in-out
		infinite;
}

.turo-catalog-loader__paw {
	display: block;

	width: 27px !important;
	height: auto !important;

	margin-top: 12px;

	animation:
		turoCatalogPawBounce
		0.9s
		ease-in-out
		infinite;
}

.turo-catalog-loader__text{

    display:block;

    margin-top:14px;

    font-family:"Poppins",sans-serif;

    font-size:11px;

    font-weight:600;

    letter-spacing:.08em;

    text-transform:uppercase;

    color:#777;

    animation:
        turoCatalogTextPulse
        1.4s
        ease-in-out
        infinite;
}

@keyframes turoCatalogTextPulse{

    0%,100%{
        opacity:.45;
    }

    50%{
        opacity:1;
    }

}

.turo-catalog-loader__paw-small {
	position: absolute;

	display: block;

	width: 18px !important;
	height: auto !important;

	opacity: 0.22;
}

.turo-catalog-loader__paw-small--left {
	top: -5px;
	left: 0;

	transform: rotate(-22deg);

	animation:
		turoCatalogPawLeft
		1.7s
		ease-in-out
		infinite;
}

.turo-catalog-loader__paw-small--right {
	top: 3px;
	right: 0;

	transform: rotate(22deg);

	animation:
		turoCatalogPawRight
		1.7s
		ease-in-out
		0.25s
		infinite;
}

/* Grilla apagada mientras carga */

.ast-woocommerce-container > ul.products {
	transition:
		opacity 0.22s ease,
		transform 0.32s cubic-bezier(.19, 1, .22, 1);
}

.ast-woocommerce-container.turo-catalog-is-loading > ul.products {
	opacity: 0.16;

	transform: translateY(8px);

	pointer-events: none;
}

@keyframes turoCatalogLogoPulse {
	0%,
	100% {
		opacity: 0.78;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1.035);
	}
}

@keyframes turoCatalogPawBounce {
	0%,
	100% {
		transform: translateY(0) scale(1);
	}

	30% {
		transform: translateY(-10px) scale(1.08);
	}

	52% {
		transform: translateY(0) scale(0.94);
	}

	68% {
		transform: translateY(-4px) scale(1.03);
	}
}

@keyframes turoCatalogPawLeft {
	0%,
	100% {
		opacity: 0.18;
		transform: translateY(0) rotate(-22deg);
	}

	50% {
		opacity: 0.42;
		transform: translateY(-4px) rotate(-16deg);
	}
}

@keyframes turoCatalogPawRight {
	0%,
	100% {
		opacity: 0.18;
		transform: translateY(0) rotate(22deg);
	}

	50% {
		opacity: 0.42;
		transform: translateY(-4px) rotate(16deg);
	}
}

@media (max-width: 767px) {
	.turo-catalog-loader {
		top: 70px;

		width: 158px;
		height: 140px;

		border-radius: 25px;
	}

	.turo-catalog-loader__logo {
		width: 82px !important;
	}

	.turo-catalog-loader__paw {
		width: 24px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.turo-catalog-loader,
	.turo-catalog-loader__logo,
	.turo-catalog-loader__paw,
	.turo-catalog-loader__paw-small,
	.ast-woocommerce-container > ul.products {
		animation: none;
		transition: none;
	}
}


/* Mobile */

@media (max-width: 767px) {

	.turo-filter-pill {
		gap: 7px;
	}

	.turo-filter-pill__count {
		min-width: 20px;
		height: 20px;

		font-size: 9px;
	}
}


/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {

	.ast-woocommerce-container > ul.products {
		transition: none;
	}

	.ast-woocommerce-container.turo-catalog-is-loading::after {
		animation-duration: 1.5s;
	}
}

/* =========================================================
   YO, TURO — Patita animada en hero internos
   ========================================================= */

.archive .ast-archive-entry-banner::after {
	content: "";

	position: absolute;
	left: 50%;
	bottom: 24px;

	width: 44px;
	height: 44px;

	z-index: 3;

	background-image: url("/wp-content/themes/astra/inc/turo/assets/pata.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;

	filter: brightness(0) invert(1);

	opacity: 0.92;

	transform: translateX(-50%);

	animation:
		turoInnerHeroPaw
		1.8s
		ease-in-out
		infinite;

	pointer-events: none;
}


/* Movimiento suave */

@keyframes turoInnerHeroPaw {
	0%,
	100% {
		transform:
			translateX(-50%)
			translateY(0)
			scale(1);

		opacity: 0.72;
	}

	45% {
		transform:
			translateX(-50%)
			translateY(-9px)
			scale(1.08);

		opacity: 1;
	}

	65% {
		transform:
			translateX(-50%)
			translateY(-3px)
			scale(1.02);
	}
}


/* Tablet */

@media (max-width: 1024px) {
	.archive .ast-archive-entry-banner::after {
		bottom: 20px;

		width: 40px;
		height: 40px;
	}
}


/* Mobile */

@media (max-width: 767px) {
	.archive .ast-archive-entry-banner::after {
		bottom: 16px;

		width: 34px;
		height: 34px;
	}
}


/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
	.archive .ast-archive-entry-banner::after {
		animation: none;
	}
}

/* =========================================================
   FILTRO DE COLOR
   ========================================================= */

.turo-color-filter {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.turo-color-filter--inline {
	margin-left: auto;
}

.turo-color-filter__label {
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: #747474;
	white-space: nowrap;
}

.turo-color-filter__options {
	display: flex;
	align-items: center;
	gap: 9px;
}

.turo-color-filter__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 48px;
	height: 42px;
	padding: 5px 9px;
	border: 1px solid #dedede;
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease;
}

.turo-color-filter__button:hover {
	transform: translateY(-1px);
	border-color: #aaa;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
}

.turo-color-filter__button:focus-visible {
	outline: 2px solid #111;
	outline-offset: 3px;
}

.turo-color-filter__button.is-active {
	border-color: #111;
	background: #f4f4f4;
	box-shadow: inset 0 0 0 1px #111;
}

.turo-color-filter__dot {
	display: block;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	border-radius: 50%;
}

.turo-color-filter__dot--white {
	background: #fff;
	border: 1px solid #bcbcbc;
	box-shadow: inset 0 0 0 2px #fff;
}

.turo-color-filter__dot--black {
	background: #111;
	border: 1px solid #111;
}

.turo-color-filter__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #efefef;
	font-family: "Poppins", sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	color: #686868;
}

.turo-color-filter__button.is-active
.turo-color-filter__count {
	background: #111;
	color: #fff;
}


/* Barra de color en categorías internas */

.turo-inner-color-filter {
	width: min(1280px, calc(100% - 40px));
	margin: 0px 0px 20px 0px !important;
	padding: 18px 24px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.turo-inner-color-filter
.turo-color-filter {
	justify-content: flex-start;
}


/* Tablet y mobile */

@media (max-width: 900px) {

	.turo-color-filter--inline {
		width: 100%;
		margin-left: 0;
		padding-top: 14px;
		padding-left: 0;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		border-left: 0;
	}

	.turo-inner-color-filter {
		width: min(100% - 28px, 1280px);
		margin-top: 24px;
		padding: 16px 18px;
	}
}

@media (max-width: 600px) {

	.turo-color-filter {
		gap: 11px;
	}

	.turo-color-filter__button {
		min-width: 45px;
		height: 40px;
		padding: 5px 8px;
	}

	.turo-color-filter__dot {
		width: 20px;
		height: 20px;
		flex-basis: 20px;
	}

	.turo-color-filter__label {
		font-size: 13px;
	}
}
/* Ajustes finales: nombre visible en filtro de color */
.turo-color-filter__button {
	min-width: 112px;
	padding-right: 10px;
	padding-left: 10px;
}

.turo-color-filter__name {
	font-family: "Poppins", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	color: #111;
	white-space: nowrap;
}

.turo-color-filter__button.is-active .turo-color-filter__name {
	font-weight: 600;
}

@media (max-width: 600px) {
	.turo-color-filter__button {
		min-width: 104px;
	}

	.turo-color-filter__name {
		font-size: 12px;
	}
}


/* Opción Todos los colores */
.turo-color-filter__dot--all {
	background: linear-gradient(90deg, #fff 0 50%, #111 50% 100%);
	border: 1px solid #9f9f9f;
}

.turo-color-filter__button--all {
	min-width: 178px;
}

@media (max-width: 600px) {
	.turo-color-filter__button--all {
		min-width: 166px;
	}
}

/* =========================================================
   AJUSTE FINAL — FILTRO DE COLOR EN CATEGORÍAS INTERNAS
   ========================================================= */

/*
 * Reducimos el espacio que Astra agrega entre el hero
 * y el contenido, solamente en las categorías internas.
 * No afecta la página principal /poleras/.
 */
body.tax-product_cat:not(.term-poleras)
.site-main > .ast-woocommerce-container {
	padding-top: 18px !important;
}


/*
 * La barra adopta exactamente el ancho máximo
 * de la grilla de productos.
 */
body.tax-product_cat:not(.term-poleras)
.turo-inner-color-filter {
	width: 100% !important;
	max-width: 1360px !important;

	margin: 0px 0px 20px 0px !important;

	padding:
		18px
		24px !important;

	box-sizing: border-box;
}


/* Tablet */

@media (max-width: 1024px) {

	body.tax-product_cat:not(.term-poleras)
	.site-main > .ast-woocommerce-container {
		padding-top: 14px !important;
	}

	body.tax-product_cat:not(.term-poleras)
	.turo-inner-color-filter {
		width: 100% !important;
		margin-bottom: 24px !important;
	}
}


/* Mobile */

@media (max-width: 767px) {

	body.tax-product_cat:not(.term-poleras)
	.site-main > .ast-woocommerce-container {
		padding-top: 12px !important;
	}

	body.tax-product_cat:not(.term-poleras)
	.turo-inner-color-filter {
		width: 100% !important;
		margin-bottom: 20px !important;
		padding: 15px 16px !important;
		border-radius: 18px;
	}
}

/* =========================================================
   FILTRO DE COLOR — MOBILE EN DOS FILAS
   ========================================================= */

@media (max-width: 768px) {

	.turo-catalog-filters .turo-color-filter--inline {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;

		margin: 8px 0 0;
		padding: 16px 0 0;

		border-top: 1px solid rgba(0, 0, 0, 0.08);
		border-left: 0;

		overflow: visible;
		box-sizing: border-box;
	}

	/* Ocultar el título en mobile */
	.turo-catalog-filters
	.turo-color-filter__label {
		display: none !important;
	}

	/*
	 * Grilla:
	 * Todos los colores arriba a todo el ancho.
	 * Blanco y negro abajo, mitad y mitad.
	 */
	.turo-catalog-filters
	.turo-color-filter__options {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		max-width: 100%;
		min-width: 0;

		gap: 10px;
		padding: 0;

		overflow: visible;
		box-sizing: border-box;
	}

	.turo-catalog-filters
	.turo-color-filter__button {
		display: flex;
		align-items: center;
		justify-content: center;

		width: 100%;
		min-width: 0;
		height: 46px;

		padding: 6px 10px;
		box-sizing: border-box;
	}

	/*
	 * “Todos los colores” ocupa la fila completa.
	 */
	.turo-catalog-filters
	.turo-color-filter__button--all {
		grid-column: 1 / -1;
		width: 100%;
	}

	.turo-catalog-filters
	.turo-color-filter__dot {
		width: 20px;
		height: 20px;
		flex: 0 0 20px;
	}

	.turo-catalog-filters
	.turo-color-filter__name {
		font-size: 12px;
		line-height: 1;
		white-space: nowrap;
	}

	.turo-catalog-filters,
	.turo-filter-group {
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}
}

/* =========================================================
   FILTRO DE COLOR SOLO — CATEGORÍAS INTERNAS MOBILE
   ========================================================= */

@media (max-width: 767px) {

	/*
	 * La caja blanca ocupa el mismo ancho que la grilla
	 * y no permite que los botones desborden.
	 */
	body.tax-product_cat:not(.term-poleras)
	.turo-inner-color-filter {
		width: 100% !important;
		max-width: 100% !important;
		padding: 16px !important;
		overflow: hidden;
		box-sizing: border-box;
	}

	/*
	 * El filtro standalone pasa a disposición vertical.
	 */
	body.tax-product_cat:not(.term-poleras)
	.turo-color-filter--standalone {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	/*
	 * Ocultamos “Filtrar por Color:” en mobile.
	 */
	body.tax-product_cat:not(.term-poleras)
	.turo-color-filter--standalone
	.turo-color-filter__label {
		display: none !important;
	}

	/*
	 * Todos arriba.
	 * Blanco y Negro abajo.
	 */
	body.tax-product_cat:not(.term-poleras)
	.turo-color-filter--standalone
	.turo-color-filter__options {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));

		width: 100%;
		max-width: 100%;
		min-width: 0;

		gap: 10px;
		padding: 0;

		overflow: visible;
		box-sizing: border-box;
	}

	body.tax-product_cat:not(.term-poleras)
	.turo-color-filter--standalone
	.turo-color-filter__button {
		display: flex;
		align-items: center;
		justify-content: center;

		width: 100%;
		min-width: 0;
		max-width: 100%;
		height: 46px;

		padding: 6px 10px;
		box-sizing: border-box;
	}

	/*
	 * “Todos los colores” usa la fila completa.
	 */
	body.tax-product_cat:not(.term-poleras)
	.turo-color-filter--standalone
	.turo-color-filter__button--all {
		grid-column: 1 / -1;
		width: 100%;
		min-width: 0;
	}

	body.tax-product_cat:not(.term-poleras)
	.turo-color-filter--standalone
	.turo-color-filter__dot {
		width: 20px;
		height: 20px;
		flex: 0 0 20px;
	}

	body.tax-product_cat:not(.term-poleras)
	.turo-color-filter--standalone
	.turo-color-filter__name {
		font-size: 12px;
		line-height: 1;
		white-space: nowrap;
	}

	body.tax-product_cat:not(.term-poleras)
	.turo-color-filter--standalone
	.turo-color-filter__count {
		flex: 0 0 auto;
	}
}

/* =========================================================
   INFO Talles
   ========================================================= */

.turo-size-info{
    max-width:100%;
    text-align:center;
    font-size:12px;
    line-height:1.6;
    color:#666;
}

.turo-size-info strong{
    color:#222;
    font-weight:600;
}

@media (max-width:767px){

    .turo-size-info{
        margin:14px 0 22px;
        padding:12px 16px;

        font-size:13px;
        border-radius:16px;
    }

}

/* =========================================================
   CARDS DE PRODUCTOS — BOTONES ALINEADOS ABAJO
   ========================================================= */

/* Cada producto ocupa toda la altura disponible de su fila */
.woocommerce ul.products {
	align-items: stretch;
}

.woocommerce ul.products li.product {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
}

/* El enlace de la imagen no se estira */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
	flex-shrink: 0;
}

/* El contenido inferior ocupa todo el espacio restante */
.woocommerce ul.products li.product .astra-shop-summary-wrap {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	width: 100% !important;
}

/* El formulario de variaciones también se convierte en columna */
.woocommerce ul.products li.product form.cart,
.woocommerce ul.products li.product form.variations_form {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	width: 100% !important;
}

/* Tabla de talles y modelo */
.woocommerce ul.products li.product table.variations {
	width: 100% !important;
	margin-bottom: 0px !important;
}

/* Empujar el botón hasta la parte inferior */
.woocommerce ul.products li.product .turo-loop-buy-button {
	margin-top: auto !important;
	align-self: flex-start !important;
}
.turo-loop-buy-button {
    margin-top: auto !important;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
    padding-bottom: 20px !important;
}

/* Mismo alto y forma para todos */
.woocommerce ul.products li.product a.turo-loop-buy-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 130px !important;
	min-height: 50px !important;
	padding: 12px 26px !important;
	border-radius: 999px !important;
}
/* Respaldo para la estructura de Astra */
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button,
.woocommerce ul.products li.product .astra-shop-summary-wrap > a.button {
	margin-top: auto !important;
	align-self: flex-start !important;
}
/* =========================================================
   FIX — SEPARACIÓN ENTRE FILAS DE LA GRILLA DE PRODUCTOS
   ========================================================= */

/* Astra aplica correctamente el espacio entre columnas,
   pero en algunas categorías deja el espacio vertical en 0. */
.woocommerce ul.products,
.woocommerce-page ul.products,
.ast-woocommerce-container > ul.products {
    column-gap: 16px !important;
    row-gap: 24px !important;
}

/* Evitar que márgenes heredados alteren el gap de la grilla. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .ast-woocommerce-container > ul.products {
        column-gap: 0 !important;
        row-gap: 18px !important;
    }
}

/* =========================================================
   YO, TURO — FOOTER DE LA CARD
   Precio izquierda + botón Comprar derecha
========================================================= */

/*
 * El formulario ocupa el espacio disponible para que
 * el footer quede alineado abajo en todas las tarjetas.
 */
.woocommerce ul.products li.product
.cfvsw_variations_form,
.woocommerce ul.products li.product
form.variations_form,
.woocommerce ul.products li.product
form.cart {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;

	width: 100% !important;
	margin: 0 !important;
}


/*
 * Footer inferior.
 */
.woocommerce ul.products li.product
.turo-card-footer {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;

	width: 100% !important;
	gap: 20px !important;

	margin-top: auto !important;
	padding-top: 20px !important;

	border-top: 1px solid rgba(17, 17, 17, 0.10) !important;

	box-sizing: border-box !important;
}


/*
 * Precio.
 */
.woocommerce ul.products li.product
.turo-card-footer
.price {
	display: flex !important;
	align-items: center !important;

	flex: 0 0 auto !important;

	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;

	color: #111 !important;

	font-size: 25px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: -0.02em !important;
}


/*
 * Eliminar márgenes heredados de WooCommerce.
 */
.woocommerce ul.products li.product
.turo-card-footer
.price del,
.woocommerce ul.products li.product
.turo-card-footer
.price ins,
.woocommerce ul.products li.product
.turo-card-footer
.price .woocommerce-Price-amount {
	margin: 0 !important;
	padding: 0 !important;

	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	text-decoration: none !important;
}


/*
 * Botón Comprar.
 */
.woocommerce ul.products li.product
.turo-card-footer
.turo-loop-buy-button,
.woocommerce ul.products li.product
.turo-card-footer
.single_add_to_cart_button,
.woocommerce ul.products li.product
.turo-card-footer
.add_to_cart_button,
.woocommerce ul.products li.product
.turo-card-footer
.button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	flex: 0 0 auto !important;

	width: auto !important;
	min-width: 180px !important;
	min-height: 52px !important;

	margin: 0 !important;
	padding: 14px 30px !important;

	border: 0 !important;
	border-radius: 999px !important;

	background: #111 !important;
	color: #fff !important;

	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;

	box-shadow: none !important;
	cursor: pointer !important;
}


/*
 * Hover.
 */
.woocommerce ul.products li.product
.turo-card-footer
.turo-loop-buy-button:hover,
.woocommerce ul.products li.product
.turo-card-footer
.single_add_to_cart_button:hover,
.woocommerce ul.products li.product
.turo-card-footer
.add_to_cart_button:hover,
.woocommerce ul.products li.product
.turo-card-footer
.button:hover {
	background: #292929 !important;
	color: #fff !important;
}


/*
 * Ya no queremos que el precio original reserve
 * espacio arriba de la categoría.
 */
.woocommerce ul.products li.product
.astra-shop-summary-wrap
> .price {
	display: none !important;
}


/*
 * Cuando JavaScript lo mueve al footer,
 * vuelve a mostrarse.
 */
.woocommerce ul.products li.product
.turo-card-footer
> .price {
	display: flex !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

	.woocommerce ul.products li.product
	.turo-card-footer {
		gap: 14px !important;
	}

	.woocommerce ul.products li.product
	.turo-card-footer
	.price {
		font-size: 22px !important;
	}

	.woocommerce ul.products li.product
	.turo-card-footer
	.turo-loop-buy-button,
	.woocommerce ul.products li.product
	.turo-card-footer
	.single_add_to_cart_button,
	.woocommerce ul.products li.product
	.turo-card-footer
	.add_to_cart_button,
	.woocommerce ul.products li.product
	.turo-card-footer
	.button {
		min-width: 145px !important;
		padding-right: 22px !important;
		padding-left: 22px !important;
	}

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

	.woocommerce ul.products li.product
	.turo-card-footer {
		gap: 12px !important;
		padding-top: 17px !important;
	}

	.woocommerce ul.products li.product
	.turo-card-footer
	.price {
		font-size: 20px !important;
	}

	.woocommerce ul.products li.product
	.turo-card-footer
	.turo-loop-buy-button,
	.woocommerce ul.products li.product
	.turo-card-footer
	.single_add_to_cart_button,
	.woocommerce ul.products li.product
	.turo-card-footer
	.add_to_cart_button,
	.woocommerce ul.products li.product
	.turo-card-footer
	.button {
		min-width: 125px !important;
		min-height: 46px !important;

		padding: 12px 18px !important;

		font-size: 12px !important;
	}

}