/* Minimal account shell built on WooCommerce's public markup and hooks. */
.woocommerce-account .tlc-main {
  padding-block: clamp(34px, 5vw, 68px) clamp(64px, 8vw, 108px);
  background: #fafafa;
}

.woocommerce-account .tlc-entry-header {
  margin-bottom: clamp(24px, 4vw, 38px);
}

.woocommerce-account .tlc-entry-header h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.woocommerce-account .tlc-entry-content > .woocommerce {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.logged-in.woocommerce-account .tlc-entry-content > .woocommerce {
  display: grid;
  grid-template-columns: minmax(210px, 248px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.logged-in.woocommerce-account .tlc-entry-content > .woocommerce > :not(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
  grid-column: 1 / -1;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  position: sticky;
  top: 132px;
  width: auto;
  margin: 0;
  float: none;
}

.tlc-account-nav-toggle {
  display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce-MyAccount-navigation ul:last-child {
  display: grid;
  padding: 7px;
  margin: 0;
  overflow: visible;
  gap: 3px;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: #fff;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  padding: 0;
  margin: 0;
  border: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  position: relative;
  display: flex;
  min-height: 44px;
  padding: 10px 13px;
  align-items: center;
  border: 0;
  border-radius: 7px;
  color: #4f4f4f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible {
  color: #202020;
  background: #f3f3f3;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  padding-left: 17px;
  color: #202020;
  background: #f3f3f3;
  font-weight: 750;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 3px;
  border-radius: 3px;
  background: var(--tlc-color-brand);
  content: "";
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
  padding-top: 4px;
  margin-top: 4px;
  border-top: 1px solid #ededed;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #7a3529;
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: auto;
  min-width: 0;
  min-height: 430px;
  padding: clamp(24px, 3.5vw, 42px);
  margin: 0;
  float: none;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: #fff;
}

.tlc-account-content-header {
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid #ebebeb;
}

.tlc-account-content-header > span {
  display: block;
  margin-bottom: 5px;
  color: #8a6415;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tlc-account-content-header h2 {
  margin: 0 0 7px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.tlc-account-content-header p {
  max-width: 650px;
  margin: 0;
  color: #656565;
  font-size: 14px;
  line-height: 1.5;
}

.woocommerce-account .woocommerce-MyAccount-content > p {
  max-width: 760px;
  color: #505050;
  font-size: 14px;
  line-height: 1.6;
}

.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
  text-decoration-color: #b2b2b2;
}

.tlc-account-shortcuts {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tlc-account-shortcuts a {
  display: flex;
  min-width: 0;
  min-height: 88px;
  padding: 17px 18px;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e5e5e5;
  border-radius: 9px;
  color: #202020;
  background: #fff;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.tlc-account-shortcuts a:hover,
.tlc-account-shortcuts a:focus-visible {
  border-color: #d2d2d2;
  color: #202020;
  background: #fafafa;
}

.tlc-account-shortcuts span {
  min-width: 0;
}

.tlc-account-shortcuts strong,
.tlc-account-shortcuts small {
  display: block;
}

.tlc-account-shortcuts strong {
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
}

.tlc-account-shortcuts small {
  color: #737373;
  font-size: 11.5px;
  line-height: 1.35;
}

.tlc-account-shortcuts b {
  color: #9a731e;
  font-size: 19px;
  font-weight: 500;
}

.tlc-account-endpoint-dashboard .woocommerce-MyAccount-content > .tlc-account-content-header + p,
.tlc-account-endpoint-dashboard .woocommerce-MyAccount-content > .tlc-account-content-header + p + p {
  display: none;
}

/* Login and password recovery. */
.woocommerce-account:not(.logged-in) .tlc-entry-header {
  margin-bottom: 24px;
  text-align: center;
}

.woocommerce-account:not(.logged-in) .tlc-entry-header h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
}

.woocommerce-account:not(.logged-in) .tlc-entry-content > .woocommerce {
  max-width: 500px;
  padding: clamp(22px, 4vw, 32px);
  margin-inline: auto;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: #fff;
}

.woocommerce-account:not(.logged-in) .woocommerce-error,
.woocommerce-account:not(.logged-in) .woocommerce-info,
.woocommerce-account:not(.logged-in) .woocommerce-message {
  padding: 13px 15px;
  margin: 0 0 22px;
  border-width: 1px;
  border-radius: 7px;
  font-size: 12.5px;
  line-height: 1.45;
  list-style: none;
}

.woocommerce-account:not(.logged-in) .woocommerce-error::before,
.woocommerce-account:not(.logged-in) .woocommerce-info::before,
.woocommerce-account:not(.logged-in) .woocommerce-message::before {
  display: none;
}

.woocommerce-account:not(.logged-in) .woocommerce-error li {
  padding: 0;
  margin: 0;
}

.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-account form.lost_reset_password {
  padding: 0;
  margin: 0;
  border: 0;
}

.woocommerce-account form .form-row {
  padding: 0;
  margin: 0 0 17px;
}

.woocommerce-account form .form-row label {
  display: block;
  margin-bottom: 6px;
  color: #383838;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.woocommerce-account form .form-row input.input-text,
.woocommerce-account form .form-row textarea,
.woocommerce-account form .form-row select,
.woocommerce-account .select2-container .select2-selection--single {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #d9d9d9;
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.woocommerce-account form .form-row textarea {
  min-height: 110px;
  resize: vertical;
}

.woocommerce-account form .form-row input.input-text:focus,
.woocommerce-account form .form-row textarea:focus,
.woocommerce-account form .form-row select:focus {
  border-color: #a67a19;
  box-shadow: 0 0 0 3px rgb(255 185 31 / 16%);
  outline: 0;
}

.woocommerce-account .lost_password {
  margin: 14px 0 0;
  font-size: 13px;
  text-align: center;
}

.woocommerce-account form .password-input {
  width: 100%;
}

.woocommerce-account form fieldset {
  padding: 24px 0 0;
  margin: 30px 0 24px;
  border: 0;
  border-top: 1px solid #e5e5e5;
}

.woocommerce-account form fieldset legend {
  padding: 0 12px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.woocommerce-account form em,
.woocommerce-account #account_display_name_description {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: 11.5px;
  line-height: 1.4;
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account:not(.logged-in) .woocommerce .button {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 13px;
}

/* Addresses and account details. */
.woocommerce-account .woocommerce-Addresses {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after {
  display: none;
}

.woocommerce-account .woocommerce-Address {
  width: auto;
  min-width: 0;
  padding: 21px;
  float: none;
  border: 1px solid #e5e5e5;
  border-radius: 9px;
  background: #fafafa;
}

.woocommerce-account .woocommerce-Address-title {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
}

.woocommerce-account .woocommerce-Address-title h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.woocommerce-account .woocommerce-Address-title .edit {
  float: none;
  font-size: 12px;
  font-weight: 650;
}

.woocommerce-account .woocommerce-Address address {
  margin-top: 18px;
  color: #555;
  font-size: 13px;
  font-style: normal;
  line-height: 1.65;
}

.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields {
  max-width: 760px;
}

/* Orders, downloads and payment methods. */
.woocommerce-account table.shop_table {
  width: 100%;
  margin: 0;
  border: 1px solid #e3e3e3;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 9px;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
  padding: 13px 14px;
  border-color: #e9e9e9;
  font-size: 12.5px;
  line-height: 1.4;
}

.woocommerce-account table.shop_table th {
  color: #666;
  background: #f7f7f7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.woocommerce-account table.shop_table td a:not(.button) {
  font-weight: 700;
}

.woocommerce-account table.shop_table .button {
  min-height: 34px;
  padding: 7px 11px;
  margin: 2px;
  font-size: 11px;
}

.woocommerce-account .woocommerce-orders-table__cell-order-status {
  font-weight: 650;
}

.woocommerce-account .woocommerce-pagination {
  display: flex;
  margin-top: 18px;
  gap: 10px;
  justify-content: flex-end;
}

.woocommerce-account .woocommerce-customer-details address {
  padding: 20px;
  border-color: #e5e5e5;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.65;
}

.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-column__title {
  margin-top: 32px;
  font-size: 19px;
  font-weight: 700;
}

/* Unified customer invoices and downloadable files. */
.tlc-account-documents,
.tlc-account-purchased-files {
  margin: 0;
}

.tlc-account-purchased-files {
  padding-top: 30px;
  margin-top: 34px;
  border-top: 1px solid #e9e9e9;
}

.tlc-account-section-heading {
  display: flex;
  margin-bottom: 18px;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.tlc-account-section-heading span,
.tlc-order-documents > div > span {
  display: block;
  margin-bottom: 4px;
  color: #8a6415;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tlc-account-section-heading h3,
.tlc-order-documents h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.tlc-account-section-heading > p {
  max-width: 390px;
  margin: 0;
  color: #707070;
  font-size: 12px;
  text-align: right;
}

.tlc-account-document-list {
  display: grid;
  gap: 8px;
}

.tlc-account-document {
  display: grid;
  min-width: 0;
  padding: 14px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  border: 1px solid #e6e6e6;
  border-radius: 9px;
  background: #fff;
}

.tlc-account-document__identity {
  display: flex;
  min-width: 0;
  gap: 12px;
  align-items: center;
}

.tlc-account-document__identity > span {
  display: grid;
  width: 40px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  color: #745716;
  background: #fff4d8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tlc-account-document__identity strong,
.tlc-account-document__identity small,
.tlc-account-document__total strong,
.tlc-account-document__total small {
  display: block;
}

.tlc-account-document__identity strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tlc-account-document__identity small,
.tlc-account-document__total small {
  margin-top: 2px;
  color: #777;
  font-size: 10.5px;
}

.tlc-account-document__total {
  min-width: 100px;
}

.tlc-account-document__total strong {
  margin-top: 2px;
  font-size: 12.5px;
}

.woocommerce-account .woocommerce-MyAccount-content .tlc-invoice-button {
  display: inline-flex;
  min-height: 40px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.tlc-invoice-button b {
  font-size: 17px;
  font-weight: 500;
}

.tlc-account-document-empty {
  padding: 24px;
  border: 1px dashed #d8d8d8;
  border-radius: 9px;
  background: #fafafa;
  text-align: center;
}

.tlc-account-document-empty strong {
  display: block;
  font-size: 14px;
}

.tlc-account-document-empty p {
  margin: 5px 0 15px;
  color: #707070;
  font-size: 12px;
}

.tlc-order-documents {
  display: flex;
  padding: 20px;
  margin-top: 28px;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e6e6e6;
  border-radius: 9px;
  background: #fafafa;
}

.tlc-order-documents h2 {
  margin-top: 0;
}

.tlc-order-documents p {
  margin: 5px 0 0;
  color: #707070;
  font-size: 12px;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .invoice {
  color: #202020;
  background: var(--tlc-color-brand);
}

.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message {
  padding: 16px 18px 16px 44px;
  margin: 0 0 20px;
  border-width: 1px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .logged-in.woocommerce-account .tlc-entry-content > .woocommerce {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    position: static;
    width: 100%;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul,
  .woocommerce-account .woocommerce-MyAccount-navigation ul:last-child {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a,
  .woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    min-height: 46px;
    padding: 9px 10px;
    justify-content: center;
    text-align: center;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
    top: auto;
    right: 14px;
    bottom: 4px;
    left: 14px;
    width: auto;
    height: 3px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .woocommerce-account .tlc-main {
    padding-block: 28px 64px;
  }

  .woocommerce-account .tlc-entry-header {
    margin-bottom: 15px;
  }

  .woocommerce-account .tlc-entry-header h1 {
    font-size: 2.25rem;
  }

  .tlc-account-nav-toggle {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 58px;
    padding: 10px 48px 10px 16px;
    gap: 1px;
    border: 1px solid #dedede;
    border-radius: 10px;
    color: #202020;
    background: #fff;
    text-align: left;
    cursor: pointer;
  }

  .tlc-account-nav-toggle span {
    color: #777;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .tlc-account-nav-toggle strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
  }

  .tlc-account-nav-toggle i {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentcolor;
    border-bottom: 2px solid currentcolor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 150ms ease;
  }

  .tlc-account-nav-toggle[aria-expanded="true"] i {
    transform: translateY(-25%) rotate(225deg);
  }

  .tlc-account-nav-ready .woocommerce-MyAccount-navigation {
    display: none;
  }

  .tlc-account-nav-ready .tlc-account-nav-toggle[aria-expanded="true"] + .woocommerce-MyAccount-navigation {
    display: block;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul,
  .woocommerce-account .woocommerce-MyAccount-navigation ul:last-child {
    display: block;
    padding: 6px;
    margin-top: 7px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgb(0 0 0 / 8%);
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a,
  .woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    min-height: 40px;
    padding: 8px 12px;
    justify-content: flex-start;
    font-size: 12px;
    text-align: left;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    padding-left: 17px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before {
    top: 9px;
    right: auto;
    bottom: 9px;
    left: 7px;
    width: 3px;
    height: auto;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    padding-top: 4px;
    margin-top: 4px;
    border-top: 1px solid #ededed;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 20px;
    border-radius: 10px;
  }

  .tlc-account-content-header {
    padding-bottom: 19px;
    margin-bottom: 21px;
  }

  .tlc-account-content-header h2 {
    font-size: 1.75rem;
  }

  .tlc-account-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .tlc-account-shortcuts a {
    min-height: 68px;
    padding: 12px;
  }

  .tlc-account-shortcuts small,
  .tlc-account-shortcuts b {
    display: none;
  }

  .woocommerce-account:not(.logged-in) .tlc-entry-content > .woocommerce {
    padding: 22px 18px;
  }

  .woocommerce-account form .form-row-first,
  .woocommerce-account form .form-row-last {
    width: 100%;
    float: none;
  }

  .woocommerce-account table.shop_table_responsive,
  .woocommerce-account table.shop_table_responsive tbody,
  .woocommerce-account table.shop_table_responsive tr {
    display: block;
    width: 100%;
  }

  .woocommerce-account table.shop_table_responsive thead {
    display: none;
  }

  .woocommerce-account table.shop_table_responsive tr {
    padding: 9px 13px;
    margin-bottom: 12px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    background: #fff;
  }

  .woocommerce-account table.shop_table_responsive tr:last-child {
    margin-bottom: 0;
  }

  .woocommerce-account table.shop_table_responsive tr td,
  .woocommerce-account table.shop_table_responsive tr th {
    display: flex;
    width: 100%;
    padding: 9px 0;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid #ededed;
    background: transparent;
    text-align: right !important;
  }

  .woocommerce-account table.shop_table_responsive tr td:last-child,
  .woocommerce-account table.shop_table_responsive tr th:last-child {
    border-bottom: 0;
  }

  .woocommerce-account table.shop_table_responsive tr td::before {
    color: #777;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: left;
    text-transform: uppercase;
  }

  .woocommerce-account table.shop_table_responsive .woocommerce-orders-table__cell-order-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .woocommerce-account .woocommerce-order-details table.order_details {
    display: flex;
    overflow: hidden;
    width: 100%;
    flex-direction: column;
  }

  .woocommerce-account .woocommerce-order-details table.order_details thead {
    display: none;
  }

  .woocommerce-account .woocommerce-order-details table.order_details tbody {
    display: block;
    order: 1;
  }

  .woocommerce-account .woocommerce-order-details table.order_details tfoot {
    display: block;
    width: 100%;
    order: 2;
  }

  .woocommerce-account .woocommerce-order-details table.order_details tfoot:has(.order-actions-button) {
    order: 3;
  }

  .woocommerce-account .woocommerce-order-details table.order_details tr {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-bottom: 1px solid #ededed;
  }

  .woocommerce-account .woocommerce-order-details table.order_details tbody tr {
    align-items: start;
  }

  .woocommerce-account .woocommerce-order-details table.order_details th,
  .woocommerce-account .woocommerce-order-details table.order_details td {
    display: block;
    width: auto;
    padding: 13px 15px;
    border: 0;
    background: transparent;
    text-align: left;
  }

  .woocommerce-account .woocommerce-order-details table.order_details .product-name {
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .woocommerce-account .woocommerce-order-details table.order_details .product-name a {
    overflow-wrap: anywhere;
  }

  .woocommerce-account .woocommerce-order-details table.order_details .product-total {
    padding-left: 6px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  .woocommerce-account .woocommerce-order-details table.order_details tfoot th {
    color: #666;
    background: #fafafa;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .woocommerce-account .woocommerce-order-details table.order_details tfoot td {
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
  }

  .woocommerce-account .woocommerce-order-details table.order_details tfoot:has(.order-actions-button) tr {
    display: block;
    padding: 13px;
    border-bottom: 0;
  }

  .woocommerce-account .woocommerce-order-details table.order_details .order-actions--heading {
    display: none;
  }

  .woocommerce-account .woocommerce-order-details table.order_details tfoot:has(.order-actions-button) td {
    width: 100%;
    padding: 0;
  }

  .woocommerce-account .woocommerce-order-details table.order_details .order-actions-button,
  .woocommerce-account .order-again .button {
    display: inline-flex;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .woocommerce-account .order-again {
    margin-top: 14px;
  }

  .tlc-account-section-heading {
    display: block;
    margin-bottom: 14px;
  }

  .tlc-account-section-heading > p {
    margin-top: 7px;
    text-align: left;
  }

  .tlc-account-document {
    padding: 13px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .tlc-account-document__total {
    display: none;
  }

  .woocommerce-account .woocommerce-MyAccount-content .tlc-account-document .tlc-invoice-button {
    width: 40px;
    min-width: 40px;
    padding-inline: 0;
  }

  .tlc-account-document .tlc-invoice-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .tlc-order-documents {
    display: grid;
    padding: 17px;
    gap: 15px;
  }

  .woocommerce-account .woocommerce-MyAccount-content .tlc-order-documents .tlc-invoice-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce-account .woocommerce-MyAccount-navigation a,
  .tlc-account-shortcuts a,
  .woocommerce-account form .form-row :is(input, textarea, select) {
    transition: none;
  }
}

/* Account access uses independent cards, without WooCommerce clearfix grid items. */
.woocommerce-account:not(.logged-in) .tlc-entry-content > .woocommerce:has(.tlc-auth) {
  max-width: 1080px;
  padding: 0;
  border: 0;
  background: transparent;
}
.tlc-auth-intro { margin: 0 0 28px; color: #656565; font-size: 16px; line-height: 1.6; }
.tlc-auth-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.tlc-auth-grid--single { grid-template-columns: minmax(0, 600px); justify-content: center; }
.tlc-auth-card { min-width: 0; padding: clamp(22px, 3vw, 36px); border: 1px solid #e3e3e3; border-radius: 16px; background: #fff; }
.tlc-auth-card h2 { margin: 0 0 10px; font-size: 26px; line-height: 1.15; letter-spacing: -.025em; }
.tlc-auth-description { margin: 0 0 26px; color: #656565; font-size: 15px; line-height: 1.6; }
.woocommerce-account .tlc-auth form { margin: 0; padding: 0; border: 0; }
.woocommerce-account .tlc-auth .form-row { width: 100%; float: none; margin: 0 0 20px; padding: 0; }
.woocommerce-account .tlc-auth label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
.woocommerce-account .tlc-auth input:not([type=checkbox]):not([type=hidden]):not([type=submit]) { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 8px; background: #fff; color: #202020; font: inherit; }
.woocommerce-account .tlc-auth .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; }
.woocommerce-account .tlc-auth input[type=checkbox] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; }
.woocommerce-account .tlc-auth .woocommerce-form-login__rememberme span { margin: 0; font-size: 14px; }
.woocommerce-account .tlc-auth :is(button[type=submit], input[type=submit]) { display: block; width: 100%; min-height: 50px; margin: 0; padding: 13px 18px; border: 1px solid transparent; border-radius: 9px; background: var(--tlc-color-brand); color: #202020; font: inherit; font-weight: 700; white-space: normal; cursor: pointer; }
.woocommerce-account .tlc-auth .woocommerce-LostPassword { margin: 0; text-align: left; font-size: 14px; }
.tlc-auth :is(input, button, summary, a):focus-visible { outline: 2px solid #202020; outline-offset: 3px; }
.tlc-auth-magic { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e3e3e3; }
.tlc-auth-magic summary { cursor: pointer; font-size: 14px; font-weight: 650; line-height: 1.5; }
.tlc-auth-magic > p { margin: 14px 0 18px; color: #656565; font-size: 14px; line-height: 1.6; }
.woocommerce-account .tlc-auth #magic-login-shortcode { max-width: none; padding: 0; margin: 0; border: 0; background: transparent; }
.woocommerce-account .tlc-auth .magic-login-form-header:empty { display: none; }
.woocommerce-account .tlc-auth .magic-login-submit { margin-top: 16px; border-color: #cfcfcf; background: #fff; }
.tlc-auth-notices:empty { display: none; }
.tlc-auth-notices:focus { outline: 2px solid #202020; outline-offset: 4px; }
.woocommerce-account .tlc-auth-notices :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) { border: 1px solid #d7d7d7; padding: 16px; background: #fff; font-size: 15px; }
.woocommerce-account .tlc-auth-notices .woocommerce-error { background: #fff5f2; color: #84371f; }
.tlc-auth .woocommerce-privacy-policy-text { color: #656565; font-size: 13px; line-height: 1.6; }
.tlc-auth .g-recaptcha { margin-bottom: 20px; max-width: 100%; }
@media (max-width: 760px) {
  .tlc-auth-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tlc-auth-card { padding: 24px; }
  .tlc-auth-intro { margin-bottom: 22px; }
}
@media (max-width: 390px) {
  .woocommerce-account .tlc-main .tlc-container:has(.tlc-auth) { padding-inline: 12px; }
  .tlc-auth-card { padding: 18px 12px; }
}

@media (max-width: 360px) {
  .tlc-auth .g-recaptcha { width: 304px; max-width: none; transform: scale(.86); transform-origin: top left; margin-bottom: 8px; }
}
