/* ═══════════════════════════════════════════════════════════
   T1 AUTO PARTS — Login / Register / My Account
═══════════════════════════════════════════════════════════ */

.woocommerce-account .woocommerce { background: #EEF0F3; }

/* Notices on the sign-in page (printed above the template) */
.woocommerce-account:not(.logged-in) .woocommerce > .woocommerce-notices-wrapper:not(:empty) {
  max-width: 1000px; margin: 0 auto; padding: 28px 20px 0;
}

/* ═════════════ SIGN IN / CREATE ACCOUNT ═════════════ */
.t1-auth { padding: 40px 0 72px; }
.t1-auth-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(17,24,39,.14);
}

.t1-auth-card { background: var(--white); padding: 34px 40px 28px; }

/* Segmented tabs */
.t1-auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--g100); padding: 4px; border-radius: 11px; margin-bottom: 26px;
}
.t1-auth-tab {
  height: 40px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--g500);
  transition: background var(--tr), color var(--tr), box-shadow var(--tr);
}
.t1-auth-tab:hover { color: var(--navy); }
.t1-auth-tab.is-active { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(17,24,39,.12); }

.t1-auth-pane { display: none; }
.t1-auth-pane.is-active { display: block; animation: t1-fade .25s ease; }
@keyframes t1-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.t1-auth-title { font-family: var(--fd); font-size: 32px; font-weight: 700; line-height: 1.05; color: var(--navy); }
.t1-auth-lead { font-size: 14px; color: var(--g500); margin: 6px 0 22px; }

/* Fields (selectors beat woocommerce.css specificity) */
.t1-auth .t1-form .t1-field { margin: 0 0 16px; padding: 0; }
.t1-auth .t1-form .t1-field label { display: block; font-size: 13px; font-weight: 600; color: var(--g700); margin-bottom: 6px; line-height: 1.3; }
.t1-auth .t1-form .required { color: var(--red); text-decoration: none; border: 0; }
.t1-field-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.t1-field-row label { margin-bottom: 6px; }
.t1-auth-forgot { font-size: 13px; font-weight: 600; color: var(--red); }
.t1-auth-forgot:hover { text-decoration: underline; }

.t1-auth .t1-form .t1-field input.input-text {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1.5px solid var(--g200); border-radius: 10px; background: var(--white);
  font-size: 15px; color: var(--navy); font-family: var(--fb);
  box-shadow: none; transition: border-color var(--tr), box-shadow var(--tr);
}
.t1-auth .t1-form .t1-field input.input-text::placeholder { color: var(--g400); }
.t1-auth .t1-form .t1-field input.input-text:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230,59,46,.12); }

/* WooCommerce show/hide password toggle */
.t1-form .password-input { position: relative; display: block; }
.t1-form .password-input input.input-text { padding-right: 46px !important; }
.t1-form .show-password-input {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; background: none; color: var(--g400); cursor: pointer;
}
.t1-form .show-password-input:hover { color: var(--navy); }

.t1-auth-remember { margin: 0 0 18px; padding: 0; }
.t1-auth-remember label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--g700); cursor: pointer; }
.t1-auth-remember input { width: 17px; height: 17px; accent-color: var(--red); margin: 0; }

.t1-auth .t1-form .t1-auth-submit,
.t1-auth .t1-form button.button.t1-auth-submit {
  display: block; width: 100%; height: 52px; margin: 4px 0 0; padding: 0;
  background: var(--red); color: var(--white); border: 0; border-radius: 10px;
  font-family: var(--fd); font-size: 20px; font-weight: 700; letter-spacing: .3px; line-height: 52px;
  box-shadow: 0 8px 18px rgba(230,59,46,.25); cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.t1-auth .t1-form .t1-auth-submit:hover { background: var(--red-dk); color: var(--white); transform: translateY(-1px); }

.t1-auth-note {
  display: flex; align-items: center; gap: 8px;
  background: var(--g50); border-radius: 8px; padding: 11px 12px; margin: 0 0 16px;
  font-size: 13px; color: var(--g700);
}
.t1-auth-note svg { color: var(--red); flex-shrink: 0; }
.t1-auth .woocommerce-privacy-policy-text { font-size: 12px; color: var(--g500); line-height: 1.6; margin: 0 0 14px; }
.t1-auth .woocommerce-privacy-policy-text a { color: var(--red); }

.t1-auth-switch { text-align: center; font-size: 13px; color: var(--g500); margin-top: 18px; }
.t1-auth-switch button { color: var(--red); font-weight: 600; font-size: 13px; padding: 0; }
.t1-auth-switch button:hover { text-decoration: underline; }

.t1-auth-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--g100);
  font-size: 12px; color: var(--g500);
}
.t1-auth-secure svg { color: var(--green); }

