/*
 * GBO system pages
 * Account, affiliate, cart, checkout, SimpleCheckout and unified breadcrumbs.
 * Loaded after legacy theme styles to avoid altering catalog/product pages.
 */

:root {
  --gbo-system-blue: var(--gbo-blue, #123f78);
  --gbo-system-blue-dark: var(--gbo-blue-dark, #0c315f);
  --gbo-system-ink: var(--gbo-ink, #17212f);
  --gbo-system-text: var(--gbo-text, #344054);
  --gbo-system-muted: var(--gbo-muted, #667085);
  --gbo-system-border: var(--gbo-border, #dce3ec);
  --gbo-system-bg: var(--gbo-bg, #f3f6fa);
  --gbo-system-danger: var(--gbo-danger, #c93434);
  --gbo-system-success: #18794e;
  --gbo-system-radius: var(--gbo-radius, 14px);
  --gbo-system-radius-lg: var(--gbo-radius-lg, 20px);
  --gbo-system-shadow: var(--gbo-shadow-sm, 0 10px 30px rgba(18, 63, 120, .08));
}

/* Unified breadcrumbs */
.gbo-breadcrumbs {
  font-family: "Manrope", Arial, sans-serif;
  margin: 0 0 24px;
}

.gbo-breadcrumbs ol {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 6px 10px;
}

.gbo-breadcrumbs li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  color: var(--gbo-system-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.gbo-breadcrumbs li:not(:last-child)::after {
  margin-left: 10px;
  color: #b4bfcc;
  content: "\f105";
  font-family: FontAwesome;
  font-size: 10px;
}

.gbo-breadcrumbs a {
  color: var(--gbo-system-muted);
  text-decoration: none;
}

.gbo-breadcrumbs a:hover,
.gbo-breadcrumbs a:focus {
  color: var(--gbo-system-blue);
}

.gbo-breadcrumbs li:last-child span {
  display: block;
  max-width: min(620px, 70vw);
  overflow: hidden;
  color: var(--gbo-system-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* System page frame */
.gbo-system-page,
[id^="account-"].container,
[id^="affiliate-"].container,
[id^="checkout-"].container,
#common-success.container,
#error-not-found.container {
  padding-top: 28px;
  padding-bottom: 76px;
  font-family: "Manrope", Arial, sans-serif;
}

.gbo-system-page .row,
[id^="account-"] > .row,
[id^="affiliate-"] > .row,
[id^="checkout-"] > .row {
  margin-right: -12px;
  margin-left: -12px;
}

.gbo-system-page .row > [class*="col-"],
[id^="account-"] > .row > [class*="col-"],
[id^="affiliate-"] > .row > [class*="col-"],
[id^="checkout-"] > .row > [class*="col-"] {
  padding-right: 12px;
  padding-left: 12px;
}

.gbo-account-page #content,
[id^="account-"] #content,
[id^="affiliate-"] #content,
#checkout-cart #content,
#checkout-checkout #content,
#common-success #content,
#error-not-found #content {
  min-width: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--gbo-system-border);
  border-radius: var(--gbo-system-radius-lg);
  box-shadow: var(--gbo-system-shadow);
}

.gbo-simple-page #content,
.simple-content #content {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.gbo-system-page #content > h1:first-child,
.gbo-system-page #content > h2:first-child,
[id^="account-"] #content > h1:first-child,
[id^="account-"] #content > h2:first-child,
[id^="affiliate-"] #content > h1:first-child,
[id^="affiliate-"] #content > h2:first-child,
[id^="checkout-"] #content > h1:first-child,
[id^="checkout-"] #content > h2:first-child {
  margin-top: 0;
  margin-bottom: 22px;
  color: var(--gbo-system-ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.18;
}

.gbo-system-page #content > h2:not(:first-child),
[id^="account-"] #content > h2:not(:first-child),
[id^="affiliate-"] #content > h2:not(:first-child) {
  margin-top: 28px;
  margin-bottom: 14px;
  color: var(--gbo-system-ink);
  font-size: 19px;
  font-weight: 800;
}

/* Forms */
.gbo-system-page fieldset,
[id^="account-"] fieldset,
[id^="affiliate-"] fieldset,
[id^="checkout-"] fieldset,
.simple-content fieldset {
  min-width: 0;
  padding: 0;
  margin: 0 0 24px;
  border: 0;
}

.gbo-system-page legend,
[id^="account-"] legend,
[id^="affiliate-"] legend,
[id^="checkout-"] legend,
.simple-content legend {
  width: 100%;
  padding: 0 0 12px;
  margin: 0 0 18px;
  color: var(--gbo-system-ink);
  border-bottom: 1px solid var(--gbo-system-border);
  font-size: 17px;
  font-weight: 800;
}

.gbo-system-page .form-group,
[id^="account-"] .form-group,
[id^="affiliate-"] .form-group,
[id^="checkout-"] .form-group,
.simple-content .form-group {
  margin-bottom: 18px;
}

.gbo-system-page .control-label,
[id^="account-"] .control-label,
[id^="affiliate-"] .control-label,
[id^="checkout-"] .control-label,
.simple-content label {
  padding-top: 0;
  margin-bottom: 8px;
  color: var(--gbo-system-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.gbo-system-page .form-control,
[id^="account-"] .form-control,
[id^="affiliate-"] .form-control,
[id^="checkout-"] .form-control,
.simple-content .form-control,
.simple-content input[type="text"],
.simple-content input[type="email"],
.simple-content input[type="tel"],
.simple-content input[type="password"],
.simple-content input[type="number"],
.simple-content select,
.simple-content textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  color: var(--gbo-system-ink);
  background: #fff;
  border: 1px solid #cdd6e2;
  border-radius: 10px;
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.gbo-system-page textarea.form-control,
[id^="account-"] textarea.form-control,
[id^="affiliate-"] textarea.form-control,
[id^="checkout-"] textarea.form-control,
.simple-content textarea {
  min-height: 116px;
  resize: vertical;
}

.gbo-system-page .form-control:focus,
[id^="account-"] .form-control:focus,
[id^="affiliate-"] .form-control:focus,
[id^="checkout-"] .form-control:focus,
.simple-content .form-control:focus,
.simple-content input:focus,
.simple-content select:focus,
.simple-content textarea:focus {
  border-color: var(--gbo-system-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(18, 63, 120, .12);
}

.gbo-system-page .required .control-label::before,
[id^="account-"] .required .control-label::before,
[id^="affiliate-"] .required .control-label::before,
[id^="checkout-"] .required .control-label::before,
.simple-content .required label::before {
  margin-right: 4px;
  color: var(--gbo-system-danger);
  content: "*";
  font-weight: 800;
}

.gbo-system-page .text-danger,
[id^="account-"] .text-danger,
[id^="affiliate-"] .text-danger,
[id^="checkout-"] .text-danger,
.simple-content .simplecheckout-error-text {
  display: block;
  margin-top: 6px;
  color: var(--gbo-system-danger);
  font-size: 12px;
  font-weight: 650;
}

.gbo-system-page .radio label,
.gbo-system-page .checkbox label,
[id^="account-"] .radio label,
[id^="account-"] .checkbox label,
[id^="checkout-"] .radio label,
[id^="checkout-"] .checkbox label,
.simple-content .radio label,
.simple-content .checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--gbo-system-text);
  font-weight: 600;
}

.gbo-system-page input[type="checkbox"],
.gbo-system-page input[type="radio"],
[id^="account-"] input[type="checkbox"],
[id^="account-"] input[type="radio"],
[id^="checkout-"] input[type="checkbox"],
[id^="checkout-"] input[type="radio"],
.simple-content input[type="checkbox"],
.simple-content input[type="radio"] {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--gbo-system-blue);
}

/* Buttons and messages */
.gbo-system-page .btn,
[id^="account-"] .btn,
[id^="affiliate-"] .btn,
[id^="checkout-"] .btn,
.simple-content .btn,
.simple-content .button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.gbo-system-page .btn:hover,
[id^="account-"] .btn:hover,
[id^="affiliate-"] .btn:hover,
[id^="checkout-"] .btn:hover,
.simple-content .btn:hover,
.simple-content .button:hover {
  transform: translateY(-1px);
}

.gbo-system-page .btn-primary,
[id^="account-"] .btn-primary,
[id^="affiliate-"] .btn-primary,
[id^="checkout-"] .btn-primary,
.simple-content .btn-primary,
.simple-content .button_oc,
.simple-content .button {
  color: #fff;
  background: var(--gbo-system-blue);
  border-color: var(--gbo-system-blue);
  box-shadow: 0 8px 18px rgba(18, 63, 120, .16);
}

.gbo-system-page .btn-primary:hover,
[id^="account-"] .btn-primary:hover,
[id^="affiliate-"] .btn-primary:hover,
[id^="checkout-"] .btn-primary:hover,
.simple-content .btn-primary:hover,
.simple-content .button_oc:hover,
.simple-content .button:hover {
  color: #fff;
  background: var(--gbo-system-blue-dark);
  border-color: var(--gbo-system-blue-dark);
}

.gbo-system-page .btn-default,
[id^="account-"] .btn-default,
[id^="affiliate-"] .btn-default,
[id^="checkout-"] .btn-default,
.simple-content .btn-default {
  color: var(--gbo-system-ink);
  background: #fff;
  border-color: var(--gbo-system-border);
}

.gbo-system-page .buttons,
[id^="account-"] .buttons,
[id^="affiliate-"] .buttons,
[id^="checkout-"] .buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.gbo-system-page .alert,
[id^="account-"] .alert,
[id^="affiliate-"] .alert,
[id^="checkout-"] .alert,
.simple-content .alert {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.gbo-system-page .alert .close,
[id^="account-"] .alert .close,
[id^="checkout-"] .alert .close,
.simple-content .alert .close {
  margin-left: auto;
}

.gbo-system-page .alert-danger,
[id^="account-"] .alert-danger,
[id^="checkout-"] .alert-danger,
.simple-content .alert-danger,
.simplecheckout-warning-block {
  color: #8d2222;
  background: #fff1f1;
  border-color: #f2c5c5;
}

.gbo-system-page .alert-success,
[id^="account-"] .alert-success,
[id^="checkout-"] .alert-success,
.simple-content .alert-success {
  color: var(--gbo-system-success);
  background: #eefaf4;
  border-color: #bfe5d1;
}

.gbo-system-page .alert-info,
[id^="checkout-"] .alert-info,
.simple-content .alert-info {
  color: #255b8d;
  background: #edf6ff;
  border-color: #bdd8f3;
}

/* Account navigation and dashboard */
.gbo-account-page #column-left .list-group,
.gbo-account-page #column-right .list-group,
[id^="account-"] #column-left .list-group,
[id^="account-"] #column-right .list-group,
[id^="affiliate-"] #column-left .list-group,
[id^="affiliate-"] #column-right .list-group {
  overflow: hidden;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--gbo-system-border);
  border-radius: var(--gbo-system-radius);
  box-shadow: var(--gbo-system-shadow);
}

.gbo-account-page .list-group-item,
[id^="account-"] #column-left .list-group-item,
[id^="account-"] #column-right .list-group-item,
[id^="affiliate-"] #column-left .list-group-item,
[id^="affiliate-"] #column-right .list-group-item {
  padding: 11px 12px;
  color: var(--gbo-system-text);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.gbo-account-page .list-group-item:hover,
.gbo-account-page .list-group-item.active,
[id^="account-"] #column-left .list-group-item:hover,
[id^="account-"] #column-left .list-group-item.active,
[id^="account-"] #column-right .list-group-item:hover,
[id^="account-"] #column-right .list-group-item.active {
  color: var(--gbo-system-blue);
  background: #edf4fc;
}

#account-account #content > h2 + ul.list-unstyled {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
  gap: 12px;
}

#account-account #content > h2 + ul.list-unstyled li {
  margin: 0;
}

#account-account #content > h2 + ul.list-unstyled a {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 14px 16px;
  color: var(--gbo-system-ink);
  background: var(--gbo-system-bg);
  border: 1px solid var(--gbo-system-border);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

#account-account #content > h2 + ul.list-unstyled a::after {
  margin-left: auto;
  color: var(--gbo-system-blue);
  content: "\f105";
  font-family: FontAwesome;
}

#account-account #content > h2 + ul.list-unstyled a:hover {
  color: var(--gbo-system-blue);
  background: #fff;
  border-color: #abc5e3;
  box-shadow: var(--gbo-system-shadow);
}

#account-login .well,
#affiliate-login .well {
  height: 100%;
  padding: 24px;
  background: var(--gbo-system-bg);
  border: 1px solid var(--gbo-system-border);
  border-radius: var(--gbo-system-radius);
  box-shadow: none;
}

