﻿.xg-v2-woo {
  --xg-accent: #f26a3e;
  --xg-text: #1f2933;
  --xg-muted: #667085;
  --xg-border: #e5e7eb;
  --xg-surface: #ffffff;
  color: var(--xg-text);
  margin: 0 auto;
  max-width: 1180px;
  padding: 32px 18px 56px;
}

/* Account and registration polish, applied after legacy rules. */
.xg-v2-woo__language {
  align-items: center;
  border-bottom: 1px solid rgba(18, 20, 23, .08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 16px;
}

.xg-v2-woo__lang {
  align-items: center;
  border-radius: 999px;
  color: #667085;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 7px;
  padding: 7px 10px;
  text-decoration: none;
}

.xg-v2-woo__lang.is-current,
.xg-v2-woo__lang:hover {
  background: rgba(242, 106, 62, .08);
  color: #151515;
}

.xg-v2-woo--my-account .woocommerce {
  gap: 24px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation {
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(18, 20, 23, .07);
  padding: 12px;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar {
  background: radial-gradient(circle at 50% 0, rgba(242,106,62,.10), transparent 60%), #fff;
  border: 1px solid rgba(18,20,23,.08);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(18,20,23,.06);
  margin: 0 0 12px;
  padding: 18px 14px;
  text-align: center;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__avatar-wrapper {
  display: inline-block;
  margin: 0 auto 10px;
  position: relative;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__avatar,
.xg-v2-woo--my-account .woocommerce-account-gravatar img.avatar {
  border: 4px solid rgba(242,106,62,.18);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(18,20,23,.10);
  display: block;
  height: 96px !important;
  object-fit: cover;
  width: 96px !important;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__edit-wrapper {
  bottom: -4px;
  position: absolute;
  right: -4px;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__edit {
  align-items: center;
  background: var(--xg-accent);
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-size: 0;
  height: 30px;
  justify-content: center;
  text-decoration: none;
  width: 30px;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__edit::before {
  background: #fff;
  content: "";
  display: block;
  height: 13px;
  mask: linear-gradient(#000 0 0);
  width: 13px;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__display-name {
  color: #151515;
  display: block;
  font-size: 15px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a {
  border-radius: 13px;
  min-height: 48px;
  position: relative;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a::before {
  background: rgba(242, 106, 62, .11);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(242, 106, 62, .10);
  content: "" !important;
  position: relative;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a::after {
  background: currentColor;
  content: "";
  height: 10px;
  left: 22px;
  opacity: .72;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--dashboard a::after { border-radius: 50%; box-shadow: 0 0 0 4px rgba(242,106,62,.13); }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--orders a::after { border-radius: 2px; height: 12px; width: 9px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--downloads a::after { clip-path: polygon(40% 0,60% 0,60% 48%,100% 48%,50% 100%,0 48%,40% 48%); height: 13px; width: 13px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--edit-address a::after { border-radius: 50% 50% 50% 0; height: 12px; transform: translateY(-58%) rotate(-45deg); width: 12px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--woo-wallet a::after { border-radius: 3px; height: 10px; width: 14px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--edit-account a::after { border-radius: 50% 50% 45% 45%; height: 13px; width: 11px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--customer-logout a::after { clip-path: polygon(0 0,100% 50%,0 100%,18% 52%); height: 13px; width: 13px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="wishlist"]::after,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="%e5%bf%83"]::after { clip-path: polygon(50% 92%,8% 46%,8% 20%,24% 6%,44% 13%,50% 25%,56% 13%,76% 6%,92% 20%,92% 46%); height: 13px; width: 13px; }

.xg-v2-account-hub {
  background: radial-gradient(circle at 0 0, rgba(242, 106, 62, .10), transparent 34%), #fff;
  border-radius: 18px;
  padding: 22px;
}

.xg-v2-account-hub__grid {
  grid-template-columns: repeat(4, minmax(138px, 1fr));
}

.xg-v2-account-card {
  border-radius: 16px;
  min-height: 136px;
  padding: 18px;
}

.xg-v2-account-card__icon {
  align-items: center;
  background: rgba(242, 106, 62, .11);
  border-radius: 14px;
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.xg-v2-account-card__icon::after {
  content: "" !important;
}

.xg-v2-account-card__icon::before {
  background: var(--xg-accent);
  content: "";
  display: block;
  height: 18px;
  width: 18px;
}

.xg-v2-account-card--orders .xg-v2-account-card__icon::before { border-radius: 3px; box-shadow: inset 0 -5px 0 rgba(255,255,255,.55); }
.xg-v2-account-card--wallet .xg-v2-account-card__icon::before { border-radius: 4px; height: 14px; width: 20px; }
.xg-v2-account-card--wishlist .xg-v2-account-card__icon::before { clip-path: polygon(50% 92%,8% 46%,8% 20%,24% 6%,44% 13%,50% 25%,56% 13%,76% 6%,92% 20%,92% 46%); }
.xg-v2-account-card--account .xg-v2-account-card__icon::before { border-radius: 50% 50% 45% 45%; height: 20px; width: 16px; }

.xg-account-profile-card {
  align-items: center;
  background: linear-gradient(180deg, #fff, rgba(242,106,62,.025));
  border: 1px solid rgba(18,20,23,.08);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(18,20,23,.07);
  display: flex;
  gap: 18px;
  margin: 0 0 22px;
  padding: 18px;
}

.xg-account-profile-card__avatar {
  flex: 0 0 86px;
  height: 86px;
}

.xg-account-profile-card__avatar img {
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(18,20,23,.10);
  display: block;
  height: 86px;
  object-fit: cover;
  width: 86px;
}

.xg-account-profile-card h3 {
  color: #151515;
  font-size: 20px;
  margin: 0 0 6px;
}

.xg-account-profile-card p {
  color: #667085;
  margin: 0 0 12px;
}

.xg-account-avatar-upload span {
  background: var(--xg-accent);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  padding: 9px 15px;
}

.xg-account-avatar-upload input {
  display: none;
}

.xg-register-card {
  background: radial-gradient(circle at 0 0, rgba(242,106,62,.12), transparent 34%), #fff;
  border: 1px solid rgba(18,20,23,.08);
  border-radius: 20px;
  box-shadow: 0 22px 54px rgba(18,20,23,.09);
  margin: 0 auto;
  max-width: 920px;
  padding: 26px;
}

.xg-register-card__head {
  margin-bottom: 22px;
}

.xg-register-card__head p {
  color: var(--xg-accent);
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 7px;
}

.xg-register-card__head h2 {
  color: #151515;
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.xg-register-card__head span,
.xg-register-avatar label span,
.xg-register-success span {
  color: #667085;
  display: block;
  line-height: 1.6;
}

.xg-register-avatar {
  align-items: center;
  background: rgba(248,250,252,.9);
  border: 1px solid rgba(18,20,23,.07);
  border-radius: 18px;
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
  padding: 16px;
}

.xg-register-avatar__preview {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(18,20,23,.08);
  border-radius: 50%;
  display: flex;
  flex: 0 0 88px;
  height: 88px;
  justify-content: center;
  overflow: hidden;
  width: 88px;
}

.xg-register-avatar__preview span {
  color: #98a2b3;
  font-weight: 900;
}

.xg-register-avatar__preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.xg-register-avatar input {
  display: block;
  margin-top: 10px;
}

.xg-register-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xg-register-field span {
  color: #151515;
  display: block;
  font-weight: 900;
  margin-bottom: 7px;
}

.xg-register-field input,
.xg-register-field select {
  background: #fff;
  border: 1px solid #e7e9ed;
  border-radius: 13px;
  min-height: 48px;
  padding: 10px 13px;
  width: 100%;
}

.xg-register-field input:focus,
.xg-register-field select:focus {
  border-color: rgba(242,106,62,.62);
  box-shadow: 0 0 0 4px rgba(242,106,62,.10);
  outline: none;
}

.xg-register-agree {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.xg-register-button {
  align-items: center;
  background: var(--xg-accent);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(242,106,62,.24);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  text-decoration: none;
}

.xg-register-errors,
.xg-register-success {
  border-radius: 14px;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.xg-register-errors {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

.xg-register-errors p {
  margin: 0 0 5px;
}

.xg-register-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

@media (max-width: 768px) {
  .xg-v2-woo--my-account .woocommerce,
  .xg-register-grid {
    grid-template-columns: 1fr;
  }

  .xg-v2-account-hub__grid {
    grid-template-columns: 1fr 1fr;
  }

  .xg-register-card {
    padding: 18px;
  }

  .xg-register-avatar,
  .xg-account-profile-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

.xg-v2-woo *,
.xg-v2-woo *::before,
.xg-v2-woo *::after {
  box-sizing: border-box;
}

.xg-v2-woo img,
.xg-v2-woo video,
.xg-v2-woo canvas,
.xg-v2-woo svg {
  max-width: 100%;
}

.xg-v2-woo__header {
  border-bottom: 1px solid var(--xg-border);
  margin-bottom: 24px;
  padding-bottom: 18px;
}

.xg-v2-woo__eyebrow {
  color: var(--xg-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.xg-v2-woo h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0;
}

.xg-v2-woo__language {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.xg-v2-woo__lang {
  align-items: center;
  color: var(--xg-text);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  text-decoration: none;
}

.xg-v2-woo__lang:not(.is-current) {
  opacity: .62;
}

.xg-v2-woo__body {
  background: var(--xg-surface);
}

.xg-v2-woo__body table,
.xg-v2-woo__body iframe,
.xg-v2-woo__body .wp-block-woocommerce-cart,
.xg-v2-woo__body .wp-block-woocommerce-checkout,
.xg-v2-woo__body .wc-block-components-sidebar-layout,
.xg-v2-woo__body .woocommerce,
.xg-v2-woo__body .tinv-wishlist {
  max-width: 100%;
}

.xg-v2-woo__body table {
  width: 100%;
}

.xg-v2-woo__body a,
.xg-v2-woo__body button,
.xg-v2-woo__body input,
.xg-v2-woo__body select,
.xg-v2-woo__body textarea {
  max-width: 100%;
}

.xg-v2-shop-tools {
  align-items: center;
  border-bottom: 1px solid var(--xg-border);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
}

.xg-v2-shop-tools .woocommerce-result-count,
.xg-v2-shop-tools .woocommerce-ordering {
  margin: 0;
}

.xg-v2-woo ul.products {
  margin-top: 0;
}

.xg-v2-pagination {
  margin-top: 26px;
  text-align: center;
}

.xg-v2-pagination .page-numbers {
  border: 1px solid var(--xg-border);
  color: var(--xg-text);
  display: inline-flex;
  line-height: 1;
  margin: 0 3px;
  min-width: 36px;
  padding: 10px 12px;
  place-content: center;
  text-decoration: none;
}

.xg-v2-pagination .page-numbers.current {
  background: var(--xg-accent);
  border-color: var(--xg-accent);
  color: #ffffff;
}

.xg-v2-woo--cart .wc-block-cart,
.xg-v2-woo--checkout .wc-block-checkout,
.xg-v2-woo--my-account .woocommerce {
  margin-left: auto;
  margin-right: auto;
  max-width: 1080px;
}

.xg-v2-woo--my-account .woocommerce {
  align-items: flex-start;
  display: grid;
  gap: 30px;
  grid-template-columns: 250px minmax(0, 1fr);
}

.xg-v2-woo--my-account .woocommerce::before,
.xg-v2-woo--my-account .woocommerce::after {
  content: none;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1px solid rgba(18, 20, 23, .08);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(18, 20, 23, .06);
  margin: 0 !important;
  overflow: hidden;
  padding: 10px;
  width: 100%;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
  display: block !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a {
  align-items: center;
  border-radius: 10px;
  color: #222;
  display: flex;
  font-weight: 800;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a::before {
  align-items: center;
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 9px;
  color: var(--xg-accent);
  content: "";
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--dashboard a::before { content: "DB"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--orders a::before { content: "OR"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--downloads a::before { content: "DL"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--edit-address a::before { content: "AD"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--woo-wallet a::before { content: "$"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--edit-account a::before { content: "AC"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "EX"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="wishlist"]::before,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="%e5%bf%83"]::before { content: "WL"; }

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.is-active a,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a:hover {
  background: rgba(242, 106, 62, .10);
  color: var(--xg-accent);
  transform: translateX(2px);
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.is-active a::before,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a:hover::before {
  background: var(--xg-accent);
  border-color: var(--xg-accent);
  color: #fff;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-content {
  min-width: 0;
  width: 100%;
}

.xg-v2-woo--my-account .woocommerce-notices-wrapper,
.xg-v2-woo--my-account .woocommerce > h2 {
  grid-column: 1 / -1;
}

.xg-v2-woo--my-account .woocommerce-form-login,
.xg-v2-woo--my-account .woocommerce-form-register,
.xg-v2-woo--my-account form.login,
.xg-v2-woo--my-account form.register {
  background: linear-gradient(180deg, #fff, rgba(242, 106, 62, .025));
  border: 1px solid rgba(18, 20, 23, .08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(18, 20, 23, .06);
  margin: 0 0 24px;
  padding: 22px;
}

.xg-v2-woo--my-account .woocommerce-form-login .form-row,
.xg-v2-woo--my-account .woocommerce-form-register .form-row,
.xg-v2-woo--my-account form.login .form-row,
.xg-v2-woo--my-account form.register .form-row {
  margin-bottom: 16px;
}

.xg-v2-woo--my-account .woocommerce-form-login label,
.xg-v2-woo--my-account .woocommerce-form-register label,
.xg-v2-woo--my-account form.login label,
.xg-v2-woo--my-account form.register label {
  color: #151515;
  font-weight: 800;
}

.xg-v2-woo--my-account .woocommerce-form-login input.input-text,
.xg-v2-woo--my-account .woocommerce-form-register input.input-text,
.xg-v2-woo--my-account form.login input.input-text,
.xg-v2-woo--my-account form.register input.input-text {
  border: 1px solid #e7e9ed;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 13px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.xg-v2-woo--my-account .woocommerce-form-login input.input-text:focus,
.xg-v2-woo--my-account .woocommerce-form-register input.input-text:focus,
.xg-v2-woo--my-account form.login input.input-text:focus,
.xg-v2-woo--my-account form.register input.input-text:focus {
  border-color: rgba(242, 106, 62, .62);
  box-shadow: 0 0 0 4px rgba(242, 106, 62, .10);
  outline: none;
}

.xg-v2-woo--my-account .woocommerce-form-login .button,
.xg-v2-woo--my-account .woocommerce-form-register .button,
.xg-v2-woo--my-account form.login .button,
.xg-v2-woo--my-account form.register .button {
  background: var(--xg-accent) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 24px rgba(242, 106, 62, .22);
  color: #fff !important;
  font-weight: 900;
  min-height: 44px;
  padding: 0 24px !important;
  transition: box-shadow .18s ease, transform .18s ease;
}

.xg-v2-woo--my-account .woocommerce-form-login .button:hover,
.xg-v2-woo--my-account .woocommerce-form-register .button:hover,
.xg-v2-woo--my-account form.login .button:hover,
.xg-v2-woo--my-account form.register .button:hover {
  box-shadow: 0 16px 30px rgba(242, 106, 62, .30);
  transform: translateY(-1px);
}

.xg-v2-account-hub {
  background: linear-gradient(180deg, #fff, rgba(242, 106, 62, .025));
  border: 1px solid rgba(18, 20, 23, .08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(18, 20, 23, .06);
  margin: 0 0 22px;
  padding: 20px;
}

.xg-v2-account-hub__head {
  margin-bottom: 16px;
}

.xg-v2-account-hub__head h2 {
  color: #151515;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.xg-v2-account-hub__head p {
  color: var(--xg-muted);
  margin: 0;
}

.xg-v2-account-hub__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xg-v2-account-card {
  background: #fff;
  border: 1px solid #edf0f3;
  border-radius: 13px;
  color: #1f2933;
  display: grid;
  gap: 7px;
  min-height: 124px;
  padding: 16px;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.xg-v2-account-card:hover {
  border-color: rgba(242, 106, 62, .34);
  box-shadow: 0 12px 26px rgba(242, 106, 62, .12);
  transform: translateY(-2px);
}

.xg-v2-account-card__icon {
  background: rgba(242, 106, 62, .12);
  border-radius: 12px;
  height: 36px;
  position: relative;
  width: 36px;
}

.xg-v2-account-card__icon::after {
  color: var(--xg-accent);
  content: ">";
  font-size: 18px;
  font-weight: 900;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.xg-v2-account-card--orders .xg-v2-account-card__icon::after { content: "OR"; }
.xg-v2-account-card--wallet .xg-v2-account-card__icon::after { content: "$"; }
.xg-v2-account-card--wishlist .xg-v2-account-card__icon::after { content: "WL"; }
.xg-v2-account-card--account .xg-v2-account-card__icon::after { content: "AC"; }

.xg-v2-account-card span:not(.xg-v2-account-card__icon) {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.xg-v2-account-card strong {
  color: #151515;
  font-size: 20px;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .xg-v2-woo {
    max-width: 100%;
    overflow-x: hidden;
    padding: 24px 14px 42px;
  }

  .xg-v2-woo h1 {
    font-size: 28px;
  }

  .xg-v2-shop-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .xg-v2-woo__language {
    font-size: 14px;
    gap: 10px 14px;
  }

  .xg-v2-woo ul.products {
    display: grid !important;
    gap: 16px !important;
    grid-template-columns: 1fr !important;
  }

  .xg-v2-woo ul.products li.product {
    margin: 0 !important;
    width: 100% !important;
  }

  .xg-v2-woo--cart .wc-block-cart,
  .xg-v2-woo--checkout .wc-block-checkout,
  .xg-v2-woo--my-account .woocommerce {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .xg-v2-woo--my-account .woocommerce {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .xg-v2-woo--my-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr 1fr;
  }

  .xg-v2-woo--my-account .woocommerce-MyAccount-navigation a {
    font-size: 14px;
    min-height: 44px;
    padding: 9px 10px;
  }

  .xg-v2-account-hub {
    border-radius: 13px;
    padding: 16px;
  }

  .xg-v2-account-hub__grid {
    grid-template-columns: 1fr 1fr;
  }

  .xg-v2-woo .woocommerce table.shop_table,
  .xg-v2-woo .woocommerce table.my_account_orders {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .xg-v2-woo .woocommerce a.button,
  .xg-v2-woo .woocommerce button.button,
  .xg-v2-woo .woocommerce input.button,
  .xg-v2-woo .wc-block-components-button {
    white-space: normal;
  }

  .xg-v2-pagination .page-numbers {
    margin-bottom: 6px;
    min-width: 34px;
    padding: 9px 10px;
  }
}

@media (max-width: 420px) {
  .xg-v2-woo {
    padding-left: 12px;
    padding-right: 12px;
  }

  .xg-v2-woo h1 {
    font-size: 25px;
  }

  .xg-v2-woo__header {
    margin-bottom: 18px;
  }

  .xg-v2-woo--my-account .woocommerce-MyAccount-navigation ul,
  .xg-v2-account-hub__grid {
    grid-template-columns: 1fr;
  }
}

/* Account and registration polish, applied after legacy rules. */
.xg-v2-woo__language {
  align-items: center;
  border-bottom: 1px solid rgba(18, 20, 23, .08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 16px;
}

.xg-v2-woo__lang {
  align-items: center;
  border-radius: 999px;
  color: #667085;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 7px;
  padding: 7px 10px;
  text-decoration: none;
}

.xg-v2-woo__lang.is-current,
.xg-v2-woo__lang:hover {
  background: rgba(242, 106, 62, .08);
  color: #151515;
}

.xg-v2-woo--my-account .woocommerce {
  gap: 24px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation {
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(18, 20, 23, .07);
  padding: 12px;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a {
  border-radius: 13px;
  min-height: 48px;
  position: relative;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a::before {
  background: rgba(242, 106, 62, .11);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(242, 106, 62, .10);
  content: "" !important;
  position: relative;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a::after {
  background: currentColor;
  content: "";
  height: 10px;
  left: 22px;
  opacity: .72;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--dashboard a::after { border-radius: 50%; box-shadow: 0 0 0 4px rgba(242,106,62,.13); }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--orders a::after { border-radius: 2px; height: 12px; width: 9px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--downloads a::after { clip-path: polygon(40% 0,60% 0,60% 48%,100% 48%,50% 100%,0 48%,40% 48%); height: 13px; width: 13px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--edit-address a::after { border-radius: 50% 50% 50% 0; height: 12px; transform: translateY(-58%) rotate(-45deg); width: 12px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--woo-wallet a::after { border-radius: 3px; height: 10px; width: 14px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--edit-account a::after { border-radius: 50% 50% 45% 45%; height: 13px; width: 11px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--customer-logout a::after { clip-path: polygon(0 0,100% 50%,0 100%,18% 52%); height: 13px; width: 13px; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="wishlist"]::after,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="%e5%bf%83"]::after { clip-path: polygon(50% 92%,8% 46%,8% 20%,24% 6%,44% 13%,50% 25%,56% 13%,76% 6%,92% 20%,92% 46%); height: 13px; width: 13px; }

.xg-v2-account-hub {
  background: radial-gradient(circle at 0 0, rgba(242, 106, 62, .10), transparent 34%), #fff;
  border-radius: 18px;
  padding: 22px;
}

.xg-v2-account-hub__grid {
  grid-template-columns: repeat(4, minmax(138px, 1fr));
}

.xg-v2-account-card {
  border-radius: 16px;
  min-height: 136px;
  padding: 18px;
}

.xg-v2-account-card__icon {
  align-items: center;
  background: rgba(242, 106, 62, .11);
  border-radius: 14px;
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.xg-v2-account-card__icon::after {
  content: "" !important;
}

.xg-v2-account-card__icon::before {
  background: var(--xg-accent);
  content: "";
  display: block;
  height: 18px;
  width: 18px;
}

.xg-v2-account-card--orders .xg-v2-account-card__icon::before { border-radius: 3px; box-shadow: inset 0 -5px 0 rgba(255,255,255,.55); }
.xg-v2-account-card--wallet .xg-v2-account-card__icon::before { border-radius: 4px; height: 14px; width: 20px; }
.xg-v2-account-card--wishlist .xg-v2-account-card__icon::before { clip-path: polygon(50% 92%,8% 46%,8% 20%,24% 6%,44% 13%,50% 25%,56% 13%,76% 6%,92% 20%,92% 46%); }
.xg-v2-account-card--account .xg-v2-account-card__icon::before { border-radius: 50% 50% 45% 45%; height: 20px; width: 16px; }

.xg-account-profile-card {
  align-items: center;
  background: linear-gradient(180deg, #fff, rgba(242,106,62,.025));
  border: 1px solid rgba(18,20,23,.08);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(18,20,23,.07);
  display: flex;
  gap: 18px;
  margin: 0 0 22px;
  padding: 18px;
}

.xg-account-profile-card__avatar {
  flex: 0 0 86px;
  height: 86px;
}

.xg-account-profile-card__avatar img {
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(18,20,23,.10);
  display: block;
  height: 86px;
  object-fit: cover;
  width: 86px;
}

.xg-account-profile-card h3 {
  color: #151515;
  font-size: 20px;
  margin: 0 0 6px;
}

.xg-account-profile-card p {
  color: #667085;
  margin: 0 0 12px;
}

.xg-account-avatar-upload span {
  background: var(--xg-accent);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  padding: 9px 15px;
}

.xg-account-avatar-upload input {
  display: none;
}

.xg-register-card {
  background: radial-gradient(circle at 0 0, rgba(242,106,62,.12), transparent 34%), #fff;
  border: 1px solid rgba(18,20,23,.08);
  border-radius: 20px;
  box-shadow: 0 22px 54px rgba(18,20,23,.09);
  margin: 0 auto;
  max-width: 920px;
  padding: 26px;
}

.xg-register-card__head {
  margin-bottom: 22px;
}

.xg-register-card__head p {
  color: var(--xg-accent);
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 7px;
}

.xg-register-card__head h2 {
  color: #151515;
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.xg-register-card__head span,
.xg-register-avatar label span,
.xg-register-success span {
  color: #667085;
  display: block;
  line-height: 1.6;
}

.xg-register-avatar {
  align-items: center;
  background: rgba(248,250,252,.9);
  border: 1px solid rgba(18,20,23,.07);
  border-radius: 18px;
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
  padding: 16px;
}

.xg-register-avatar__preview {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(18,20,23,.08);
  border-radius: 50%;
  display: flex;
  flex: 0 0 88px;
  height: 88px;
  justify-content: center;
  overflow: hidden;
  width: 88px;
}

.xg-register-avatar__preview span {
  color: #98a2b3;
  font-weight: 900;
}

.xg-register-avatar__preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.xg-register-avatar input {
  display: block;
  margin-top: 10px;
}

.xg-register-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xg-register-field span {
  color: #151515;
  display: block;
  font-weight: 900;
  margin-bottom: 7px;
}

.xg-register-field input,
.xg-register-field select {
  background: #fff;
  border: 1px solid #e7e9ed;
  border-radius: 13px;
  min-height: 48px;
  padding: 10px 13px;
  width: 100%;
}

.xg-register-field input:focus,
.xg-register-field select:focus {
  border-color: rgba(242,106,62,.62);
  box-shadow: 0 0 0 4px rgba(242,106,62,.10);
  outline: none;
}

.xg-register-agree {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.xg-register-button {
  align-items: center;
  background: var(--xg-accent);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(242,106,62,.24);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  text-decoration: none;
}

.xg-register-errors,
.xg-register-success {
  border-radius: 14px;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.xg-register-errors {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

.xg-register-errors p {
  margin: 0 0 5px;
}

.xg-register-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

@media (max-width: 768px) {
  .xg-v2-woo--my-account .woocommerce,
  .xg-register-grid {
    grid-template-columns: 1fr;
  }

  .xg-v2-account-hub__grid {
    grid-template-columns: 1fr 1fr;
  }

  .xg-register-card {
    padding: 18px;
  }

  .xg-register-avatar,
  .xg-account-profile-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

.xg-v2-woo *,
.xg-v2-woo *::before,
.xg-v2-woo *::after {
  box-sizing: border-box;
}

.xg-v2-woo img,
.xg-v2-woo video,
.xg-v2-woo canvas,
.xg-v2-woo svg {
  max-width: 100%;
}

.xg-v2-woo__header {
  border-bottom: 1px solid var(--xg-border);
  margin-bottom: 24px;
  padding-bottom: 18px;
}

.xg-v2-woo__eyebrow {
  color: var(--xg-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.xg-v2-woo h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0;
}

.xg-v2-woo__language {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.xg-v2-woo__lang {
  align-items: center;
  color: var(--xg-text);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  text-decoration: none;
}

.xg-v2-woo__lang:not(.is-current) {
  opacity: .62;
}

.xg-v2-woo__body {
  background: var(--xg-surface);
}

.xg-v2-woo__body table,
.xg-v2-woo__body iframe,
.xg-v2-woo__body .wp-block-woocommerce-cart,
.xg-v2-woo__body .wp-block-woocommerce-checkout,
.xg-v2-woo__body .wc-block-components-sidebar-layout,
.xg-v2-woo__body .woocommerce,
.xg-v2-woo__body .tinv-wishlist {
  max-width: 100%;
}

.xg-v2-woo__body table {
  width: 100%;
}

.xg-v2-woo__body a,
.xg-v2-woo__body button,
.xg-v2-woo__body input,
.xg-v2-woo__body select,
.xg-v2-woo__body textarea {
  max-width: 100%;
}

.xg-v2-shop-tools {
  align-items: center;
  border-bottom: 1px solid var(--xg-border);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
}

.xg-v2-shop-tools .woocommerce-result-count,
.xg-v2-shop-tools .woocommerce-ordering {
  margin: 0;
}

.xg-v2-woo ul.products {
  margin-top: 0;
}

.xg-v2-pagination {
  margin-top: 26px;
  text-align: center;
}

.xg-v2-pagination .page-numbers {
  border: 1px solid var(--xg-border);
  color: var(--xg-text);
  display: inline-flex;
  line-height: 1;
  margin: 0 3px;
  min-width: 36px;
  padding: 10px 12px;
  place-content: center;
  text-decoration: none;
}

.xg-v2-pagination .page-numbers.current {
  background: var(--xg-accent);
  border-color: var(--xg-accent);
  color: #ffffff;
}

.xg-v2-woo--cart .wc-block-cart,
.xg-v2-woo--checkout .wc-block-checkout,
.xg-v2-woo--my-account .woocommerce {
  margin-left: auto;
  margin-right: auto;
  max-width: 1080px;
}

.xg-v2-woo--my-account .woocommerce {
  align-items: flex-start;
  display: grid;
  gap: 30px;
  grid-template-columns: 250px minmax(0, 1fr);
}

.xg-v2-woo--my-account .woocommerce::before,
.xg-v2-woo--my-account .woocommerce::after {
  content: none;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1px solid rgba(18, 20, 23, .08);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(18, 20, 23, .06);
  margin: 0 !important;
  overflow: hidden;
  padding: 10px;
  width: 100%;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
  display: block !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a {
  align-items: center;
  border-radius: 10px;
  color: #222;
  display: flex;
  font-weight: 800;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a::before {
  align-items: center;
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 9px;
  color: var(--xg-accent);
  content: "";
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--dashboard a::before { content: "DB"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--orders a::before { content: "OR"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--downloads a::before { content: "DL"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--edit-address a::before { content: "AD"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--woo-wallet a::before { content: "$"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--edit-account a::before { content: "AC"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "EX"; }
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="wishlist"]::before,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="%e5%bf%83"]::before { content: "WL"; }

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.is-active a,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a:hover {
  background: rgba(242, 106, 62, .10);
  color: var(--xg-accent);
  transform: translateX(2px);
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.is-active a::before,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a:hover::before {
  background: var(--xg-accent);
  border-color: var(--xg-accent);
  color: #fff;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-content {
  min-width: 0;
  width: 100%;
}

.xg-v2-woo--my-account .woocommerce-notices-wrapper,
.xg-v2-woo--my-account .woocommerce > h2 {
  grid-column: 1 / -1;
}

.xg-v2-woo--my-account .woocommerce-form-login,
.xg-v2-woo--my-account .woocommerce-form-register,
.xg-v2-woo--my-account form.login,
.xg-v2-woo--my-account form.register {
  background: linear-gradient(180deg, #fff, rgba(242, 106, 62, .025));
  border: 1px solid rgba(18, 20, 23, .08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(18, 20, 23, .06);
  margin: 0 0 24px;
  padding: 22px;
}

.xg-v2-woo--my-account .woocommerce-form-login .form-row,
.xg-v2-woo--my-account .woocommerce-form-register .form-row,
.xg-v2-woo--my-account form.login .form-row,
.xg-v2-woo--my-account form.register .form-row {
  margin-bottom: 16px;
}

.xg-v2-woo--my-account .woocommerce-form-login label,
.xg-v2-woo--my-account .woocommerce-form-register label,
.xg-v2-woo--my-account form.login label,
.xg-v2-woo--my-account form.register label {
  color: #151515;
  font-weight: 800;
}

.xg-v2-woo--my-account .woocommerce-form-login input.input-text,
.xg-v2-woo--my-account .woocommerce-form-register input.input-text,
.xg-v2-woo--my-account form.login input.input-text,
.xg-v2-woo--my-account form.register input.input-text {
  border: 1px solid #e7e9ed;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 13px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.xg-v2-woo--my-account .woocommerce-form-login input.input-text:focus,
.xg-v2-woo--my-account .woocommerce-form-register input.input-text:focus,
.xg-v2-woo--my-account form.login input.input-text:focus,
.xg-v2-woo--my-account form.register input.input-text:focus {
  border-color: rgba(242, 106, 62, .62);
  box-shadow: 0 0 0 4px rgba(242, 106, 62, .10);
  outline: none;
}

.xg-v2-woo--my-account .woocommerce-form-login .button,
.xg-v2-woo--my-account .woocommerce-form-register .button,
.xg-v2-woo--my-account form.login .button,
.xg-v2-woo--my-account form.register .button {
  background: var(--xg-accent) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 24px rgba(242, 106, 62, .22);
  color: #fff !important;
  font-weight: 900;
  min-height: 44px;
  padding: 0 24px !important;
  transition: box-shadow .18s ease, transform .18s ease;
}

.xg-v2-woo--my-account .woocommerce-form-login .button:hover,
.xg-v2-woo--my-account .woocommerce-form-register .button:hover,
.xg-v2-woo--my-account form.login .button:hover,
.xg-v2-woo--my-account form.register .button:hover {
  box-shadow: 0 16px 30px rgba(242, 106, 62, .30);
  transform: translateY(-1px);
}

.xg-v2-account-hub {
  background: linear-gradient(180deg, #fff, rgba(242, 106, 62, .025));
  border: 1px solid rgba(18, 20, 23, .08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(18, 20, 23, .06);
  margin: 0 0 22px;
  padding: 20px;
}

.xg-v2-account-hub__head {
  margin-bottom: 16px;
}

.xg-v2-account-hub__head h2 {
  color: #151515;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.xg-v2-account-hub__head p {
  color: var(--xg-muted);
  margin: 0;
}

.xg-v2-account-hub__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xg-v2-account-card {
  background: #fff;
  border: 1px solid #edf0f3;
  border-radius: 13px;
  color: #1f2933;
  display: grid;
  gap: 7px;
  min-height: 124px;
  padding: 16px;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.xg-v2-account-card:hover {
  border-color: rgba(242, 106, 62, .34);
  box-shadow: 0 12px 26px rgba(242, 106, 62, .12);
  transform: translateY(-2px);
}

.xg-v2-account-card__icon {
  background: rgba(242, 106, 62, .12);
  border-radius: 12px;
  height: 36px;
  position: relative;
  width: 36px;
}

.xg-v2-account-card__icon::after {
  color: var(--xg-accent);
  content: ">";
  font-size: 18px;
  font-weight: 900;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.xg-v2-account-card--orders .xg-v2-account-card__icon::after { content: "OR"; }
.xg-v2-account-card--wallet .xg-v2-account-card__icon::after { content: "$"; }
.xg-v2-account-card--wishlist .xg-v2-account-card__icon::after { content: "WL"; }
.xg-v2-account-card--account .xg-v2-account-card__icon::after { content: "AC"; }

.xg-v2-account-card span:not(.xg-v2-account-card__icon) {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.xg-v2-account-card strong {
  color: #151515;
  font-size: 20px;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .xg-v2-account-hub__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Final production account polish. */
.xg-v2-woo {
  max-width: 1180px !important;
  padding-top: 40px !important;
}

.xg-v2-woo__header {
  margin-bottom: 26px !important;
}

.xg-v2-woo__language {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid rgba(18,20,23,.08) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(18,20,23,.04) !important;
  display: inline-flex !important;
  gap: 4px !important;
  margin-top: 16px !important;
  padding: 4px !important;
}

.xg-v2-woo__lang {
  border-radius: 999px !important;
  color: #667085 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  gap: 7px !important;
  line-height: 1 !important;
  padding: 9px 12px !important;
}

.xg-v2-woo__lang.is-current,
.xg-v2-woo__lang:hover {
  background: rgba(242,106,62,.12) !important;
  color: #151515 !important;
}

.xg-v2-woo__body {
  margin-top: 10px !important;
}

.xg-v2-woo--my-account .woocommerce {
  align-items: start !important;
  display: grid !important;
  gap: 28px !important;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) !important;
  overflow: visible !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation {
  background: #fff !important;
  border: 1px solid rgba(18,20,23,.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 36px rgba(18,20,23,.055) !important;
  overflow: hidden !important;
  padding: 10px !important;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar {
  background: radial-gradient(circle at 50% 0, rgba(242,106,62,.13), transparent 62%), #fff !important;
  border: 1px solid rgba(18,20,23,.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 36px rgba(18,20,23,.07) !important;
  margin: 0 0 14px !important;
  padding: 22px 16px !important;
  text-align: center !important;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__avatar-wrapper {
  display: inline-block !important;
  margin: 0 auto 12px !important;
  position: relative !important;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__avatar,
.xg-v2-woo--my-account .woocommerce-account-gravatar img.avatar {
  background: #f5f5f5 !important;
  border: 4px solid rgba(242,106,62,.18) !important;
  border-radius: 50% !important;
  box-shadow: 0 12px 28px rgba(18,20,23,.10) !important;
  display: block !important;
  height: 104px !important;
  margin: 0 auto !important;
  object-fit: cover !important;
  width: 104px !important;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__edit-wrapper {
  bottom: -4px !important;
  position: absolute !important;
  right: -4px !important;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__edit {
  align-items: center !important;
  background: var(--xg-accent) !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(242,106,62,.24) !important;
  color: #fff !important;
  display: inline-flex !important;
  font-size: 0 !important;
  height: 32px !important;
  justify-content: center !important;
  text-decoration: none !important;
  width: 32px !important;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__edit::before {
  background: #fff !important;
  border-radius: 2px !important;
  content: "" !important;
  display: block !important;
  height: 13px !important;
  transform: rotate(-8deg) !important;
  width: 13px !important;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar__display-name {
  color: #151515 !important;
  display: block !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  overflow-wrap: anywhere !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation ul {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a {
  align-items: center !important;
  border-radius: 12px !important;
  color: #1f2933 !important;
  display: flex !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  min-height: 46px !important;
  padding: 10px 12px 10px 52px !important;
  position: relative !important;
  text-decoration: none !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a::before {
  background: rgba(242,106,62,.10) !important;
  border: 1px solid rgba(242,106,62,.14) !important;
  border-radius: 11px !important;
  color: transparent !important;
  content: "" !important;
  display: block !important;
  font-size: 0 !important;
  height: 30px !important;
  left: 11px !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 30px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a::after {
  background: var(--xg-accent) !important;
  content: "" !important;
  display: block !important;
  height: 13px !important;
  left: 19px !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 14px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--dashboard a::after {
  border-radius: 50% !important;
  box-shadow: 0 0 0 4px rgba(242,106,62,.16) !important;
  height: 8px !important;
  left: 22px !important;
  width: 8px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--orders a::after {
  border-radius: 2px !important;
  box-shadow: inset 0 -5px 0 rgba(255,255,255,.62) !important;
  height: 15px !important;
  width: 12px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--downloads a::after {
  clip-path: polygon(42% 0,58% 0,58% 45%,100% 45%,50% 100%,0 45%,42% 45%) !important;
  height: 15px !important;
  width: 15px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--edit-address a::after {
  border-radius: 50% 50% 50% 0 !important;
  height: 13px !important;
  transform: translateY(-58%) rotate(-45deg) !important;
  width: 13px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--woo-wallet a::after {
  border-radius: 3px !important;
  box-shadow: inset -4px 0 0 rgba(255,255,255,.55) !important;
  height: 12px !important;
  width: 17px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--edit-account a::after {
  border-radius: 50% 50% 45% 45% !important;
  height: 14px !important;
  width: 12px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation-link--customer-logout a::after {
  clip-path: polygon(0 0,100% 50%,0 100%,18% 52%) !important;
  height: 15px !important;
  width: 15px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="wishlist"]::after,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="%e5%bf%83"]::after,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a[href*="%e5%bf%83"]::after {
  clip-path: polygon(50% 92%,8% 46%,8% 20%,24% 6%,44% 13%,50% 25%,56% 13%,76% 6%,92% 20%,92% 46%) !important;
  height: 15px !important;
  width: 15px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.is-active a,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a:hover {
  background: rgba(242,106,62,.10) !important;
  color: var(--xg-accent) !important;
  transform: translateX(2px) !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-content {
  background: transparent !important;
  min-width: 0 !important;
}

.xg-v2-account-hub {
  background: radial-gradient(circle at 12% 0, rgba(242,106,62,.11), transparent 36%), linear-gradient(180deg,#fff,rgba(248,250,252,.86)) !important;
  border: 1px solid rgba(18,20,23,.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 42px rgba(18,20,23,.07) !important;
  margin: 0 0 24px !important;
  overflow: hidden !important;
  padding: 20px !important;
}

.xg-v2-account-hub__head {
  align-items: center !important;
  display: flex !important;
  gap: 16px !important;
  justify-content: space-between !important;
  margin: 0 0 18px !important;
}

.xg-v2-account-hub__profile {
  align-items: center !important;
  display: flex !important;
  gap: 14px !important;
  min-width: 0 !important;
}

.xg-v2-account-hub__profile img {
  border: 3px solid rgba(242,106,62,.18) !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 22px rgba(18,20,23,.10) !important;
  flex: 0 0 58px !important;
  height: 58px !important;
  object-fit: cover !important;
  width: 58px !important;
}

.xg-v2-account-hub__profile span {
  color: var(--xg-accent) !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  margin-bottom: 4px !important;
}

.xg-v2-account-hub__profile h2 {
  color: #151515 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  margin: 0 0 4px !important;
  overflow-wrap: anywhere !important;
}

.xg-v2-account-hub__profile p {
  color: #667085 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.xg-v2-account-hub__edit {
  background: #151515 !important;
  border-radius: 999px !important;
  color: #fff !important;
  flex: 0 0 auto !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  padding: 9px 14px !important;
  text-decoration: none !important;
}

.xg-v2-account-hub__edit:hover {
  background: var(--xg-accent) !important;
  color: #fff !important;
}

.xg-v2-account-hub__grid {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.xg-v2-account-card {
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(18,20,23,.08) !important;
  border-radius: 15px !important;
  box-shadow: 0 10px 24px rgba(18,20,23,.04) !important;
  color: #1f2933 !important;
  display: grid !important;
  gap: 8px !important;
  min-height: 126px !important;
  padding: 16px !important;
  text-decoration: none !important;
}

.xg-v2-account-card:hover {
  border-color: rgba(242,106,62,.34) !important;
  box-shadow: 0 16px 30px rgba(242,106,62,.12) !important;
  transform: translateY(-2px) !important;
}

.xg-v2-account-card__icon {
  background: rgba(242,106,62,.12) !important;
  border-radius: 13px !important;
  height: 38px !important;
  overflow: hidden !important;
  position: relative !important;
  width: 38px !important;
}

.xg-v2-account-card__icon::before,
.xg-v2-account-card__icon::after {
  background: var(--xg-accent) !important;
  content: "" !important;
  display: block !important;
  left: 50% !important;
  position: absolute !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.xg-v2-account-card--orders .xg-v2-account-card__icon::before {
  border-radius: 3px !important;
  box-shadow: inset 0 -6px 0 rgba(255,255,255,.58) !important;
  height: 18px !important;
  width: 14px !important;
}

.xg-v2-account-card--wallet .xg-v2-account-card__icon::before {
  border-radius: 4px !important;
  box-shadow: inset -5px 0 0 rgba(255,255,255,.55) !important;
  height: 15px !important;
  width: 22px !important;
}

.xg-v2-account-card--wishlist .xg-v2-account-card__icon::before {
  clip-path: polygon(50% 92%,8% 46%,8% 20%,24% 6%,44% 13%,50% 25%,56% 13%,76% 6%,92% 20%,92% 46%) !important;
  height: 19px !important;
  width: 19px !important;
}

.xg-v2-account-card--account .xg-v2-account-card__icon::before {
  border-radius: 50% 50% 45% 45% !important;
  height: 20px !important;
  width: 16px !important;
}

.xg-v2-account-card__icon::after {
  display: none !important;
}

.xg-v2-account-card span:not(.xg-v2-account-card__icon) {
  color: #667085 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.xg-v2-account-card strong {
  color: #151515 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
}

.xg-register-card {
  background: radial-gradient(circle at 14% 0, rgba(242,106,62,.12), transparent 38%), linear-gradient(180deg,#fff,rgba(248,250,252,.88)) !important;
  border-radius: 20px !important;
  padding: 28px !important;
}

.xg-register-avatar {
  background: #fff !important;
  border: 1px solid rgba(18,20,23,.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(18,20,23,.05) !important;
}

.xg-register-avatar__preview {
  height: 104px !important;
  width: 104px !important;
}

.xg-register-cta {
  align-items: center !important;
  background: radial-gradient(circle at 8% 0, rgba(242,106,62,.13), transparent 42%), linear-gradient(180deg,#fff,rgba(248,250,252,.88)) !important;
  border: 1px solid rgba(18,20,23,.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 42px rgba(18,20,23,.07) !important;
  display: flex !important;
  gap: 18px !important;
  justify-content: space-between !important;
  margin: 0 0 24px !important;
  padding: 20px !important;
}

.xg-register-cta span {
  color: var(--xg-accent) !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  margin-bottom: 6px !important;
}

.xg-register-cta h2 {
  color: #151515 !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  margin: 0 0 6px !important;
}

.xg-register-cta p {
  color: #667085 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.xg-register-cta a {
  background: var(--xg-accent) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 24px rgba(242,106,62,.22) !important;
  color: #fff !important;
  flex: 0 0 auto !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  padding: 11px 18px !important;
  text-decoration: none !important;
}

.xg-register-cta a:hover {
  box-shadow: 0 16px 30px rgba(242,106,62,.30) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 980px) {
  .xg-v2-woo--my-account .woocommerce {
    grid-template-columns: 1fr !important;
  }

  .xg-v2-account-hub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .xg-v2-woo {
    padding: 24px 14px 48px !important;
  }

  .xg-v2-woo__language {
    border-radius: 16px !important;
    width: 100% !important;
  }

  .xg-v2-woo__lang {
    flex: 1 1 0 !important;
    justify-content: center !important;
  }

  .xg-v2-account-hub__head,
  .xg-v2-account-hub__profile,
  .xg-register-cta {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .xg-v2-account-hub__grid {
    grid-template-columns: 1fr !important;
  }

  .xg-register-card {
    padding: 18px !important;
  }
}

/* Account dashboard composition refresh. Keep one profile surface only. */
.xg-v2-woo--my-account {
  max-width: 1320px !important;
  padding-top: 28px !important;
}

.xg-v2-woo--my-account > .xg-v2-woo__header {
  display: none !important;
}

.xg-v2-woo--my-account .xg-v2-woo__body {
  margin-top: 0 !important;
}

.xg-v2-woo--my-account .woocommerce {
  align-items: start !important;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: minmax(210px, 238px) minmax(0, 1fr) !important;
  max-width: 1260px !important;
  width: 100% !important;
}

.xg-v2-woo--my-account .woocommerce-account-gravatar {
  display: none !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation {
  position: sticky !important;
  top: 24px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-content > p:first-of-type,
.xg-v2-woo--my-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
  display: none !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub {
  background:
    radial-gradient(circle at 12% 0, rgba(242, 106, 62, .18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fff8f4 44%, #f8fafc 100%) !important;
  border: 1px solid rgba(242, 106, 62, .14) !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 58px rgba(18, 20, 23, .09) !important;
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: 24px !important;
  position: relative !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub::before {
  background: linear-gradient(90deg, #f26a3e, rgba(242, 106, 62, .08)) !important;
  content: "" !important;
  height: 4px !important;
  left: 0 !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub__head {
  align-items: center !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  margin: 0 0 18px !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub__profile {
  align-items: center !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub__profile img {
  background: #f3f4f6 !important;
  border: 4px solid rgba(242, 106, 62, .18) !important;
  border-radius: 50% !important;
  box-shadow: 0 16px 32px rgba(18, 20, 23, .12) !important;
  height: 92px !important;
  object-fit: cover !important;
  width: 92px !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub__profile span {
  color: #f26a3e !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  margin: 0 0 5px !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub__profile h2 {
  color: #151515 !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.08 !important;
  margin: 0 0 8px !important;
  overflow-wrap: anywhere !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub__profile p {
  color: #667085 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub__edit {
  align-items: center !important;
  background: #151515 !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 26px rgba(18, 20, 23, .12) !important;
  color: #fff !important;
  display: inline-flex !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub__edit:hover {
  background: #f26a3e !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

.xg-v2-woo--my-account .xg-v2-account-hub__grid {
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.xg-v2-woo--my-account .xg-v2-account-card {
  align-items: center !important;
  background: rgba(255, 255, 255, .76) !important;
  border: 1px solid rgba(18, 20, 23, .075) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(18, 20, 23, .045) !important;
  display: grid !important;
  gap: 7px !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  min-height: 92px !important;
  padding: 16px !important;
}

.xg-v2-woo--my-account .xg-v2-account-card__icon {
  grid-row: span 2 !important;
}

.xg-v2-woo--my-account .xg-v2-account-card span:not(.xg-v2-account-card__icon),
.xg-v2-woo--my-account .xg-v2-account-card strong {
  min-width: 0 !important;
}

.xg-v2-woo--my-account .xg-v2-account-card strong {
  font-size: 18px !important;
}

.xg-v2-woo--my-account .xiagu-loyalty {
  border-radius: 22px !important;
  box-shadow: 0 24px 58px rgba(18, 20, 23, .09) !important;
  margin: 0 !important;
  padding: 28px !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__hero {
  gap: 22px !important;
  grid-template-columns: 118px minmax(0, 1fr) minmax(180px, auto) !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__mark {
  border-radius: 22px !important;
  padding: 18px !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__mark img {
  height: 82px !important;
  max-height: 82px !important;
  max-width: 82px !important;
  width: 82px !important;
}

.xg-v2-woo--my-account .xiagu-loyalty h2 {
  font-size: clamp(28px, 2.6vw, 36px) !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__panel {
  gap: 14px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin: 22px 0 18px !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__stat,
.xg-v2-woo--my-account .xiagu-loyalty__current,
.xg-v2-woo--my-account .xiagu-loyalty__progress-wrap {
  border-radius: 16px !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__levels {
  background: rgba(255, 255, 255, .66) !important;
  border: 1px solid rgba(18, 20, 23, .07) !important;
  border-radius: 18px !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) !important;
  margin-top: 22px !important;
  overflow: hidden !important;
  padding: 10px !important;
  position: relative !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__level {
  background: transparent !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 12px 10px !important;
  text-align: center !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__level + .xiagu-loyalty__level {
  border-left: 1px solid rgba(18, 20, 23, .07) !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__level.is-current {
  background: linear-gradient(180deg, rgba(242, 106, 62, .12), rgba(242, 106, 62, .035)) !important;
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px rgba(242, 106, 62, .26) !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__level-img {
  background: transparent !important;
  border: 0 !important;
  height: 54px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__level-img img,
.xg-v2-woo--my-account .xiagu-loyalty__level img {
  height: 46px !important;
  max-height: 46px !important;
  max-width: 46px !important;
  width: 46px !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__level-copy span {
  margin-bottom: 4px !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__level em {
  display: inline-flex !important;
  margin-top: 8px !important;
  min-width: 72px !important;
  place-content: center !important;
}

@media (max-width: 1100px) {
  .xg-v2-woo--my-account .woocommerce {
    grid-template-columns: 1fr !important;
  }

  .xg-v2-woo--my-account .woocommerce-MyAccount-navigation {
    position: static !important;
  }

  .xg-v2-woo--my-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .xg-v2-woo--my-account .xg-v2-account-hub__grid,
  .xg-v2-woo--my-account .xiagu-loyalty__levels {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .xg-v2-woo--my-account .xiagu-loyalty__level + .xiagu-loyalty__level {
    border-left: 0 !important;
    border-top: 1px solid rgba(18, 20, 23, .07) !important;
  }
}

@media (max-width: 680px) {
  .xg-v2-woo--my-account {
    padding-top: 18px !important;
  }

  .xg-v2-woo--my-account .xg-v2-account-hub,
  .xg-v2-woo--my-account .xiagu-loyalty {
    border-radius: 18px !important;
    padding: 18px !important;
  }

  .xg-v2-woo--my-account .xg-v2-account-hub__head,
  .xg-v2-woo--my-account .xg-v2-account-hub__profile,
  .xg-v2-woo--my-account .xiagu-loyalty__hero,
  .xg-v2-woo--my-account .xiagu-loyalty__panel {
    grid-template-columns: 1fr !important;
  }

  .xg-v2-woo--my-account .xg-v2-account-hub__grid,
  .xg-v2-woo--my-account .woocommerce-MyAccount-navigation ul,
  .xg-v2-woo--my-account .xiagu-loyalty__levels {
    grid-template-columns: 1fr !important;
  }
}

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

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

.xg-v2-woo__language-trigger::-webkit-details-marker {
  display: none !important;
}

.xg-v2-woo__language-trigger::marker {
  content: "" !important;
}

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

.xg-v2-woo__language-current {
  align-items: center !important;
  display: inline-flex !important;
  gap: 7px !important;
  white-space: nowrap !important;
}

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

.xg-v2-woo__language[open] .xg-v2-woo__language-trigger i {
  transform: translateY(2px) rotate(225deg) !important;
}

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

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

.xg-v2-woo__language .xg-v2-woo__lang:hover,
.xg-v2-woo__language .xg-v2-woo__lang.is-current {
  background: rgba(242, 106, 62, .10) !important;
  color: #151515 !important;
}

@media (max-width: 640px) {
  .xg-v2-woo__language.xg-v2-woo__language--dropdown {
    display: block !important;
    width: 100% !important;
  }

  .xg-v2-woo__language-trigger {
    justify-content: space-between !important;
    width: 100% !important;
  }

  .xg-v2-woo__language-menu {
    left: 0 !important;
    min-width: 100% !important;
    right: 0 !important;
  }
}

/* Account page final layout pass: wide canvas, one clean account rail, loyalty as the main surface. */
body:has(.xg-v2-woo--my-account) #content,
body:has(.xg-v2-woo--my-account) .site-content,
body:has(.xg-v2-woo--my-account) .site-content > .woostify-container,
body:has(.xg-v2-woo--my-account) #primary,
body:has(.xg-v2-woo--my-account) #main,
body.xg-v2-account-page #content,
body.xg-v2-account-page .site-content,
body.xg-v2-account-page .site-content > .woostify-container,
body.xg-v2-account-page #primary,
body.xg-v2-account-page #main {
  max-width: none !important;
  width: 100% !important;
}

body:has(.xg-v2-woo--my-account) .site-content > .woostify-container,
body.xg-v2-account-page .site-content > .woostify-container {
  padding-left: clamp(22px, 4.8vw, 84px) !important;
  padding-right: clamp(22px, 4.8vw, 84px) !important;
}

body:has(.xg-v2-woo--my-account) article,
body.xg-v2-account-page article {
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.xg-v2-woo--my-account {
  margin: 0 auto !important;
  max-width: 1760px !important;
  padding: clamp(26px, 3.6vw, 54px) 0 72px !important;
  width: 100% !important;
}

.xg-v2-woo--my-account > .xg-v2-woo__header,
.xg-v2-woo--my-account .xg-v2-account-hub,
.xg-v2-woo--my-account .woocommerce-account-gravatar,
.xg-v2-woo--my-account .woocommerce-MyAccount-content > p:first-of-type,
.xg-v2-woo--my-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
  display: none !important;
}

.xg-v2-woo--my-account .xg-v2-woo__body {
  margin: 0 !important;
  width: 100% !important;
}

.xg-v2-woo--my-account .woocommerce {
  align-items: start !important;
  display: grid !important;
  float: none !important;
  gap: clamp(24px, 3vw, 44px) !important;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) !important;
  max-width: none !important;
  width: 100% !important;
}

.xg-v2-woo--my-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) {
  display: block !important;
  margin: clamp(24px, 3vw, 40px) auto 0 !important;
  max-width: min(1180px, 100%) !important;
  width: 100% !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation {
  background: radial-gradient(circle at 20% 0, rgba(242, 106, 62, .10), transparent 36%), #fff !important;
  border: 1px solid rgba(18, 20, 23, .08) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 42px rgba(18, 20, 23, .07) !important;
  float: none !important;
  overflow: hidden !important;
  padding: 12px !important;
  position: sticky !important;
  top: 26px !important;
  width: auto !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation ul {
  display: grid !important;
  gap: 7px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #344054 !important;
  display: grid !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  gap: 10px !important;
  grid-template-columns: 12px minmax(0, 1fr) !important;
  min-height: 46px !important;
  padding: 0 14px !important;
  text-decoration: none !important;
  transition: background .18s ease, color .18s ease, transform .18s ease !important;
  white-space: nowrap !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a::before {
  background: rgba(242, 106, 62, .32) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  clip-path: none !important;
  content: "" !important;
  display: block !important;
  height: 8px !important;
  left: auto !important;
  margin: 0 !important;
  position: static !important;
  top: auto !important;
  transform: none !important;
  width: 8px !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a::after {
  display: none !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.is-active a,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a:hover {
  background: linear-gradient(90deg, rgba(242, 106, 62, .14), rgba(242, 106, 62, .04)) !important;
  color: #151515 !important;
  transform: translateX(2px) !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-navigation li.is-active a::before,
.xg-v2-woo--my-account .woocommerce-MyAccount-navigation a:hover::before {
  background: #f26a3e !important;
}

.xg-v2-woo--my-account .woocommerce-MyAccount-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  float: none !important;
  margin: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.xg-v2-woo--my-account .xiagu-loyalty {
  border-radius: 24px !important;
  box-shadow: 0 26px 70px rgba(18, 20, 23, .09) !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: clamp(24px, 2.4vw, 38px) !important;
  width: 100% !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__hero {
  gap: clamp(18px, 2vw, 28px) !important;
  grid-template-columns: 116px minmax(0, 1fr) minmax(170px, auto) !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__mark {
  border-radius: 22px !important;
  height: 116px !important;
  padding: 18px !important;
  width: 116px !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__mark img {
  height: 78px !important;
  max-height: 78px !important;
  max-width: 78px !important;
  width: 78px !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__panel {
  gap: 14px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.xg-v2-woo--my-account .xiagu-loyalty__levels {
  grid-template-columns: repeat(5, minmax(112px, 1fr)) !important;
}

@media (max-width: 1100px) {
  body:has(.xg-v2-woo--my-account) .site-content > .woostify-container,
  body.xg-v2-account-page .site-content > .woostify-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .xg-v2-woo--my-account .woocommerce {
    grid-template-columns: 1fr !important;
  }

  .xg-v2-woo--my-account .woocommerce-MyAccount-navigation {
    position: static !important;
  }

  .xg-v2-woo--my-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .xg-v2-woo--my-account {
    padding-top: 18px !important;
  }

  .xg-v2-woo--my-account .woocommerce-MyAccount-navigation ul,
  .xg-v2-woo--my-account .xiagu-loyalty__hero,
  .xg-v2-woo--my-account .xiagu-loyalty__panel,
  .xg-v2-woo--my-account .xiagu-loyalty__levels {
    grid-template-columns: 1fr !important;
  }

  .xg-v2-woo--my-account .xiagu-loyalty__mark {
    height: 96px !important;
    width: 96px !important;
  }
}