/* Benefits panel */
.t1-auth-side {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, var(--navy) 0%, #2A2A4A 100%);
  padding: 40px 38px 32px; color: var(--g400);
  display: flex; flex-direction: column;
}
.t1-auth-side::after {
  content: ''; position: absolute; z-index: -1; right: -130px; top: -130px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(230,59,46,.32), transparent 65%);
}
.t1-auth-side-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #FCA5A5; }
.t1-auth-side-title { font-family: var(--fd); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--white); margin: 8px 0 26px; }
.t1-auth-perks li { display: flex; gap: 14px; margin-bottom: 20px; font-size: 13.5px; line-height: 1.5; }
.t1-auth-perks li > span {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #FCA5A5;
}
.t1-auth-perks strong { display: block; color: var(--white); font-size: 15px; margin-bottom: 1px; }
.t1-auth-side-foot {
  margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 8px; font-size: 13px;
}
.t1-auth-side-foot a { color: #FCA5A5; font-weight: 600; }
.t1-auth-side-foot a:hover { color: var(--white); }

/* Lost / reset password pages (core templates, card styling) */
.woocommerce-lost-password .woocommerce { padding: 40px 20px 72px; }
.woocommerce-lost-password .woocommerce > * { max-width: 480px; margin-left: auto; margin-right: auto; }
.woocommerce-lost-password form.woocommerce-ResetPassword {
  background: var(--white); padding: 30px 32px; border-radius: 16px;
  box-shadow: 0 20px 50px rgba(17,24,39,.12); font-size: 14px; color: var(--g700);
}
.woocommerce-lost-password form.woocommerce-ResetPassword .form-row { float: none; width: 100%; margin: 14px 0 0; padding: 0; }
.woocommerce-lost-password form .form-row input.input-text {
  height: 48px; border: 1.5px solid var(--g200); border-radius: 10px; padding: 0 14px; font-size: 15px;
}
.woocommerce-lost-password form .form-row input.input-text:focus { outline: none; border-color: var(--red); }
.woocommerce-lost-password form button.button {
  width: 100%; height: 50px; background: var(--red); color: var(--white); border-radius: 10px;
  font-family: var(--fd); font-size: 19px; font-weight: 700;
}
.woocommerce-lost-password form button.button:hover { background: var(--red-dk); color: var(--white); }

/* ═════════════ MY ACCOUNT (logged in) ═════════════ */
.t1-acct-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #26264a 100%);
  padding: 30px 0 70px; color: var(--g400);
}
.t1-acct-hero-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.t1-acct-avatar {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); color: var(--white); border: 3px solid rgba(255,255,255,.15);
  font-family: var(--fd); font-size: 30px; font-weight: 700;
}
.t1-acct-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #FCA5A5; }
.t1-acct-hello h1 { font-family: var(--fd); font-size: 34px; font-weight: 700; line-height: 1.05; color: var(--white); }
.t1-acct-email { font-size: 13px; margin-top: 3px; }
.t1-acct-hero-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.t1-acct-hero-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px;
  background: var(--red); color: var(--white); border-radius: 9px; font-size: 13px; font-weight: 600;
  transition: background var(--tr), border-color var(--tr);
}
.t1-acct-hero-btn:hover { background: var(--red-dk); color: var(--white); }
.t1-acct-hero-btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.22); color: #E5E7EB; }
.t1-acct-hero-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }

.t1-acct-layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start;
  margin-top: -42px; padding-bottom: 64px;
}

