/*
 * Artbin social disclosure — selected horizontal brand-card direction.
 * Links remain language-specific; this file owns only their presentation.
 */

:root {
  --artbin-social-panel-navy: #071d35;
  --artbin-social-panel-gold: #f4b51b;
  --artbin-social-facebook: #1877f2;
  --artbin-social-youtube: #ff0000;
  --artbin-social-whatsapp: #25d366;
  --artbin-social-tiktok: #111111;
}

@media (min-width: 1400px) {
  html body:not(#artbin-mobile-header-v1-lock) .artbin-desktop-social-anchor > .artbin-social-panel {
    top: calc(100% + 16px) !important;
    width: max-content !important;
    max-width: min(420px, calc(100vw - 28px)) !important;
    overflow: visible !important;
    border: 1px solid transparent !important;
    border-radius: 30px !important;
    background: var(--artbin-social-panel-navy) !important;
    box-shadow: 0 18px 36px rgba(2, 13, 26, 0.34) !important;
  }

  html body:not(#artbin-mobile-header-v1-lock) .artbin-desktop-social-anchor > .artbin-social-panel.artbin-panel-open {
    max-height: 96px !important;
    padding: 15px 22px !important;
    border-color: rgba(244, 181, 27, 0.76) !important;
  }

  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel__caret {
    position: absolute !important;
    top: -13px !important;
    left: 50% !important;
    z-index: 1 !important;
    display: block !important;
    width: 20px !important;
    height: 18px !important;
    margin-left: -10px !important;
    color: var(--artbin-social-panel-gold) !important;
    font-size: 20px !important;
    line-height: 18px !important;
    text-align: center !important;
    text-shadow: 0 -1px 0 var(--artbin-social-panel-navy) !important;
  }

  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner,
  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner > :is(.social-en, .social-es, .social-ru),
  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner .elementor-social-icons-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner .elementor-grid-item {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner :is(.elementor-social-icon, .artbin-panel-social-icon) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 13px !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    transform: translateY(0) scale(1) !important;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease !important;
  }

  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner :is(.elementor-social-icon, .artbin-panel-social-icon) svg,
  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner :is(.elementor-social-icon, .artbin-panel-social-icon) svg * {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    fill: currentColor !important;
    color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner :is(.artbin-panel-social-icon-facebook, .artbin-social-icon-facebook, [aria-label="facebook"]) { background: var(--artbin-social-facebook) !important; }
  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner :is(.artbin-panel-social-icon-youtube, .artbin-social-icon-youtube, [aria-label="youtube"]) { background: var(--artbin-social-youtube) !important; }
  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner :is(.artbin-panel-social-icon-whatsapp, .artbin-social-icon-whatsapp, [aria-label="whatsapp"]) { background: var(--artbin-social-whatsapp) !important; }
  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner :is(.artbin-panel-social-icon-tiktok, .artbin-social-icon-tiktok, [aria-label="tiktok"]) { background: var(--artbin-social-tiktok) !important; }
  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner :is(.artbin-panel-social-icon-instagram, .artbin-social-icon-instagram, [aria-label="instagram"]) { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 48%, #fcb045 100%) !important; }

  html body:not(#artbin-mobile-header-v1-lock) .artbin-social-panel-inner :is(.elementor-social-icon, .artbin-panel-social-icon):is(:hover, :focus-visible) {
    color: #ffffff !important;
    filter: saturate(1.06) brightness(1.05) !important;
    box-shadow: 0 0 0 2px var(--artbin-social-panel-gold), 0 10px 20px rgba(2, 13, 26, 0.38) !important;
    outline: 0 !important;
    transform: translateY(-4px) scale(1.04) !important;
  }
}

/* Compact headers keep social networks in the final navigation row, but use
 * the same readable brand-colour buttons and a restrained hover response. */
@media (max-width: 1399.98px) {
  html body .artbin-mobile-social-row__icons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: visible !important;
  }

  html body .artbin-mobile-social-row__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 9px !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease !important;
  }

  html body .artbin-mobile-social-row__link svg,
  html body .artbin-mobile-social-row__link svg * {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
    fill: currentColor !important;
    color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  html body .artbin-mobile-social-row__link-facebook { background: var(--artbin-social-facebook) !important; }
  html body .artbin-mobile-social-row__link-youtube { background: var(--artbin-social-youtube) !important; }
  html body .artbin-mobile-social-row__link-whatsapp { background: var(--artbin-social-whatsapp) !important; }
  html body .artbin-mobile-social-row__link-tiktok { background: var(--artbin-social-tiktok) !important; }
  html body .artbin-mobile-social-row__link-instagram { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 48%, #fcb045 100%) !important; }

  html body .artbin-mobile-social-row__link:is(:hover, :focus-visible) {
    filter: saturate(1.06) brightness(1.05) !important;
    box-shadow: 0 0 0 2px var(--artbin-social-panel-gold), 0 8px 16px rgba(2, 13, 26, 0.3) !important;
    outline: 0 !important;
    transform: translateY(-3px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .artbin-social-panel-inner :is(.elementor-social-icon, .artbin-panel-social-icon),
  html body .artbin-mobile-social-row__link {
    transition: none !important;
  }
}

/* Header skins ship some unusually specific legacy selectors. Keep this
 * small cascade guard last so the approved treatment stays stable. */
@media (min-width: 1400px) {
  html body:not(#artbin-mobile-header-v1-lock)
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-desktop-social-anchor > .artbin-social-panel {
    top: calc(100% + 16px) !important;
    max-height: 0 !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 30px !important;
    background: #071d35 !important;
    overflow: visible !important;
  }

  html body:not(#artbin-mobile-header-v1-lock)
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-desktop-social-anchor > .artbin-social-panel.artbin-panel-open {
    max-height: 96px !important;
    padding: 15px 22px !important;
    border-color: rgba(244, 181, 27, 0.76) !important;
  }

  html body:not(#artbin-mobile-header-v1-lock)
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-social-panel-inner :is(.elementor-social-icon, .artbin-panel-social-icon) {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 13px !important;
    border: 0 !important;
    color: #ffffff !important;
  }

  html body:not(#artbin-mobile-header-v1-lock)
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-social-panel-inner :is(.artbin-panel-social-icon-facebook, .artbin-social-icon-facebook, [aria-label="facebook"]) { background: #1877f2 !important; }
  html body:not(#artbin-mobile-header-v1-lock)
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-social-panel-inner :is(.artbin-panel-social-icon-youtube, .artbin-social-icon-youtube, [aria-label="youtube"]) { background: #ff0000 !important; }
  html body:not(#artbin-mobile-header-v1-lock)
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-social-panel-inner :is(.artbin-panel-social-icon-whatsapp, .artbin-social-icon-whatsapp, [aria-label="whatsapp"]) { background: #25d366 !important; }
  html body:not(#artbin-mobile-header-v1-lock)
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-social-panel-inner :is(.artbin-panel-social-icon-tiktok, .artbin-social-icon-tiktok, [aria-label="tiktok"]) { background: #111111 !important; }
  html body:not(#artbin-mobile-header-v1-lock)
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-social-panel-inner :is(.artbin-panel-social-icon-instagram, .artbin-social-icon-instagram, [aria-label="instagram"]) { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 48%, #fcb045 100%) !important; }
}

@media (max-width: 1399.98px) {
  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-mobile-social-row__link.artbin-panel-social-icon {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 9px !important;
    border: 0 !important;
    color: #ffffff !important;
  }

  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-mobile-social-row__link.artbin-panel-social-icon-youtube { background: #ff0000 !important; }
  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-mobile-social-row__link.artbin-panel-social-icon-facebook { background: #1877f2 !important; }
  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-mobile-social-row__link.artbin-panel-social-icon-whatsapp { background: #25d366 !important; }
  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-mobile-social-row__link.artbin-panel-social-icon-tiktok { background: #111111 !important; }
  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .artbin-mobile-social-row__link.artbin-panel-social-icon-instagram { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 48%, #fcb045 100%) !important; }

  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .elementor-nav-menu--dropdown.elementor-nav-menu__container
  .artbin-mobile-social-row__link.artbin-panel-social-icon {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 9px !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #ffffff !important;
  }

  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .elementor-nav-menu--dropdown.elementor-nav-menu__container
  .artbin-mobile-social-row__link.artbin-panel-social-icon-youtube { background: #ff0000 !important; }
  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .elementor-nav-menu--dropdown.elementor-nav-menu__container
  .artbin-mobile-social-row__link.artbin-panel-social-icon-facebook { background: #1877f2 !important; }
  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .elementor-nav-menu--dropdown.elementor-nav-menu__container
  .artbin-mobile-social-row__link.artbin-panel-social-icon-whatsapp { background: #25d366 !important; }
  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .elementor-nav-menu--dropdown.elementor-nav-menu__container
  .artbin-mobile-social-row__link.artbin-panel-social-icon-tiktok { background: #111111 !important; }
  html body
  :is(#header-hz-elementor, .elementor-location-header, header.elementor-location-header)
  .elementor-nav-menu--dropdown.elementor-nav-menu__container
  .artbin-mobile-social-row__link.artbin-panel-social-icon-instagram { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 48%, #fcb045 100%) !important; }

  /* The legacy phone menu carries very deep selectors with !important;
   * repeat the component class here to keep the selected brand treatment. */
  html body .artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-panel-social-icon {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 9px !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #ffffff !important;
  }

  html body .artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-panel-social-icon-youtube { background: #ff0000 !important; }
  html body .artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-panel-social-icon-facebook { background: #1877f2 !important; }
  html body .artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-panel-social-icon-whatsapp { background: #25d366 !important; }
  html body .artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-panel-social-icon-tiktok { background: #111111 !important; }
  html body .artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-mobile-social-row__link.artbin-panel-social-icon-instagram { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 48%, #fcb045 100%) !important; }
}
