ci-category-references-component .ci-banner .ci-content {
  display: flex;
  justify-content: center;
}

ci-category-references-component
  .ci-banner
  .ci-content
  ci-category-carousel-generic {
  flex: 0 0 100%;
  max-width: var(--cx-page-width-max);
}

.cxFeat_a11yFocusableCarouselControls ci-carousel .carousel-panel,
.cxFeat_a11yFocusableCarouselControls cx-carousel .carousel-panel {
  align-items: center;
}

@media (max-width: 711px) {
  .ci-banner {
    min-height: auto !important;
  }
}

ci-category-references-component
  ci-category-carousel-generic
  .category-link
  .ci-category-carousel__item
  img {
  height: 200px;
  object-fit: cover;
}

.category-link {
  padding: calc(var(--cx-spatial-base) * 1.25);
  display: block;
  text-decoration: none;
  font-size: var(--fs-20);
  line-height: var(--lh-24);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--ffC);
  color: #000;
}

.category-link .category-link-content {
  position: relative;
}

ci-category-carousel-link .category-link .category-title-text {
  position: absolute;
  width: 100%;
  bottom: 0%;
}

ci-category-carousel-generic ci-category-carousel-link category-title-text {
  padding: var(--cx-spatial-lg);
}

ci-category-carousel-generic ci-category-carousel-link category-title-text {
  color: var(--cx-color-background);
  padding: var(--cx-spatial-md);
  margin-bottom: 0;
  text-shadow: -2px 0px 3px rgba(0, 0, 0, 0.5);
}

.CasaIdeasContentPageTemplate cx-paragraph .h5,
.CasaIdeasContentPageTemplate cx-paragraph h5,
cx-paragraph .h5,
cx-paragraph h5,
.h5,
.category-title-text {
  font-family: var(--ffC);
  font-style: normal;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
}

ci-category-references-component .ci-banner {
  display: flex;
  padding: 5px;
  justify-content: center;
  align-items: center;
  margin: 0 !important;
  box-sizing: content-box;
}

@media (min-width: 712px) {
  .wrapper-media cx-media img {
    min-width: unset !important;
  }
}

/* Filtrar Por y Ordenar Por */
cx-product-list .cx-page .filter-and-sort {
  flex-direction: row;
  align-items: center;
}

.btn.btn-action.btn-block.dialog-trigger {
  margin: 0;
}

cx-carousel div.previous cx-icon,
cx-carousel div.next cx-icon {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 35px;
  height: 35px;
}

#carrousel-previous,
#carrousel-next {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Product grid */

.ci-product-scroll {
  padding-left: 8px;
  padding-right: 8px;
}

@media (max-width: 600px) {
  .ci-product-scroll .infiniteScroll {
    gap: 0 !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 1022px) and (min-width: 600px) {
  .ci-product-scroll .infiniteScroll {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 711px) {
  .ci-product-scroll .infiniteScroll ci-product-card {
    max-width: 50vw;
    padding: 0 8px;
  }
}

@media (max-width: 991px) {
  .ci-product-price .discount-row .price-discount {
    font-size: var(--fs-16);
  }
}

ci-product-card .product-card .btn {
  margin-bottom: 1rem;
}

/* Product item */

ci-product-card .product-card .wrapper-media cx-media {
  max-width: 100%;
  min-width: 100%;
  padding-bottom: 100%;
  position: absolute;
  opacity: 1;
  z-index: 1;
  filter: blur(0);
  transition: all 0.5s ease-in-out;
}

.ci-product-scroll .infiniteScroll {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  min-height: 340px;
  position: relative;
  align-items: stretch;
}

#empty-heart {
  fill: none;
  height: 24px;
}

ci-add-to-wishlist:hover > * {
  animation-duration: 0.3s;
  animation-name: changewidth;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes changewidth {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(1.1);
  }
}

#container-cart {
  background-color: #fff !important;
  font-family: var(--ffC);
  font-style: normal;
  font-weight: 400;
  font-size: var(--fs-14);
  line-height: var(--fs-12);
  opacity: 1;
  filter: none;
  color: var(--cx-color-text);
  text-align: center;
  margin: 0.5rem;
  padding: 0;
  border: 1px solid black;
  border-radius: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.quickAddToCart #container-cart > .btn {
  margin: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  max-width: none;
  border: 0 solid black;
}

.ci-product-price .discount-row {
  display: flex;
  flex-direction: column;
}

.ci-product-price .discount-row .price {
  text-decoration: line-through;
  font-size: 1rem !important;
  color: #939393 !important;
  font-weight: 400 !important;
  font-family: var(--ff) !important;
}

