/** Shopify CDN: Minification failed

Line 221:19 Unexpected "{"
Line 221:28 Expected ":"
Line 225:24 Unexpected "{"
Line 225:33 Expected ":"
Line 229:22 Unexpected "{"
Line 229:31 Expected ":"
Line 229:38 Unexpected "{"
Line 230:18 Expected identifier but found whitespace
Line 230:20 Unexpected "{"
Line 230:28 Expected ":"
... and 61 more hidden warnings

**/

.editorial-block__media {
  position: relative;
}

.editorial-block__overlay {
  position: relative;
}

.editorial-variant-form {
  position: relative;
}

.variant-selectors-wrapper {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  width: calc(100% - 2rem);
  left: 1rem;
  bottom: 130px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms, visibility 200ms;
  z-index: 10;
}

.editorial-block:hover .variant-selectors-wrapper {
  opacity: 1;
  pointer-events: auto;
}

.variant-selectors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.variant-selectors p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

.variant-option {
  width: 100%;
}

.variant-selectors .swatches {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  justify-content: start;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
  padding-bottom: 8px;
}

.variant-selectors .swatches::-webkit-scrollbar {
  height: 4px;
}

.variant-selectors .swatches::-webkit-scrollbar-track {
  background: transparent;
}

.variant-selectors .swatches::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
}

.variant-selectors .swatches button {
  padding: 8px 12px;
  border: 1px solid rgb(var(--color-button));
  background: white;
  color: rgb(var(--color-button));
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
  border-radius: 4px;
}

.variant-selectors .swatches button.active {
  background: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
}

.variant-selectors .swatches button.disabled {
  color: lightgray;
  border-color: lightgray;
  cursor: not-allowed;
}

.variant-selectors .swatches button.disabled:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - .5px), rgba(128,128,128,.5) calc(50% - .5px), rgba(128,128,128,.5) calc(50% + .5px), transparent calc(50% + .5px));
  pointer-events: none;
}

.btn-add-to-cart {
  padding: 10px 20px;
  margin-top: 1rem;
  border: 1px solid rgb(var(--color-button)) !important;
  background: rgb(var(--color-button)) !important;
  color: rgb(var(--color-button-text)) !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  border-radius: 30px;
  min-width: 150px;
}

@media (max-width: 750px) {
  .btn-add-to-cart {
    font-size: 0.85rem;
  }
}

.btn-add-to-cart:hover:not([disabled]) {
  background: rgba(var(--color-button), 0.85) !important;
}

