/* ============================================================
   MISA eShop Help Center - Global Styles (header + footer)
   Loaded on every page.
   ============================================================ */

/* --- Variables --- */
:root {
  --primary: #5B5EA6;
  --primary-light: #7C7FD9;
  --primary-gradient: linear-gradient(135deg, #5B5EA6, #9B59B6);
  --bg-light: #F5F6FA;
  --text-dark: #2D2D3A;
  --text-gray: #6B7280;
  --card-radius: 12px;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 6px 20px rgba(0,0,0,0.14);
}

/* --- Site header background --- */
.site-header {
  background: url(/help/images/home/bg-header.webp) no-repeat center center !important;
  background-size: cover;
}

/* --- Sticky header --- */
.site-header__banner {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header__banner.is-scrolled {
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  position: fixed;
  width: 100%;
}

.site-header__banner .nav-header > ul > li.menu-item-has-children > a::after,
.site-header__banner .gt-globe-icon svg {
  filter: brightness(0) invert(1);
}

.site-header__banner.is-scrolled .nav-header > ul > li.menu-item-has-children > a::after,
.site-header__banner.is-scrolled .gt-globe-icon svg {
  filter: unset;
}

.site-header__banner.is-scrolled .gt-current-native {
  color: #111827 !important;
}

.site-header__banner.is-scrolled .nav-header ul li a,
.site-header__banner.is-scrolled .site-header__title {
  color: #111827;
}

/* --- Base font stack --- */
.eshop-help-hero,
.eshop-help-tabs,
.eshop-help-content,
.eshop-help-channels,
.eshop-help-bottom-footer {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Channels Footer --- */
.eshop-help-channels {
  background: linear-gradient(180deg, #EEF 42.49%, #E0E1FF 100%);
  padding: 60px 0 60px;
  text-align: center;
}

.eshop-help-channels__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 16px;
}

.eshop-help-channels__contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.eshop-help-channels__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: none;
}

.eshop-help-channels__contact-item:hover {
  color: var(--primary);
}

.eshop-help-channels__contact-icon {
  width: 18px;
  height: 18px;
}

.eshop-help-channels__divider {
  color: var(--text-gray);
  font-size: 18px;
}

.eshop-help-channels__list {
  display: flex;
  justify-content: space-around;
  gap: 48px;
  flex-wrap: wrap;
}

.eshop-help-channels__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
  color: #616CE6;
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: var(--Font-Family-Heading, Inter);
  font-size: var(--Font-Size-Heading-6, 16px);
  font-style: normal;
  font-weight: 500;
  line-height: var(--Line-Height-Heading-6, 24px);
}

.eshop-help-channels__item:hover {
  opacity: 0.75;
  color: #616CE6;
}

.eshop-help-channels__item-icon {
  width: 56px;
  height: 56px;
}

/* --- Bottom Footer --- */
.eshop-help-bottom-footer {
  background: #fff;
  border-top: 1px solid #EBEBF0;
  padding: 18px 0;
}

.eshop-help-bottom-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.eshop-help-bottom-footer__copy {
  font-size: 13px;
  color: var(--text-gray);
}

.eshop-help-bottom-footer__links {
  display: flex;
  gap: 16px;
}

.eshop-help-bottom-footer__links a {
  font-size: 13px;
  color: var(--text-gray);
  text-decoration: none;
}

.eshop-help-bottom-footer__links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.eshop-help-bottom-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eshop-help-bottom-footer__social-icon {
  width: 24px;
  height: 24px;
  display: block;
  transition: opacity 0.2s;
}

.eshop-help-bottom-footer__social-icon:hover {
  opacity: 0.75;
}

/* --- Custom menu colors --- */
.site-header .site-header__title,
.nav-header ul li a {
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .eshop-help-channels__list {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .eshop-help-channels__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 360px;
    margin: 0 auto;
  }

  .eshop-help-bottom-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .eshop-help-bottom-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