#account-login .well h2,
#affiliate-login .well h2 {
  margin-top: 0;
  color: var(--gbo-system-ink);
  font-size: 20px;
  font-weight: 800;
}

/* Tables, lists and panels */
.gbo-system-page .table-responsive,
[id^="account-"] .table-responsive,
[id^="affiliate-"] .table-responsive,
[id^="checkout-"] .table-responsive {
  overflow: hidden;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--gbo-system-border);
  border-radius: var(--gbo-system-radius);
}

.gbo-system-page .table,
[id^="account-"] .table,
[id^="affiliate-"] .table,
[id^="checkout-"] .table {
  margin-bottom: 0;
  background: #fff;
}

.gbo-system-page .table > thead > tr > td,
.gbo-system-page .table > thead > tr > th,
[id^="account-"] .table > thead > tr > td,
[id^="account-"] .table > thead > tr > th,
[id^="checkout-"] .table > thead > tr > td,
[id^="checkout-"] .table > thead > tr > th {
  padding: 13px 14px;
  color: var(--gbo-system-ink);
  background: var(--gbo-system-bg);
  border-color: var(--gbo-system-border);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.gbo-system-page .table > tbody > tr > td,
[id^="account-"] .table > tbody > tr > td,
[id^="affiliate-"] .table > tbody > tr > td,
[id^="checkout-"] .table > tbody > tr > td {
  padding: 14px;
  vertical-align: middle;
  border-color: var(--gbo-system-border);
  color: var(--gbo-system-text);
  font-size: 13px;
}

.gbo-system-page .table img,
[id^="account-"] .table img,
[id^="checkout-"] .table img {
  max-width: 76px;
  max-height: 76px;
  object-fit: contain;
  border: 0;
  border-radius: 9px;
}

.gbo-system-page .panel,
[id^="account-"] .panel,
[id^="affiliate-"] .panel,
[id^="checkout-"] .panel {
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--gbo-system-border);
  border-radius: var(--gbo-system-radius);
  box-shadow: none;
}

