.price{
	margin-top: 0;
}
/*  Estilo base de las tarjetitas de la sección de la tienda */
ul.products li.product {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-color: #fff;
	border: 1px solid #eee; 
	/*border-radius: 12px; */
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	width:278px;
	min-height: 450px;
}
/*  Efecto hover para resaltar */
ul.products li.product:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/*  Imágenes con buen encuadre */
ul.products li.product img {
	height: 220px;
	object-fit: cover;
	width: 100%;
	border-bottom: 1px solid #f0f0f0;
}
/*  Detalles del producto */
ul.products li.product .entry-content-wrap,
ul.products li.product .product-details {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 16px;
}
/*  Precio */
ul.products li.product .price {
	color: #198754;
	/* Verde lindo */
	font-weight: bold;
	margin-top: 6px;
}
/*  Botón "Añadir al carrito" */
ul.products li.product .button {
	margin-top: auto;
	background-color: #c93c71;
	color: #fff;
	border-radius: 8px;
	padding: 10px;
	font-weight: 600;
	transition: background-color 0.2s ease-in-out;
	text-align: center;
	display: inline-block;
}
ul.products li.product .button:hover {
	background-color: #a0305a;
	color: #fff;
}
/*  Título */
ul.products li.product .woocommerce-loop-product__title {
	font-size: 1rem;
	font-weight: 600;
	margin: 10px 0 4px;
	color: #222;
}
/*  Descripción opcional */
ul.products li.product .product-excerpt {
	font-size: 0.875rem;
	color: #444;
	flex-grow: 1;
	margin-top: 4px;
}
/* Sección Información Adicional de cada Producto con Variables.*/
/* Quita el comportamiento de enlace */

.woocommerce-product-attributes-item__value a {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
}


/* Estilo base para los chips de color 
.woocommerce-product-attributes-item__value a {
display: inline-block;
padding: 10px;
margin: 4px 6px 4px 0;
border-radius: 999px;
border: 2px solid #e0e0e0;
font-size: 0;
width: 26px;
height: 26px;
box-shadow: 0 0 3px rgba(0,0,0,0.1);
}
/* Colores personalizados
.woocommerce-product-attributes-item__value a[title="Arena"] {
background-color: #d8c7a1;
}
.woocommerce-product-attributes-item__value a[title="Crudo"] {
background-color: #f3f0e7;
}
.woocommerce-product-attributes-item__value a[title="Kaki"] {
background-color: #b4a77e;
}
.woocommerce-product-attributes-item__value a[title="Off White"] {
background-color: #fdfdf9;
border: 1px solid #ccc;
}
/* Si querés que al hacer hover tampoco cambie nada
.woocommerce-product-attributes-item__value a:hover {
background-color: inherit;
box-shadow: none;
}

/* -------------------------------------
    ESTILO GENERAL DEL SIDEBAR
---------------------------------------- */
#secondary {
  background: transparent;
  padding: 30px 20px;
  border-radius: 16px;
}

/* Contenedor de filtros */
.wp-block-woocommerce-product-filters {
  margin-top: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

/* -------------------------------------
   ️ TÍTULOS Y TEXTOS DEL SIDEBAR
---------------------------------------- */
#secondary h2,
#secondary h3,
#secondary .wp-block-heading {
  font-family: 'Montserrat', sans-serif;
  color: #c93c71;
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.wc-block-product-filter-checkbox-list__label {
  font-size: 0.95rem;
  color: #111;
}

/* -------------------------------------
    LISTA DE CATEGORÍAS
---------------------------------------- */
.wc-block-product-categories-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.wc-block-product-categories-list-item a {
  color: #111;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  transition: color 0.3s;
}

.wc-block-product-categories-list-item a:hover {
  color: #c93c71;
  text-decoration: none;
}

/* -------------------------------------
    BÚSQUEDA
---------------------------------------- */
.wp-block-search__input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.95rem;
}

.wp-block-search__button {
  background: #c93c71;
  color: white;
  border-radius: 6px;
  margin-left: 8px;
  padding: 6px 14px;
  font-weight: bold;
  transition: background 0.3s;
}

.wp-block-search__button:hover {
  background: #a0305a;
}

/* Checkbox activo */
.wc-block-product-filter-checkbox-list__input:checked + svg {
  color: #c93c71;
}

/* -------------------------------------
    BOTÓN "CATEGORÍAS" MOBILE
---------------------------------------- */
#toggle-sidebar {
  display: none;
}

@media (max-width: 1024px) {
  #toggle-sidebar {
    display: inline-block;
    padding: 10px 16px;
    background-color: #d54a79;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 10px;
    z-index: 10001;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease-in-out;
  }

  #toggle-sidebar:hover {
    background-color: #c33b6c;
  }

  .kadence-shop-top-row {
    justify-content: space-between;
  }
}

/* -------------------------------------
    SIDEBAR DESLIZABLE MOBILE
---------------------------------------- */
@media (max-width: 768px) {
  #secondary {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 10002;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    padding: 1rem;
    padding-top: 5rem;
  }

  #secondary.visible {
    transform: translateX(0);
  }

  body.sidebar-open #toggle-sidebar {
    display: none;
  }

  /* Overlay */
  #sidebar-overlay {
    display: none;
  }

  body.sidebar-open #sidebar-overlay {
    display: block;
    position: fixed;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
  }

  /* Botón cerrar */
  #close-sidebar {
    background: none;
    border: none;
    font-size: 2rem;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: #000;
    z-index: 10003;
  }

  /* Prevenir scroll del body */
  body.sidebar-open {
    overflow: hidden;
  }
}

/* -------------------------------------
   ️ OCULTAR BOTÓN CIERRE EN DESKTOP
---------------------------------------- */
@media (min-width: 1025px) {
  #close-sidebar {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .archive.woocommerce .site-main .row > .col-xl-3 {
    flex: 0 0 200px;
    max-width: 200px;
  }

  .archive.woocommerce .site-main .row > .col-xl-9 {
    flex: 1;
    max-width: calc(100% - 200px);
  }
}

