.file-input-container {
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Oculta por pestaña (Detalles/Multimedia/Precios/Canales y marketing/
   Variaciones/Falabella) — clase propia y separada de "d-none" a propósito:
   varios de estos mismos bloques ya se muestran/ocultan por otra lógica
   (tipo de producto), y no queremos que cambiar de pestaña pise esa otra
   visibilidad ni al revés. */
.tab-producto-oculta {
  display: none !important;
}

/* Barra de pestañas del formulario: línea inferior (estilo Flutter/Material),
   no botones/píldoras — a propósito distinta del bloque "Detalles/Lotes" de
   arriba (ese sí navega a otra página) para que no se confundan. */
.tab-producto-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid #e5e9f2;
}

.tab-producto-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 2px;
  margin-bottom: -1px;
  font-size: 14px;
  font-weight: 600;
  color: #8094ae;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}

.tab-producto-btn:hover,
.tab-producto-btn:focus {
  color: #364a63;
  text-decoration: none;
}

.tab-producto-btn.active {
  color: #7fc6c2;
  border-bottom-color: #7fc6c2;
}

.tab-producto-btn .icon {
  font-size: 16px;
}

    #drop-area,#drop-area-detail {
      cursor: pointer;
      width: 100%;
      height: auto;
      min-height: 100px;
      border: 2px dashed #ccc;
      margin: 20px auto;
      text-align: center;
      padding: 20px;
      border-radius: 10px;
      background: white;
      transition: all .3s;
    }

    #drop-area:hover,#drop-area-detailhover{
      background: #f1f1f1;
    }

    #image-list,#image-list-detail {
      list-style: none;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
    }

    .image-item {
      text-align: center;
      max-width: 152px;
      margin: 5px;
      position: relative;
    }

    .image-item img{
      max-width: 150px;
      border-radius: 5px;
    }

    .delete-button {
      cursor: pointer;
      position: absolute;
      top: 5px;
      right: 5px;
      background-color: #fbe7e6;
      border-radius: 5px;
      color: white;
      border: none;
      padding: 4px 5px 0px 5px;
      cursor: pointer;
      font-size: 16px;
      display: none;
      transition: all .3s;
    }

    .image-item:hover .delete-button {
      display: block;
    }

    /* Bloque por variación (SellerSku + imágenes) — compacto: los SellerSku de
       cada tienda van uno al lado del otro (ver col-6/col-lg-3 en sellersku.js),
       no apilados, para que la caja no crezca tanto de alto por variación. */
    .variation-detail-box {
      border: 1px solid #e5e9f2;
      border-radius: 10px;
      padding: 12px 14px;
      margin-bottom: 12px;
      background: #fbfbfd;
    }

    .variation-detail-box .variation-detail-title {
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 8px;
      color: #364a63;
    }

    .variation-detail-box .form-group {
      margin-bottom: 0;
    }

    .variation-detail-box .form-label {
      margin-bottom: 4px;
      font-size: 12px;
    }

    .drop-area-variation {
      cursor: pointer;
      width: 100%;
      min-height: 80px;
      border: 2px dashed #ccc;
      text-align: center;
      padding: 14px;
      border-radius: 10px;
      background: white;
      transition: all .3s;
      font-size: 13px;
      color: #8094ae;
    }

    .drop-area-variation:hover {
      background: #f1f1f1;
    }

    /* Banco de imágenes (modal de reutilizar imágenes existentes) */
    .media-library-thumb {
      width: 90px;
      height: 90px;
      border: 2px solid transparent;
      border-radius: 6px;
      overflow: hidden;
      cursor: pointer;
      transition: all .2s;
    }

    .media-library-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .media-library-thumb:hover {
      border-color: #c4c9d3;
    }

    .media-library-thumb.selected {
      border-color: #1ee0ac;
      box-shadow: 0 0 0 2px rgba(30, 224, 172, 0.35);
    }

    .image-list-variation {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
    }

    /*image gallery*/

    .image-container {
      display: flex;
      flex-wrap: wrap;
    }

    .image-container img {
      width: 100%;
      height: auto;
      margin: 5px;
    }

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .overlay button {
      background-color: #007bff;
      color: #fff;
      border: none;
      padding: 10px 20px;
      cursor: pointer;
    }

    .image-container:hover .overlay {
      opacity: 1;
    }