.gbo-system-page .panel-heading,
[id^="account-"] .panel-heading,
[id^="affiliate-"] .panel-heading,
[id^="checkout-"] .panel-heading {
  padding: 15px 18px;
  color: var(--gbo-system-ink);
  background: var(--gbo-system-bg);
  border: 0;
  border-bottom: 1px solid var(--gbo-system-border);
  font-size: 15px;
  font-weight: 800;
}

.gbo-system-page .panel-body,
[id^="account-"] .panel-body,
[id^="affiliate-"] .panel-body,
[id^="checkout-"] .panel-body {
  padding: 20px;
}

.gbo-system-page address,
[id^="account-"] address {
  margin: 0;
  color: var(--gbo-system-text);
  line-height: 1.7;
}

.gbo-system-page .pagination,
[id^="account-"] .pagination,
[id^="checkout-"] .pagination {
  margin: 18px 0 0;
}

.gbo-system-page .pagination > li > a,
.gbo-system-page .pagination > li > span,
[id^="account-"] .pagination > li > a,
[id^="account-"] .pagination > li > span {
  min-width: 38px;
  padding: 9px 12px;
  color: var(--gbo-system-ink);
  border-color: var(--gbo-system-border);
}

/* Cart */
#checkout-cart .shopping-cart td,
#checkout-cart .shopping-cart th {
  vertical-align: middle;
}