.product-card .wrapper-info .price-discount {
  font-family: var(--ff);
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.375rem;
}

ci-product-price .ci-product-price .discount-row .price-discount {
  color: var(--cx-color-primary);
  font-weight: 700;
  font-size: var(--fs-20);
  font-family: var(--ff);
}

.ci-product-price .discount-row .price-discount .discount-description {
  font-size: var(--fs-16);
  font-weight: 400;
}

.ci-product-price .price {
  color: #000 !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  font-family: var(--ff) !important;
}

/* Pagination */
.ci-product-scroll .grid-btn-padding {
  position: relative;
  grid-template-columns: none;
  justify-items: center;
  width: 100%;
}

.ci-product-scroll .viewPercent {
  display: block;
  position: relative;
}

.ci-product-scroll .viewPercent .text {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
  display: block;
}

.ci-product-scroll .viewPercent .percent {
  position: relative;
  background-color: #c1c1c1;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.ci-product-scroll .viewPercent .percent .bar {
  position: relative;
  display: block;
  height: 5px;
  border-radius: 6px;
  background-color: #282828;
}

.ci-product-scroll .showMoreBtn {
  width: 200px;
  margin: 0 auto;
}

/* Breadcrumb */
cx-breadcrumb ul li:not(:last-child)::after,
ci-breadcrumbs ul li:not(:last-child)::after {
  content: "|";
  width: 1rem;
  display: inline-block;
  text-align: center;
}

cx-breadcrumb ul li a,
ci-breadcrumbs ul li a {
  text-transform: capitalize;
  color: inherit;
  padding: 5px;
}

cx-breadcrumb ul,
ci-breadcrumbs ul {
  font-size: 1rem;
  padding: 15px 0;
  display: flex;
  justify-content: start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-wrap: wrap;
  list-style-type: none;
}

cx-breadcrumb ul li,
ci-breadcrumbs ul li {
  color: var(--cx-color-secondary);
}

cx-breadcrumb ul li:last-child,
ci-breadcrumbs ul li:last-child {
  color: black;
  font-weight: bold;
}

/* Producto ficha */
.ci-product-summary .product-name {
  font-family: var(--ffC);
  font-style: normal;
  font-weight: 700;
  font-size: var(--fs-28);
  line-height: var(--fs-32);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ci-product-price .price {
  color: #000;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--ff);
}

.ci-product-summary {
  display: grid;
  grid-auto-flow: row;
  grid-row-gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  cx-page-layout.ProductDetailsPageTemplate
    cx-page-slot.Summary
    cx-add-to-cart {
    grid-column: 2;
    padding-top: 20px;
    padding-inline-end: 20px;
    padding-bottom: 0;
    padding-inline-start: 20px;
  }
}

cx-page-layout.ProductDetailsPageTemplate
  cx-page-slot.Summary
  cx-add-to-cart
  .form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: flex-end;
}

cx-add-to-cart .form .quantity {
  margin: 0 1rem 0 0;
}

cx-storefront.ProductDetailsPageTemplate cx-tab-paragraph-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.tab-title::before {
  /* content: "+"; */
  margin: 0 15px;
  float: right;
  font-size: 30px;
  font-weight: 300;
  font-family: var(--ff);
  bottom: 0;
  position: relative;
  color: var(--cx-color-text);
}

.tab-title {
  font-weight: 700;
  font-size: var(--fs-18);
  padding-top: 15px;
  padding-inline-end: 0;
  padding-bottom: 0;
  padding-inline-start: 4%;
  width: 100%;
  text-align: start;
  height: 63px;
  text-transform: uppercase;
  cursor: pointer;
}

.cont-text {
  color: var(--cx-color-inverse);
}

#tab-desProducto::before {
  content: var(--content, "-");
}

#tab-metPago::before {
  content: var(--content, "+");
}

.gallery-container {
  display: grid;
  grid-row-gap: 20px;
  grid-column-gap: 20px;
  grid-auto-flow: row;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0 0;
}

cx-media img {
  width: 100%;
}

#variante_sku:empty {
  display: none;
}

.ci-product-summary .product-sku {
  font-size: 0.75rem;
  line-height: 0.75rem;
  font-weight: 400;
  display: flex;
  color: var(--ci-color-primary-2);
}

@media (max-width: 991px) {
  ci-product-price .ci-product-price .discount-row .price-discount {
    font-size: var(--fs-16);
  }
}

@media (max-width: 711px) {
  cx-add-to-cart .form .btn-primary {
    font-size: var(--fs-16);
    line-height: var(--fs-20);
  }
}

