.caja,
.caja2,
.caja3,
.caja4 {
  padding: 10px;
  font-size: 12px;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.info_filtros i:hover {
  color: #2ca870;
}

#cats,
#alers,
#tags,
#sellos,
#brandys {
  display: none;
  margin: 20px 0 35px;
  justify-content: end;
}

#cat_selecc,
#cat_aler,
#cat_tag,
#cat_sello,
#cat_brand {
  font-size: 12px;
  display: none;
  width: 100%;
  line-break: anywhere;
}

#cat,
#cat_ale,
#cat_tags,
#cat_sell,
#cat_br,
.badge {
  font-weight: bold;
  background: #00695a;
  padding: 5px 12px;
  border-radius: 50px;
  color: #fff;
}

.remove-badge:hover {
  cursor: pointer;
}

.badge a {
  color: #fff;
}

.text-center {
  text-align: center;
}

.no-hay p {
  padding: 20px;
  border-radius: 10px;
  line-height: 1.3;
  background: #fff3e0;
  color: #6d4c00;
  border: 1px solid #ffe0b2;
  width: fit-content;
  display: inline;
}

.pretty {
  white-space: inherit;
  margin: 0px;
}

.toggle-switch {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.toggle-switch input[type="checkbox"] {
  display: none;
}

.toggle-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.toggle-icon {
  font-size: 1.5em;
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.toggle-icon i {
  display: none; /* Ambos iconos están ocultos por defecto */
}

.toggle-icon .fa-toggle-off {
  display: inline-block; /* Mostrar el icono de "off" por defecto */
  color: #bdc3c7;
}

.toggle-icon .fa-toggle-on {
  display: none; /* Ocultar el icono de "on" por defecto */
  color: #00695a;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-label .fa-toggle-off {
  display: none; /* Ocultar el icono de "off" cuando está marcado */
}

.toggle-switch input[type="checkbox"]:checked + .toggle-label .fa-toggle-on {
  display: inline-block; /* Mostrar el icono de "on" cuando está marcado */
}

.toggle-text {
  display: inline-block;
  font-size: 13px;
  color: #333;
  /* white-space: nowrap; */
  line-break: auto;
  line-height: 1.2;
}
/*Load MOOORE*/
#loadMore {
  width:100%;
  position: relative; /* Para posicionar el triángulo con respecto al botón */
  overflow: hidden; /* Oculta cualquier exceso de elementos que se extiendan fuera del botón */
  margin-top:20px
}

#loadMore::before {
  content: ''; /* Inserta contenido vacío para el triángulo */
  position: absolute;
  bottom: 0; /* Posiciona el triángulo en la parte inferior */
  left: 0;
  width: 100%; /* El triángulo ocupa todo el ancho del botón */
  height: 100%; /* El triángulo ocupa todo el alto del botón */
  background: transparent;
  clip-path: polygon(50% 100%, 0 0, 100% 0); /* Forma de triángulo apuntando hacia abajo */
  background-color: #a6beb350; /* Triángulo blanco con opacidad 50% */
  opacity: 0; /* Inicialmente invisible */
  transition: opacity 0.3s ease; /* Transición suave */
}

#loadMore:hover::before {
  opacity: 1; /* Muestra el triángulo al hacer hover */
}
#loadMore:hover{}

#total_products_filtered{
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  color: #7f7f7f;
}

/*spiner*/
/* Estilo para el contenedor de carga */
#loading-spinner {
  display: none; /* Oculto por defecto */
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9; /* Gris pálido */
  border-radius: 10px;
  color: #888; /* Color de texto gris claro */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  position: relative;
}

/* Estilo del spinner */
#loading-spinner .spinner {
  border: 4px solid rgba(0, 0, 0, 0.1); /* Color suave */
  border-top: 4px solid #00695a; /* Color principal del borde superior (azul Apple-like) */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px auto; /* Centrado */
}

/* Animación del spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Ajuste del contenedor mientras carga */
.loading-placeholder {
  background-color: #f0f0f0; /* Fondo gris claro */
  border-radius: 8px;
  
  margin: 10px 0;
  filter: blur(5px);
    pointer-events: none;
    opacity: 0.7;
}