#checkout-cart .input-group.btn-block {
  display: flex;
  width: 142px;
  max-width: 100% !important;
}

#checkout-cart .input-group .form-control {
  min-width: 58px;
  border-radius: 9px 0 0 9px;
}

#checkout-cart .input-group-btn {
  display: flex;
  width: auto;
}

#checkout-cart .input-group-btn .btn {
  min-width: 42px;
  min-height: 48px;
  padding: 0 11px;
  border-radius: 0;
}

#checkout-cart .input-group-btn .btn:last-child {
  border-radius: 0 9px 9px 0;
}

#checkout-cart #accordion {
  margin-top: 18px;
}

#checkout-cart #content > .row .table-bordered {
  overflow: hidden;
  border-radius: 11px;
}

/* Standard checkout */
#checkout-checkout .panel-group .panel-heading a {
  display: flex;
  align-items: center;
  color: var(--gbo-system-ink);
  text-decoration: none;
}

#checkout-checkout .panel-group .panel-heading a::after {
  margin-left: auto;
  color: var(--gbo-system-blue);
  content: "\f107";
  font-family: FontAwesome;
}

.checkout-content {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--gbo-system-border);
  border-top: 0;
  border-radius: 0 0 var(--gbo-system-radius) var(--gbo-system-radius);
}

