/* Popup de Catálogo URL */
.custom-url-popup {
  position: relative;
  background: #fff;
  padding: 40px;
  width: 100%;
  max-width: 650px;
  margin: 20px auto;
  border-radius: 8px;
}

/* Ocultar el botón de cierre por defecto de Magnific Popup */
button.mfp-close {
  display: none !important;
}

/* Botón de cierre personalizado */
.custom-popup-close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: #d9d9d9;
  border: none;
  padding: 0;
  z-index: 10;
  border-radius: 8px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-popup-close-btn:hover {
  background: #bfbfbf;
}

.custom-popup-close-btn::before,
.custom-popup-close-btn::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 2px;
  background: #000;
  border-radius: 1px;
}

.custom-popup-close-btn::before {
  transform: rotate(45deg);
}

.custom-popup-close-btn::after {
  transform: rotate(-45deg);
}

.custom-url-popup__title {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin: 0 0 16px 0;
  text-align: center;
}

.custom-url-popup__description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 24px 0;
  text-align: center;
}

.custom-url-popup__field {
  margin-bottom: 24px;
}

.custom-url-popup__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-bottom: 8px;
  text-align: center;
}

.custom-url-popup__input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: monospace;
  word-wrap: break-word;
  word-break: break-all;
  min-height: 44px;
  line-height: 1.5;
  cursor: text;
  user-select: all;
}

.custom-url-popup__button {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.custom-url-popup__button:hover {
  background: #333;
}

.custom-url-popup__button:active {
  background: #000;
}

.custom-url-popup__button--success {
  background: #4caf50;
}

.custom-url-popup__button--success:hover {
  background: #45a049;
}

/* Overlay de Magnific Popup */
.mfp-bg {
  background: rgba(0, 0, 0, 0.6);
}

.mfp-wrap {
  z-index: 10000;
}

/* Estilos para botón dropshipping mobile */
.btn-drop-mobile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  min-height: 50px;
  gap: .5rem;
  border-radius: 6px;
}

.btn-drop-mobile--active {
  background-color: #000 !important;
  color: #fff !important;
}

.btn-drop-mobile--active .btn-label-drop {
  color: #fff !important;
}

.btn-drop-mobile--active svg,
.btn-drop-mobile--active path {
  fill: #fff !important;
}

.btn-label-drop {
  font-size: 10px;
  text-align: center;
}

/* Ajustes responsivos */
@media (max-width: 1024px) {
  .custom-url-popup {
    padding: 30px 20px;
    margin: 10px;
  }

  .custom-url-popup__title {
    font-size: 20px;
  }

  .custom-url-popup__description {
    font-size: 13px;
  }

  .mfp-auto-cursor .mfp-content {
    padding-right: 20px !important;
  }
}

