:root {
  --cg-blue: #2d337f;
  --cg-blue-dark: #15194d;
  --cg-blue-deep: #0b1035;
  --cg-gold: #d4af37;
  --cg-gold-light: #f4df9c;
  --cg-page: #f8f6f0;
  --cg-ink: #1f2347;
  --cg-muted: rgba(31, 35, 71, .70);
  --cg-border: rgba(45, 51, 127, .14);
  --cg-shadow: 0 24px 70px rgba(31, 35, 71, .13);
  --cg-field-shadow: 0 10px 24px rgba(31, 35, 71, .06);
  --cg-focus: 0 0 0 4px rgba(212, 175, 55, .24);
}

html body.customer-account-login,
html body.customer-account-create {
  background:
    radial-gradient(circle at 5% 0%, rgba(212, 175, 55, .18), transparent 28%),
    linear-gradient(180deg, #fffdf7 0%, var(--cg-page) 100%) !important;
  color: var(--cg-ink) !important;
}

html body.customer-account-login .page-main,
html body.customer-account-create .page-main {
  background: transparent !important;
  padding-top: 24px !important;
}

html body.customer-account-login .page-title-wrapper,
html body.customer-account-create .page-title-wrapper {
  display: none !important;
}

html body.customer-account-login .column.main,
html body.customer-account-create .column.main {
  box-sizing: border-box !important;
  display: grid !important;
  gap: 28px 22px !important;
  grid-template-columns: minmax(520px, 1.04fr) 64px minmax(360px, .84fr) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1180px !important;
  overflow: visible !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  width: 100% !important;
}

/* Hide stale JS-created empty split from earlier attempts */
html body.customer-account-login .column.main > .cg-account-split,
html body.customer-account-create .column.main > .cg-account-split {
  display: none !important;
}

/* Hide nonvisual direct children that should not affect the grid */
html body.customer-account-login .column.main > input[name="form_key"],
html body.customer-account-create .column.main > input[name="form_key"],
html body.customer-account-login .column.main > script,
html body.customer-account-create .column.main > script,
html body.customer-account-login .column.main > #authenticationPopup,
html body.customer-account-create .column.main > #authenticationPopup {
  display: none !important;
}

/* Premium blue hero */
html body.customer-account-login .cg-account-premium-hero,
html body.customer-account-create .cg-account-premium-hero {
  align-items: stretch !important;
  background:
    radial-gradient(circle at 88% 14%, rgba(212, 175, 55, .32), transparent 28%),
    radial-gradient(circle at 5% 8%, rgba(255, 255, 255, .14), transparent 32%),
    linear-gradient(135deg, var(--cg-blue-deep) 0%, var(--cg-blue) 60%, #3d4398 100%) !important;
  border: 1px solid rgba(212, 175, 55, .34) !important;
  border-radius: 30px !important;
  box-shadow: 0 28px 80px rgba(21, 25, 77, .24) !important;
  box-sizing: border-box !important;
  color: #fff !important;
  display: grid !important;
  gap: 28px !important;
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr) !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: 34px !important;
  position: relative !important;
  width: 100% !important;
}

html body.customer-account-login .cg-account-premium-hero:before,
html body.customer-account-create .cg-account-premium-hero:before {
  background: linear-gradient(90deg, var(--cg-gold), rgba(212, 175, 55, .18));
  content: "";
  height: 5px;
  left: 34px;
  position: absolute;
  right: 34px;
  top: 0;
}

