/* GS Cont: account pages, checkout password, dashboard and menu. Colours: --gsc-p / --gsc-ok / --gsc-alert come from the
   theme (Flatsome variables, fallbacks from the settings), --gsc-mid from the settings. Fonts are the theme's. */
.gs-cont { --gsc-ink: #1b1b1b; --gsc-text: #3b3b38; --gsc-muted: #66665f; --gsc-line: #dcdcd8; --gsc-soft: #f6f6f4; --gsc-r: 11px; color: var(--gsc-text); }
.gs-cont *, .gs-cont *::before, .gs-cont *::after { box-sizing: border-box; }
.gs-cont-ic { display: inline-block; vertical-align: middle; flex: none; }
.gs-cont-nowrap { white-space: nowrap; }

/* Cards and layout */
.gs-cont-card { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px rgba(0, 0, 0, .06); padding: 28px 28px 26px; width: 100%; }
.gs-cont-auth { padding: 8px 0 24px; }
.gs-cont-auth-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 440px; margin: 0 auto; }
@media (min-width: 850px) {
  .gs-cont-auth-grid { grid-template-columns: minmax(0, 420px) minmax(0, 340px); justify-content: center; align-items: center; max-width: none; gap: 28px; }
}
.gs-cont-solo { max-width: 440px; margin: 8px auto 28px; }
.gs-cont .gs-cont-title, .gs-cont h2.gs-cont-title { font-size: 22px; font-weight: 700; margin: 0 0 6px; color: var(--gsc-ink); line-height: 1.25; text-transform: none; letter-spacing: 0; }
.gs-cont-sub { font-size: 14px; color: var(--gsc-muted); margin: 0 0 18px; line-height: 1.5; }
.gs-cont-card-h { font-size: 15px; font-weight: 700; color: var(--gsc-ink); margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; padding: 0; border: 0; }
.gs-cont-card-h a { font-size: 13px; color: var(--gsc-p); font-weight: 600; text-decoration: none; white-space: nowrap; }
.gs-cont-steps { display: flex; gap: 6px; margin-bottom: 18px; }
.gs-cont-steps i { flex: 1; height: 4px; border-radius: 2px; background: #e6e6e3; }
.gs-cont-steps i.is-on, .gs-cont-auth[data-step="2"] .gs-cont-step2-bar { background: var(--gsc-p); }
.gs-cont-lock { width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--gsc-p) 12%, #fff); color: var(--gsc-p); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Fields: floating label inside the box */
.gs-cont .gs-cont-field { position: relative; margin: 0 0 12px; }
.gs-cont .gs-cont-field > label { position: absolute; left: 14px; top: 7px; margin: 0; font-size: 11px; line-height: 1.2; color: var(--gsc-muted); font-weight: 500; pointer-events: none; text-transform: none; letter-spacing: 0; }
.gs-cont .gs-cont-field input.input-text,
.gs-cont .gs-cont-field input[type="text"],
.gs-cont .gs-cont-field input[type="email"],
.gs-cont .gs-cont-field input[type="password"] {
  display: block; width: 100%; height: 52px; margin: 0; padding: 20px 46px 4px 14px; font-size: 16px; line-height: 1.3; color: var(--gsc-ink);
  background: #fff; border: 1.5px solid var(--gsc-line); border-radius: var(--gsc-r); box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.gs-cont .gs-cont-field input:focus { outline: none; border-color: var(--gsc-p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gsc-p) 16%, transparent); }
.gs-cont .gs-cont-field.is-error input, .gs-cont .gs-cont-field input[aria-invalid="true"] { border-color: var(--gsc-alert); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gsc-alert) 12%, transparent); }
.gs-cont-eye, .gs-cont-checkout-pw .gs-cont-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; border: 0; border-radius: 8px; background: transparent; color: var(--gsc-muted); cursor: pointer; min-height: 0; line-height: 1; box-shadow: none; }
.gs-cont-eye:hover { color: var(--gsc-ink); background: var(--gsc-soft); }
.gs-cont-eye:focus-visible, .gs-cont-btn:focus-visible, .gs-cont-change:focus-visible, .gs-cont a:focus-visible { outline: 3px solid color-mix(in srgb, var(--gsc-p) 45%, transparent); outline-offset: 2px; }
.gs-cont-err { display: flex; gap: 6px; align-items: flex-start; color: var(--gsc-alert); font-size: 13px; line-height: 1.4; font-weight: 500; margin: -4px 0 10px; }
.gs-cont-err .gs-cont-ic { margin-top: 1px; }
.gs-cont-err[hidden] { display: none; }
.gs-cont-forgot { display: flex; justify-content: flex-end; margin: -2px 0 12px; font-size: 13.5px; }
.gs-cont-forgot a, .gs-cont-back a { color: var(--gsc-p); font-weight: 600; text-decoration: none; }
.gs-cont-back { text-align: center; margin: 16px 0 0; font-size: 13.5px; }
.gs-cont-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--gsc-text); margin: 0 0 14px; cursor: pointer; font-weight: 400; text-transform: none; letter-spacing: 0; }
.gs-cont-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--gsc-p); }
.gs-cont-note, .gs-cont-fine { font-size: 12.5px; color: var(--gsc-muted); line-height: 1.5; margin: 12px 0 0; }
.gs-cont-fine a { color: var(--gsc-text); text-decoration: underline; }
.gs-cont-hint { font-size: 12.5px; color: var(--gsc-muted); text-align: center; margin: 8px 0 0; }
.gs-cont-hint[hidden] { display: none; }

