/** Shopify CDN: Minification failed

Line 262:4 Unexpected "{"
Line 262:5 Expected identifier but found "%"
Line 264:4 Unexpected "{"
Line 264:5 Expected identifier but found "%"
Line 267:4 Unexpected "{"
Line 267:5 Expected identifier but found "%"
Line 269:4 Unexpected "{"
Line 269:5 Expected identifier but found "%"
Line 270:4 Unexpected "{"
Line 270:5 Expected identifier but found "%"
... and 11 more hidden warnings

**/


/* CSS from section stylesheet tags */
/* Visibility controls */
.custom-overlay-section.desktop_only {
  display: block;
}
.custom-overlay-section.mobile_only {
  display: none;
}

@media (max-width: 768px) {
  .custom-overlay-section .overlay-2-text-mobile {
    position: relative !important;  /* ya no absoluto */
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    transform: none !important;     /* quita el translate */
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    background: rgba(0,0,0,0.4); /* opcional: fondo para que se lea mejor */
  }
}


@media (max-width: 768px) {
  .custom-overlay-section.desktop_only {
    display: none;
  }
  .custom-overlay-section.mobile_only {
    display: block;
  }
}
.custom-overlay-section.both {
  display: block;
}

.custom-overlay-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  padding: 60px 20px;
  overflow: hidden;
}

.custom-overlay-section .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height:100%;
  z-index: 0;
  object-fit: cover;
}

.custom-overlay-section .background-image-mobile.full-span-mobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-overlay-section .text-container {
background: rgba(0,0,0,0.4); /* opcional: fondo para que se lea mejor */
  position: absolute;
  z-index: 2;
  max-width: 600px;
  padding: 20px;
  box-sizing: border-box;
}

.custom-overlay-section .text-left { text-align: left; }
.custom-overlay-section .text-center { text-align: center; }
.custom-overlay-section .text-right { text-align: right; }

.custom-overlay-section h2 {
  color: var(--cl, #fff);
  font-size: var(--hfs);
  font-weight: var(--fw);
  line-height: var(--hlh);
  margin-bottom: var(--mbh);
}

.custom-overlay-section p {
  color: var(--cl, #fff);
  font-size: var(--sfs);
  font-weight: var(--fw);
  line-height: var(--slh);
  margin-bottom: var(--mbh);
}

.custom-overlay-section .btn-overlay {
  z-index: 2;
  padding: 10px 25px;
  background: transparent;
  border: 2px solid var(--cl, #fff);
  color: var(--cl, #fff);
  font-size: var(--bfs);
  font-weight: var(--fw);
  line-height: var(--blh);
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.custom-overlay-section .btn-overlay:hover {
  border-color: #ccc;
  color: var(--cl, #fff);
  transform: scale(1.05);
}

.custom-overlay-section .overlay-image-1 {
  position: absolute;
  z-index: 1;
}

.custom-overlay-section .overlay-image-2 {
  position: absolute;
  z-index: 1;
}

.custom-overlay-section .overlay-image-1.rectangular,
.custom-overlay-section .overlay-image-2.rectangular {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-overlay-section .overlay-image-1.shadow,
.custom-overlay-section .overlay-image-2.shadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Horizontal positioning for images */
.overlay-left { left: 20px; }
.overlay-center { left: 50%; transform: translateX(-50%); }
.overlay-right { right: 20px; }

/* Vertical positioning for images */
.overlay-top { top: 20px; }
.overlay-middle { top: 50%; transform: translateY(-50%); }
.overlay-bottom { bottom: 20px; }

/* Combine transforms for center-middle image positioning */
.overlay-center.overlay-middle { transform: translate(-50%, -50%); }

/* Text and button positioning (3x3 grid) */
.text-top-left { top: 20px; left: 20px; }
.text-top-center { top: 20px; left: 50%; transform: translateX(-50%); }
.text-top-right { top: 20px; right: 20px; }
.text-middle-left { top: 50%; left: 20px; transform: translateY(-50%); }
.text-middle-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.text-middle-right { top: 50%; right: 20px; transform: translateY(-50%); }
.text-bottom-left { bottom: 20px; left: 20px; }
.text-bottom-center { bottom: 20px; left: 50%; transform: translateX(-50%); }
.text-bottom-right { bottom: 20px; right: 20px; }

/* Desktop-specific styles */
@media (min-width: 769px) {
  .custom-overlay-section .overlay-image-mobile {
    display: none;
  }
  .custom-overlay-section .background-image-mobile {
    display: none;
  }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .custom-overlay-section {
    min-height: 100vh;

  }

  .custom-overlay-section h2 {
    font-size: var(--hfsm);
    line-height: var(--hlh);
    margin-bottom: var(--mbhm);
  }

  .custom-overlay-section p {
    font-size: var(--sfsm);
    line-height: var(--slh);
    margin-bottom: var(--mbhm);
  }

  .custom-overlay-section .btn-overlay {
    font-size: var(--bfsm);
    line-height: var(--blh);
    padding: 8px 20px;
    border: 1px solid var(--cl, #fff);
  }

  .custom-overlay-section .text-container {
    padding: 10px;
    max-width: 90%;
  }

  .overlay-left { left: 10px; }
  .overlay-center { left: 50%; }
  .overlay-right { right: 10px; }
  .overlay-top { top: 10px; }
  .overlay-middle { top: 50%; }
  .overlay-bottom { bottom: 10px; }
  .overlay-center.overlay-middle { transform: translate(-50%, -50%); }

  .text-top-left { top: 10px; left: 10px; }
  .text-top-center { top: 10px; left: 50%; transform: translateX(-50%); }
  .text-top-right { top: 10px; right: 10px; }
  .text-middle-left { top: 50%; left: 10px; transform: translateY(-50%); }
  .text-middle-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
  .text-middle-right { top: 50%; right: 10px; transform: translateY(-50%); }
  .text-bottom-left { bottom: 10px; left: 10px; }
  .text-bottom-center { bottom: 10px; left: 50%; transform: translateX(-50%); }
  .text-bottom-right { bottom: 10px; right: 10px; }

  .custom-overlay-section .overlay-image-desktop {
    display: none;
  }

  .custom-overlay-section .background-image-desktop {
    display: none;
  }

  .custom-overlay-section .overlay-image-1 {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
  }

  .custom-overlay-section .overlay-image-2 {
    opacity: 0;
    animation: fadeIn 0.5s ease-in 0.5s forwards;
  }

  .custom-overlay-section .overlay-2-text-mobile {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    position: absolute;
    z-index: 2;
    {% if section.settings.overlay_2_position_horizontal == 'left' %}
      left: 10px;
    {% elsif section.settings.overlay_2_position_horizontal == 'center' %}
      left: 50%;
      transform: translateX(-50%);
    {% else %}
      right: 10px;
    {% endif %}
    {% if section.settings.overlay_2_position_vertical == 'top' %}
      top: 10px;
    {% elsif section.settings.overlay_2_position_vertical == 'center' %}
      top: 50%;
      transform: translateY(-50%) {% if section.settings.overlay_2_position_horizontal == 'center' %}translateX(-50%){% endif %};
    {% else %}
      bottom: 10px;
    {% endif %}
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}


@media (min-width: 1024px) {
  .custom-overlay-section {
    min-height: 100vh; /* TAMAÑO */
  }

  .overlay-image-1{
  width: 20%;   /* la imagen ocupará la mitad del ancho del contenedor */
  height: auto;
}



.overlay-image-2{
  width: auto;   
  height: auto;
}

}