/* Account, password, and order-received screens. */

.grc-title { text-align: center; }
.grc-title h1 {
  margin: 0;
  color: #fff;
  font-family: Barlow, "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.grc-title h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.7rem auto 0;
  border-radius: 99px;
  background: #ff6a1a;
}
.grc-title p,
.grc-updated {
  margin: 0.85rem 0 0;
  color: #b7bdc7;
  font-size: 1.05rem;
}
.grc-title--icon .grc-ico--xl { margin: 0 auto 0.8rem; color: #ff6a1a; }

.grc-auth,
.grc-account,
.grc-thanks {
  width: min(1290px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5rem 0 6rem;
  color: #c9ccd4;
}
.grc-auth { width: min(720px, calc(100% - 2.5rem)); }
.grc-thanks { width: min(1040px, calc(100% - 2.5rem)); }

.grc-auth__panel,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.grc-orderbox,
.grc-addresses section,
.grc-emptycard,
.grc-address-cards article {
  background: #1b1e24;
  border: 1px solid rgba(245, 246, 247, 0.08);
  border-radius: 12px;
}
.grc-auth__panel {
  width: min(520px, 100%);
  margin: 1.75rem auto 0;
  padding: 1.35rem 1.35rem 1.2rem;
}
.grc-auth .woocommerce-notices-wrapper,
.grc-auth .woocommerce-error,
.grc-auth .woocommerce-message,
.grc-auth .woocommerce-info {
  width: min(520px, 100%);
  margin: 1.25rem auto 0;
}

.grc-auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: -0.2rem 0 1.1rem;
  border-bottom: 1px solid rgba(245, 246, 247, 0.1);
}
.grc-auth__tabs button {
  height: 44px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #9aa1ad;
  font: 700 0.95rem/1 Barlow, "Segoe UI", sans-serif;
  cursor: pointer;
}
.grc-auth__tabs button[aria-selected="true"] {
  color: #fff;
  border-bottom-color: #ff6a1a;
}

.grc-auth .form-row,
.grc-account .form-row { margin: 0 0 0.95rem; }
.grc-auth label,
.grc-account label,
.grc-account legend {
  display: block;
  margin-bottom: 0.4rem;
  color: #f5f6f7;
  font-weight: 600;
}
.grc-auth .required,
.grc-account .required { color: #ff6a1a; }
.grc-auth input[type="text"],
.grc-auth input[type="email"],
.grc-auth input[type="password"],
.grc-account input.input-text,
.grc-account input[type="password"],
.grc-account input[type="email"],
.grc-account input[type="tel"],
.grc-account select,
.grc-account textarea {
  width: 100%;
  height: 48px;
  padding: 0 0.9rem;
  border: 1px solid rgba(245, 246, 247, 0.14);
  border-radius: 8px;
  background: #12141a;
  color: #f5f6f7;
  font: inherit;
}
.grc-account textarea { height: auto; min-height: 96px; padding: 0.75rem 0.9rem; }
.grc-auth input:focus,
.grc-account input:focus,
.grc-account select:focus,
.grc-account textarea:focus {
  outline: 2px solid #ff6a1a;
  outline-offset: 1px;
}
.grc-pass { position: relative; display: block; }
.grc-pass input { padding-right: 2.7rem; }
.grc-pass button {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #9aa1ad;
  cursor: pointer;
}
.grc-remember label,
.grc-account .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.grc-remember input,
.grc-account input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #ff6a1a;
}
.grc-auth .button,
.grc-account .button,
body.grc-account-page .button,
body.grc-thanks-page .button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px !important;
  background: #ff6a1a !important;
  color: #fff !important;
  font: 700 0.95rem/1 Barlow, "Segoe UI", sans-serif;
  cursor: pointer;
}
.grc-auth__links {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.95rem 0 0;
}
.grc-auth__links a,
.grc-auth__links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #ff6a1a;
  font: 600 0.92rem/1.3 Barlow, "Segoe UI", sans-serif;
  cursor: pointer;
}
.grc-auth__links button { display: inline-flex; align-items: center; gap: 0.2rem; }
.grc-auth__hint { margin: 0 0 0.9rem; color: #b7bdc7; font-size: 0.92rem; }
.grc-auth .woocommerce-privacy-policy-text,
.grc-auth .woocommerce-form-register .woocommerce-privacy-policy-text {
  margin: 0 0 0.9rem;
  color: #c9ccd4;
  font-size: 0.92rem;
  line-height: 1.55;
}
.grc-auth .woocommerce-privacy-policy-text a {
  color: #ff6a1a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.grc-account__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 1.75rem;
}
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0.35rem; }
.woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0 0.8rem;
  border-radius: 8px;
  color: #d5d8e0;
  text-decoration: none;
  font-weight: 600;
}
.woocommerce-MyAccount-navigation a:hover { color: #fff; }
.woocommerce-MyAccount-navigation .is-active a {
  background: rgba(255, 106, 26, 0.12);
  color: #ff6a1a;
  box-shadow: inset 0 0 0 1px #ff6a1a;
}
.woocommerce-MyAccount-navigation .is-active .grc-ico { color: #ff6a1a; }
.grc-dash__hello { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.grc-dash__hello h2 { margin: 0; }
.grc-dash__hello a { color: #ff6a1a; font-weight: 700; }
.grc-dash__links { display: grid; margin: 1.1rem 0; }
.grc-dash__links a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(245, 246, 247, 0.08);
  color: #f5f6f7;
  text-decoration: none;
}
.grc-dash__links a:last-child { border-bottom: 1px solid rgba(245, 246, 247, 0.08); }
.grc-dash__links strong { display: block; color: #fff; }
.grc-dash__links span { color: #b7bdc7; font-size: 0.92rem; }
.grc-dash__links .grc-ico { color: #ff6a1a; }
.grc-account .woocommerce-invalid input,
.grc-account .woocommerce-invalid select,
.grc-account .woocommerce-invalid textarea,
.grc-auth .woocommerce-invalid input {
  border-color: #ff827d;
}
.woocommerce-MyAccount-content { padding: 1.25rem 1.35rem 1.5rem; }
.woocommerce-MyAccount-content h2,
.grc-orderhead h2,
.grc-addresses h2,
.grc-thanks__details h2 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: 1.35rem;
}
.woocommerce-MyAccount-content a { color: #ff6a1a; }
.woocommerce-MyAccount-content > p a { color: #ff6a1a; }

.grc-orders,
.grc-otable { width: 100%; border-collapse: collapse; background: transparent; }
.grc-orders th,
.grc-otable th,
.grc-orders td,
.grc-otable td {
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid rgba(245, 246, 247, 0.08);
  color: #f5f6f7;
  text-align: left;
  background: transparent;
}
.grc-orders th,
.grc-otable thead th { color: #9aa1ad; font-size: 0.82rem; font-weight: 600; }
.grc-orders .button,
.grc-orders .grc-act {
  width: auto;
  min-height: 36px;
  padding: 0 0.9rem;
}
.grc-otable__product { display: flex; align-items: center; gap: 0.75rem; }
.grc-otable__thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 8px;
  background: #12141a;
}
.grc-otable__thumb img { width: 100%; height: 100%; object-fit: cover; }
.grc-otable__thumb.is-mark img { width: 28px; height: 28px; object-fit: contain; }
.grc-otable tfoot th { text-align: right; color: #c9ccd4; font-weight: 600; }
.grc-otable tfoot td { text-align: right; font-weight: 700; }
.grc-orderhead p { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0 0 1rem; }
.grc-orderhead em {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.16);
  color: #ff6a1a;
  font-style: normal;
  font-weight: 700;
}
.grc-orderhead em.is-completed { background: rgba(80, 180, 120, 0.16); color: #7dcea0; }
.grc-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.grc-addresses section { padding: 1rem 1.1rem 1.15rem; }
.grc-addresses h2 { position: relative; padding-top: 0.35rem; }
.grc-addresses h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 0.55rem;
  border-radius: 99px;
  background: #ff6a1a;
}
.grc-addresses address,
.grc-address-cards address { font-style: normal; color: #c9ccd4; line-height: 1.5; }
.grc-orderfoot { margin: 1rem 0 0; }
.grc-back { margin: 0 0 0.8rem; }
.grc-back a { display: inline-flex; align-items: center; gap: 0.35rem; color: #ff6a1a; text-decoration: none; font-weight: 700; }
.grc-notes { margin-top: 1.25rem; }
.grc-notes ol { margin: 0; padding: 0; list-style: none; }
.grc-notes li { padding: 0.75rem 0; border-top: 1px solid rgba(245, 246, 247, 0.08); }
.grc-account__pager { display: flex; gap: 0.6rem; margin-top: 1rem; }
.grc-account__pager .grc-act { width: auto; }
.grc-emptycard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: #ff6a1a;
}
.grc-emptycard h3,
.grc-emptycard p { color: #f5f6f7; }
.grc-emptycard p { color: #b7bdc7; margin: 0.35rem 0 1rem; }
.grc-emptycard .grc-act { width: auto; }

.grc-address__lead { margin: 0 0 1rem; }
.grc-address-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grc-address-cards article { padding: 1rem 1.1rem 1.2rem; }
.grc-address-cards header { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; }
.grc-address-cards h2 { margin: 0; color: #fff; font-size: 1.15rem; }
.grc-address__edit { display: inline-flex; align-items: center; gap: 0.3rem; color: #ff6a1a; text-decoration: none; font-weight: 700; }

.grc-account .woocommerce-address-fields__field-wrapper,
.grc-account .edit-account {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.grc-account .form-row-wide,
.grc-account fieldset,
.grc-account .grc-account__save,
.grc-account h2 { grid-column: 1 / -1; }
.grc-account fieldset {
  margin: 0.4rem 0 0;
  padding: 0;
  border: 0;
}
.grc-account fieldset .form-row { width: auto; float: none; }
.grc-account .form-row { float: none; width: auto; }
.grc-account__save .button { width: auto; min-width: 160px; }
body.grc-account-page .select2-container { width: 100% !important; }
body.grc-account-page .select2-container--default .select2-selection--single {
  height: 48px;
  border: 1px solid rgba(245, 246, 247, 0.14);
  border-radius: 8px;
  background: #12141a;
}
body.grc-account-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #f5f6f7;
  line-height: 46px;
}
body.grc-account-page .select2-dropdown,
body.grc-account-page .select2-results__option { background: #1b1e24; color: #f5f6f7; }
body.grc-account-page .select2-results__option--highlighted { background: #ff6a1a; }

.grc-thanks__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
  padding: 1rem;
  background: #1b1e24;
  border-radius: 12px;
}
.grc-thanks__meta div { text-align: center; }
.grc-thanks__meta dt { color: #9aa1ad; font-size: 0.82rem; }
.grc-thanks__meta dd { margin: 0.25rem 0 0; color: #fff; font-weight: 800; }
.grc-thanks__details h2 { position: relative; }
.grc-thanks__details h2::before,
.grc-thanks__details h2::after { content: none; }
.grc-thanks__details h2 {
  display: inline-block;
}
.grc-thanks__details > h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 0.4rem;
  border-radius: 99px;
  background: #ff6a1a;
}
.grc-thanks__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.grc-thanks__actions .grc-act { width: auto; min-width: 150px; }
.grc-thanks__extra:empty { display: none; }
.grc-thanks__extra { margin-top: 1.25rem; }

body.grc-account-page .woocommerce-error,
body.grc-account-page .woocommerce-message,
body.grc-account-page .woocommerce-info,
body.grc-thanks-page .woocommerce-error,
body.grc-thanks-page .woocommerce-message,
body.grc-thanks-page .woocommerce-info,
.grc-auth .woocommerce-error,
.grc-auth .woocommerce-message,
.grc-auth .woocommerce-info {
  list-style: none;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 106, 26, 0.7);
  border-radius: 10px;
  background: #1b1e24;
  color: #f5f6f7;
}
body.grc-account-page .woocommerce-error::before,
body.grc-account-page .woocommerce-message::before,
body.grc-account-page .woocommerce-info::before,
.grc-auth .woocommerce-error::before,
.grc-auth .woocommerce-message::before,
.grc-auth .woocommerce-info::before { content: none; }
.grc-field-error {
  margin: 0.35rem 0 0;
  color: #ffb4a2;
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 1040px) {
  .grc-account__layout,
  .grc-addresses,
  .grc-address-cards,
  .grc-thanks__meta,
  .grc-account .woocommerce-address-fields__field-wrapper,
  .grc-account .edit-account { grid-template-columns: 1fr; }
}