/* SimpleCheckout / Simple pages */
.simple-content {
  max-width: 1240px;
  margin: 0 auto;
  color: var(--gbo-system-text);
  font-family: "Manrope", Arial, sans-serif;
}

.simple-content > h1 {
  margin: 0 0 22px;
  color: var(--gbo-system-ink);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
}

.simplecheckout::after,
.simplecheckout-button-block::after {
  display: table;
  clear: both;
  content: "";
}

.simplecheckout-left-column,
.simplecheckout-right-column,
.simplecheckout-three-column {
  box-sizing: border-box;
}

.simplecheckout-left-column {
  padding-right: 10px;
}

.simplecheckout-right-column {
  padding-left: 10px;
}

.simplecheckout-block,
.simpleregister-block-content,
#simplecheckout_login {
  overflow: hidden;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--gbo-system-border);
  border-radius: var(--gbo-system-radius);
  box-shadow: var(--gbo-system-shadow);
}

.checkout-heading,
.simplecheckout-block-heading,
.simpleregister-block-heading {
  min-height: 56px;
  padding: 16px 19px;
  color: var(--gbo-system-ink);
  background: var(--gbo-system-bg);
  border: 0;
  border-bottom: 1px solid var(--gbo-system-border);
  border-radius: 0;
  font-size: 15px;
  font-weight: 800;
}

.checkout-heading span,
.simplecheckout-block-heading span,
.simpleregister-block-heading span {
  color: inherit;
  font-weight: inherit;
}

.checkout-heading-button {
  float: right;
  font-size: 12px;
  font-weight: 700;
}

.checkout-heading-button a {
  color: var(--gbo-system-blue);
}

.simplecheckout-block-content,
.simpleregister-block-content,
#simplecheckout_login .simplecheckout-block-content {
  padding: 20px;
  background: #fff;
  border: 0;
}

