/* .sidebar-content>aside:not(#block-7) {
  opacity: 0;
} */

#wpadminbar {
  z-index: 9999 !important;
}

.archive .main-content {
  padding: 0;
}

.archive .sidebar {
  padding-top: 90px;
}

/* categorias /tienda */

.crecimatienda .contenedor-subcategorias,
.crecimatienda .filtrostienda {
  display: none !important;
}

.crecimatienda .products-container.products {
  gap: 20px;
}

.crecimatienda .categoria-principal {
  border-radius: 4px;
  border: 1px solid var(--Neutral-N-300, #d9d9d9);
  background: #fff;
  padding: 15px 10px;
  width: calc(25% - 15px);

  & a {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  & h3 {
    color: var(--Neutral-N-900, #1f1f1f);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .crecimatienda .categoria-principal {
    width: calc(33.33% - 13.33px);
  }
}

@media (max-width: 767px) {
  .crecimatienda .products-container.products {
    gap: 10px;
    padding: 16px;
  }

  .crecimatienda .categoria-principal {
    width: calc(50% - 5px);
  }
}

/* fin */

.cardproducto {
  border-radius: 4px;
  border: 1px solid #d9d9d9;
  background: #fff;
  padding: 15px 10px 25px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.cardproducto:hover {
  box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);
}

.cardproducto .contentproducto {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 15px;
}

.cardproducto .contentproducto .contentimagen {
  width: 164px;
}

.cardproducto .contentproducto .detalleproducto {
  width: calc(100% - 164px - 15px);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  /* padding-right: 28px; */
}

.cardproducto .contentproducto .detalleproducto p {
  margin: 0;
}

.cardproducto .contentproducto .detalleproducto .nombre-marca {
  color: var(--Gray-500, #77878f);
  font-family: "Public Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}

.detalleproducto .nombre-marca,
.detalleproducto .marca-hero {
  margin-bottom: 4px;
}

.detalleproducto .marca-hero {
  max-height: 21px;
  width: auto;
}

.marca-productosimple .marca-hero {
  max-height: 30px;
}

.marcaproducto .nombre-marca {
  color: var(--Gray-600, #5f6c72);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.marcaproducto .marca-hero {
  max-height: 40px;
}

@media (max-width: 767px) {
  .cardproducto .contentproducto .contentimagen {
    /* max-width: 40%; */
    width: 145px;
  }

  .cardproducto .contentproducto .detalleproducto {
    width: calc(100% - 140px - 20px);
    padding: 0;
  }

  .cardproducto .contentproducto .porto-tb-featured-image {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .archive .main-content {
    padding-left: 8px;
  }
}

@media (max-width: 767px) {
  .crecima .products-container > .product {
    padding: 0 !important;
  }
}

.crecima .cardproducto .tituloproducto {
  color: #1f1f1f !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 1.23em;
  -webkit-box-orient: vertical;
  /* height: 60px; */
  /* overflow: hidden; */
  /* white-space: initial !important; */
  /* -webkit-line-clamp: 3; */
  /* display: -webkit-box; */
  /* height: 61px; */
  margin-bottom: 10px !important;

  & a {
    font-family: var(--e-global-typography-secondary-font-family) !important;
  }
}

/* card producto */
.agregaralcarrito {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-start;
  align-items: center;
}

@media (max-width: 767px) {
  .agregaralcarrito {
    justify-content: flex-start;
  }
}

.crecima .add_to_cart_button {
  border-radius: 10px;
  background: var(--Brand-Blue-500, #0050de);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 172px;
  max-width: 100%;
  height: 48px;
}

.crecima .add_to_cart_button:hover,
.crecima .add_to_cart_button:focus {
  background: var(--Brand-Blue-700, #00399e) !important;
  color: white !important;
}

.crecima .add_to_cart_button:focus {
  color: white !important;
  background: var(--Brand-Blue-600, #0049ca);
}

.crecima .product:not(.instock) .add_to_cart_button,
.crecima .product.instock .add_to_cart_read_more {
  background: transparent !important;
  color: #0050de;
  border: solid 1px #0050de;
}

.crecima .product:not(.instock) .add_to_cart_button:hover,
.crecima .product:not(.instock) .add_to_cart_button:focus,
.crecima .product.instock .add_to_cart_read_more:hover,
.crecima .product.instock .add_to_cart_read_more:focus {
  background: transparent !important;
  color: #00399e !important;
  border: solid 1px #00399e;
}

.porto-tb-icon-right i {
  display: flex;
  align-items: center;
  margin-left: 10.45px;
}

.crecima .product.instock .add_to_cart_read_more .porto-icon-shopping-cart{
  display: none;
}

.crecima .porto-icon-shopping-cart:before {
  content: url(/wp-content/uploads/2024/12/ShoppingCartSimple-1.svg);
  width: initial;
}

.crecima .added .porto-icon-shopping-cart:before {
  content: url(/wp-content/uploads/2024/12/ShoppingCartSimple.svg);
}

.crecima .outofstock .porto-icon-shopping-cart:before {
  display: none !important;
}

.crecima div.quantity .minus,
.crecima div.quantity .plus,
.crecima.single-product .product-summary-wrap .quantity .minus,
.crecima.single-product .product-summary-wrap .quantity .plus {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: #bfbfbf;
  /* background-image: url(/wp-content/uploads/2024/12/Minus.svg); */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto;
  left: 0;
  border: 0;
}

.crecima div.quantity .minus:before,
.crecima div.quantity .plus:before {
  width: 12px;
  border-top: 2px solid;
  margin-top: -1px;
  margin-left: -6px;
  border-color: #1f1f1f;
}

.crecima div.quantity .plus:after {
  height: 12px;
  border-left: 2px solid;
  margin-top: -6px;
  margin-left: -1px;
  border-color: #0c031f;
}

.crecima div.quantity .minus:hover,
.crecima div.quantity .plus:hover {
  background: var(--Neutral-N-500, #8c8c8c) !important;
}

.crecima div.quantity .minus:hover:before,
.crecima div.quantity .plus:hover:before,
.crecima div.quantity .plus:hover:after {
  border-color: #fff;
}

.crecima div.quantity .input-text.qty {
  height: 48px !important;
  border: 0;
  width: calc(100% - 96px) !important;
  min-width: 30px;
  font-size: 15px;
  font-style: normal;
  font-weight: 600 !important;
  line-height: 20.903px;
  color: #0c031f;
  font-family: var(--e-global-typography-primary-font-family) !important;
  border-top: 2px solid var(--Neutral-N-400, #bfbfbf);
  border-bottom: 2px solid var(--Neutral-N-400, #bfbfbf);
}

.crecima .quantity.buttons_added {
  border-radius: 10px;
  border: 0;
  height: fit-content;
  width: 164px;
  min-width: 140px;
  max-width: 180px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .crecima .quantity.buttons_added {
    width: 145px;
  }
}

.etiqueta-sin-stock {
  width: 164px;
  min-width: 140px;
  max-width: 180px;
}

.etiqueta-sin-stock > div {
  border-radius: 4px;
  background: var(--GrisN_03, #ecf0f6);
  display: flex;
  padding: 2px 12px;
  justify-content: center;
  align-items: center;
  gap: 3px;
  color: var(--GrisN_00, #737b7d);
  font-family: "Public Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  width: fit-content;
  margin: auto;
}

@media (max-width: 767px) {
  .etiqueta-sin-stock {
    width: 145px;
  }
}

.cardproducto .price {
  color: #00225d;
  font-size: 20px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 18.136px;
  display: flex !important;
  flex-direction: column;
  gap: 3px;
  justify-content: flex-start !important;
}

.cardproducto .price del .woocommerce-Price-amount.amount {
  color: #adb7bc;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 18.136px;
}

.cardproducto .price ins .woocommerce-Price-amount.amount {
  color: #00225d;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 18.136px;
}

.discount-percentage {
  border-radius: 1.511px;
  background: #fa8232;
  bottom: 20px;
  right: 35px;
  display: flex;
  width: 44px;
  padding: 0;
  justify-content: center;
  align-items: center;
  gap: 7.557px;
  color: var(--Neutral-N-0, #fff);
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
  line-height: 12.091px;
  height: 19px;
}

.contenedorprecio {
  gap: 5px;
  align-items: flex-end;
  height: 41px;
}

.product-image .labels {
  top: 0;
  left: 0;
}

.product-image .labels .onsale,
.summary-before .labels .onsale,
.product-image .labels .onnew,
.summary-before .labels .onnew,
.product-image .labels .onhot,
.summary-before .labels .onhot {
  display: flex;
  padding: 3.778px 7.557px;
  align-items: flex-start;
  color: #fff;
  font-family: "Public Sans";
  font-size: 9.068px;
  font-style: normal;
  font-weight: 600;
  line-height: 12.091px;
  border-radius: 1.511px;
  background: var(--Danger-500, #ee5858) !important;
}

.product-image .labels .onnew,
.summary-before .labels .onnew {
  background: #d308a7;
}

.product-image .labels .onhot,
.summary-before .labels .onhot {
  background: #6007f1;
}

.elementor-widget-porto_sb_sort .woocommerce-ordering > label,
.elementor-widget-porto_sb_count .woocommerce-viewing > label {
  color: var(--Gray-900, #191c1f);
  font-family: "Public Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.elementor-widget-porto_sb_sort .woocommerce-ordering,
.elementor-widget-porto_sb_count .woocommerce-viewing {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.elementor-widget-porto_sb_sort .woocommerce-ordering .orderby,
.elementor-widget-porto_sb_count .woocommerce-viewing .count {
  color: #475156;
  font-family: "Public Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px;
  height: 44px;
  margin-left: 8px;
  display: flex;
  justify-content: center;
  gap: 12px;
  border-radius: 10px;
  border: 1px solid var(--Neutral-N-400, #bfbfbf);
  background-color: var(--Neutral-N-0, #fff);
}

.elementor-widget-porto_sb_sort .woocommerce-ordering .orderby {
  width: 180px;
  padding: 0 16px;
  align-items: center;
}

@media (max-width: 767px) {
  .product-image .labels .onsale,
  .summary-before .labels .onsale {
    font-size: 8px;
  }

  .elementor-widget-porto_sb_sort .woocommerce-ordering .orderby {
    width: 165px;
    margin-left: 0;
    font-size: 12px;
    padding: 0 7px;
  }
}

/* FIN CARD PRODUCTO */

/* Paginacion */
.porto-posts-grid .pagination {
  gap: 8px;
}

.pagination span,
.pagination a {
  border-radius: 100px;
  width: 40px !important;
  height: 40px;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.pagination .next:before,
.pagination .prev:before {
  display: none;
}

.pagination .next,
.pagination .prev {
  background-image: url(/wp-content/uploads/2024/12/ArrowRight-1.svg) !important;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 100px;
  background-size: initial;
  border: 1.5px solid #4478e1;
  font-size: 0 !important;
}

.pagination .next:hover,
.pagination .prev:hover {
  border: 1.5px solid #4478e1;
}

.pagination .prev {
  background-image: url(/wp-content/uploads/2024/12/ArrowLeft-1.svg) !important;
}

.page-numbers.dots {
  width: fit-content !important;
  min-width: fit-content;
  align-items: flex-end;
}

.page-numbers.current {
  background: #1071ff !important;
  border-color: #1071ff !important;
}

/* fin paginacion */

/* header tienda de subcategorias */
.contenedor-titulo-categorias {
  display: flex;
  /* padding-bottom: 20px !important; */
}

.titulo-tienda {
  position: absolute;
  right: calc(100% + 12px);
  width: 282.5px;
  width: 35%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 
.content-categorias-hijas {
  display: flex;
  gap: 20px;
}

.content-categorias-hijas a {
  color: #1e005a;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  width: 171px;
  height: 50px;
  border-radius: 4px;
  border: 2px solid #4478e1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  text-wrap: balance;
  text-align: center;
}

.content-categorias-hijas a:hover {
  color: #1071ff;
}

@media (max-width: 767px) {
  .content-categorias-hijas {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    height: 60px;
    padding: 0 16px;
    margin: 0 -16px;
    max-width: calc(100% + 32px);
  }

  .content-categorias-hijas a {
    min-width: 153px;
  }
} */
/* Contenedor general */
.content-categorias-hijas {
  /* max-width: 1100px;
  margin: 40px auto 30px; */
  position: relative;
}

/* Barra violeta inferior decorativa */
/* .content-categorias-hijas::after {
  content: '';
  display: block;
  height: 6px;
  border-radius: 999px;
  margin-top: 18px;
  background: linear-gradient(90deg, #7a2cff, #3b006f);
} */

/* Espaciado interno del track */
.splide-subcategorias .splide__track {
  padding: 10px 0;
}

/* Cada slide */

.splide-subcategorias .splide__slide {
  display: flex;
  justify-content: center;
}

/* Tarjeta de categor铆a */
.splide-subcategorias .splide__slide a {
  text-decoration: none;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04); */
  /* white-space: nowrap; */
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  width: 100%;
  height: 50px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--Brand-Blue-50, #e6eefc);
  border-radius: 4px;
  color: var(--Brand-Blue-800, #002c7a);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

/* Hover / focus */
.splide-subcategorias .splide__slide a:hover,
.splide-subcategorias .splide__slide a:focus {
  background: #d7e5ff;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

/* Flechas */
.splide-subcategorias .splide__arrows {
  pointer-events: none;
  /* las flechas siguen clickeables por los hijos */
}

.splide-subcategorias .splide__arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

/* Prev y next a los lados */
.splide-subcategorias .splide__arrow--prev {
  left: -44px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M14.4697%205.46973C14.7626%205.17684%2015.2373%205.17684%2015.5302%205.46973C15.8231%205.76262%2015.8231%206.23738%2015.5302%206.53028L10.0605%2012L15.5302%2017.4697C15.8231%2017.7626%2015.8231%2018.2374%2015.5302%2018.5303C15.2373%2018.8232%2014.7626%2018.8232%2014.4697%2018.5303L8.46967%2012.5303C8.17678%2012.2374%208.17678%2011.7626%208.46967%2011.4697L14.4697%205.46973Z%22%20fill%3D%22%23262626%22%2F%3E%0A%3C%2Fsvg%3E") center / contain no-repeat;
}

.splide-subcategorias .splide__arrow--next {
  right: -44px;
  background: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M8.21967%205.21967C8.51256%204.92678%208.98732%204.92678%209.28022%205.21967L15.2802%2011.2197C15.5731%2011.5126%2015.5731%2011.9873%2015.2802%2012.2802L9.28022%2018.2802C8.98732%2018.5731%208.51256%2018.5731%208.21967%2018.2802C7.92678%2017.9873%207.92678%2017.5126%208.21967%2017.2197L13.6894%2011.7499L8.21967%206.28022C7.92678%205.98732%207.92678%205.51256%208.21967%205.21967Z%22%20fill%3D%22%23262626%22%2F%3E%0A%3C%2Fsvg%3E%0A") center / contain no-repeat;
}

/* Iconos tipo chevron simple */
.splide-subcategorias .splide__arrow svg {
  display: none;
}

/* Opcional: en m贸viles acercamos un poco las flechas */
@media (max-width: 767px) {
  .splide-subcategorias .splide__arrow--prev {
    left: 0;
  }

  .splide-subcategorias .splide__arrow--next {
    right: 0;
  }

  .splide-subcategorias .splide__slide a {
    /* min-width: 180px; */
    padding: 0;
  }

  .splide-subcategorias .splide__track {
    padding: 10px 16px !important;
  }

  .splide-subcategorias .splide__arrows {
    display: none;
  }

  .splide-subcategorias .splide__list {
    width: 160px;
  }
}

/* fin slider categorias */

.elementor-widget-porto_sb_filter {
  width: fit-content;
}

.porto-product-filters-toggle {
  border-radius: 10px;
  background: var(--Neutral-N-1000, #000) !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  text-transform: initial !important;
  height: 48px !important;
  align-items: center !important;
  justify-content: center;
  gap: 6px;
  width: 167px;
  max-width: 100%;
}

.porto-product-filters-toggle i {
  display: none;
}

.porto-product-filters-toggle::before {
  content: "";
  display: block;
  background-image: url(/wp-content/uploads/2024/12/SlidersHorizontal.svg);
  background-position: center center;
  width: 24px;
  height: 24px;
}

.porto-product-filters-toggle span {
  margin: 0 !important;
  font-weight: 600;
}

@media (max-width: 969px) {
  .porto-product-filters-toggle {
    width: 123px;
  }

  .titulo-tienda {
    right: 0;
    width: 100%;
    position: initial;
  }

  .ordenarpor label {
    display: none;
  }
}

/* fin header */

/* mensaje agregar carrito */
.success-message-container .viewcart,
.success-message-container .continue_shopping {
  display: none;
}

.style-3 > .success-message-container.active {
  border-radius: 4px;
  border: 1px solid #f5f5f5;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 10px 20px;
}

.style-3 > .success-message-container.active::before {
  content: "Se ha agregado a tu carrito:";
  color: var(--NegroN_01, #0c031f);
  font-family: "Public Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 5px;
  display: block;
}

.style-3 > .success-message-container .mfp-close {
  background: transparent !important;
}

.style-3 > .success-message-container .msg {
  font-size: 0;
}

.success-message-container .product-name a {
  color: var(--NegroN_01, #0c031f);
  font-family: "Public Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  text-wrap: balance;
}

.style-3 > .success-message-container img {
  width: 70px;
}

/*  */

/* RESULTADO */
.search.search-results .titulo-tienda h2 {
  font-weight: 400;
}
