.xgv2-site-page .entry-title,
.xgv2-site-page .page-header {
  display: none !important;
}

.xgv2-site {
  --xg-accent: #f26a3e;
  --xg-text: #1f2933;
  --xg-muted: #667085;
  --xg-border: #e5e7eb;
  --xg-soft: #f7f7f7;
  color: var(--xg-text);
  margin: 0 auto;
  max-width: 1180px;
  padding: 34px 18px 58px;
}

.xgv2-site *,
.xgv2-site *::before,
.xgv2-site *::after {
  box-sizing: border-box;
}

.xgv2-site img,
.xgv2-site video,
.xgv2-site canvas,
.xgv2-site svg {
  height: auto;
  max-width: 100%;
}

.xgv2-site button,
.xgv2-site input,
.xgv2-site select,
.xgv2-site textarea {
  max-width: 100%;
}

.xgv2-site__header {
  border-bottom: 1px solid var(--xg-border);
  margin-bottom: 26px;
  padding-bottom: 18px;
}

.xgv2-site__eyebrow {
  color: var(--xg-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.xgv2-site h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0;
}

.xgv2-site__language {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.xgv2-site__lang {
  align-items: center;
  color: var(--xg-text);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  text-decoration: none;
}

.xgv2-site__lang:not(.is-current) {
  opacity: .62;
}

.xgv2-site__body {
  background: #fff;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.xgv2-site__body table,
.xgv2-site__body iframe,
.xgv2-site__body .elementor,
.xgv2-site__body .elementor-section,
.xgv2-site__body .elementor-container,
.xgv2-site__body .elementor-widget-container,
.xgv2-site__body .wpforms-container,
.xgv2-site__body .tinv-wishlist {
  max-width: 100%;
}

.xgv2-site__body table {
  width: 100%;
}

.xgv2-site__body iframe {
  display: block;
}

.xgv2-site__body > :first-child {
  margin-top: 0;
}

.xgv2-site__body h2,
.xgv2-site__body h3 {
  color: #151515;
  line-height: 1.28;
}

.xgv2-site__body p,
.xgv2-site__body li {
  line-height: 1.78;
}

.xgv2-site--standard .xgv2-site__body {
  font-size: 16px;
}

.xgv2-site--policy {
  max-width: 980px;
}

.xgv2-site--policy .xgv2-site__body {
  border: 1px solid var(--xg-border);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(18, 20, 23, .05);
  padding: 30px;
}

.xgv2-site--functional .xgv2-site__body {
  min-height: 320px;
}

.xgv2-site--contact {
  max-width: 1240px;
}

.xgv2-site--wallet-topup .xgv2-site__body a,
.xgv2-site--wallet-topup-success .xgv2-site__body a,
.xgv2-site--product-payment .xgv2-site__body a,
.xgv2-site--product-payment-success .xgv2-site__body a {
  align-items: center;
  background: var(--xg-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  margin-top: 14px;
  min-height: 44px;
  padding: 0 24px;
  text-decoration: none;
}

.xgv2-site--wishlist .tinv-wishlist,
.xgv2-site--register form,
.xgv2-site--contact .wpforms-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}

@media (max-width: 768px) {
  .xgv2-site {
    max-width: 100%;
    overflow-x: hidden;
    padding: 24px 14px 44px;
  }

  .xgv2-site h1 {
    font-size: 28px;
  }

  .xgv2-site--policy .xgv2-site__body {
    border-radius: 8px;
    padding: 20px;
  }

  .xgv2-site__language {
    font-size: 14px;
    gap: 10px 14px;
  }

  .xgv2-site__body h2 {
    font-size: 23px;
  }

  .xgv2-site__body h3 {
    font-size: 19px;
  }

  .xgv2-site__body p,
  .xgv2-site__body li {
    line-height: 1.72;
  }

  .xgv2-site--wishlist .tinv-wishlist {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .xgv2-site--wishlist .tinvwl-table-manage-list {
    min-width: 640px;
  }

  .xgv2-site--contact .wpforms-container,
  .xgv2-site--register form {
    max-width: 100%;
  }

  .xgv2-site--wallet-topup .xgv2-site__body a,
  .xgv2-site--wallet-topup-success .xgv2-site__body a,
  .xgv2-site--product-payment .xgv2-site__body a,
  .xgv2-site--product-payment-success .xgv2-site__body a {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .xgv2-site {
    padding-left: 12px;
    padding-right: 12px;
  }

  .xgv2-site h1 {
    font-size: 25px;
  }

  .xgv2-site--policy .xgv2-site__body {
    padding: 16px;
  }
}

/* Global v2 language dropdown. */
.xgv2-site__language.xgv2-site__language--dropdown {
  display: inline-block;
  margin: 16px 0 0;
  position: relative;
  z-index: 80;
}

.xgv2-site__language-trigger {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(18, 20, 23, .08);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(18, 20, 23, .07);
  color: #1f2933;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 10px;
  line-height: 1;
  min-height: 38px;
  padding: 7px 12px 7px 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
  user-select: none;
}

.xgv2-site__language-trigger::-webkit-details-marker {
  display: none;
}

.xgv2-site__language-trigger::marker {
  content: "";
}

.xgv2-site__language-trigger:hover,
.xgv2-site__language[open] .xgv2-site__language-trigger {
  border-color: rgba(242, 106, 62, .28);
  box-shadow: 0 16px 34px rgba(242, 106, 62, .12);
}

.xgv2-site__language-current {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  white-space: nowrap;
}

.xgv2-site__language-trigger i {
  border-bottom: 2px solid #f26a3e;
  border-right: 2px solid #f26a3e;
  display: block;
  height: 8px;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
  width: 8px;
}

.xgv2-site__language[open] .xgv2-site__language-trigger i {
  transform: translateY(2px) rotate(225deg);
}

.xgv2-site__language-menu {
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(18, 20, 23, .08);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(18, 20, 23, .12);
  display: grid;
  gap: 4px;
  left: 0;
  margin-top: 8px;
  min-width: 170px;
  padding: 7px;
  position: absolute;
  top: 100%;
}

.xgv2-site__language .xgv2-site__lang {
  align-items: center;
  border-radius: 10px;
  color: #475467;
  display: flex;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
  min-height: 38px;
  padding: 9px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.xgv2-site__language .xgv2-site__lang:hover,
.xgv2-site__language .xgv2-site__lang.is-current {
  background: rgba(242, 106, 62, .10);
  color: #151515;
}

@media (max-width: 640px) {
  .xgv2-site__language.xgv2-site__language--dropdown {
    display: block;
    width: 100%;
  }

  .xgv2-site__language-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .xgv2-site__language-menu {
    left: 0;
    min-width: 100%;
    right: 0;
  }
}

/* Header language switcher: single global control. */
.xgv2-language--dropdown,
.xgv2-site__language--dropdown,
.xg-v2-woo__language--dropdown {
  display: none !important;
}

.site-header,
.site-header-inner,
.site-header-inner .woostify-container,
.site-tools {
  overflow: visible !important;
}

.site-tools {
  align-items: center;
}

.xgv2-global-language {
  display: inline-block;
  flex: 0 0 auto;
  margin-left: 42px;
  order: 999;
  position: relative;
  z-index: 100000;
}

.xgv2-global-language::before {
  background: linear-gradient(180deg, rgba(242, 106, 62, 0), rgba(242, 106, 62, .28), rgba(242, 106, 62, 0));
  content: "";
  height: 28px;
  left: -22px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

.xgv2-global-language__trigger {
  align-items: center;
  background: linear-gradient(180deg, #fff, #fff8f5);
  border: 1px solid rgba(242, 106, 62, .18);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(18, 20, 23, .06), inset 0 1px 0 rgba(255, 255, 255, .9);
  color: #1f2933;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 10px;
  line-height: 1;
  min-height: 38px;
  padding: 8px 13px 8px 14px;
  position: relative;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
  user-select: none;
  white-space: nowrap;
}

.xgv2-global-language__trigger::-webkit-details-marker {
  display: none;
}

.xgv2-global-language__trigger::marker {
  content: "";
}

.xgv2-global-language__trigger:hover,
.xgv2-global-language[open] .xgv2-global-language__trigger {
  background: linear-gradient(180deg, #fff, #fff2ec);
  border-color: rgba(242, 106, 62, .36);
  box-shadow: 0 16px 34px rgba(242, 106, 62, .16), inset 0 1px 0 rgba(255, 255, 255, .95);
  transform: translateY(-1px);
}

.xgv2-global-language__current {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.xgv2-global-language__trigger i {
  border-bottom: 2px solid #f26a3e;
  border-right: 2px solid #f26a3e;
  display: block;
  height: 8px;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
  width: 8px;
}

.xgv2-global-language[open] .xgv2-global-language__trigger i {
  transform: translateY(2px) rotate(225deg);
}

.xgv2-global-language__menu {
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(242, 106, 62, .16);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(18, 20, 23, .16), 0 0 0 1px rgba(255, 255, 255, .75) inset;
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
  min-width: 190px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 100001;
}

.xgv2-global-language[open] .xgv2-global-language__menu {
  display: flex;
}

.xgv2-global-language__menu::before {
  background: rgba(255, 255, 255, .98);
  border-left: 1px solid rgba(242, 106, 62, .16);
  border-top: 1px solid rgba(242, 106, 62, .16);
  content: "";
  height: 10px;
  position: absolute;
  right: 22px;
  top: -6px;
  transform: rotate(45deg);
  width: 10px;
}

.xgv2-global-language__item {
  align-items: center;
  border-radius: 10px;
  color: #475467;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  min-height: 38px;
  padding: 9px 10px;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, transform .16s ease;
  white-space: nowrap;
  width: 100%;
}

.xgv2-global-language__item:hover,
.xgv2-global-language__item.is-current {
  background: rgba(242, 106, 62, .10);
  color: #151515;
}

.xgv2-global-language__item:hover {
  transform: translateX(2px);
}

@media (max-width: 991px) {
  .xgv2-global-language {
    margin-left: 24px;
  }

  .xgv2-global-language::before {
    left: -13px;
  }

  .xgv2-global-language__trigger {
    min-height: 32px;
    padding: 6px 10px;
  }

  .xgv2-global-language__current span {
    display: none;
  }
}