/* Sidebar nav — override woocommerce.css "float:left; width:30%" */
.woocommerce-account .t1-acct .woocommerce-MyAccount-navigation.t1-acct-nav,
.woocommerce-account .t1-acct .woocommerce-MyAccount-content.t1-acct-content {
  float: none; width: auto; max-width: none; margin: 0;
}
.t1-acct-nav {
  position: sticky; top: calc(var(--hh) + 16px);
  background: var(--white); border-radius: 14px; padding: 10px;
  box-shadow: 0 4px 16px rgba(17,24,39,.08);
}
.t1-acct-nav ul { margin: 0; padding: 0; list-style: none; }
.t1-acct-nav li a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--g700);
  transition: background var(--tr), color var(--tr);
}
.t1-acct-nav-icon { display: flex; color: var(--g400); transition: color var(--tr); }
.t1-acct-nav li a:hover { background: var(--g50); color: var(--navy); }
.t1-acct-nav li.is-active a { background: #FEF2F2; color: var(--red); font-weight: 600; }
.t1-acct-nav li.is-active .t1-acct-nav-icon { color: var(--red); }
.t1-acct-nav li.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid var(--g100); margin-top: 6px; padding-top: 6px; }
.t1-acct-nav li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--g500); }
.t1-acct-nav-help {
  margin: 10px 2px 2px; padding: 14px; border-radius: 10px; background: var(--g50);
  font-size: 12px; line-height: 1.5;
}
.t1-acct-nav-help strong { display: block; font-size: 13px; color: var(--navy); margin-bottom: 2px; }
.t1-acct-nav-help a { color: var(--red); font-weight: 600; }

/* Content card */
.t1-acct .t1-acct-content {
  float: none; width: auto;
  background: var(--white); border-radius: 14px; padding: 24px 28px 28px;
  box-shadow: 0 4px 16px rgba(17,24,39,.08); min-height: 320px;
  font-size: 14px; color: var(--g700);
}
.t1-acct-title {
  font-family: var(--fd); font-size: 27px; font-weight: 700; color: var(--navy);
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--g100);
}
.t1-acct-content h2:not(.t1-acct-title),
.t1-acct-content h3:not([class*="t1-"]) { font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--navy); margin: 22px 0 12px; }
.t1-acct-content p { margin-bottom: 12px; }
.t1-acct-content a:not([class]) { color: var(--red); font-weight: 600; }
.t1-muted { color: var(--g400); }

/* ── Dashboard ── */
.t1-dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.t1-dash-stat {
  display: flex; flex-direction: column; padding: 16px;
  border: 1px solid var(--g200); border-radius: 12px; transition: border-color var(--tr), box-shadow var(--tr);
}
a.t1-dash-stat:hover { border-color: var(--red); box-shadow: 0 4px 12px rgba(230,59,46,.08); }
.t1-dash-stat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #FEF2F2; color: var(--red);
}
.t1-tone-blue  { background: var(--blue-lt); color: var(--blue); }
.t1-tone-green { background: var(--green-lt); color: var(--green); }
.t1-dash-stat-num { font-family: var(--fd); font-size: 30px; font-weight: 700; line-height: 1; color: var(--navy); margin-top: 12px; }
.t1-dash-stat-num .woocommerce-Price-amount { color: var(--navy) !important; }
.t1-dash-stat-lbl { font-size: 12px; color: var(--g500); margin-top: 4px; }

.t1-dash-card { border: 1px solid var(--g200); border-radius: 12px; padding: 18px; margin-bottom: 18px; }
.t1-dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.t1-acct .t1-acct-content .t1-dash-card-head h3 { font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--navy); margin: 0; }
.t1-dash-card-head a { font-size: 13px; font-weight: 600; color: var(--red); }