/* Buttons */
.gs-cont .gs-cont-btn { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 0; padding: 0 18px; border: 0; border-radius: var(--gsc-r); background: var(--gsc-p); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: 0; text-decoration: none; cursor: pointer; box-shadow: none; transition: filter .15s; }
.gs-cont .gs-cont-btn:hover { filter: brightness(.95); color: #fff; }
.gs-cont .gs-cont-btn[disabled], .gs-cont .gs-cont-btn.is-off { background: #e6e6e3; color: var(--gsc-muted); cursor: not-allowed; filter: none; }
.gs-cont .gs-cont-btn--ghost { background: #fff; color: var(--gsc-ink); border: 1.5px solid var(--gsc-line); }
.gs-cont .gs-cont-btn--ghost:hover { color: var(--gsc-ink); background: var(--gsc-soft); }

/* E-mail chip with "Change" under the address */
.gs-cont-who { display: flex; gap: 10px; align-items: flex-start; background: var(--gsc-soft); border-radius: var(--gsc-r); padding: 10px 12px; margin: 0 0 14px; font-size: 14px; color: var(--gsc-ink); }
.gs-cont-av { width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--gsc-p) 14%, #fff); color: var(--gsc-p); display: flex; align-items: center; justify-content: center; flex: none; }
.gs-cont-who-t { min-width: 0; line-height: 1.35; padding-top: 3px; }
.gs-cont-who-email { display: block; overflow-wrap: normal; word-break: normal; }
.gs-cont .gs-cont-change { display: inline-block; text-decoration: none; margin: 2px 0 0; padding: 0; border: 0; background: none; color: var(--gsc-p); font-weight: 600; font-size: 13px; cursor: pointer; min-height: 0; text-transform: none; letter-spacing: 0; box-shadow: none; }

/* Steps: with JS one step at a time; without JS both forms, no lookup step */
.gs-cont-step-1 { display: none; }
.gs-cont-who { display: none; }
html.gs-cont-js .gs-cont-auth .gs-cont-step { display: none; }
html.gs-cont-js .gs-cont-auth[data-step="1"] .gs-cont-step-1,
html.gs-cont-js .gs-cont-auth[data-step="2"][data-mode="login"] .gs-cont-step-login,
html.gs-cont-js .gs-cont-auth[data-step="2"][data-mode="register"] .gs-cont-step-register,
html.gs-cont-js .gs-cont-auth[data-step="2"][data-mode="both"] .gs-cont-step-login,
html.gs-cont-js .gs-cont-auth[data-step="2"][data-mode="both"] .gs-cont-step-register { display: block; }
html.gs-cont-js .gs-cont-auth:not([data-mode="both"]) .gs-cont-who { display: flex; }
.gs-cont-both-note { display: none; margin: 0 0 14px; }
html.gs-cont-js .gs-cont-auth[data-mode="both"] .gs-cont-both-note { display: block; }
html.gs-cont-js .gs-cont-auth[data-mode="both"] .gs-cont-step-register { margin-top: 28px; padding-top: 24px; border-top: 1px solid #eee; }
html.gs-cont-js .gs-cont-auth:not([data-mode="both"]) .gs-cont-field--id { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); margin: 0; }
html:not(.gs-cont-js) .gs-cont-step + .gs-cont-step { margin-top: 28px; padding-top: 24px; border-top: 1px solid #eee; }
html:not(.gs-cont-js) .gs-cont-steps { display: none; }

/* Password meter and rules */
.gs-cont-meter-wrap { display: none; }
.has-value .gs-cont-meter-wrap { display: block; }
.gs-cont-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 2px 0 6px; }
.gs-cont-meter i { height: 5px; border-radius: 3px; background: #e6e6e3; transition: background .2s; }
.gs-cont-meter[data-level="1"] i:nth-child(-n+1) { background: var(--gsc-alert); }
.gs-cont-meter[data-level="2"] i:nth-child(-n+2), .gs-cont-meter[data-level="3"] i:nth-child(-n+3) { background: var(--gsc-mid); }
.gs-cont-meter[data-level="4"] i { background: var(--gsc-ok); }
.gs-cont-meter-l { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--gsc-muted); margin-bottom: 8px; }
.gs-cont-meter-t { font-weight: 600; }
.gs-cont-meter-t[data-level="1"] { color: var(--gsc-alert); }
.gs-cont-meter-t[data-level="2"], .gs-cont-meter-t[data-level="3"] { color: var(--gsc-mid); }
.gs-cont-meter-t[data-level="4"] { color: var(--gsc-ok); }
.gs-cont .gs-cont-rules, .gs-cont-checkout-pw .gs-cont-rules { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 5px; font-size: 13px; }
.gs-cont-rules li { display: flex; gap: 8px; align-items: center; color: var(--gsc-muted); margin: 0; padding: 0; }
.gs-cont-rules li::before { display: none; }
.gs-cont-rules li.ok { color: var(--gsc-ink); }
.gs-cont-d { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid #c9c9c4; display: inline-flex; align-items: center; justify-content: center; flex: none; color: transparent; }
.gs-cont-rules li.ok .gs-cont-d, .gs-cont-allok .gs-cont-d { background: var(--gsc-ok); border-color: var(--gsc-ok); color: #fff; }
.gs-cont-allok { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 500; color: var(--gsc-ink); margin: 0 0 14px; }
.gs-cont-allok[hidden], .gs-cont-rules[hidden] { display: none; }
.gs-cont-checkout-pw { position: relative; }
.gs-cont-checkout-pw .woocommerce-input-wrapper { position: relative; display: block; }
.gs-cont-checkout-pw input[name="account_password"] { padding-right: 46px; }
.gs-cont-checkout-pw .gs-cont-meter-wrap, .gs-cont-checkout-pw .gs-cont-rules, .gs-cont-checkout-pw .gs-cont-allok { margin-left: 0; }
.gs-cont-checkout-pw .gs-cont-meter-l, .gs-cont-checkout-pw .gs-cont-rules, .gs-cont-checkout-pw .gs-cont-allok { --gsc-muted: #66665f; --gsc-ink: #1b1b1b; }

/* Benefits */
.gs-cont-panel { background: color-mix(in srgb, var(--gsc-p) 7%, #fff); border-radius: 16px; padding: 26px 24px; display: none; }
@media (min-width: 850px) { .gs-cont-panel { display: block; } .gs-cont-perks-m { display: none !important; } }
.gs-cont-panel h3 { margin: 0 0 16px; font-size: 16px; color: var(--gsc-ink); font-weight: 700; text-transform: none; letter-spacing: 0; }
.gs-cont .gs-cont-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.gs-cont-perk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #4a4a45; line-height: 1.45; margin: 0; }
.gs-cont-perk b { display: block; color: var(--gsc-ink); font-size: 14.5px; margin-bottom: 1px; }
.gs-cont-ic-box { width: 38px; height: 38px; border-radius: 11px; background: #fff; color: var(--gsc-p); display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.gs-cont-perks-m { display: flex; gap: 10px; align-items: center; background: color-mix(in srgb, var(--gsc-p) 7%, #fff); border-radius: 12px; padding: 10px 12px; margin: 0 0 14px; font-size: 13px; color: var(--gsc-ink); line-height: 1.4; font-weight: 500; }
.gs-cont-perks-m .gs-cont-ic-box { width: 30px; height: 30px; border-radius: 9px; }

/* Dashboard */
.gs-cont-dash { display: grid; gap: 18px; }
.gs-cont-hello h2 { margin: 0; font-size: 24px; color: var(--gsc-ink); text-transform: none; letter-spacing: 0; }
.gs-cont-hello p { margin: 4px 0 0; font-size: 15px; color: #4a4a45; }
.gs-cont-hello p b, .gs-cont-prog b { color: var(--gsc-ink); }
.gs-cont-hello p b:first-child { color: var(--gsc-p); }
.gs-cont-points { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; background: color-mix(in srgb, var(--gsc-p) 7%, #fff); border-radius: 16px; padding: 14px 18px; }
.gs-cont-points p { margin: 0; font-size: 14.5px; line-height: 1.5; flex: 1 1 220px; }
.gs-cont-points b { color: var(--gsc-ink); }
.gs-cont-points a { color: var(--gsc-p); font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.gs-cont-dash-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 1000px) { .gs-cont-dash-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .gs-cont-dash-grid.is-single { grid-template-columns: minmax(0, 560px); } }
.gs-cont-rank-top { display: flex; gap: 16px; align-items: center; }
.gs-cont-rank-top b { display: block; font-size: 20px; color: var(--gsc-ink); }
.gs-cont-rank-top span { color: var(--gsc-muted); font-size: 13.5px; }
.gs-cont-medal { width: 60px; height: 60px; border-radius: 50%; flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--gsc-p) 25%, #fff), var(--gsc-p)); }
.gs-cont-medal img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gs-cont-track { height: 10px; border-radius: 999px; background: #eeeeea; overflow: hidden; margin-top: 18px; }
.gs-cont-track i { display: block; height: 100%; background: var(--gsc-p); border-radius: 999px; }
.gs-cont-prog { margin: 10px 0 0; font-size: 14.5px; }
.gs-cont .gs-cont-tiers { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); gap: 6px; margin: 16px 0 0; padding: 0; }
.gs-cont-tiers li { text-align: center; font-size: 13px; font-weight: 600; color: var(--gsc-text); padding: 8px 2px; border-radius: 9px; background: var(--gsc-soft); line-height: 1.3; margin: 0; }
.gs-cont-tiers li b { display: block; color: var(--gsc-ink); font-size: 12.5px; font-weight: 600; }
.gs-cont-tiers li.is-on { background: color-mix(in srgb, var(--gsc-p) 12%, #fff); color: var(--gsc-p); box-shadow: inset 0 0 0 1.5px var(--gsc-p); }
.gs-cont-tiers li.is-on b { color: var(--gsc-p); }
.gs-cont-order-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.gs-cont-order-num { font-size: 13.5px; color: var(--gsc-muted); }
.gs-cont-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--gsc-ok); background: color-mix(in srgb, var(--gsc-ok) 12%, #fff); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.gs-cont-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gs-cont-status--cancelled, .gs-cont-status--failed, .gs-cont-status--refunded { color: var(--gsc-alert); background: color-mix(in srgb, var(--gsc-alert) 10%, #fff); }
.gs-cont-status--pending, .gs-cont-status--on-hold { color: var(--gsc-mid); background: color-mix(in srgb, var(--gsc-mid) 12%, #fff); }
.gs-cont-thumbs { display: flex; gap: 8px; margin: 14px 0 12px; flex-wrap: wrap; }
.gs-cont-thumb { width: 58px; height: 58px; border-radius: 10px; background: #fff; border: 1px solid #ececea; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.gs-cont-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gs-cont-thumb--more { background: var(--gsc-soft); border-color: var(--gsc-soft); font-weight: 700; font-size: 14px; color: var(--gsc-text); }
.gs-cont-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 13.5px; color: var(--gsc-muted); }
.gs-cont-total b { font-size: 18px; color: var(--gsc-ink); }
.gs-cont-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gs-cont-btns.is-single { grid-template-columns: 1fr; }
.gs-cont-btns .gs-cont-btn { margin: 0; min-height: 46px; font-size: 14px; }
@media (max-width: 380px) { .gs-cont-btns { grid-template-columns: 1fr; } }
.gs-cont-out-m { display: none; text-align: center; margin: 4px 0 0; }
.gs-cont-out-m a { display: inline-flex; gap: 8px; align-items: center; color: var(--gsc-muted); font-size: 14px; text-decoration: none; }
@media (max-width: 849px) { .gs-cont-out-m { display: block; } }
.gs-cont-content > .woocommerce-notices-wrapper:empty { display: none; }

/* Account details */
.gs-cont-edit { display: grid; gap: 18px; max-width: 640px; }
.gs-cont-edit fieldset.gs-cont-card { border: 0; margin: 0; }
.gs-cont-edit legend.gs-cont-card-h { float: left; width: 100%; padding: 0; }
.gs-cont-edit legend + * { clear: both; }
.gs-cont-row2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 600px) { .gs-cont-row2 { grid-template-columns: 1fr 1fr; } }
.gs-cont-actions .gs-cont-btn { max-width: 280px; }

/* Account menu: own nav (any theme) and Flatsome's sidebar list */
.gs-cont-nav ul, #my-account-nav.account-nav { list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.gs-cont-nav-i, #my-account-nav.account-nav > li.gs-cont-nav-i { margin: 0; padding: 0; border: 0; list-style: none; }
.gs-cont-nav-i::before, #my-account-nav .gs-cont-nav-i > a::before { display: none !important; }
.gs-cont-nav-i > a, #my-account-nav.account-nav .gs-cont-nav-i > a { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: #3b3b38; text-decoration: none; text-transform: none; letter-spacing: 0; line-height: 1.3; min-height: 44px; }
.gs-cont-nav-i > a > span { min-width: 0; }
.gs-cont-nav-i > a > svg { flex: none; }
.gs-cont-nav-i > a:hover { background: #f6f6f4; color: #1b1b1b; }
.gs-cont-nav-i.is-active > a, .gs-cont-nav-i > a[aria-current="page"], #my-account-nav.account-nav .gs-cont-nav-i.is-active > a, #my-account-nav.account-nav .gs-cont-nav-i.active > a, #my-account-nav.account-nav .gs-cont-nav-i > a[aria-current="page"] { background: color-mix(in srgb, var(--gsc-p) 10%, #fff); color: var(--gsc-p); font-weight: 700; }
.gs-cont-nav-out, #my-account-nav.account-nav > li.gs-cont-nav-out { border-top: 1px solid #eee !important; margin-top: 6px; padding-top: 6px; }
@media (max-width: 849px) {
  /* Flatsome hides its account sidebar on phones; GS Cont shows the menu as a band of tabs instead. */
  body.gs-cont-page:not(.gs-cont-weak) .my-account .vertical-tabs > .large-3.col { display: block !important; padding-bottom: 0; border: 0; }
  .gs-cont-nav ul, #my-account-nav.account-nav { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; background: transparent; box-shadow: none; padding: 0 30px 2px 0; margin-bottom: 14px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .gs-cont-nav ul::-webkit-scrollbar, #my-account-nav.account-nav::-webkit-scrollbar { display: none; }
  .gs-cont-nav-i > a, #my-account-nav.account-nav .gs-cont-nav-i > a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #e6e6e3; min-height: 40px; font-size: 13.5px; }
  .gs-cont-nav-i, #my-account-nav.account-nav > li.gs-cont-nav-i { flex: none; width: auto; }
  .gs-cont-nav-i > a .gs-cont-ic { display: none; }
  .gs-cont-nav-i.is-active > a, .gs-cont-nav-i > a[aria-current="page"], #my-account-nav.account-nav .gs-cont-nav-i.is-active > a, #my-account-nav.account-nav .gs-cont-nav-i.active > a, #my-account-nav.account-nav .gs-cont-nav-i > a[aria-current="page"] { background: var(--gsc-p); color: #fff; border-color: var(--gsc-p); }
  .gs-cont-nav-out { display: none !important; }
}

/* Weak-password screen: the menu is hidden, the card is centred */
body.gs-cont-weak .my-account .vertical-tabs > .large-3,
body.gs-cont-weak .woocommerce-MyAccount-navigation { display: none !important; }
body.gs-cont-weak .my-account .vertical-tabs > .large-9 { flex-basis: 100%; max-width: 100%; }
.gs-cont-solo-out { text-align: center; margin: 14px 0 0; font-size: 13.5px; }
.gs-cont-solo-out a { color: var(--gsc-muted); }

@media (max-width: 480px) {
  .gs-cont-card { padding: 20px 16px 18px; border-radius: 14px; }
  .gs-cont .gs-cont-title, .gs-cont h2.gs-cont-title { font-size: 20px; }
  .gs-cont .gs-cont-tiers { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .gs-cont-tiers li { font-size: 11.5px; padding: 7px 0; }
  .gs-cont-tiers li b { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
}
/* Wordfence two-step prompt (accounts with 2FA): the same field and button as the form */
.gs-cont .woocommerce-form-login:has(#wfls-prompt-overlay) { min-height: 200px; }
.gs-cont .woocommerce-form-login #wfls-prompt-overlay { padding: 2px 0 0; background: #fff; }
.gs-cont #wfls-prompt-wrapper p { margin: 0; }
.gs-cont #wfls-prompt-wrapper label[for="wfls-token"] { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--gsc-ink); text-transform: none; letter-spacing: 0; }
.gs-cont #wfls-prompt-wrapper .wfls-2fa-code-help { color: var(--gsc-muted); }
.gs-cont #wfls-token { display: block; width: 100%; height: 52px; margin: 0; padding: 0 14px; font-size: 20px; letter-spacing: .25em; text-align: center; color: var(--gsc-ink); background: #fff; border: 1.5px solid var(--gsc-line); border-radius: var(--gsc-r); box-shadow: none; }
.gs-cont #wfls-token:focus { outline: none; border-color: var(--gsc-p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gsc-p) 16%, transparent); }
.gs-cont .woocommerce-form-login .wfls-remember-device-wrapper { float: none; margin: 14px 0 0; }
.gs-cont .woocommerce-form-login .wfls-remember-device-wrapper label { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 14px; line-height: 1.4; font-weight: 400; color: var(--gsc-text); text-transform: none; letter-spacing: 0; }
.gs-cont .wfls-remember-device-wrapper input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--gsc-p); }
.gs-cont #wfls-prompt-wrapper p.submit { margin: 14px 0 0; padding: 0; }
.gs-cont #wfls-token-submit { display: block; width: 100%; min-height: 50px; margin: 0; padding: 0 18px; border: 0; border-radius: var(--gsc-r); background: var(--gsc-p); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer; }
.gs-cont #wfls-token-submit:disabled { opacity: .6; cursor: default; }
.gs-cont-2fa-note { margin: 0 0 14px; }
/* Account pages: title, orders, addresses */
.gs-cont-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.gs-cont .gs-cont-page-title { font-size: 22px; margin: 0 0 4px; }
.gs-cont-orders .gs-cont-sub, .gs-cont-addresses .gs-cont-sub { font-size: 13px; margin: 0 0 16px; }
.gs-cont .gs-cont-btn.gs-cont-btn-ghost { background: #fff; color: var(--gsc-p); border: 1.5px solid var(--gsc-p); }
.gs-cont .gs-cont-btn.gs-cont-btn-ghost:hover { filter: none; color: var(--gsc-p); background: color-mix(in srgb, var(--gsc-p) 6%, #fff); }
.gs-cont-olist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gs-cont-ocard { list-style: none; margin: 0; background: #fff; border: 1px solid #e8e8e5; border-radius: 14px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id status" "thumbs thumbs" "total total" "extra extra" "acts acts"; gap: 10px 12px; align-items: center; }
.gs-cont-ocard-id { grid-area: id; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gs-cont .gs-cont-onum { font-size: 15px; font-weight: 700; color: var(--gsc-ink); text-decoration: none; }
.gs-cont .gs-cont-onum:hover { color: var(--gsc-p); }
.gs-cont-ometa { font-size: 12.5px; color: var(--gsc-muted); }
.gs-cont-ocard .gs-cont-status { grid-area: status; justify-self: end; }
.gs-cont-ocard .gs-cont-thumbs { grid-area: thumbs; margin: 0; gap: 6px; }
.gs-cont-ocard .gs-cont-thumb { width: 44px; height: 44px; border-radius: 8px; }
.gs-cont-ocard .gs-cont-thumb--more { font-size: 12.5px; }
.gs-cont-ocard-total { grid-area: total; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--gsc-muted); }
.gs-cont-ocard-total b { font-size: 15.5px; font-weight: 700; color: var(--gsc-ink); }
.gs-cont-ocard-extra { grid-area: extra; font-size: 13px; color: var(--gsc-text); }
.gs-cont-ocard-extra > span:first-child { color: var(--gsc-muted); }
.gs-cont-ocard-actions { grid-area: acts; display: flex; gap: 8px; flex-wrap: wrap; }
.gs-cont .gs-cont-ocard-actions .gs-cont-btn { flex: 1 1 auto; width: auto; min-height: 42px; margin: 0; padding: 0 14px; font-size: 13.5px; }
.gs-cont .gs-cont-ocard-actions .gs-cont-btn.cancel { flex: 0 0 auto; background: none; border-color: transparent; color: var(--gsc-muted); }
.gs-cont .gs-cont-ocard-actions .gs-cont-btn.cancel:hover { color: var(--gsc-alert); }
.gs-cont-pages { display: flex; gap: 10px; justify-content: space-between; margin-top: 16px; }
.gs-cont .gs-cont-pages .gs-cont-btn { width: auto; padding: 0 18px; }
.gs-cont-orders-empty { text-align: center; padding: 34px 20px; border: 1px dashed #e8e8e5; border-radius: 14px; }
.gs-cont-orders-empty > .gs-cont-ic { width: 30px; height: 30px; color: var(--gsc-p); display: block; margin: 0 auto 8px; }
.gs-cont-orders-empty p { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--gsc-ink); }
.gs-cont .gs-cont-orders-empty .gs-cont-btn { width: auto; display: inline-flex; padding: 0 22px; }
.gs-cont-addr-grid { display: grid; gap: 12px; }
.gs-cont-addr { background: #fff; border: 1px solid #e8e8e5; border-radius: 14px; padding: 14px 16px 16px; }
.gs-cont-addr-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 8px; }
.gs-cont .gs-cont-addr-h h3 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 15px; font-weight: 700; color: var(--gsc-ink); text-transform: none; letter-spacing: 0; }
.gs-cont-addr-h h3 .gs-cont-ic { color: var(--gsc-p); }
.gs-cont .gs-cont-addr-edit { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; font-size: 13px; font-weight: 600; color: var(--gsc-p); text-decoration: none; white-space: nowrap; }
.gs-cont .gs-cont-addr address { margin: 0; font-style: normal; font-size: 14px; line-height: 1.6; color: var(--gsc-text); }
.gs-cont-addr-note { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--gsc-muted); }
.gs-cont-addr-name { display: block; margin: 2px 0 12px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--gsc-ink); }
.gs-cont .gs-cont-addr-rows { display: grid; gap: 10px; margin: 0; padding: 0; }
.gs-cont-addr-rows > div { display: grid; gap: 1px; }
.gs-cont .gs-cont-addr-rows dt { margin: 0; padding: 0; font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--gsc-muted); text-transform: none; letter-spacing: 0; }
.gs-cont .gs-cont-addr-rows dd { margin: 0; padding: 0; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--gsc-ink); text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.gs-cont-onotice { margin: 4px 0 16px; }
.gs-cont-onotice, .gs-cont-onotice .medium-text-center { text-align: left !important; }
.gs-cont-onotice .woocommerce-info, .gs-cont-onotice .woocommerce-message, .gs-cont-onotice .woocommerce-error { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0 0 8px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--gsc-p) 22%, #fff); border-radius: 12px; background: color-mix(in srgb, var(--gsc-p) 6%, #fff); color: var(--gsc-text); font-size: 13.5px; line-height: 1.5; text-align: left; list-style: none; }
.gs-cont-onotice .woocommerce-error { border-color: color-mix(in srgb, var(--gsc-alert) 25%, #fff); background: color-mix(in srgb, var(--gsc-alert) 6%, #fff); }
.gs-cont-onotice .woocommerce-info::before, .gs-cont-onotice .woocommerce-message::before, .gs-cont-onotice .message-icon { display: none; }
.gs-cont-onotice .message-container { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: auto; max-width: none; margin: 0; padding: 0; border: 0; background: none; text-align: left; }
.gs-cont-onotice .button, .gs-cont-onotice a.wc-forward { order: 2; display: inline-flex; align-items: center; float: none; min-height: 38px; margin: 0; padding: 0 16px; border: 0; border-radius: 10px; background: var(--gsc-p); color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: 0; text-decoration: none; box-shadow: none; }
@media (min-width: 850px) {
  .gs-cont-ocard { grid-template-columns: 170px 150px minmax(0, 1fr) 130px auto; grid-template-areas: "id status thumbs total acts" "extra extra extra extra extra"; padding: 14px 16px; }
  .gs-cont-ocard .gs-cont-status { justify-self: start; }
  .gs-cont-ocard-total { flex-direction: column; align-items: flex-start; gap: 0; }
  .gs-cont-ocard-actions { justify-content: flex-end; flex-wrap: nowrap; }
  .gs-cont .gs-cont-ocard-actions .gs-cont-btn { flex: 0 0 auto; }
  .gs-cont-addr-grid { grid-template-columns: 1fr 1fr; }
  .gs-cont-ocard .gs-cont-thumbs { flex-wrap: nowrap; overflow: hidden; }
  .gs-cont-addr-rows > div { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: baseline; }
}
/* Edit address: the shop's own fields (WooCommerce, field editors, county/city lists) in the page's card */
.gs-cont .gs-cont-back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: 0 0 4px; font-size: 13.5px; font-weight: 600; color: var(--gsc-muted); text-decoration: none; }
.gs-cont .gs-cont-back:hover { color: var(--gsc-p); }
.gs-cont-addr-form { background: #fff; border: 1px solid #e8e8e5; border-radius: 14px; padding: 18px 16px 16px; }
.gs-cont-addr-form .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 16px; }
.gs-cont-addr-form .woocommerce-address-fields__field-wrapper::before, .gs-cont-addr-form .woocommerce-address-fields__field-wrapper::after { content: none; display: none; }
.gs-cont-addr-form .form-row { float: none; width: auto; min-width: 0; margin: 0; padding: 0; grid-column: 1 / -1; }
.gs-cont-addr-form .form-row label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--gsc-ink); text-transform: none; letter-spacing: 0; }
.gs-cont-addr-form .form-row .required { color: var(--gsc-alert); font-weight: 700; text-decoration: none; border: 0; }
.gs-cont-addr-form .form-row label .required ~ .required { display: none; } /* a field plugin's asterisk next to WooCommerce's own */
.gs-cont-addr-form .form-row .optional { font-weight: 400; color: var(--gsc-muted); }
.gs-cont-addr-form .form-row input.input-text, .gs-cont-addr-form .form-row select, .gs-cont-addr-form .form-row textarea { display: block; width: 100%; height: 48px; margin: 0; padding: 0 14px; font-size: 15px; line-height: 1.3; color: var(--gsc-ink); background-color: #fff; border: 1.5px solid var(--gsc-line); border-radius: 11px; box-shadow: none; text-transform: none; }
.gs-cont-addr-form .form-row select { padding-right: 40px; }
.gs-cont-addr-form .form-row textarea { height: auto; min-height: 96px; padding: 12px 14px; }
.gs-cont-addr-form .form-row input.input-text:focus, .gs-cont-addr-form .form-row select:focus, .gs-cont-addr-form .form-row textarea:focus { outline: none; border-color: var(--gsc-p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gsc-p) 16%, transparent); }
.gs-cont-addr-form .select2-container { width: 100% !important; margin: 0; }
.gs-cont-addr-form .select2-container .select2-selection--single { height: 48px; margin: 0; padding: 0; border: 1.5px solid var(--gsc-line); border-radius: 11px; background-color: #fff; box-shadow: none; }
.gs-cont-addr-form .select2-container .select2-selection--single .select2-selection__rendered { line-height: 45px; padding: 0 44px 0 14px; font-size: 15px; color: var(--gsc-ink); }
.gs-cont-addr-form .select2-container .select2-selection--single .select2-selection__arrow { height: 45px; right: 10px; }
.gs-cont-addr-form .select2-container .select2-selection__clear { margin-right: 6px; color: var(--gsc-muted); }
.gs-cont-addr-form .select2-container--focus .select2-selection--single, .gs-cont-addr-form .select2-container--open .select2-selection--single { border-color: var(--gsc-p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gsc-p) 16%, transparent); }
.gs-cont-addr-form .form-row.woocommerce-invalid input.input-text, .gs-cont-addr-form .form-row.woocommerce-invalid .select2-selection { border-color: var(--gsc-alert); }
.gs-cont-addr-form .form-row .description { margin: 6px 0 0; font-size: 12.5px; color: var(--gsc-muted); }
.gs-cont-addr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid #eee; }
.gs-cont .gs-cont-addr-actions .gs-cont-btn { flex: 1 1 auto; width: auto; margin: 0; padding: 0 22px; }
@media (min-width: 600px) {
  .gs-cont-addr-form { padding: 22px 22px 20px; }
  .gs-cont-addr-form .woocommerce-address-fields__field-wrapper { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gs-cont-addr-form .form-row-first:has(+ .form-row-last) { grid-column: 1; }
  .gs-cont-addr-form .form-row-first + .form-row-last { grid-column: 2; }
  .gs-cont .gs-cont-addr-actions .gs-cont-btn { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .gs-cont * { transition: none !important; } }
/* 1.0.7: one order in the account ("se vede aiurea" after a failed card payment): number, date and status on top; while it
   waits for its payment a short line and the pay / cancel buttons; products and totals as a card; delivery and invoice as
   the Addresses cards. The field editor's duplicate table ("BILLING FIELDS") and the buttons inside the totals are hidden. */
.gs-cont-vieworder { display: grid; gap: 14px; }
.gs-cont .gs-cont-vo-back { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 36px; font-size: 13px; font-weight: 600; color: var(--gsc-muted); text-decoration: none; }
.gs-cont .gs-cont-vo-back:hover { color: var(--gsc-p); }
.gs-cont-vo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gs-cont .gs-cont-vo-head .gs-cont-sub { margin: 0; }
.gs-cont-vo-head .gs-cont-status { flex: none; margin-top: 4px; }
.gs-cont .gs-cont-vo-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--gsc-text); }
.gs-cont-vo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-cont .gs-cont-vo-actions .gs-cont-btn { flex: 1 1 auto; width: auto; min-height: 46px; margin: 0; padding: 0 20px; }
.gs-cont .gs-cont-vo-actions .gs-cont-btn.cancel { flex: 0 0 auto; background: none; border-color: transparent; color: var(--gsc-muted); }
.gs-cont .gs-cont-vo-actions .gs-cont-btn.cancel:hover { background: none; color: var(--gsc-alert); }
.gs-cont-vo-notes { background: #fff; border: 1px solid #e8e8e5; border-radius: 14px; padding: 14px 16px; }
.gs-cont-vo-notes ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gs-cont-vo-notes li { display: grid; gap: 2px; margin: 0; }
.gs-cont-vo-note-date { font-size: 12px; color: var(--gsc-muted); }
.gs-cont .gs-cont-vo-note-text p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--gsc-text); }
.gs-cont-vieworder .woocommerce-order-details { margin: 0; padding: 14px 16px; background: #fff; border: 1px solid #e8e8e5; border-radius: 14px; }
.gs-cont-vieworder h2.woocommerce-order-details__title { margin: 0 0 4px; font-size: 15px !important; font-weight: 700; line-height: 1.3; color: var(--gsc-ink); text-transform: none; letter-spacing: 0; } /* the child theme sets every h2 to 22px !important */
.gs-cont-vieworder table.woocommerce-table--order-details { display: block; width: 100%; margin: 0; border: 0; }
/* every line is a full-width row: label or product on the left, amount on the right (like GS Comandă's thank-you page) */
.gs-cont-vieworder .woocommerce-table--order-details :is(tbody, tfoot) { display: block; }
.gs-cont-vieworder .woocommerce-table--order-details :is(tbody, tfoot) tr { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 1px solid #efefec; }
.gs-cont-vieworder .woocommerce-table--order-details :is(tbody, tfoot) :is(th, td) { display: block; border-bottom: 0; }
.gs-cont-vieworder .woocommerce-table--order-details td.product-name { flex: 1 1 auto; min-width: 0; }
.gs-cont-vieworder .woocommerce-table--order-details thead { display: none; }
.gs-cont-vieworder .woocommerce-table--order-details :is(th, td) { padding: 10px 0; border: 0; border-bottom: 1px solid #efefec; font-size: 14px; font-weight: 400; line-height: 1.45; text-align: left; text-transform: none; letter-spacing: 0; vertical-align: top; color: var(--gsc-text); }
.gs-cont-vieworder .woocommerce-table--order-details tr > :last-child { padding-left: 12px; text-align: right; color: var(--gsc-ink); }
/* only the prices stay on one line: a long payment method name would squeeze the product names */
.gs-cont-vieworder .woocommerce-table--order-details td.product-total { flex: none; white-space: nowrap; }
.gs-cont-vieworder .woocommerce-table--order-details td.product-name a { font-weight: 400; color: var(--gsc-ink); text-decoration: none; }
/* the product lines: picture, name on at most two lines, quantity under it (GS_Cont_Templates::order_item_name) */
.gs-cont-oi{display:flex;gap:12px;align-items:flex-start}
.gs-cont-oi .gs-cont-oi-img { width: 52px; height: 52px; flex: none; margin: 0; object-fit: contain; border: 1px solid #ededea; border-radius: 10px; background: #fff; }
.gs-cont-oi-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.gs-cont-oi-name, .gs-cont-oi-name a { font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--gsc-ink); text-decoration: none; }
.gs-cont-oi-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gs-cont-oi-qty { white-space: nowrap; padding: 4px 9px; border-radius: 99px; background: var(--gsc-soft); font-size: 12px; font-weight: 600; line-height: 1; color: var(--gsc-muted); }
.gs-cont-vieworder td.product-name:has(.gs-cont-oi) .wc-item-meta { margin-left: 64px; }
.gs-cont-vieworder .woocommerce-table--order-details td.product-name a:hover { color: var(--gsc-p); }
.gs-cont-vieworder .woocommerce-table--order-details .product-quantity { font-weight: 400; color: var(--gsc-muted); white-space: nowrap; }
.gs-cont-vieworder .woocommerce-table--order-details tfoot th { color: var(--gsc-muted); }
/* the totals: the label keeps its width, the amount takes the rest */
.gs-cont-vieworder .woocommerce-table--order-details tfoot th { flex: none; }
.gs-cont-vieworder .woocommerce-table--order-details tfoot td { flex: 0 1 auto; min-width: 0; }
.gs-cont-vieworder .woocommerce-table--order-details tfoot tr:has(.includes_tax) :is(th, td) { font-size: 15.5px; font-weight: 700; color: var(--gsc-ink); }
.gs-cont-vieworder .woocommerce-table--order-details tfoot small { display: block; font-size: 12px; font-weight: 400; color: var(--gsc-muted); }
.gs-cont-vieworder .woocommerce-table--order-details tfoot tr { border-bottom: 0; }
.gs-cont-vieworder .woocommerce-table--order-details tfoot tr + tr { border-top: 1px solid #efefec; } /* a line between totals, none after the last shown one (the actions row is hidden) */
.gs-cont-vieworder .woocommerce-table--order-details tfoot tr:last-child :is(th, td) { padding-bottom: 0; }
.gs-cont-vieworder .wc-item-meta { margin: 4px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--gsc-muted); }
.gs-cont-vieworder .wc-item-meta :is(p, strong) { display: inline; margin: 0; font-weight: 400; }
.gs-cont-vieworder .woocommerce-table--custom-fields{display:none}
.gs-cont-vieworder .woocommerce-table--order-details tfoot tr:has(.order-actions-button){display:none}
.gs-cont-vieworder .order-again { margin: 12px 0 0; }
.gs-cont-vieworder .woocommerce-customer-details { margin: 0; }
@media (min-width: 768px) {
  .gs-cont .gs-cont-vo-actions .gs-cont-btn { flex: 0 0 auto; min-width: 180px; }
  .gs-cont-vieworder .woocommerce-order-details { padding: 16px 20px; }
}
