/* =====================================================
   LINKCARDS
   HEADER MAESTRO
   Ruta:
   /m/Builder/elements/css/linkcards-header.css
===================================================== */


/* =====================================================
   VARIABLES GENERALES
===================================================== */

:root {
  --lc-header-background: #ffffff;
  --lc-header-text: #111111;
  --lc-header-hover: #6a762d;
  --lc-share-background: #111111;
  --lc-share-color: #ffffff;
  --lc-border-color: #eeeeee;
}


/* =====================================================
   ESTRUCTURA DEL HEADER
===================================================== */

.lc-header-linkcards {
  position: relative;
  z-index: 99999;
  width: 100%;
  background: var(--lc-header-background);
  font-family: Arial, sans-serif;
}

.lc-header-wrap {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 35px;
  padding: 8px 25px 8px 85px;
  background: var(--lc-header-background);
}


/* =====================================================
   ÁREA DE COMPARTIR
===================================================== */

.lc-share-area {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 999999;
  transform: translateY(-50%);
}

.lc-share-btn {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lc-share-background);
  color: var(--lc-share-color);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.lc-share-btn i {
  font-size: 21px;
  line-height: 1;
}

.lc-share-btn:hover,
.lc-share-btn:focus {
  background: var(--lc-header-hover);
  color: #ffffff;
  outline: none;
  transform: scale(1.05);
}


/* =====================================================
   PANEL DESPLEGABLE DE COMPARTIR
===================================================== */

.lc-share-panel {
  position: absolute;
  top: 63px;
  left: 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  visibility: hidden;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

.lc-share-area.lc-share-open .lc-share-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


/* =====================================================
   ICONOS DEL PANEL
===================================================== */

.lc-share-option {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lc-share-background);
  color: var(--lc-share-color);
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.16);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.lc-share-option i {
  font-size: 18px;
  line-height: 1;
}

.lc-share-option:hover,
.lc-share-option:focus {
  background: var(--lc-header-hover);
  color: #ffffff;
  text-decoration: none !important;
  outline: none;
  transform: scale(1.08);
}


/* =====================================================
   COLORES INDIVIDUALES OPCIONALES

   Estos colores solamente aparecen al pasar el cursor.
   Puedes eliminarlos para que todos usen verde.
===================================================== */

.lc-share-whatsapp:hover {
  background: #25d366;
}

.lc-share-facebook:hover {
  background: #1877f2;
}

.lc-share-pinterest:hover {
  background: #e60023;
}

.lc-share-email:hover {
  background: #6a762d;
}

.lc-share-instagram:hover {
  background: #c13584;
}

.lc-share-tiktok:hover {
  background: #111111;
}


/* =====================================================
   LOGO
===================================================== */

.lc-logo-link {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.lc-logo-img {
  display: block;
  width: auto;
  max-width: 420px;
  max-height: 70px;
}


/* =====================================================
   MENÚ PRINCIPAL
===================================================== */

.lc-main-menu {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.lc-main-menu a {
  position: relative;
  color: var(--lc-header-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.lc-main-menu a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  margin: auto;
  background: var(--lc-header-hover);
  content: "";
  transition: width 0.25s ease;
}

.lc-main-menu a:hover {
  color: var(--lc-header-hover);
}

.lc-main-menu a:hover::after {
  width: 100%;
}


/* =====================================================
   BOTÓN MENÚ MÓVIL
===================================================== */

.lc-menu-btn {
  display: none;
  width: 46px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--lc-share-background);
  color: #ffffff;
  cursor: pointer;
}

.lc-menu-btn i {
  font-size: 22px;
  line-height: 1;
}


/* =====================================================
   MENÚ MÓVIL
===================================================== */

.lc-mobile-menu {
  display: none;
  background: var(--lc-header-background);
  text-align: center;
  border-top: 1px solid var(--lc-border-color);
}

.lc-mobile-menu.lc-menu-open {
  display: block;
}

.lc-mobile-menu a {
  display: block;
  padding: 13px;
  color: var(--lc-header-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  border-bottom: 1px solid var(--lc-border-color);
}

.lc-mobile-menu a:hover {
  color: var(--lc-header-hover);
}


/* =====================================================
   MENSAJE: ENLACE COPIADO
===================================================== */

.lc-copy-message {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 9999999;
  visibility: hidden;
  padding: 10px 18px;
  border-radius: 30px;
  background: #111111;
  color: #ffffff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.lc-copy-message.lc-message-show {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

  .lc-header-wrap {
    gap: 20px;
  }

  .lc-main-menu {
    gap: 18px;
  }

  .lc-main-menu a {
    font-size: 12px;
  }

  .lc-logo-img {
    max-width: 300px;
  }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 767px) {

  .lc-header-wrap {
    min-height: 68px;
    justify-content: center;
    gap: 10px;
    padding: 7px 64px;
  }

  .lc-share-area {
    left: 8px;
  }

  .lc-share-btn {
    width: 46px;
    height: 46px;
  }

  .lc-share-btn i {
    font-size: 18px;
  }

  .lc-share-panel {
    top: 54px;
    left: 1px;
    gap: 7px;
  }

  .lc-share-option {
    width: 41px;
    height: 41px;
  }

  .lc-share-option i {
    font-size: 17px;
  }

  .lc-logo-img {
    max-width: 210px;
    max-height: 52px;
  }

  .lc-main-menu {
    display: none;
  }

  .lc-menu-btn {
    position: absolute;
    top: 50%;
    right: 9px;
    display: flex;
    transform: translateY(-50%);
  }

}


/* =====================================================
   CELULARES PEQUEÑOS
===================================================== */

@media (max-width: 380px) {

  .lc-header-wrap {
    padding-right: 58px;
    padding-left: 58px;
  }

  .lc-logo-img {
    max-width: 175px;
  }

}