.btn-add-to-cart[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

span.editorial-block__compare-price {
  text-decoration: line-through;
}

.text-center {
  text-align: center;
}

.btn-view-more-collection {
  display: inline-block;
  margin: 2rem;
  background: black;
  color: white;
  padding: 1rem 5rem;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
}

.gallery-blocks .editorial-block {
  padding: 0.5rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {

  .gallery-blocks h3 {
    min-height: 50px;
}

    /* 1. Ocultamos la imagen normal (cuadrada/desktop) a la fuerza */
  .editorial-block__media .img-normal {
    display: none !important;
  }

  /* 2. Mostramos la imagen alargada (cuadrante) a la fuerza */
  .editorial-block__media .img-cuadrante {
    display: block !important;
  }



  .gallery-blocks > .editorial-block {
    max-width: 50% !important;
    width: 50%;
    flex: 1 1 50% !important;
  }
  
  .variant-selectors-wrapper {
    bottom: 15rem;
    transition: opacity 0.2s, visibility 0.2s;
  }
  
  .editorial-block:hover .variant-selectors-wrapper {
    opacity: 0;
    pointer-events: none;
  }
  
  .editorial-block.active .variant-selectors-wrapper,
  .editorial-block:active .variant-selectors-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}


 .section-gallery-{{ section.id }} .editorial-block__content p {
          margin: 0;
      }

      .section-gallery-{{ section.id }} .editorial-block__content h3 {
          margin: 1rem 0;
      }

    .section-gallery-{{ section.id }} {
      padding-top: {{section.settings.margin_top}}px;
      padding-bottom: {{section.settings.margin_bottom}}px;
    }

    .section-gallery-{{ section.id }} .gallery-blocks {
      display: flex;
      flex-wrap: wrap;
      margin: 0!important;
    }

    .section-gallery-{{ section.id }} .gallery-blocks > [class^="column-"] {
      padding: 0.5rem;
      box-sizing: border-box;
    }

    /* === Tamaños de columnas === */
    .section-gallery-{{ section.id }} .column-quarter {
      flex: 0 0 25%;
      max-width: 25%;
    }

    .section-gallery-{{ section.id }} .column-third {
      flex: 0 0 33.333%;
      max-width: 33.333%;
    }

    .section-gallery-{{ section.id }} .column-half {
      flex: 0 0 50%;
      max-width: 50%;
    }

    .section-gallery-{{ section.id }} .column-two-thirds {
      flex: 0 0 66.666%;
      max-width: 66.666%;
    }

    .section-gallery-{{ section.id }} .column-full {
      flex: 0 0 100%;
      max-width: 100%;
    }

    /* === Productos de colección === */
    .section-gallery-{{ section.id }} .collection-products {
      margin-top: 3rem;
    }

    .section-gallery-{{ section.id }} .collection-products .grid {
      display: grid;
      gap: 1.5rem;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .section-gallery-{{ section.id }} .collection-products .grid--2-col-desktop {
      grid-template-columns: repeat(2, 1fr);
    }

    .section-gallery-{{ section.id }} .collection-products .grid--3-col-desktop {
      grid-template-columns: repeat(3, 1fr);
    }

    .section-gallery-{{ section.id }} .collection-products .grid--4-col-desktop {
      grid-template-columns: repeat(4, 1fr);
    }

    /* === Responsive: Tablet === */
    @media screen and (max-width: 989px) {

      .section-gallery-{{ section.id }} .collection-products .grid--2-col-desktop,
      .section-gallery-{{ section.id }} .collection-products .grid--3-col-desktop,
      .section-gallery-{{ section.id }} .collection-products .grid--4-col-desktop {
        grid-template-columns: repeat(2, 1fr);
      }

      .section-gallery-{{ section.id }} .column-quarter,
      .section-gallery-{{ section.id }} .column-third {
        flex: 0 0 50%;
        max-width: 50%;
      }

      .section-gallery-{{ section.id }} .column-two-thirds {
        flex: 0 0 100%;
        max-width: 100%;
      }
    }

    /* === Responsive: Móvil === */
    @media screen and (max-width: 749px) {
      .section-gallery-{{ section.id }} .collection-products .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      .section-gallery-{{ section.id }} .gallery-blocks {
        flex-direction: inherit;
      }

      .section-gallery-{{ section.id }} .gallery-blocks > [class^="column-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0.5rem;
    box-sizing: border-box;
  }

    }

    /* === Imágenes y videos dentro de bloques === */
    .section-gallery-{{ section.id }} img,
    .section-gallery-{{ section.id }} video {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }

    .section-gallery-{{ section.id }} a {
      display: block;
      text-decoration: none;
      color: inherit;
    }

    .section-gallery-{{ section.id }} a:hover {
      opacity: 0.9;
    }


    .section-gallery-{{ section.id }} #grid-toggle-button {
      color: rgba(var(--color-foreground), 0.85) !important;
      border: none;
      background: transparent;
      cursor: pointer;
      transition: all 0.2s ease;
      gap: 0.6rem;
      min-width: 8rem;
      font-size: 1.3rem;
      display: inline-flex;
      justify-content: center;
      align-items: center;
  }

  .section-gallery-{{ section.id }} .grid-icon {
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  .section-gallery-{{ section.id }} .grid-view-toggle__inner {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 1rem;
      margin-bottom:2rem;
      font-size: 1.4rem;
  }


/* FIX: evitar duplicado de imágenes cuando el toggle está desactivado */
.gallery-blocks .img-cuadrante {
  display: none;
}
.gallery-blocks .img-normal {
  display: block;
}