.t1-dash-orders { margin: 0; padding: 0; list-style: none; }
.t1-dash-order { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--g100); }
.t1-dash-order:last-child { border-bottom: 0; padding-bottom: 0; }
.t1-dash-order-thumbs { display: flex; flex-shrink: 0; min-width: 48px; }
.t1-dash-order-thumbs img {
  width: 48px; height: 48px; object-fit: contain; padding: 3px;
  border: 1px solid var(--g200); border-radius: 9px; background: var(--g50);
  box-shadow: 0 0 0 2px var(--white);
}
.t1-dash-order-thumbs img + img { margin-left: -16px; }
.t1-dash-order-main { flex: 1; min-width: 0; }
.t1-dash-order-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t1-dash-order-top strong { font-size: 14px; color: var(--navy); }
.t1-dash-order-meta { font-size: 12.5px; color: var(--g500); margin-top: 3px; }
.t1-dash-order-meta .woocommerce-Price-amount { color: var(--navy) !important; font-family: var(--fb) !important; font-weight: 600 !important; }
.t1-dash-order-btn {
  flex-shrink: 0; padding: 8px 16px; border: 1.5px solid var(--g200); border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy); transition: border-color var(--tr), color var(--tr);
}
.t1-dash-order-btn:hover { border-color: var(--red); color: var(--red); }

.t1-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--rfull); }
.t1-pill--green { background: #DCFCE7; color: #166534; }
.t1-pill--blue  { background: #DBEAFE; color: #1E40AF; }
.t1-pill--amber { background: #FEF3C7; color: #92400E; }
.t1-pill--gray  { background: var(--g100); color: #4B5563; }
.t1-pill--red   { background: #FEE2E2; color: #991B1B; }

.t1-dash-empty { text-align: center; padding: 18px 10px 6px; }
.t1-dash-empty > span {
  width: 58px; height: 58px; margin: 0 auto 10px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--g50); color: var(--g400);
}
.t1-dash-empty p { color: var(--g500); margin-bottom: 14px; }
.t1-dash-empty strong { color: var(--navy); }

.t1-dash-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; }
.t1-dash-split .t1-dash-card { margin-bottom: 0; }
.t1-dash-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.t1-dash-address { background: var(--g50); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; }
.t1-dash-address-lbl { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--g500); }
.t1-dash-address address { font-style: normal; font-size: 13px; line-height: 1.6; color: var(--g700); margin: 8px 0; }
.t1-dash-address p { margin: 8px 0; font-size: 13px; }
.t1-dash-address a { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--red); }
.t1-dash-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t1-dash-links a {
  display: flex; flex-direction: column; gap: 8px; padding: 14px;
  border: 1px solid var(--g200); border-radius: 10px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  transition: border-color var(--tr), background var(--tr);
}
.t1-dash-links a svg { color: var(--red); }
.t1-dash-links a:hover { border-color: var(--red); background: #FEF2F2; }

/* ── Core WooCommerce account screens (orders, view order, addresses, account details) ── */
.t1-acct-content table.shop_table {
  width: 100%; border: 0; border-collapse: collapse; border-radius: 0; margin: 0 0 18px;
}
.t1-acct-content table.shop_table th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--g500); padding: 10px 12px; border: 0; border-bottom: 2px solid var(--g200);
}
.t1-acct-content table.shop_table td,
.t1-acct-content table.shop_table tbody th,
.t1-acct-content table.shop_table tfoot th,
.t1-acct-content table.shop_table tfoot td {
  padding: 14px 12px; border: 0; border-bottom: 1px solid var(--g100);
  font-size: 13.5px; color: var(--g700); vertical-align: middle; text-transform: none; letter-spacing: 0;
}
.t1-acct-content table.shop_table tfoot th { font-weight: 600; color: var(--navy); font-size: 13.5px; }
.t1-acct-content .woocommerce-orders-table__cell-order-number a { font-weight: 700; color: var(--navy); }
.t1-acct-content .woocommerce-Price-amount { color: var(--navy) !important; font-family: var(--fb) !important; font-weight: 600 !important; }
.t1-acct-content mark { background: #FEF3C7; color: #92400E; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

.t1-acct .t1-acct-content .button,
.t1-acct .t1-acct-content a.button,
.t1-acct .t1-acct-content button.button {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white); border: 0; border-radius: 8px;
  padding: 8px 14px; margin: 2px 4px 2px 0; font-family: var(--fb); font-size: 13px; font-weight: 600; line-height: 1.4;
  transition: background var(--tr);
}
.t1-acct .t1-acct-content .button:hover { background: var(--red); color: var(--white); }
.t1-acct .t1-acct-content button[name="save_account_details"],
.t1-acct .t1-acct-content button[name="save_address"] {
  background: var(--red); padding: 0 26px; height: 48px; margin-top: 8px;
  font-family: var(--fd); font-size: 18px; font-weight: 700;
}
.t1-acct .t1-acct-content button[name="save_account_details"]:hover,
.t1-acct .t1-acct-content button[name="save_address"]:hover { background: var(--red-dk); }