.filtrada small:hover,
.filtrada_tags small:hover,
.filtrada_ale small:hover,
.filtrada_sello small:hover,
.filtrada_marca small:hover {
  color: #00695a;
  cursor: pointer;
}

#filtros_arriba button {
  padding: 8px 12px;
  font-size: 13px;
}

.filtrada,
.filtrada_ale,
.filtrada_tags,
.filtrada_sello,
.filtrada_marca {
  text-align: center;
  
  margin-bottom: 12px;
  font-weight: 500;
  font-size:14px;
}
.damasco{background: #CCCCCC47;
  border-radius: 18px}
.filtrada .ast-icon.icon-arrow svg,
.filtrada_tags .ast-icon.icon-arrow svg,
.filtrada_ale .ast-icon.icon-arrow svg,
.filtrada_sello .ast-icon.icon-arrow svg,
.filtrada_marca .ast-icon.icon-arrow svg{margin-left: 5px;}
#otrosmas {
  display: none;
}

.cuerpazo {
  text-align: center;
}

.cuerpazo h3 {
  font-size: 1.2em;
  margin: 0px;
  line-height:1em;
}

.cuerpazo h3 a {
  color: inherit;
  text-decoration: none;
}

.cuerpazo h3 a:hover {
  color: #00695a;
  text-decoration: underline;
}

.cont a {
  display: block;
  text-decoration: none;
}

.paginator {
  text-align: center;
}

ul.pagination {
  display: inline-flex;
}

#pulsa {
  color: #ccc;
  font-size: 12px;
}

#resultado {
  display: flex;
  justify-content: center;
  min-height: 50vh;
  align-items: center;
}

.seleccionada {
  font-weight: 900;
  color: #00695a;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  padding: 0px;
  margin: 10px;
  background-clip: border-box;
  border: 1px solid #f3f3f3;
  border-radius: 8px;
  width: 18rem;
}

.card-body {
  flex: 1 1 auto;
  padding: 15px;
}

.card-title {
  margin-bottom: 10px;
}

.card-subtitle {
  margin-top: 5px;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px;
}

.card-img {
  width: 100%;
  border-radius: 8px;
}

.card-img-top {
  width: 100% !important;
  border-radius: 8px 8px 0px 0px !important;
  height: 180px !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.card-img-top:hover {
  opacity: 0.9;
}

.card a.enlace {
  text-decoration: none !important;
}

/*Marcas y categoria*/
.marca #content {
  margin-bottom: 40px !important;
}

.marca .cabecera img {
  max-width: 120px;
  float: right;
  border-radius: inherit;
}

.marca .cabecera .col-lg-2 {
  text-align: right;
  border-right: 1px solid #a6beb3;
}

@media (max-width: 500px) {
  .marca .cabecera img {
    max-width: 100px;
    float: none;
  }
}

picture.img-error source {
  display: none;
}

/*Categoría de productos*/