html body.customer-account-login .cg-account-premium-hero__kicker,
html body.customer-account-create .cg-account-premium-hero__kicker {
  align-items: center;
  color: var(--cg-gold-light) !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 9px;
  letter-spacing: .14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

html body.customer-account-login .cg-account-premium-hero__kicker:before,
html body.customer-account-create .cg-account-premium-hero__kicker:before {
  background: var(--cg-gold);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(212, 175, 55, .16);
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
}

html body.customer-account-login .cg-account-premium-hero h1,
html body.customer-account-create .cg-account-premium-hero h1 {
  color: #fff !important;
  font-size: clamp(32px, 4vw, 52px) !important;
  font-weight: 950 !important;
  letter-spacing: -.045em !important;
  line-height: .98 !important;
  margin: 0 0 14px !important;
  max-width: 760px !important;
}

html body.customer-account-login .cg-account-premium-hero p,
html body.customer-account-create .cg-account-premium-hero p {
  color: rgba(255, 255, 255, .86) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  max-width: 720px !important;
}

html body.customer-account-login .cg-account-premium-hero__badges,
html body.customer-account-create .cg-account-premium-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

html body.customer-account-login .cg-account-premium-hero__badges span,
html body.customer-account-create .cg-account-premium-hero__badges span {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  padding: 9px 12px;
}

html body.customer-account-login .cg-account-premium-hero__panel,
html body.customer-account-create .cg-account-premium-hero__panel {
  align-self: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  padding: 18px;
}

html body.customer-account-login .cg-account-premium-hero__panel > div,
html body.customer-account-create .cg-account-premium-hero__panel > div {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding: 14px 0;
}

html body.customer-account-login .cg-account-premium-hero__panel > div:first-child,
html body.customer-account-create .cg-account-premium-hero__panel > div:first-child {
  padding-top: 0;
}

html body.customer-account-login .cg-account-premium-hero__panel > div:last-child,
html body.customer-account-create .cg-account-premium-hero__panel > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

html body.customer-account-login .cg-account-premium-hero__panel strong,
html body.customer-account-create .cg-account-premium-hero__panel strong {
  color: var(--cg-gold-light) !important;
  display: block;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.02em;
  line-height: 1.15;
}

html body.customer-account-login .cg-account-premium-hero__panel span,
html body.customer-account-create .cg-account-premium-hero__panel span {
  color: rgba(255, 255, 255, .82) !important;
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 3px;
}

/* Server-rendered OR divider */
html body.customer-account-login .cg-account-or-standalone,
html body.customer-account-create .cg-account-or-standalone {
  align-items: center !important;
  color: var(--cg-blue) !important;
  display: flex !important;
  flex-direction: column !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  grid-column: 2 !important;
  grid-row: 2 !important;
  justify-content: center !important;
  letter-spacing: .12em !important;
  min-height: 100% !important;
  text-transform: uppercase !important;
}

html body.customer-account-login .cg-account-or-standalone:before,
html body.customer-account-login .cg-account-or-standalone:after,
html body.customer-account-create .cg-account-or-standalone:before,
html body.customer-account-create .cg-account-or-standalone:after {
  background: linear-gradient(180deg, rgba(45, 51, 127, .06), rgba(212, 175, 55, .60), rgba(45, 51, 127, .06));
  content: "";
  flex: 1 1 auto;
  width: 1px;
}

html body.customer-account-login .cg-account-or-standalone span,
html body.customer-account-create .cg-account-or-standalone span {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(31, 35, 71, .08);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin: 13px 0;
  width: 48px;
}

/* Left column: native forms */
html body.customer-account-login .column.main > .login-container,
html body.customer-account-create .column.main > .block.block-new-customer {
  background: rgba(255, 255, 255, .98) !important;
  border: 1px solid var(--cg-border) !important;
  border-radius: 28px !important;
  box-shadow: var(--cg-shadow) !important;
  box-sizing: border-box !important;
  color: var(--cg-ink) !important;
  display: block !important;
  float: none !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 32px !important;
  position: static !important;
  width: 100% !important;
}

html body.customer-account-login .login-container .block,
html body.customer-account-login .login-container .block-customer-login,
html body.customer-account-login .login-container .block-content,
html body.customer-account-login .login-container form,
html body.customer-account-login .login-container .fieldset,
html body.customer-account-login .login-container .field,
html body.customer-account-login .login-container .control,
html body.customer-account-create .block.block-new-customer .block-content,
html body.customer-account-create .block.block-new-customer form,
html body.customer-account-create .block.block-new-customer .fieldset,
html body.customer-account-create .block.block-new-customer .field,
html body.customer-account-create .block.block-new-customer .control {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: static !important;
  transform: none !important;
  width: 100% !important;
}

html body.customer-account-login .login-container .block,
html body.customer-account-login .login-container .block-customer-login,
html body.customer-account-create .block.block-new-customer .block-content,
html body.customer-account-create .block.block-new-customer form {
  margin: 0 !important;
  padding: 0 !important;
}

html body.customer-account-login .login-container .block-title,
html body.customer-account-create .block.block-new-customer .block-title,
html body.customer-account-create .block.block-new-customer h2.block-title,
html body.customer-account-create .block.block-new-customer .legend {
  border: 0 !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  text-align: left !important;
}

html body.customer-account-login .login-container .block-title .active.title,
html body.customer-account-login .login-container .block-title strong,
html body.customer-account-create .block.block-new-customer .block-title strong,
html body.customer-account-create .block.block-new-customer h2.block-title strong,
html body.customer-account-create .block.block-new-customer .legend,
html body.customer-account-create .block.block-new-customer .legend span {
  color: var(--cg-blue-dark) !important;
  display: block !important;
  font-size: 30px !important;
  font-weight: 950 !important;
  letter-spacing: -.035em !important;
  line-height: 1.12 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

html body.customer-account-login .login-container .block-title a.title {
  align-items: center !important;
  background: rgba(45, 51, 127, .06) !important;
  border: 1px solid rgba(45, 51, 127, .12) !important;
  border-radius: 999px !important;
  color: var(--cg-blue) !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  margin-left: 12px !important;
  min-height: 34px !important;
  padding: 0 13px !important;
  text-decoration: none !important;
  vertical-align: middle !important;
}

html body.customer-account-create .block.block-new-customer > .block-content > form > p,
html body.customer-account-create .block.block-new-customer .block-content > p {
  color: var(--cg-muted) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 0 22px !important;
}

/* Field styling */
html body.customer-account-login .login-container .field,
html body.customer-account-create .block.block-new-customer .field {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

html body.customer-account-login .login-container .field .label,
html body.customer-account-create .block.block-new-customer .field .label {
  background: transparent !important;
  clip: auto !important;
  color: var(--cg-blue-dark) !important;
  display: block !important;
  float: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  height: auto !important;
  letter-spacing: .055em !important;
  line-height: 1.25 !important;
  margin: 0 0 8px !important;
  opacity: 1 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: static !important;
  text-align: left !important;
  text-transform: uppercase !important;
  transform: none !important;
  visibility: visible !important;
  white-space: normal !important;
  width: auto !important;
}

html body.customer-account-login .login-container input.input-text,
html body.customer-account-login .login-container input[type="email"],
html body.customer-account-login .login-container input[type="password"],
html body.customer-account-create .block.block-new-customer input.input-text,
html body.customer-account-create .block.block-new-customer input[type="email"],
html body.customer-account-create .block.block-new-customer input[type="password"],
html body.customer-account-create .block.block-new-customer select.select {
  appearance: none !important;
  background: #fff !important;
  border: 1px solid rgba(45, 51, 127, .18) !important;
  border-radius: 16px !important;
  box-shadow: var(--cg-field-shadow) !important;
  box-sizing: border-box !important;
  color: var(--cg-ink) !important;
  display: block !important;
  float: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  height: 56px !important;
  line-height: normal !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  outline: 0 !important;
  padding: 0 16px !important;
  position: static !important;
  text-align: left !important;
  transform: none !important;
  width: 100% !important;
}

html body.customer-account-login .login-container input.input-text:focus,
html body.customer-account-login .login-container input[type="email"]:focus,
html body.customer-account-login .login-container input[type="password"]:focus,
html body.customer-account-create .block.block-new-customer input.input-text:focus,
html body.customer-account-create .block.block-new-customer input[type="email"]:focus,
html body.customer-account-create .block.block-new-customer input[type="password"]:focus,
html body.customer-account-create .block.block-new-customer select.select:focus {
  border-color: var(--cg-gold) !important;
  box-shadow: var(--cg-focus), var(--cg-field-shadow) !important;
}

/* Login page: forgot password stays under password field */
html body.customer-account-login .login-container .forgot-password {
  margin: -2px 0 18px !important;
  text-align: left !important;
}

html body.customer-account-login .login-container .forgot-password a,
html body.customer-account-login .login-container a[href*="forgotpassword"] {
  color: var(--cg-blue) !important;
  display: inline-flex !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1.3 !important;
  position: static !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  white-space: nowrap !important;
}

/* Buttons */
html body.customer-account-login .login-container .actions-toolbar,
html body.customer-account-create .block.block-new-customer .actions-toolbar {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  justify-content: flex-start !important;
  margin-top: 18px !important;
  overflow: visible !important;
  width: 100% !important;
}

html body.customer-account-login .login-container .actions-toolbar .primary,
html body.customer-account-login .login-container .actions-toolbar .secondary,
html body.customer-account-create .block.block-new-customer .actions-toolbar .primary,
html body.customer-account-create .block.block-new-customer .actions-toolbar .secondary {
  float: none !important;
  margin: 0 !important;
  min-width: 0 !important;
  width: auto !important;
}

html body.customer-account-login .login-container .action.login,
html body.customer-account-login .login-container button[type="submit"],
html body.customer-account-create .block.block-new-customer .action.primary,
html body.customer-account-create .block.block-new-customer button[type="submit"] {
  align-items: center !important;
  background: var(--cg-blue) !important;
  border: 1px solid var(--cg-blue) !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 30px rgba(45, 51, 127, .20) !important;
  color: #fff !important;
  display: inline-flex !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-height: 50px !important;
  min-width: 160px !important;
  padding: 0 26px !important;
  text-decoration: none !important;
  text-transform: none !important;
  width: auto !important;
}

/* Create account: keep native fields, polish layout inside left column */
html body.customer-account-create .block.block-new-customer .fieldset.create.info,
html body.customer-account-create .block.block-new-customer .fieldset.create.account {
  display: grid !important;
  gap: 18px 22px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

html body.customer-account-create .block.block-new-customer .fieldset .block-title,
html body.customer-account-create .block.block-new-customer .fieldset .legend,
html body.customer-account-create .block.block-new-customer .field.choice,
html body.customer-account-create .block.block-new-customer .field.newsletter,
html body.customer-account-create .block.block-new-customer .field.password,
html body.customer-account-create .block.block-new-customer .field.confirmation,
html body.customer-account-create .block.block-new-customer .privacy-container-customer,
html body.customer-account-create .block.block-new-customer .buttons-set,
html body.customer-account-create .block.block-new-customer .actions-toolbar,
html body.customer-account-create .block.block-new-customer .cf-turnstile {
  grid-column: 1 / -1 !important;
}

html body.customer-account-create .block.block-new-customer .field.choice {
  align-items: flex-start !important;
  background: linear-gradient(135deg, rgba(45, 51, 127, .045), rgba(212, 175, 55, .09)) !important;
  border: 1px solid rgba(45, 51, 127, .10) !important;
  border-radius: 16px !important;
  display: flex !important;
  gap: 10px !important;
  padding: 14px !important;
}

html body.customer-account-create .block.block-new-customer .field.choice input[type="checkbox"] {
  flex: 0 0 auto !important;
  height: auto !important;
  margin: 4px 0 0 !important;
  width: auto !important;
}

html body.customer-account-create .block.block-new-customer .field.choice .label {
  font-size: 14px !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  text-transform: none !important;
}

html body.customer-account-create .block.block-new-customer .note,
html body.customer-account-create .block.block-new-customer .password-strength-meter {
  color: var(--cg-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Captcha / Cloudflare */
html body.customer-account-login .login-container .cf-turnstile,
html body.customer-account-login .login-container div[id^="cf-chl-widget"],
html body.customer-account-create .block.block-new-customer .cf-turnstile,
html body.customer-account-create .block.block-new-customer div[id^="cf-chl-widget"] {
  box-sizing: border-box !important;
  clear: both !important;
  display: block !important;
  float: none !important;
  margin: 20px 0 !important;
  max-width: 100% !important;
  min-width: 300px !important;
  overflow: visible !important;
  position: static !important;
  transform: none !important;
  width: 100% !important;
}

/* Right column: Amasty social login */
html body.customer-account-login .column.main > .amsl-login-page,
html body.customer-account-create .column.main > .amsl-registration-page {
  align-items: center !important;
  background: rgba(255, 255, 255, .98) !important;
  border: 1px solid var(--cg-border) !important;
  border-radius: 28px !important;
  box-shadow: var(--cg-shadow) !important;
  box-sizing: border-box !important;
  color: var(--cg-ink) !important;
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  grid-column: 3 !important;
  grid-row: 2 !important;
  justify-content: center !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 420px !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 32px !important;
  position: static !important;
  text-align: center !important;
  transform: none !important;
  width: 100% !important;
}

html body.customer-account-login .amsl-login-page .amsl-note,
html body.customer-account-create .amsl-registration-page .amsl-note,
html body.customer-account-login .amsl-login-page .amsl-separator,
html body.customer-account-create .amsl-registration-page .amsl-separator {
  display: none !important;
}

html body.customer-account-login .amsl-login-page .amsl-social-wrapper,
html body.customer-account-login .amsl-login-page .amsl-social-login,
html body.customer-account-create .amsl-registration-page .amsl-social-wrapper,
html body.customer-account-create .amsl-registration-page .amsl-social-login {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  float: none !important;
  margin: 0 auto !important;
  max-width: 430px !important;
  padding: 0 !important;
  position: static !important;
  text-align: center !important;
  width: 100% !important;
}

html body.customer-account-login .amsl-login-page .amsl-title,
html body.customer-account-create .amsl-registration-page .amsl-title {
  color: var(--cg-blue-dark) !important;
  display: block !important;
  font-size: 24px !important;
  font-weight: 950 !important;
  letter-spacing: -.025em !important;
  line-height: 1.18 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  position: static !important;
  text-align: center !important;
}

html body.customer-account-login .amsl-login-page .amsl-title.-short,
html body.customer-account-create .amsl-registration-page .amsl-title.-short {
  display: none !important;
}

html body.customer-account-login .cg-account-social-note,
html body.customer-account-create .cg-account-social-note {
  color: var(--cg-muted) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
  margin: 0 auto 18px !important;
  max-width: 360px !important;
  text-align: center !important;
}

html body.customer-account-login .amsl-login-page .amsl-buttons,
html body.customer-account-create .amsl-registration-page .amsl-buttons {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: 1fr !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

html body.customer-account-login .amsl-login-page .amsl-button-wrapper,
html body.customer-account-create .amsl-registration-page .amsl-button-wrapper {
  display: block !important;
  float: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

html body.customer-account-login .amsl-login-page .amsl-button,
html body.customer-account-create .amsl-registration-page .amsl-button {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid rgba(45, 51, 127, .16) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(31, 35, 71, .07) !important;
  box-sizing: border-box !important;
  color: var(--cg-ink) !important;
  display: flex !important;
  float: none !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  gap: 12px !important;
  justify-content: flex-start !important;
  min-height: 58px !important;
  padding: 0 16px !important;
  position: static !important;
  text-align: left !important;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease !important;
  width: 100% !important;
}

html body.customer-account-login .amsl-login-page .amsl-button:hover,
html body.customer-account-create .amsl-registration-page .amsl-button:hover {
  border-color: rgba(212, 175, 55, .70) !important;
  box-shadow: 0 14px 30px rgba(31, 35, 71, .13) !important;
  transform: translateY(-1px) !important;
}

html body.customer-account-login .amsl-login-page .amsl-button.-apple,
html body.customer-account-create .amsl-registration-page .amsl-button.-apple {
  background: #111827 !important;
  border-color: #111827 !important;
  color: #fff !important;
}

html body.customer-account-login .amsl-login-page .amsl-social-icon,
html body.customer-account-create .amsl-registration-page .amsl-social-icon {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  display: block !important;
  flex: 0 0 28px !important;
  height: 28px !important;
  margin: 0 !important;
  position: static !important;
  width: 28px !important;
}

html body.customer-account-login .amsl-login-page .amsl-text,
html body.customer-account-create .amsl-registration-page .amsl-text {
  color: inherit !important;
  display: block !important;
  flex: 1 1 auto !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  opacity: 1 !important;
  padding: 0 !important;
  position: static !important;
  text-align: left !important;
  white-space: normal !important;
  width: auto !important;
}

/* Validation/messages */
html body.customer-account-login .message,
html body.customer-account-create .message {
  border-radius: 16px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  padding: 14px 16px !important;
}

html body.customer-account-login .field-error,
html body.customer-account-create .field-error {
  color: #b3261e !important;
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  margin-top: 8px !important;
}

/* Compatibility: overwrite old files if still referenced */
html body.customer-account-login .cg-account-left,
html body.customer-account-login .cg-account-right,
html body.customer-account-create .cg-account-left,
html body.customer-account-create .cg-account-right {
  display: none !important;
}

@media (max-width: 1050px) {
  html body.customer-account-login .column.main,
  html body.customer-account-create .column.main {
    grid-template-columns: 1fr !important;
  }

  html body.customer-account-login .cg-account-premium-hero,
  html body.customer-account-create .cg-account-premium-hero {
    grid-template-columns: 1fr !important;
    padding: 28px !important;
  }

  html body.customer-account-login .cg-account-or-standalone,
  html body.customer-account-create .cg-account-or-standalone {
    flex-direction: row !important;
    grid-column: 1 !important;
    grid-row: 3 !important;
    min-height: 0 !important;
  }

  html body.customer-account-login .cg-account-or-standalone:before,
  html body.customer-account-login .cg-account-or-standalone:after,
  html body.customer-account-create .cg-account-or-standalone:before,
  html body.customer-account-create .cg-account-or-standalone:after {
    height: 1px !important;
    width: auto !important;
  }

  html body.customer-account-login .cg-account-or-standalone span,
  html body.customer-account-create .cg-account-or-standalone span {
    margin: 0 13px !important;
  }

  html body.customer-account-login .column.main > .login-container,
  html body.customer-account-create .column.main > .block.block-new-customer {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  html body.customer-account-login .column.main > .amsl-login-page,
  html body.customer-account-create .column.main > .amsl-registration-page {
    grid-column: 1 !important;
    grid-row: 4 !important;
    min-height: 0 !important;
  }
}

@media (max-width: 600px) {
  html body.customer-account-login .column.main,
  html body.customer-account-create .column.main {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  html body.customer-account-login .cg-account-premium-hero,
  html body.customer-account-create .cg-account-premium-hero,
  html body.customer-account-login .column.main > .login-container,
  html body.customer-account-create .column.main > .block.block-new-customer,
  html body.customer-account-login .column.main > .amsl-login-page,
  html body.customer-account-create .column.main > .amsl-registration-page {
    border-radius: 20px !important;
    padding: 20px !important;
  }

  html body.customer-account-login .cg-account-premium-hero h1,
  html body.customer-account-create .cg-account-premium-hero h1 {
    font-size: 31px !important;
  }

  html body.customer-account-login .login-container .action.login,
  html body.customer-account-login .login-container button[type="submit"],
  html body.customer-account-create .block.block-new-customer .action.primary,
  html body.customer-account-create .block.block-new-customer button[type="submit"] {
    width: 100% !important;
  }

  html body.customer-account-create .block.block-new-customer .fieldset.create.info,
  html body.customer-account-create .block.block-new-customer .fieldset.create.account {
    grid-template-columns: 1fr !important;
  }

  html body.customer-account-login .login-container .cf-turnstile,
  html body.customer-account-create .block.block-new-customer .cf-turnstile {
    min-width: 0 !important;
  }
}

/* CG_TERMS_CHECKBOX_FIX */

html body.customer-account-create #form-validate .privacy-container-customer,
html body.customer-account-create form.form-create-account .privacy-container-customer {
  box-sizing: border-box !important;
  clear: both !important;
  display: block !important;
  float: none !important;
  grid-column: 1 / -1 !important;
  margin: 22px 0 18px !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: relative !important;
  transform: none !important;
  width: 100% !important;
}

html body.customer-account-create #form-validate .privacy-container-customer .field.choice,
html body.customer-account-create form.form-create-account .privacy-container-customer .field.choice {
  align-items: start !important;
  background:
    linear-gradient(135deg, rgba(45, 51, 127, .045), rgba(212, 175, 55, .10)) !important;
  border: 1px solid rgba(45, 51, 127, .13) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(31, 35, 71, .055) !important;
  box-sizing: border-box !important;
  clear: both !important;
  display: grid !important;
  float: none !important;
  gap: 12px !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 16px 18px !important;
  position: relative !important;
  transform: none !important;
  width: 100% !important;
}

html body.customer-account-create #form-validate input#account_create_privacy_condition,
html body.customer-account-create form.form-create-account input#account_create_privacy_condition {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  background: initial !important;
  border: initial !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  clip: auto !important;
  color: initial !important;
  cursor: pointer !important;
  display: block !important;
  float: none !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  height: 20px !important;
  left: auto !important;
  margin: 3px 0 0 !important;
  max-height: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  min-width: 20px !important;
  opacity: 1 !important;
  outline: none !important;
  padding: 0 !important;
  pointer-events: auto !important;
  position: static !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  visibility: visible !important;
  width: 20px !important;
  z-index: 2 !important;
}

html body.customer-account-create #form-validate .privacy-container-customer label[for="account_create_privacy_condition"],
html body.customer-account-create form.form-create-account .privacy-container-customer label[for="account_create_privacy_condition"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  clear: none !important;
  color: rgba(31, 35, 71, .82) !important;
  cursor: pointer !important;
  display: block !important;
  float: none !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  height: auto !important;
  letter-spacing: 0 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  opacity: 1 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: static !important;
  text-align: left !important;
  text-transform: none !important;
  transform: none !important;
  white-space: normal !important;
  width: 100% !important;
}

html body.customer-account-create #form-validate .privacy-container-customer label[for="account_create_privacy_condition"]:before,
html body.customer-account-create #form-validate .privacy-container-customer label[for="account_create_privacy_condition"]:after,
html body.customer-account-create form.form-create-account .privacy-container-customer label[for="account_create_privacy_condition"]:before,
html body.customer-account-create form.form-create-account .privacy-container-customer label[for="account_create_privacy_condition"]:after {
  content: none !important;
  display: none !important;
}

html body.customer-account-create #form-validate .privacy-container-customer .mb-tooltip,
html body.customer-account-create form.form-create-account .privacy-container-customer .mb-tooltip {
  color: rgba(31, 35, 71, .82) !important;
  display: inline !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  white-space: normal !important;
}

html body.customer-account-create #form-validate .privacy-container-customer .cg-terms-prefix,
html body.customer-account-create form.form-create-account .privacy-container-customer .cg-terms-prefix {
  color: rgba(31, 35, 71, .82) !important;
  display: inline !important;
  font-weight: 750 !important;
}

html body.customer-account-create #form-validate .privacy-container-customer a,
html body.customer-account-create form.form-create-account .privacy-container-customer a {
  color: #2d337f !important;
  display: inline !important;
  font-weight: 950 !important;
  position: static !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Keep validation text with the terms card, not near the password field. */
html body.customer-account-create #form-validate .privacy-container-customer .mage-error,
html body.customer-account-create #form-validate .privacy-container-customer .field-error,
html body.customer-account-create form.form-create-account .privacy-container-customer .mage-error,
html body.customer-account-create form.form-create-account .privacy-container-customer .field-error {
  color: #b3261e !important;
  display: block !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  grid-column: 2 !important;
  line-height: 1.45 !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  position: static !important;
  white-space: normal !important;
}

/* Reset other account checkboxes so no absolute-positioned checkbox leaks into password fields. */
html body.customer-account-create #form-validate .field.choice > input[type="checkbox"],
html body.customer-account-create form.form-create-account .field.choice > input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  clip: auto !important;
  float: none !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  visibility: visible !important;
}

/* Explicitly prevent any checkbox-like pseudo-element from being drawn inside password controls. */
html body.customer-account-create #form-validate .field.password .control:before,
html body.customer-account-create #form-validate .field.password .control:after,
html body.customer-account-create #form-validate .field.confirmation .control:before,
html body.customer-account-create #form-validate .field.confirmation .control:after,
html body.customer-account-create form.form-create-account .field.password .control:before,
html body.customer-account-create form.form-create-account .field.password .control:after,
html body.customer-account-create form.form-create-account .field.confirmation .control:before,
html body.customer-account-create form.form-create-account .field.confirmation .control:after {
  content: none !important;
  display: none !important;
}

@media (max-width: 600px) {
  html body.customer-account-create #form-validate .privacy-container-customer .field.choice,
  html body.customer-account-create form.form-create-account .privacy-container-customer .field.choice {
    border-radius: 16px !important;
    padding: 14px 15px !important;
  }
}

/* CG_PRIVACY_TERMS_CHECKBOX_CONFLICT_FIX_V2 */

/*
  The theme has broad rules:
  .field.choice > input[type="checkbox"] { position:absolute; clip... }
  .field.choice .label::before { fake checkbox... }

  This override intentionally uses the same fake-checkbox approach, but scoped
  only to the create-account privacy/terms checkbox so it stays next to the terms text.
*/

html body.customer-account-create form#form-validate .privacy-container-customer,
html body.customer-account-create form.form-create-account .privacy-container-customer {
  box-sizing: border-box !important;
  clear: both !important;
  display: block !important;
  float: none !important;
  grid-column: 1 / -1 !important;
  margin: 22px 0 18px !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: relative !important;
  transform: none !important;
  width: 100% !important;
}

html body.customer-account-create form#form-validate .privacy-container-customer > .field.choice,
html body.customer-account-create form#form-validate .privacy-container-customer .field.choice,
html body.customer-account-create form.form-create-account .privacy-container-customer > .field.choice,
html body.customer-account-create form.form-create-account .privacy-container-customer .field.choice {
  align-items: start !important;
  background:
    linear-gradient(135deg, rgba(45, 51, 127, .045), rgba(212, 175, 55, .10)) !important;
  border: 1px solid rgba(45, 51, 127, .13) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(31, 35, 71, .055) !important;
  box-sizing: border-box !important;
  clear: both !important;
  display: grid !important;
  float: none !important;
  gap: 12px !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 16px 18px !important;
  position: relative !important;
  transform: none !important;
  width: 100% !important;
}

/* Keep the real checkbox accessible/clickable, but invisible over the fake box. */
html body.customer-account-create form#form-validate .privacy-container-customer input#account_create_privacy_condition,
html body.customer-account-create form.form-create-account .privacy-container-customer input#account_create_privacy_condition {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  clip: auto !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
  cursor: pointer !important;
  display: block !important;
  float: none !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  height: 24px !important;
  left: 18px !important;
  margin: 0 !important;
  max-height: 24px !important;
  max-width: 24px !important;
  min-height: 24px !important;
  min-width: 24px !important;
  opacity: 0 !important;
  outline: none !important;
  overflow: visible !important;
  padding: 0 !important;
  pointer-events: auto !important;
  position: absolute !important;
  right: auto !important;
  top: 16px !important;
  transform: none !important;
  visibility: visible !important;
  white-space: normal !important;
  width: 24px !important;
  z-index: 5 !important;
}

/* The label is the visible row. */
html body.customer-account-create form#form-validate .privacy-container-customer label[for="account_create_privacy_condition"],
html body.customer-account-create form.form-create-account .privacy-container-customer label[for="account_create_privacy_condition"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  clear: none !important;
  color: rgba(31, 35, 71, .84) !important;
  cursor: pointer !important;
  display: block !important;
  float: none !important;
  font-family: var(--cg-font, "Inter", "Helvetica Neue", sans-serif) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  height: auto !important;
  letter-spacing: 0 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  opacity: 1 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: static !important;
  text-align: left !important;
  text-transform: none !important;
  transform: none !important;
  user-select: none !important;
  vertical-align: top !important;
  white-space: normal !important;
  width: 100% !important;
}

/* Override the generic .field.choice .label::before fake checkbox and anchor it inside the terms card. */
html body.customer-account-create form#form-validate .privacy-container-customer label[for="account_create_privacy_condition"]::before,
html body.customer-account-create form.form-create-account .privacy-container-customer label[for="account_create_privacy_condition"]::before {
  background: #fff !important;
  border: 2px solid #2d337f !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05) inset !important;
  box-sizing: border-box !important;
  content: "" !important;
  display: block !important;
  float: none !important;
  height: 22px !important;
  left: 18px !important;
  margin: 0 !important;
  min-height: 22px !important;
  min-width: 22px !important;
  opacity: 1 !important;
  padding: 0 !important;
  position: absolute !important;
  top: 17px !important;
  transform: none !important;
  width: 22px !important;
  z-index: 2 !important;
}

html body.customer-account-create form#form-validate .privacy-container-customer input#account_create_privacy_condition:checked + label[for="account_create_privacy_condition"]::before,
html body.customer-account-create form.form-create-account .privacy-container-customer input#account_create_privacy_condition:checked + label[for="account_create_privacy_condition"]::before {
  background:
    #b89b65
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 10.5 8 14.5 16 6'/%3E%3C/svg%3E")
    center / 72% 72%
    no-repeat !important;
  border-color: #b89b65 !important;
}

html body.customer-account-create form#form-validate .privacy-container-customer input#account_create_privacy_condition:focus-visible + label[for="account_create_privacy_condition"]::before,
html body.customer-account-create form.form-create-account .privacy-container-customer input#account_create_privacy_condition:focus-visible + label[for="account_create_privacy_condition"]::before {
  box-shadow:
    0 0 0 4px rgba(212, 175, 55, .25),
    0 1px 3px rgba(0, 0, 0, .05) inset !important;
}

/* Kill any generic after-checkmark from older CSS. */
html body.customer-account-create form#form-validate .privacy-container-customer label[for="account_create_privacy_condition"]::after,
html body.customer-account-create form.form-create-account .privacy-container-customer label[for="account_create_privacy_condition"]::after {
  content: none !important;
  display: none !important;
}

html body.customer-account-create form#form-validate .privacy-container-customer .mb-tooltip,
html body.customer-account-create form.form-create-account .privacy-container-customer .mb-tooltip,
html body.customer-account-create form#form-validate .privacy-container-customer .cg-terms-prefix,
html body.customer-account-create form.form-create-account .privacy-container-customer .cg-terms-prefix {
  color: rgba(31, 35, 71, .84) !important;
  display: inline !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  white-space: normal !important;
}

html body.customer-account-create form#form-validate .privacy-container-customer a,
html body.customer-account-create form.form-create-account .privacy-container-customer a {
  color: #2d337f !important;
  display: inline !important;
  font-weight: 950 !important;
  position: static !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Keep privacy validation attached to the terms row. */
html body.customer-account-create form#form-validate .privacy-container-customer .mage-error,
html body.customer-account-create form#form-validate .privacy-container-customer .field-error,
html body.customer-account-create form.form-create-account .privacy-container-customer .mage-error,
html body.customer-account-create form.form-create-account .privacy-container-customer .field-error {
  color: #b3261e !important;
  display: block !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  grid-column: 2 !important;
  line-height: 1.45 !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  position: static !important;
  white-space: normal !important;
}

/* Explicitly prevent any checkbox/pseudo-box from appearing in password fields. */
html body.customer-account-create form#form-validate .field.password input[type="checkbox"],
html body.customer-account-create form#form-validate .field.confirmation input[type="checkbox"],
html body.customer-account-create form.form-create-account .field.password input[type="checkbox"],
html body.customer-account-create form.form-create-account .field.confirmation input[type="checkbox"] {
  display: none !important;
  visibility: hidden !important;
}

html body.customer-account-create form#form-validate .field.password .label::before,
html body.customer-account-create form#form-validate .field.password .label::after,
html body.customer-account-create form#form-validate .field.confirmation .label::before,
html body.customer-account-create form#form-validate .field.confirmation .label::after,
html body.customer-account-create form.form-create-account .field.password .label::before,
html body.customer-account-create form.form-create-account .field.password .label::after,
html body.customer-account-create form.form-create-account .field.confirmation .label::before,
html body.customer-account-create form.form-create-account .field.confirmation .label::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 600px) {
  html body.customer-account-create form#form-validate .privacy-container-customer .field.choice,
  html body.customer-account-create form.form-create-account .privacy-container-customer .field.choice {
    border-radius: 16px !important;
    padding: 14px 15px !important;
  }

  html body.customer-account-create form#form-validate .privacy-container-customer label[for="account_create_privacy_condition"]::before,
  html body.customer-account-create form.form-create-account .privacy-container-customer label[for="account_create_privacy_condition"]::before {
    left: 15px !important;
    top: 15px !important;
  }

  html body.customer-account-create form#form-validate .privacy-container-customer input#account_create_privacy_condition,
  html body.customer-account-create form.form-create-account .privacy-container-customer input#account_create_privacy_condition {
    left: 15px !important;
    top: 14px !important;
  }
}