/* Forms */
.t1-acct .t1-acct-content form .form-row { margin: 0 0 14px; padding: 0; }
.t1-acct .t1-acct-content form .form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--g700); margin-bottom: 6px; line-height: 1.3; }
.t1-acct .t1-acct-content form .form-row input.input-text,
.t1-acct .t1-acct-content form .form-row select,
.t1-acct .t1-acct-content form .form-row textarea {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1.5px solid var(--g200); border-radius: 10px; background: var(--white);
  font-size: 14px; color: var(--navy); font-family: var(--fb); box-shadow: none;
}
.t1-acct .t1-acct-content form .form-row textarea { height: auto; min-height: 90px; padding: 10px 14px; }
.t1-acct .t1-acct-content form .form-row input.input-text:focus,
.t1-acct .t1-acct-content form .form-row select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230,59,46,.12); }
.t1-acct .t1-acct-content form .form-row em { display: block; font-size: 12px; color: var(--g500); margin-top: 5px; font-style: normal; }
.t1-acct .t1-acct-content .select2-container .select2-selection--single {
  height: 46px; border: 1.5px solid var(--g200); border-radius: 10px;
}
.t1-acct .t1-acct-content .select2-container .select2-selection--single .select2-selection__rendered { line-height: 43px; padding-left: 14px; color: var(--navy); }
.t1-acct .t1-acct-content .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; }
.t1-acct .t1-acct-content fieldset {
  border: 1px solid var(--g200); border-radius: 12px; padding: 16px 18px 6px; margin: 22px 0 16px;
}
.t1-acct .t1-acct-content fieldset legend { font-family: var(--fd); font-size: 19px; font-weight: 700; color: var(--navy); padding: 0 6px; }
.t1-acct .t1-acct-content .password-input { position: relative; display: block; }
.t1-acct .t1-acct-content .show-password-input { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--g400); }

/* Addresses page: two cards */
.t1-acct-content .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t1-acct-content .col2-set::before,
.t1-acct-content .col2-set::after { display: none; }
.t1-acct-content .col2-set .col-1,
.t1-acct-content .col2-set .col-2 { float: none; width: auto; max-width: none; }
.t1-acct-content .woocommerce-Address { border: 1px solid var(--g200); border-radius: 12px; padding: 16px 18px; }
.t1-acct-content .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.t1-acct-content .woocommerce-Address-title::before,
.t1-acct-content .woocommerce-Address-title::after { display: none; }
.t1-acct-content .woocommerce-Address-title h2,
.t1-acct-content .woocommerce-Address-title h3 { margin: 0 !important; font-size: 19px !important; }
.t1-acct-content .woocommerce-Address-title .edit { float: none; font-size: 13px; font-weight: 600; color: var(--red); }
.t1-acct-content .woocommerce-Address address { font-style: normal; line-height: 1.7; }
.t1-acct-content .woocommerce-customer-details address {
  font-style: normal; line-height: 1.7; border: 1px solid var(--g200); border-radius: 12px; padding: 14px 16px;
}

/* Pagination in orders list */
.t1-acct-content .woocommerce-pagination { display: flex; gap: 8px; justify-content: flex-end; }

