/**********************************
    2. Collection
***********************************/
.row.pb-3 {
    margin-right: 1px;
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    background-color: #fafafa;
    border-radius: 8px;
    border: 1px solid #ededed; 
    padding: 1rem; 
    margin-left: 1px;
}

@media (max-width: 576px) {
    .row.pb-3 .col {
        text-align: center; 
        padding-bottom: 7px;
    }
}

.bs-collection__title{
    color: var(--body-txt-default-color);
    text-transform: capitalize;
}
@media screen and (max-width:576px) {
    .bs-collection__title {
        font-size:1.8rem;
    }
}
.bs-collection__old-price {
    color: grey;
}
.bs-collection__product-final-price.has-discount {
    color: var(--primary-color);
}
.bs-collection__title {
	/*es diferente a la del home */
	font-weight: var(--font-normal);
}

.bs-collection__product,
.bs-collection__product:hover {
	transition: var(--transition);
}

.bs-collection__product {
	text-align: center;
	display: flex;
	flex-direction: column;
	padding-bottom: 1rem;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: var(--collection-product-border-radius);
	background: var(--collection-product-bg-color);
	outline: transparent;
}

.bs-collection__product:hover {
	box-shadow: var(--shadow)
}

.bs-collection__product__img {
	border: solid 1px #fff;
	border-radius: var(--collection-product-border-radius) var(--collection-product-border-radius) 0 0;
	overflow: hidden;
}

.bs-collection__product-info {
	padding: .5rem 0rem;
	height: 100%;
}

.bs-collection__product-title {
	font-size: 1.2rem;
	text-transform: var(--title-transform);
	color: var(--body-txt-default-color);
	font-weight: var(--font-normal);
}

.bs-collection__product-brand {
	font-size: .75rem;
	color: var(--secondary-contrast);
	background: var(--secondary-color);
	padding: .25rem;
	text-transform: uppercase;
	font-weight: var(--font-light);
	border-radius: var(--default-border-radius);
}

.bs-collection__product-brand:empty {
	display: none;
}

.bs-collection__product-stock {
	position: absolute;
	background: #232323;
	color: #fff;
	padding: .5rem 1rem;
	border-radius: var(--default-border-radius);
	z-index: 50;
	bottom: 0;
	left: 1rem;
	font-size: 0.75rem;
}

.btn-collection-show.btn {
	border-radius: 50rem;
	padding: .375rem 3rem;
}

.bs-collection__product-final-price,
.bs-collection__discount-condition,
.bs-collection__product-old-price {
	display: block
}

.bs-collection__product-final-price,
.bs-collection__product-old-price {
	white-space: nowrap;
}
.bs-collection__product .btn {
	white-space: nowrap;
	opacity:0.7;
}

.bs-collection__product-final-price {
	font-size: 1.6rem;
	font-weight: var(--font-regular);
	color: var(--banner-hover-bg-color);
}

.bs-collection__addToCart {
	width: 100%;
	text-align: center;
	position: absolute;
	bottom: 1rem;
}

.bs-collection-slider {
	padding: 1rem 0;
}

.bs-collection-slider .bs-home__title {
	padding: 0 0 1rem;
}

.slick-prev,
.slick-next {
	display: none;
}

.bs-collection-slider .slick-arrow {
	opacity: .5;
}

.bs-collection-slider .slick-arrow:hover {
	opacity: 1;
}

.bs-collection-slider__description {
	text-align: center;
}

@media screen and (min-width:992px) {
	.bs-collection-slider__description,
	.bs-collection-slider__description .bs-home__title {
		text-align: left;
	}
}

@media screen and (min-width:576px) {
	.bs-collection-price-btn-grid {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		padding: 0 1rem;
	}
	.bs-collection__product-price {
		min-width: 40%;
		flex-basis: 0;
		-webkit-box-flex: 1;
		-ms-flex-positive: 1;
		-ms-flex-preferred-size: 0;
		flex-grow: 1;
		max-width: 100%;
		padding-right: 1rem;
	}
}
/**********************************
   Mayuscula en los filtros
***********************************/
.panel-heading.my-1 {
    text-transform: uppercase;
}
/**********************************
   filtro Colección
***********************************/
form#bs-collection-filter-form .btn-link {
    color: var(--font-body-family);
}
.noUi-connect {
    background: var(--primary-color);
}
.bs-collection-filter {
    border: 1px solid #ededed; 
    border-radius: 8px;
    padding: 16px;
    background-color: #fafafa; 
}

.bs-collection-filter .bs-filter-btn {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    text-transform: capitalize;
}

.bs-collection-filter .bs-filter-btn:hover {
    color: var(--primary-hover-color); /* Color de hover */
}

.bs-collection-filter .list-group-item {
    text-transform: capitalize;
}
.bs-collection-filter .list-group-item:hover {
    background-color: #f0f0f0; /* Fondo al pasar el mouse */
}

.bs-collection-filter .custom-checkbox .custom-control-input:checked ~ .custom-control-label {
    color: var(--primary-color) /* Color de texto al seleccionar */
    font-weight: bold;
}

.bs-collection-filter .bs-filter-color-label {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    cursor: pointer;
}

.bs-collection-filter .bs-filter-color-label:hover {
    border-color: #007bff;
}

.bs-collection-filter .btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--secondary-contrast);
}

.bs-collection-filter .btn-secondary:hover {
    background-color: var(--secondary-hover-color);
    border-color: var(--secondary-hover-color);
}

.bs-collection-filter .panel-heading {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
/*********************
cambio de imagen
**********************/
picture[style*="--image-hover"]::before {
  content: "";
  background-image: var(--image-hover);
  opacity: 0;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: white;
  transition: opacity 0.25s ease; /*velocidad de transicion */ 
  display:block;
}
picture[style*="--image-hover"]:hover::before {
  opacity: 1;
}

/*********************
Boton Ver todos los productos Home
**********************/
.btn-collection-show{
  background:var(--primary-color);
  color: var(--primary-contrast);
  border:none;
  position:relative;
  height: 60px;
  font-size: 1.2em;
  padding: 0.3em 2.5em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
  border-radius: 5px;
}
.btn-collection-show:hover{
  background:#fff;
  color:var(--primary-color);
  text-decoration: none;
}
.btn-collection-show:before,.btn-collection-show:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background:var(--primary-color);
  transition:400ms ease all;
}
.btn-collection-show:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
.btn-collection-show:hover:before,.btn-collection-show:hover:after{
  width:100%;
  transition:800ms ease all;
}
/*********************
cambio de imagen
**********************/
picture[style*="--image-hover"]::before {
  content: "";
  background-image: var(--image-hover);
  opacity: 0;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: white;
  transition: opacity 0.25s ease; /*velocidad de transicion */ 
  display:block;
}
picture[style*="--image-hover"]:hover::before {
  opacity: 1;
}

/*********************
Boton Ver todos los productos Home
**********************/
.btn-collection-show{
  background:var(--primary-color);
  color:#fff;
  border:none;
  position:relative;
  height: 60px;
  font-size: 1.2em;
  padding: 0.3em 2.5em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
  border-radius: 5px;
}
.btn-collection-show:hover{
  background:#fff;
  color:var(--primary-color);
  text-decoration: none;
}
.btn-collection-show:before,.btn-collection-show:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background:var(--primary-color);
  transition:400ms ease all;
}
.btn-collection-show:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
.btn-collection-show:hover:before,.btn-collection-show:hover:after{
  width:100%;
  transition:800ms ease all;
}