cx-add-to-cart .form .btn-primary {
  padding: 0;
}

.item .product-card {
  min-width: 140px;
}

@media (min-width: 711px) {
  .item .product-card {
    min-width: 220px;
  }
}

@media (max-width: 711px) {
  ci-pdp-product-references-carousel
    .ci-content
    ci-carousel-product-generic
    cx-carousel
    .carousel-panel,
  ci-products-carousel
    .ci-content
    ci-carousel-product-generic
    cx-carousel
    .carousel-panel,
  ci-product-references
    .ci-content
    ci-carousel-product-generic
    cx-carousel
    .carousel-panel {
    margin: 0 !important;
  }
}

ci-carousel .carousel-panel .slides .slide .item,
cx-carousel .carousel-panel .slides .slide .item {
  text-align: unset !important;
  height: unset !important;
}

@media (max-width: 711px) {
  .ci-product-summary {
    margin: 20px 0 0;
  }
}

/* Modal carrousel thumbs */
.modal {
  z-index: 999999;
}

/* Filtros */
.ci-sorting .sort-container {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  display: grid;
}

.ci-sorting .sort-container {
  display: none;
  background-color: #fcfafa;
  border-color: #dee2e6;
  padding: 2.5rem;
  border-bottom-right-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  border: solid 1px #dee2e6;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-width: 1px 0;
  height: auto;
  margin-top: 3rem;
}

.ci-sorting .sort-container .container {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}

.ci-sorting .sort-container .sort-option {
  padding: 5px;
  display: grid;
  grid-auto-flow: row;
  justify-items: center;
  align-items: center;
  grid-row-gap: 10px;
  opacity: 0.5;
  max-width: 200px;
  cursor: pointer;
}

    .ci-sorting .sort-container .sort-option.selected {
        opacity: 1;
        font-weight: bold;
    }

.sort-option .cx-icon svg,
cx-icon svg {
  fill: white;
}

.div-block-48 {
  display: flex;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid #727272;
}

.div-block-49 {
  width: 80%;
  height: 80%;
  background-image: url("../images/check.svg");
  background-position: 50% 50%;
  background-size: contain;
  background-repeat: no-repeat;
}

.cx-facet,
cx-product-list ci-product-facet-navigation ci-facet-list .inner cx-facet {
  padding: 0 !important;
}
cx-product-list
  ci-product-facet-navigation
  ci-facet-list
  .inner
  cx-facet
  button.heading {
  position: sticky !important;
}

.link-block-3.select {
  display: flex;
  margin-bottom: 0.5em;
}

cx-product-list ci-product-facet-navigation ci-facet-list .inner {
  align-content: center !important;
  justify-content: center !important;
}

.drop-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 3em;
  justify-content: center;
  align-items: center;
  gap: 0 1rem;
}

@media (max-width: 711px) {
  .ci-sorting .sort-container.visible .container {
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
  }
}

@media (max-width: 711px) {
  .ci-sorting .sort-container.visible {
    position: fixed;
    right: 0;
    left: 10vw;
    z-index: 999;
    width: 90vw;
    top: 0;
    margin: 0;
    height: 100vh;
    padding: 10px;
    box-shadow: -20px 0 0 20px #00000080;
  }
}

.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}
.ci-sorting .btn {
  margin-right: var(--fs-20);
  font-family: var(--ffC);
  font-style: normal;
  font-weight: 700;
  font-size: var(--fs-16);
  line-height: var(--fs-20);
  align-items: center;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}
@media (max-width: 711px) {
  cx-product-list .btn {
    padding: 0 15px;
    font-size: 1rem;
    height: 40px;
    line-height: 1rem;
    min-height: auto;
  }
}

@media (max-width: 711px) {
  .ci-sorting .sort-container.visible .container h4 {
    display: flex;
    flex: 1 1 100%;
    font-family: var(--ffC);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--ci-color-grayscale-2);
    letter-spacing: 2px;
    padding: 0;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 711px) {
  .ci-sorting .sort-container.visible .container h4 {
    display: none;
  }

  .ci-sorting .sort-container {
    margin: 0 !important;
  }
}

.filter-and-sort {
  margin-bottom: 2rem !important;
}

cx-product-list .filter-and-sort ci-sorting {
  flex: 0 0 auto;
}
ci-sorting {
  z-index: unset !important;
}

.ci-sorting .sort-container .sort-option {
  margin: auto;
}

.sort-option {
  width: 100%;
}

cx-product-list .ci-facet-list-wrapper.active {
  z-index: 999999 !important;
}

ci-product-images cx-product-image-zoom-trigger {
  opacity: 1 !important;
}