.simplecheckout-methods-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.simplecheckout-methods-table td {
  padding: 12px;
  background: var(--gbo-system-bg);
  border-top: 1px solid var(--gbo-system-border);
  border-bottom: 1px solid var(--gbo-system-border);
}

.simplecheckout-methods-table td:first-child {
  border-left: 1px solid var(--gbo-system-border);
  border-radius: 10px 0 0 10px;
}

.simplecheckout-methods-table td:last-child {
  border-right: 1px solid var(--gbo-system-border);
  border-radius: 0 10px 10px 0;
}

.simplecheckout-methods-table label {
  margin: 0;
  cursor: pointer;
}

.simplecheckout-cart {
  width: 100%;
  margin: 0;
  background: #fff;
  border-collapse: collapse;
}

.simplecheckout-cart th {
  padding: 11px 9px;
  color: var(--gbo-system-ink);
  background: var(--gbo-system-bg);
  border-color: var(--gbo-system-border);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.simplecheckout-cart td {
  padding: 12px 9px;
  vertical-align: middle;
  color: var(--gbo-system-text);
  border-color: var(--gbo-system-border);
  font-size: 12px;
}

.simplecheckout-cart td.image img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}

.simplecheckout-cart td.name a {
  color: var(--gbo-system-ink);
  font-weight: 750;
}

.simplecheckout-cart-total {
  padding: 7px 0;
}

.simplecheckout-cart-total-value {
  color: var(--gbo-system-ink);
  font-weight: 800;
}

.simplecheckout-button-block,
.simpleregister-button-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 0 0;
  gap: 12px;
  background: transparent;
}

#agreement_checkbox {
  margin-right: auto;
}

.simplecheckout-proceed-payment {
  padding: 14px 16px;
  margin-top: 14px;
  color: #255b8d;
  background: #edf6ff;
  border: 1px solid #bdd8f3;
  border-radius: 10px;
}

.simplecheckout-step,
#simplecheckout_step_menu .simple-step {
  border-radius: 9px;
}

#simplecheckout_step_menu {
  display: flex;
  align-items: center;
  padding: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--gbo-system-border);
  border-radius: var(--gbo-system-radius);
  box-shadow: var(--gbo-system-shadow);
  gap: 6px;
}

#simplecheckout_step_menu .simple-step {
  flex: 0 0 auto;
  padding: 10px 13px;
  color: var(--gbo-system-muted);
  background: var(--gbo-system-bg);
  font-size: 12px;
  font-weight: 750;
}

#simplecheckout_step_menu .simple-step-current,
#simplecheckout_step_menu .simple-step.active {
  color: #fff;
  background: var(--gbo-system-blue);
}

/* Auth page */
.gbo-auth-shell {
  display: grid;
  max-width: 620px;
  margin: 32px auto 0;
}

.gbo-auth-card {
  padding: clamp(24px, 5vw, 42px);
  background: #fff;
  border: 1px solid var(--gbo-system-border);
  border-radius: var(--gbo-system-radius-lg);
  box-shadow: 0 18px 50px rgba(18, 63, 120, .12);
}

.gbo-auth-card__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--gbo-system-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.gbo-auth-card h1 {
  margin: 0 0 12px;
  color: var(--gbo-system-ink);
  font-size: clamp(25px, 5vw, 36px);
  font-weight: 800;
  line-height: 1.18;
}

.gbo-auth-card__intro {
  margin: 0 0 24px;
  color: var(--gbo-system-muted);
  line-height: 1.65;
}

.gbo-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  gap: 12px;
}

/* Native select: old customSelect plugin is intentionally removed. */
.gbo-system-page select.form-control,
.simple-content select,
.gbo-select select {
  position: static !important;
  width: 100% !important;
  opacity: 1 !important;
  appearance: auto !important;
}

.customSelect,
.customSelectInner {
  display: none !important;
}