/* ── Category hero (dsv-cat-hero) ── */
.dsv-cat-hero {
  padding: 2.25rem 0 0;
}
.dsv-cat-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 1.75rem;
  border-bottom: 1px solid var(--dsv-border, #DDE3E0);
  background: none;
}
.dsv-cat-hero__img-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--dsv-bg-soft, #F2F4F3);
}
.dsv-cat-hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dsv-cat-hero__text {
  flex: 1;
  min-width: 0;
  padding-top: 0.1rem;
}
.dsv-cat-hero__breadcrumb {
  display: inline-block;
  font-family: var(--dsv-font-body, 'Montserrat', sans-serif);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dsv-primary, #00695A);
  text-decoration: none;
  margin-bottom: 0.15rem;
  transition: color 0.15s;
}
a.dsv-cat-hero__breadcrumb:hover {
  color: var(--dsv-primary-dark, #004D40);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dsv-cat-hero__title {
  font-family: var(--dsv-font-heading, 'Zilla Slab', serif);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dsv-ink, #1A2024);
  margin: 0 0 0.35rem;
}
.dsv-cat-hero__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--dsv-ink-subtle, #5A6462);
  max-width: 620px;
  margin: 0 0 0.75rem;
}
.dsv-cat-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  font-family: var(--dsv-font-body, 'Montserrat', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dsv-primary, #00695A);
  background: none;
  border: none;
  text-decoration: none;
  transition: color 0.15s, gap 0.2s;
}
.dsv-cat-hero__cta:hover {
  color: var(--dsv-primary-dark, #004D40);
  gap: 0.4rem;
  background: none;
  box-shadow: none;
  text-decoration: none;
}
.dsv-cat-hero__cta svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Description larga debajo del catálogo (dsv-cat-description) ── */
.dsv-cat-description {
  padding: 3rem 0;
  border-top: 1px solid var(--dsv-border, #DDE3E0);
  margin-top: 2rem;
}
.dsv-cat-description__body {
  max-width: 860px;
  margin: 0 auto;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--dsv-ink, #1A2421);
}
.dsv-cat-description__body h2,
.dsv-cat-description__body h3 {
  font-family: var(--dsv-font-heading, 'Montserrat', sans-serif);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dsv-ink, #1A2421);
}
.dsv-cat-description__body p { margin: 0 0 1rem; }
.dsv-cat-description__body strong { font-weight: 600; }
.dsv-cat-description__body a { color: var(--dsv-primary, #00695A); }
.dsv-cat-description__body a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .dsv-cat-description { padding: 2rem 0; }
}

@media (max-width: 768px) {
  .dsv-cat-hero { padding: 1.5rem 0 0; }
  .dsv-cat-hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
  }
  .dsv-cat-hero__img-wrap { width: 90px; height: 90px; border-radius: 12px; }
  .dsv-cat-hero__text { padding-top: 0; }
  .dsv-cat-hero__desc { max-width: 100%; }
}

/* ── Category sidebar (dsv-cat-sidebar) ── */
.dsv-cat-sidebar {
  position: sticky;
  top: 90px;
  padding-top: 1.25rem;
}

/* — Section separator */
.dsv-cat-sidebar .dsv-sb-section + .dsv-sb-section {
  border-top: 1px solid var(--dsv-border, #DDE3E0);
  margin-top: 0.25rem;
  padding-top: 0.25rem;
}

/* — Section header */
.dsv-cat-sidebar .dsv-sb-section__hd {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-radius: 6px;
  text-align: left;
  font-family: var(--dsv-font-body, 'Montserrat', sans-serif);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dsv-primary, #00695A);
  padding: 0.65rem 0.5rem;
  cursor: pointer;
  transition: color 150ms, background 150ms;
  line-height: 1;
}
.dsv-cat-sidebar .dsv-sb-section__hd:hover  { background: #e8f5f1; }
.dsv-cat-sidebar .dsv-sb-section__hd:active { background: #d0ebe3; }
.dsv-cat-sidebar .dsv-sb-section__hd:focus  { box-shadow: none; }
.dsv-cat-sidebar .dsv-sb-section__hd:focus-visible {
  outline: 1.5px solid var(--dsv-primary, #00695A);
  outline-offset: 2px;
  border-radius: 6px;
}
.dsv-cat-sidebar .dsv-sb-section__hd-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.dsv-cat-sidebar .dsv-sb-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--dsv-primary, #00695A);
  color: #fff;
  border-radius: 99px;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
}

/* — Chevron icon */
.dsv-cat-sidebar .dsv-sb-section__hd svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 200ms;
  color: var(--dsv-primary, #00695A);
}
.dsv-cat-sidebar .dsv-sb-section.open > .dsv-sb-section__hd svg {
  transform: rotate(180deg);
}

/* — Collapsible body */
.dsv-cat-sidebar .dsv-sb-section__body { display: none; }
.dsv-cat-sidebar .dsv-sb-section.open > .dsv-sb-section__body { display: block; }

/* — Check list & items */
.dsv-cat-sidebar .dsv-sb-check-list {
  display: flex;
  flex-direction: column;
  padding: 0 0 0.4rem;
}
.dsv-cat-sidebar .dsv-sb-check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  font-family: var(--dsv-font-body, 'Montserrat', sans-serif);
  font-size: 0.8125rem;
  color: #4b5563;
  transition: color 150ms, background 150ms;
  line-height: 1.3;
  border-radius: 4px;
}
.dsv-cat-sidebar .dsv-sb-check-item:hover {
  color: var(--dsv-primary, #00695A);
  background: #f7faf9;
}

/* — Custom checkbox */
.dsv-cat-sidebar .dsv-sb-check-item input[type="checkbox"] {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #c4cdc9;
  border-radius: 3px;
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: background 150ms, border-color 150ms;
}
.dsv-cat-sidebar .dsv-sb-check-item input[type="checkbox"]:checked {
  background: var(--dsv-primary, #00695A);
  border-color: var(--dsv-primary, #00695A);
}
.dsv-cat-sidebar .dsv-sb-check-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.dsv-cat-sidebar .dsv-sb-check-item input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 105, 90, 0.15);
}
.dsv-cat-sidebar .dsv-sb-check-item span {
  flex: 1;
  user-select: none;
}

/* — Active filter chips */
.dsv-cat-chips {
  display: none;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 0.5rem 0.75rem;
}
.dsv-cat-chips.has-chips { display: flex; }

.dsv-cat-chips .dsv-sb-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.35rem 0.2rem 0.5rem;
  background: #e8f5f1;
  color: var(--dsv-primary, #00695A);
  border: none;
  border-radius: 99px;
  font-family: var(--dsv-font-body, 'Montserrat', sans-serif);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms;
  -webkit-appearance: none; appearance: none;
}
.dsv-cat-chips .dsv-sb-chip:hover { background: #d0ebe3; }
.dsv-cat-chips .dsv-sb-chip__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 105, 90, 0.12);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
}
.dsv-cat-chips .dsv-sb-chip:hover .dsv-sb-chip__x {
  background: rgba(0, 105, 90, 0.22);
}

@media (max-width: 768px) {
  .dsv-cat-sidebar {
    position: static;
    padding-top: 1rem;
  }
}

/* Legacy .cabecera (kept for marca pages) */
.cabecera img {
  width: 200px;
  float: left;
  border-radius: 50%;
}

.cabecera {
  padding: 5% 2%
}

.cabecera span {
  font-family: "Zilla Slab", sans-serif;
  font-size: 42.4px;
  font-style: normal;
  font-weight: 600;
  height: auto;
  line-height: 53px;
  color: rgb(0, 105, 90);
}

.cabecera .col-lg-10 p {
  max-width: 650px;
}

.cabecera h1 {
  font-family: "Zilla Slab", sans-serif;
  font-size: 53px;
  font-style: normal;
  font-weight: 900;
  height: auto;
  line-height: 53px;
  color: rgb(166, 190, 179);
  -webkit-font-smoothing: antialiased;
}

.cont small {
  color: #9E9E9E;
  font-size: 11px;
}

.categoria.ast-page-builder-template .site-content>.ast-container,
.marca.ast-page-builder-template .site-content>.ast-container {
  max-width: 1200px !important;
  padding-bottom: 40px;
  flex-flow: column;
}

.categoria .ast-container {
  flex-flow: column;
  
}

.pagination,
.marca .ast-container {
  flex-flow: column;
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
}

.page-item:first-child .page-link {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.page-link:hover {
  z-index: 2;
  color: #00695a;
  background-color: #e9ecef;
  border-color: #00695a;
}

.page-link {
  padding: 0.375rem 0.75rem;
}

.page-link {
  position: relative;
  display: block;
  color: #00695a;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #00695a;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #00695a;
  border-color: #00695a;
}

h3.titulo-filtro {
  color: #A6BEB3;
  cursor: pointer;
}

h3.titulo-filtro.seleccionada {
  color: #00695a;
}

h3.titulo-filtro:hover {
  cursor: pointer;
  color: #00695a;
}

.cajon {
  padding: 20px;
  border: 1px solid #CCC;
  border-radius: 10px;
  margin-bottom: 20px;
}

.cajon:hover #pulsa {
  color: #303030;
}

.cajon:hover h3.titulo-filtro {
  color: #00695a;
}

.cajon:hover {
  border: 1px solid #9e9e9e;
}

#drasanvi-searcher input[type=text] {
  font-family: 'Zilla Slab';
  font-weight: 500;
  font-size: 20px;
}