.wp-block-orange612-productos.orange612-productos {
  box-sizing: border-box;
  margin-top: 0;
  width: 100vw;
  max-width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 30px 15px;
  background: var(--orange612-productos-background, transparent);
  font-family: var(--cite-font-content, "DM Sans", "Inter", sans-serif);
  overflow: hidden;
}
.orange612-productos__inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  contain: paint;
}
.wp-block-orange612-productos.orange612-productos.orange612-productos--margin { width: 100vw; max-width: 100vw; margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); padding: 30px 0; overflow: hidden; }
.orange612-productos--margin .orange612-productos__inner {
  position: relative;
  width: calc(100% - var(--cite-block-gutter, 32px) * 2);
  max-width: var(--cite-block-content, 1480px);
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  contain: paint;
}
.editor-styles-wrapper .wp-block-orange612-productos.orange612-productos,
.editor-styles-wrapper .wp-block-orange612-productos.orange612-productos--margin {
  width: 100% !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
.editor-styles-wrapper .wp-block-orange612-productos.orange612-productos--margin {
  padding-right: 0;
  padding-left: 0;
}
.orange612-productos__heading { margin-bottom: 28px; }
.orange612-productos__heading.is-aligned-left { text-align: left; }
.orange612-productos__heading.is-aligned-center { text-align: center; }
.orange612-productos__heading.is-aligned-right { text-align: right; }
.orange612-productos__title,
.orange612-productos__subtitle { margin: 0; color: var(--orange612-productos-heading, #000000); }
.orange612-productos__title { font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.orange612-productos__subtitle { margin-top: 10px; line-height: 1.5; }
.orange612-productos__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 100%;
  box-sizing: border-box;
}
.orange612-productos--cards-left .orange612-productos__grid { justify-content: flex-start; }
.orange612-productos--cards-center .orange612-productos__grid { justify-content: center; }
.orange612-productos--cards-right .orange612-productos__grid { justify-content: flex-end; }
.orange612-productos--columns-1 .orange612-productos__grid > .itemProductH { flex: 0 0 100%; }
.orange612-productos--columns-2 .orange612-productos__grid > .itemProductH { flex: 0 0 calc((100% - 18px) / 2); }
.orange612-productos--columns-3 .orange612-productos__grid > .itemProductH { flex: 0 0 calc((100% - 36px) / 3); }
.orange612-productos--columns-4 .orange612-productos__grid > .itemProductH { flex: 0 0 calc((100% - 54px) / 4); }
.orange612-productos__carousel { position: relative; padding: 0 52px; }
.orange612-productos--carousel .orange612-productos__grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.orange612-productos--carousel .orange612-productos__grid::-webkit-scrollbar { display: none; }
.orange612-productos--carousel .orange612-productos__grid > .itemProductH { flex: 0 0 100%; scroll-snap-align: start; }
.orange612-productos--carousel.orange612-productos--columns-2 .orange612-productos__grid > .itemProductH { flex-basis: calc((100% - 18px) / 2); }
.orange612-productos--carousel.orange612-productos--columns-3 .orange612-productos__grid > .itemProductH { flex-basis: calc((100% - 36px) / 3); }
.orange612-productos--carousel.orange612-productos--columns-4 .orange612-productos__grid > .itemProductH { flex-basis: calc((100% - 54px) / 4); }
.orange612-productos__carousel-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  color: var(--orange612-productos-card-text, #000);
  background: var(--orange612-productos-card-background, #fff);
  transform: translateY(-50%);
  cursor: pointer;
}
.orange612-productos__carousel-arrow--previous { left: 0; }
.orange612-productos__carousel-arrow--next { right: 0; }
.orange612-productos .itemProductH { box-sizing: border-box; }
/* Editor: copia de la tarjeta de la tienda (custom.css, que no se carga en el editor), sin el precio. */
.orange612-productos__preview-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #ded8cf; border-radius: 2px; }
.orange612-productos__preview-media { display: block; padding: 10px 10px 0; }
.orange612-productos__preview-image { display: block; aspect-ratio: 1; overflow: hidden; background: #f5f2ed; }
.orange612-productos__preview-image img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.orange612-productos__preview-body { display: flex; flex: 1; flex-direction: column; padding: 15px 15px 16px; container-type: inline-size; }
.orange612-productos__preview-category { margin-bottom: 4px; font-size: clamp(10.5px, 4.2cqi, 11.5px); font-weight: 500; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.orange612-productos__preview-label { display: -webkit-box; min-height: calc(2em * 1.35); margin-bottom: 14px; overflow: hidden; font-size: clamp(13.5px, 5.4cqi, 15px); font-weight: 500; letter-spacing: -.005em; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.orange612-productos__preview-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin-top: auto; color: #fff; background: #1d1b19; font-size: clamp(10.5px, 4.2cqi, 11.5px); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.orange612-productos__preview-button svg { flex: 0 0 16px; }
.orange612-productos__block-width-control { margin-bottom: 16px; }
.orange612-productos__block-width-label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.orange612-productos__block-width-buttons .components-button { min-height: 36px; border: 1px solid #3f5efb; border-radius: 0; color: #3f5efb; background: #fff; }
.orange612-productos__block-width-buttons .components-button.is-primary { color: #fff; background: #3f5efb; }
.orange612-productos__layout-control { margin-bottom: 16px; }
.orange612-productos__layout-label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.orange612-productos__layout-buttons .components-button { min-height: 36px; border: 1px solid #3f5efb; border-radius: 0; color: #3f5efb; background: #fff; }
.orange612-productos__layout-buttons .components-button.is-primary { color: #fff; background: #3f5efb; }
.orange612-productos .itemProductH {
  color: var(--orange612-productos-card-text, #000) !important;
  background: var(--orange612-productos-card-background, #fff) !important;
}
.orange612-productos .itemProductH h3,
.orange612-productos .itemProductH .text-slate-400,
.orange612-productos .itemProductH .woocommerce-Price-amount,
.orange612-productos .itemProductH .hc-price {
  color: var(--orange612-productos-card-text, #000) !important;
}
.orange612-productos__relationship-results {
  display: grid;
  gap: 4px;
  max-height: 180px;
  margin-top: -8px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid #ddd;
  background: #fff;
}
.orange612-productos__relationship-results .components-button { justify-content: flex-start; text-align: left; }
.orange612-productos__relationship { margin-bottom: 16px; }
.orange612-productos__relationship-selected { display: grid; gap: 8px; margin-top: 10px; }
.orange612-productos__relationship-token { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 4px 4px 4px 8px; border-radius: 2px; background: #e8edf9; font-size: 12px; }
.orange612-productos__relationship-token--product { display: grid; grid-template-columns: 38px minmax(0, 1fr) 24px; width: 100%; gap: 9px; padding: 6px; border: 1px solid #d8dfef; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.orange612-productos__relationship-thumb { display: block; width: 38px; height: 38px; overflow: hidden; background: #f1f3f6; }
.orange612-productos__relationship-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.orange612-productos__relationship-token-copy { display: grid; min-width: 0; gap: 1px; }
.orange612-productos__relationship-token-copy strong { overflow: hidden; color: #1e293b; font-size: 12px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.orange612-productos__relationship-token-copy small { color: #64748b; font-size: 11px; }
/* Editor: el carrusel se ve quieto, sin desplazamiento. */
.editor-styles-wrapper .orange612-productos--carousel .orange612-productos__grid { overflow: hidden; }
.orange612-productos__relationship-token .components-button { min-width: 24px; min-height: 24px; padding: 0; }
/* Carrusel: reduce 4 → 3 tarjetas antes de llegar al punto de dos tarjetas. */
@media (min-width: 801px) and (max-width: 1200px) {
  .orange612-productos--carousel.orange612-productos--columns-4 .orange612-productos__grid > .itemProductH { flex-basis: calc((100% - 36px) / 3); }
}
/* Tablet: tres por fila (con dos, a 768 px las tarjetas quedaban enormes). */
@media (min-width: 601px) and (max-width: 800px) {
  .orange612-productos--columns-4 .orange612-productos__grid > .itemProductH,
  .orange612-productos--carousel.orange612-productos--columns-4 .orange612-productos__grid > .itemProductH { flex-basis: calc((100% - 36px) / 3); }
}
@media (max-width: 600px) {
  .wp-block-orange612-productos.orange612-productos,
  .wp-block-orange612-productos.orange612-productos.orange612-productos--margin,
  .orange612-productos {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow: hidden !important;
  }
  /* En modo slider móvil o carrusel, el contenedor interior mide el 100% para que las tarjetas toquen el extremo derecho */
  .orange612-productos--mobile-slider .orange612-productos__inner,
  .orange612-productos--carousel .orange612-productos__inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }
  .orange612-productos:not(.orange612-productos--mobile-slider):not(.orange612-productos--carousel).orange612-productos--margin .orange612-productos__inner {
    width: calc(100% - var(--cite-block-gutter, 20px) * 2) !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    overflow: hidden !important;
  }
  .orange612-productos--mobile-slider .orange612-productos__heading,
  .orange612-productos--carousel .orange612-productos__heading {
    padding-left: var(--cite-block-gutter, 20px) !important;
    padding-right: var(--cite-block-gutter, 20px) !important;
    box-sizing: border-box !important;
  }
  .orange612-productos--carousel .orange612-productos__carousel {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .orange612-productos--carousel .orange612-productos__carousel-arrow {
    display: none !important;
  }
  .orange612-productos.orange612-productos.orange612-productos--mobile-slider .orange612-productos__grid,
  .orange612-productos--carousel .orange612-productos__grid {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--cite-block-gutter, 20px) !important;
    padding-right: var(--cite-block-gutter, 20px) !important;
    scroll-padding-left: var(--cite-block-gutter, 20px) !important;
    scroll-padding-right: var(--cite-block-gutter, 20px) !important;
    gap: 10px !important;
  }
  .orange612-productos:not(.orange612-productos--mobile-slider):not(.orange612-productos--carousel) .orange612-productos__grid {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .orange612-productos:not(.orange612-productos--mobile-slider):not(.orange612-productos--carousel).orange612-productos--columns-3 .orange612-productos__grid > .itemProductH,
  .orange612-productos:not(.orange612-productos--mobile-slider):not(.orange612-productos--carousel).orange612-productos--columns-4 .orange612-productos__grid > .itemProductH { flex-basis: calc((100% - 10px) / 2); }
}
@media (max-width: 520px) {
  .wp-block-orange612-productos.orange612-productos { padding: 24px 15px; }
  .wp-block-orange612-productos.orange612-productos.orange612-productos--margin { padding: 24px 0; }
  .orange612-productos--margin .orange612-productos__inner { width: calc(100% - var(--cite-block-gutter, 32px) * 2); }
  .orange612-productos__grid > .itemProductH { flex-basis: 100%; }
  .orange612-productos__carousel { padding: 0 42px; }
  .orange612-productos--carousel .orange612-productos__grid > .itemProductH { flex-basis: 100%; }
  .orange612-productos__carousel-arrow { width: 32px; height: 32px; }
}
body:not(.wp-admin):not(.editor-styles-wrapper) .wp-block-orange612-productos.orange612-productos { margin-bottom: 0 !important; }

/* Editor: el bloque ocupa todo el ancho del lienzo, como en la web. */
.editor-styles-wrapper .wp-block-orange612-productos.orange612-productos:not(.orange612-productos--margin) { max-width: none !important; }

/* Flecha en el extremo: atenuada y sin respuesta. */
.orange612-productos__carousel-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }
.orange612-productos__carousel-arrow { transition: opacity .2s ease; }
/* Carrusel: el desplazamiento recorta en vertical; este aire deja que la
   tarjeta suba y muestre su sombra al pasar el ratón sin cortarse. */
.orange612-productos--carousel .orange612-productos__grid { margin: -8px 0 -28px; padding: 8px 0 28px; }

/* Móvil: dos tarjetas por vista como en la tienda. En carrusel se desliza con el
   dedo (sin flechas, que robaban ancho) y la tercera asoma para invitar a deslizar.
   El selector repite la clase para ganar a las reglas de columnas. */
@media (max-width: 520px) {
  .orange612-productos.orange612-productos.orange612-productos .orange612-productos__grid { gap: 10px; }
  .orange612-productos.orange612-productos.orange612-productos:not(.orange612-productos--columns-1) .orange612-productos__grid > .itemProductH { flex-basis: calc((100% - 10px) / 2); }
  .orange612-productos.orange612-productos--carousel.orange612-productos--carousel:not(.orange612-productos--columns-1) .orange612-productos__grid > .itemProductH { flex-basis: calc((100% - 20px) / 2.15); }
  .orange612-productos--carousel .orange612-productos__carousel { padding: 0; }
  .orange612-productos--carousel .orange612-productos__carousel-arrow { display: none; }
}

/* Nombre del producto en este bloque, algo menor que en la tienda (custom.css). El editor usa el mismo tamaño en __preview-label. */
.orange612-productos .itemProductH h3 { font-size: clamp(13.5px, 5.4cqi, 15px); }

/* Panel del editor: pestañas propias, como Tarjetas y Taxonomía. */
.orange612-productos__tabs { display: flex; border-bottom: 1px solid #e0e0e0; }
.orange612-productos__tabs .orange612-productos__tab.components-button { position: relative; flex: 1; justify-content: center; height: 48px; border-radius: 0; color: #1e1e1e; box-shadow: none; }
.orange612-productos__tabs .orange612-productos__tab.is-active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--wp-admin-theme-color, #3858e9); }

/* Pestaña Estilos: selectores de color compactos, como en Tarjetas. */
.orange612-productos__colors { margin: 0 0 16px; border: 1px solid #dcdcde; }
.orange612-productos__colors-title { display: block; padding: 10px 12px; border-bottom: 1px solid #dcdcde; font-size: 13px; font-weight: 600; }
.orange612-productos__colors .components-dropdown { display: block; border-bottom: 1px solid #dcdcde; }
.orange612-productos__colors .components-dropdown:last-child { border-bottom: 0; }
.orange612-productos__compact-color.components-button { display: flex; width: 100%; height: auto; min-height: 40px; justify-content: flex-start; gap: 10px; padding: 8px 12px; border-radius: 0; color: #1e1e1e; font-size: 13px; font-weight: 600; text-align: left; }
.orange612-productos__compact-color-dot { display: block; flex: 0 0 auto; width: 18px; height: 18px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 50%; }
.orange612-productos__color-popover { padding: 12px; }
/* Panel: total de productos de cada término y aviso de cuántos se cargan. */
.orange612-productos__relationship-results .components-button.orange612-productos__term-result { justify-content: space-between; gap: 8px; }
.orange612-productos__term-result small { color: #757575; font-variant-numeric: tabular-nums; }
.orange612-productos__count-hint { margin: -8px 0 16px; color: #757575; font-size: 12px; line-height: 1.45; }
/* Editor: sin término o sin productos elegidos (en la web el bloque no se pinta). */
.orange612-productos__empty { display: grid; justify-items: center; gap: 8px; padding: 32px 16px; border: 1px dashed #c3c4c7; color: #1e1e1e; font-size: 14px; text-align: center; }
.orange612-productos__empty span { color: #757575; }

/* Carrusel: solo se desplaza en horizontal. Con overflow-x: auto el navegador también
   lo deja desplazar en vertical y, al pasar por encima mientras se baja la página, se atasca. */
.orange612-productos--carousel .orange612-productos__grid { overflow-y: hidden; overscroll-behavior-x: contain; }

/* Ancho completo: el carrusel llega a los bordes y las flechas van sobre las tarjetas
   (con margen siguen fuera, en su hueco lateral). Igual que Tarjetas. */
.orange612-productos:not(.orange612-productos--margin) .orange612-productos__carousel { padding: 0; }
.orange612-productos:not(.orange612-productos--margin) .orange612-productos__carousel-arrow { z-index: 5; width: 40px; height: 40px; border-color: transparent; color: #111; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45); }
.orange612-productos:not(.orange612-productos--margin) .orange612-productos__carousel-arrow--previous { left: 12px; }
.orange612-productos:not(.orange612-productos--margin) .orange612-productos__carousel-arrow--next { right: 12px; }
.orange612-productos:not(.orange612-productos--margin) .orange612-productos__carousel-arrow:disabled { opacity: 0; }

/* Grilla con «Carrusel en celular»: en pantallas chicas pasa a una sola fila que se desliza
   con el dedo (ocupa menos alto), con el mismo tamaño que el carrusel y el tercer producto
   asomando para invitar a deslizar. El selector repite la clase para ganar a las columnas. */
@media (max-width: 600px) {
  .orange612-productos.orange612-productos.orange612-productos--mobile-slider .orange612-productos__grid { flex-wrap: nowrap; justify-content: flex-start; gap: 10px; margin: -8px 0 -28px; padding: 8px var(--cite-block-gutter, 20px) 28px !important; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .orange612-productos--mobile-slider .orange612-productos__grid::-webkit-scrollbar { display: none; }
  .orange612-productos.orange612-productos.orange612-productos.orange612-productos--mobile-slider .orange612-productos__grid > .itemProductH,
  .orange612-productos--carousel .orange612-productos__grid > .itemProductH { min-width: 0 !important; flex: 0 0 calc((100vw - var(--cite-block-gutter, 20px) - 20px) / 2.3) !important; scroll-snap-align: start; }
  .orange612-productos.orange612-productos.orange612-productos.orange612-productos--mobile-slider.orange612-productos--columns-1 .orange612-productos__grid > .itemProductH { min-width: 0 !important; flex-basis: 85% !important; }
  .orange612-productos--mobile-slider .orange612-productos__grid::after,
  .orange612-productos--carousel .orange612-productos__grid::after { content: "" !important; display: block !important; flex: 0 0 10px !important; width: 10px !important; min-width: 10px !important; }
}
/* Selector de color: sin color se ve una raya (transparente), como en WordPress; botón para quitarlo. */
.orange612-productos__compact-color-dot.is-empty { background-image: linear-gradient(135deg, transparent 45%, #cc1818 45%, #cc1818 55%, transparent 55%); }
.orange612-productos__color-clear.components-button { width: 100%; justify-content: center; margin-bottom: 12px; }