/* ═════════════ RESPONSIVE ═════════════ */
@media (max-width: 900px) {
  .t1-auth-grid { grid-template-columns: 1fr; max-width: 560px; }
  .t1-auth-side { padding: 28px 26px; }
  .t1-auth-side-title { font-size: 25px; margin-bottom: 18px; }
  .t1-auth-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

  .t1-acct-layout { grid-template-columns: 1fr; margin-top: -40px; }
  .t1-acct-nav { position: static; padding: 6px; }
  .t1-acct-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .t1-acct-nav ul::-webkit-scrollbar { display: none; }
  .t1-acct-nav li { flex-shrink: 0; }
  .t1-acct-nav li a { white-space: nowrap; padding: 9px 12px; font-size: 13px; gap: 8px; }
  .t1-acct-nav li.woocommerce-MyAccount-navigation-link--customer-logout { border: 0; margin: 0; padding: 0; }
  .t1-acct-nav-help { display: none; }
  .t1-acct-hero-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 768px) {
  .t1-auth { padding: 20px 0 48px; }
  .t1-acct .t1-acct-content { padding: 18px; }
  .t1-dash-split, .t1-dash-addresses, .t1-acct-content .col2-set { grid-template-columns: 1fr; }

  /* Orders table → stacked cards (WooCommerce adds data-title to each cell) */
  .t1-acct-content table.shop_table_responsive thead { display: none; }
  .t1-acct-content table.shop_table_responsive tr {
    display: block; border: 1px solid var(--g200); border-radius: 12px; padding: 6px 14px; margin-bottom: 12px;
  }
  .t1-acct-content table.shop_table_responsive tr td,
  .t1-acct-content table.shop_table_responsive tr th {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    text-align: right !important; padding: 9px 0; border-bottom: 1px solid var(--g100);
  }
  .t1-acct-content table.shop_table_responsive tr td:last-child { border-bottom: 0; }
  .t1-acct-content table.shop_table_responsive tr td::before {
    content: attr(data-title); float: none; font-size: 12px; font-weight: 600; color: var(--g500); text-align: left;
  }
  .t1-acct-content table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions { justify-content: flex-end; }
  .t1-acct-content table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions::before { display: none; }
}
@media (max-width: 520px) {
  .t1-auth-card { padding: 24px 18px 20px; }
  .t1-auth-title { font-size: 27px; }
  .t1-auth-perks { grid-template-columns: 1fr; }
  .t1-acct-hello h1 { font-size: 28px; }
  .t1-acct-avatar { width: 52px; height: 52px; font-size: 24px; }
  .t1-dash-stats { gap: 8px; }
  .t1-dash-stat { padding: 12px; }
  .t1-dash-stat-num { font-size: 22px; }
  .t1-dash-order { flex-wrap: wrap; }
  .t1-dash-order-btn { margin-left: 62px; }
}

/* ── Neutralise woocommerce.css on the sign-in / register forms ── */
.woocommerce .t1-auth form.t1-form,
.woocommerce .t1-auth form.login.t1-form,
.woocommerce .t1-auth form.register.t1-form {
  border: 0; padding: 0; margin: 0; border-radius: 0; box-shadow: none; background: none;
}
.t1-auth form.t1-form::after { content: ''; display: table; clear: both; }
.woocommerce .t1-auth form.t1-form .t1-auth-submit,
.woocommerce .t1-auth form.login .woocommerce-form-login__submit {
  float: none; margin-right: 0; width: 100%;
}
.woocommerce .t1-auth form.t1-form .form-row { float: none; width: 100%; }
.woocommerce .t1-auth .woocommerce-form-login__rememberme { display: inline-flex; margin: 0; font-weight: 400; }
.t1-auth-secure { width: 100%; text-align: center; }

/* Chrome autofill: keep inputs white instead of yellow */
.t1-auth input.input-text:-webkit-autofill,
.t1-auth input.input-text:-webkit-autofill:hover,
.t1-auth input.input-text:-webkit-autofill:focus,
.t1-acct-content input.input-text:-webkit-autofill,
.woocommerce-lost-password input.input-text:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 60px var(--white) inset !important;
  -webkit-text-fill-color: var(--navy) !important;
  caret-color: var(--navy);
  transition: background-color 9999s ease-out 0s;
}
.t1-auth input.input-text:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 60px var(--white) inset, 0 0 0 3px rgba(230,59,46,.12) !important;
}