@media (min-width: 992px) {
  .simplecheckout-right-column {
    position: sticky;
    top: 18px;
    align-self: flex-start;
  }
}

@media (max-width: 991px) {
  .gbo-account-page #content,
  [id^="account-"] #content,
  [id^="affiliate-"] #content,
  #checkout-cart #content,
  #checkout-checkout #content,
  #common-success #content,
  #error-not-found #content {
    padding: 22px;
  }

  .simplecheckout-left-column,
  .simplecheckout-right-column,
  .simplecheckout-three-column {
    width: 100% !important;
    padding-right: 0;
    padding-left: 0;
  }

  .simplecheckout-right-column {
    position: static;
  }
}

@media (max-width: 767px) {
  .gbo-system-page,
  [id^="account-"].container,
  [id^="affiliate-"].container,
  [id^="checkout-"].container,
  #common-success.container,
  #error-not-found.container {
    padding-top: 18px;
    padding-bottom: 54px;
  }

  .gbo-breadcrumbs {
    margin-bottom: 17px;
    overflow: hidden;
  }

  .gbo-breadcrumbs ol {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .gbo-breadcrumbs ol::-webkit-scrollbar {
    display: none;
  }

  .gbo-breadcrumbs li {
    flex: 0 0 auto;
    font-size: 10px;
  }

  .gbo-breadcrumbs li:last-child span {
    max-width: 210px;
  }

  .gbo-account-page #content,
  [id^="account-"] #content,
  [id^="affiliate-"] #content,
  #checkout-cart #content,
  #checkout-checkout #content,
  #common-success #content,
  #error-not-found #content {
    padding: 17px;
    border-radius: var(--gbo-system-radius);
  }

  #account-account #content > h2 + ul.list-unstyled {
    grid-template-columns: 1fr;
  }

  .gbo-system-page .form-horizontal .control-label,
  [id^="account-"] .form-horizontal .control-label,
  [id^="affiliate-"] .form-horizontal .control-label,
  [id^="checkout-"] .form-horizontal .control-label {
    text-align: left;
  }

  .gbo-system-page .buttons,
  [id^="account-"] .buttons,
  [id^="affiliate-"] .buttons,
  [id^="checkout-"] .buttons,
  .gbo-auth-actions,
  .simplecheckout-button-block,
  .simpleregister-button-block {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .gbo-system-page .buttons .pull-left,
  .gbo-system-page .buttons .pull-right,
  [id^="account-"] .buttons .pull-left,
  [id^="account-"] .buttons .pull-right,
  [id^="checkout-"] .buttons .pull-left,
  [id^="checkout-"] .buttons .pull-right {
    float: none !important;
  }

  .gbo-system-page .buttons .btn,
  [id^="account-"] .buttons .btn,
  [id^="affiliate-"] .buttons .btn,
  [id^="checkout-"] .buttons .btn,
  .gbo-auth-actions .btn,
  .simplecheckout-button-block .btn,
  .simplecheckout-button-block .button {
    width: 100%;
  }

  .gbo-system-page .table-responsive,
  [id^="account-"] .table-responsive,
  [id^="affiliate-"] .table-responsive,
  [id^="checkout-"] .table-responsive {
    overflow-x: auto;
  }

  .gbo-system-page .table-responsive > .table,
  [id^="account-"] .table-responsive > .table,
  [id^="affiliate-"] .table-responsive > .table,
  [id^="checkout-"] .table-responsive > .table {
    min-width: 640px;
  }

  #checkout-cart .shopping-cart {
    min-width: 720px;
  }

  .simplecheckout-block-content,
  .simpleregister-block-content,
  #simplecheckout_login .simplecheckout-block-content {
    padding: 15px;
  }

  .simplecheckout-cart th.model,
  .simplecheckout-cart td.model,
  .simplecheckout-cart th.price,
  .simplecheckout-cart td.price {
    display: none;
  }

  .gbo-auth-shell {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gbo-system-page *,
  .simple-content * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
