/* ====== WooCommerce My Account ====== */

/* ── Base Reset ───────────────────────────────────────────── */
.woocommerce-account .woocommerce *,
.woocommerce-account .woocommerce *::before,
.woocommerce-account .woocommerce *::after {
  box-sizing: border-box;
}
.woocommerce-account .woocommerce {
  font-family: 'Poppins', sans-serif;
  color: rgb(var(--text));
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* ── Layout: Navigation + Content ─────────────────────────── */
@media (min-width: 1024px) {
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
  }
  .woocommerce-account
    .woocommerce
    .woocommerce-MyAccount-navigation
    ul
    li.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 0.25rem;
    padding: 0.5rem 0.75rem 0.25rem;
    border-top: 1px solid rgb(var(--divider));
  }
}

/* ── Notices ──────────────────────────────────────────────── */
.woocommerce-account .woocommerce .woocommerce-notices-wrapper:empty {
  display: none;
}
/* Notices: base styles in wc-global.css, layout overrides here */
.woocommerce-account .woocommerce .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce .woocommerce-error {
  grid-column: 1 / -1;
}

/* ── Account Navigation ───────────────────────────────────── */
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--divider));
  border-radius: 0.75rem;
  padding: 0.5rem 0;
  box-shadow:
    0 1px 3px rgba(var(--raw-950), 0.06),
    0 1px 2px rgba(var(--raw-950), 0.04);
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  color: rgb(var(--text));
  text-decoration: none;
  border-left: 3px solid transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.woocommerce-account
  .woocommerce
  .woocommerce-MyAccount-navigation
  ul
  li
  a:hover {
  background: rgb(var(--surface-alt));
  color: rgb(var(--brand));
}
.woocommerce-account
  .woocommerce
  .woocommerce-MyAccount-navigation
  ul
  li.is-active
  a {
  color: rgb(var(--brand));
  border-left: 3px solid rgb(var(--brand));
  background: rgb(var(--surface-alt));
  font-weight: 600;
}

/* Hide Downloads link */
.woocommerce-account
  .woocommerce
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--downloads {
  display: none;
}

/* Logout link — highlight button style */
.woocommerce-account
  .woocommerce
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--customer-logout
  a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: white;
  background: rgb(var(--brand));
  border: none;
  border-left: none;
  border-radius: 0.375rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.woocommerce-account
  .woocommerce
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--customer-logout
  a:hover {
  background: rgb(var(--brand-hover));
  color: white;
}

/* ── Account Content ──────────────────────────────────────── */
.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--divider));
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow:
    0 1px 3px rgba(var(--raw-950), 0.06),
    0 1px 2px rgba(var(--raw-950), 0.04);
}

/* ── Content Typography ───────────────────────────────────── */
.woocommerce-account .woocommerce .woocommerce-MyAccount-content p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(var(--text));
  margin: 0 0 1rem;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content p:last-child {
  margin-bottom: 0;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content a {
  color: rgb(var(--link));
  text-decoration: none;
  transition: color 0.2s ease;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content a:hover {
  color: rgb(var(--link-hover));
}

/* Mark elements (order number, date, status) */
.woocommerce-account .woocommerce .woocommerce-MyAccount-content mark,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .order-number,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .order-date,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .order-status {
  background: rgb(var(--raw-100));
  color: rgb(var(--brand-text));
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

/* ── Section Headings ─────────────────────────────────────── */
.woocommerce-account .woocommerce .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: rgb(var(--heading));
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgb(var(--brand));
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content h2 {
  font-size: 1.25rem;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-content h3 {
  font-size: 1.125rem;
}

/* ── Orders Table ─────────────────────────────────────────── */
.woocommerce-account .woocommerce .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  background: rgb(var(--surface));
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(var(--raw-950), 0.06),
    0 1px 2px rgba(var(--raw-950), 0.04);
  margin-bottom: 1.5rem;
}
.woocommerce-account .woocommerce .woocommerce-orders-table thead {
  background: rgb(var(--surface-dark));
}
.woocommerce-account .woocommerce .woocommerce-orders-table thead th {
  padding: 1rem 1.25rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--text-on-dark), 0.7);
  text-align: left;
  border: none;
}
.woocommerce-account .woocommerce .woocommerce-orders-table tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgb(var(--divider));
  vertical-align: middle;
  font-size: 0.875rem;
  color: rgb(var(--text));
}
.woocommerce-account
  .woocommerce
  .woocommerce-orders-table
  tbody
  tr:last-child
  td {
  border-bottom: none;
}
.woocommerce-account
  .woocommerce
  .woocommerce-orders-table
  .woocommerce-orders-table__cell-order-number
  a {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: rgb(var(--link));
  text-decoration: none;
  transition: color 0.2s ease;
}
.woocommerce-account
  .woocommerce
  .woocommerce-orders-table
  .woocommerce-orders-table__cell-order-number
  a:hover {
  color: rgb(var(--link-hover));
}
.woocommerce-account
  .woocommerce
  .woocommerce-orders-table
  .woocommerce-orders-table__cell-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.woocommerce-account
  .woocommerce
  .woocommerce-orders-table
  .woocommerce-orders-table__cell-order-actions
  a.button {
  margin-top: 0;
}
.woocommerce-account
  .woocommerce
  .woocommerce-orders-table
  .woocommerce-orders-table__cell-order-actions
  a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  background: rgb(var(--btn-secondary-bg));
  color: rgb(var(--btn-secondary-text));
}
.woocommerce-account
  .woocommerce
  .woocommerce-orders-table
  .woocommerce-orders-table__cell-order-actions
  a:hover {
  background: rgb(var(--btn-secondary-bg-hover));
  transform: translateY(-1px);
}

/* ── Vouchers Table ──────────────────────────────────────── */
.woocommerce-account .woocommerce .woocommerce-MyAccount-vouchers {
  width: 100%;
  border-collapse: collapse;
  border: none;
  background: rgb(var(--surface));
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(var(--raw-950), 0.06),
    0 1px 2px rgba(var(--raw-950), 0.04);
  margin-bottom: 1.5rem;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-vouchers thead {
  background: rgb(var(--surface-dark));
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-vouchers thead th {
  padding: 1rem 1.25rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--text-on-dark), 0.7);
  text-align: left;
  border: none;
}
.woocommerce-account .woocommerce .woocommerce-MyAccount-vouchers tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgb(var(--divider));
  vertical-align: middle;
  font-size: 0.875rem;
  color: rgb(var(--text));
}
.woocommerce-account
  .woocommerce
  .woocommerce-MyAccount-vouchers
  tbody
  tr:last-child
  td {
  border-bottom: none;
}
.woocommerce-account
  .woocommerce
  .woocommerce-MyAccount-vouchers
  .voucher-number {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}
.woocommerce-account
  .woocommerce
  .woocommerce-MyAccount-vouchers
  .voucher-actions
  a.button {
  margin-top: 0;
}

/* ── Shared Button Style ──────────────────────────────────── */
.woocommerce-account .woocommerce .button,
.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce button[type='submit'],
.woocommerce-account .woocommerce input[type='submit'] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  background: rgb(var(--btn-bg)) !important;
  color: rgb(var(--btn-text)) !important;
  margin-top: 0.75rem;
}
.woocommerce-account .woocommerce .button:hover,
.woocommerce-account .woocommerce button.button:hover,
.woocommerce-account .woocommerce button[type='submit']:hover,
.woocommerce-account .woocommerce input[type='submit']:hover {
  background: rgb(var(--btn-bg-hover)) !important;
  color: rgb(var(--btn-text)) !important;
  transform: translateY(-1px);
}

/* ── Form Fields ──────────────────────────────────────────── */
.woocommerce-account .woocommerce .form-row {
  margin-bottom: 1rem;
}
.woocommerce-account .woocommerce .form-row label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgb(var(--text));
  margin-bottom: 0.375rem;
}
.woocommerce-account .woocommerce .form-row label .required {
  color: rgb(var(--state-error));
  margin-left: 0.125rem;
}
.woocommerce-account .woocommerce .form-row .input-text,
.woocommerce-account .woocommerce .form-row input[type='text'],
.woocommerce-account .woocommerce .form-row input[type='email'],
.woocommerce-account .woocommerce .form-row input[type='password'],
.woocommerce-account .woocommerce .form-row input[type='tel'],
.woocommerce-account .woocommerce .form-row select,
.woocommerce-account .woocommerce .form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgb(var(--input-text));
  background: rgb(var(--input-bg));
  border: 1px solid rgb(var(--input-border));
  border-radius: 0.5rem;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.woocommerce-account .woocommerce .form-row .input-text::placeholder,
.woocommerce-account .woocommerce .form-row input::placeholder {
  color: rgb(var(--input-placeholder));
  font-weight: 300;
}
.woocommerce-account .woocommerce .form-row .input-text:focus,
.woocommerce-account .woocommerce .form-row input:focus,
.woocommerce-account .woocommerce .form-row select:focus,
.woocommerce-account .woocommerce .form-row textarea:focus {
  border-color: rgb(var(--input-border-focus));
  box-shadow: 0 0 0 3px rgba(var(--input-ring-focus), 0.1);
}
.woocommerce-account .woocommerce fieldset {
  border: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.woocommerce-account .woocommerce legend {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgb(var(--heading));
  margin-bottom: 0.75rem;
}

/* ── Addresses Section (.woocommerce-Addresses) ──────────── */
.woocommerce-account .woocommerce .woocommerce-Addresses .col-1 {
  margin-bottom: 2rem;
}
.woocommerce-account
  .woocommerce
  .woocommerce-Addresses
  .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgb(var(--brand));
}
.woocommerce-account
  .woocommerce
  .woocommerce-MyAccount-content
  .woocommerce-Address-title
  h2,
.woocommerce-account
  .woocommerce
  .woocommerce-MyAccount-content
  .woocommerce-Address-title
  h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgb(var(--heading));
  margin: 0;
  padding: 0;
  padding-bottom: 0;
  border: none;
  border-bottom: none;
}
.woocommerce-account
  .woocommerce
  .woocommerce-Addresses
  .woocommerce-Address-title
  a {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(var(--link));
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.woocommerce-account
  .woocommerce
  .woocommerce-Addresses
  .woocommerce-Address-title
  a:hover {
  color: rgb(var(--link-hover));
}
.woocommerce-account .woocommerce .woocommerce-Addresses address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgb(var(--text));
}

/* ── Pagination ───────────────────────────────────────────── */
.woocommerce-account .woocommerce .woocommerce-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
}
.woocommerce-account .woocommerce .woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 0.375rem;
  color: rgb(var(--text));
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.woocommerce-account .woocommerce .woocommerce-pagination .page-numbers:hover {
  background: rgb(var(--surface-alt));
  color: rgb(var(--brand));
}
.woocommerce-account
  .woocommerce
  .woocommerce-pagination
  .page-numbers.current {
  background: rgb(var(--brand));
  color: rgb(var(--btn-text));
  font-weight: 700;
}

/* ── Responsive: Tablet & Below ───────────────────────────── */
@media (max-width: 1023px) {
  /* Navigation stacks above content */
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
    position: relative;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
  }

  /* Logout: positioned above nav */
  .woocommerce-account
    .woocommerce
    .woocommerce-MyAccount-navigation
    ul
    li.woocommerce-MyAccount-navigation-link--customer-logout {
    position: absolute;
    top: -3rem;
    right: 0;
    margin-top: 0;
    padding: 0;
    border-top: none;
  }

  /* Navigation becomes horizontal scrollable */
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0.5rem;
  }
  .woocommerce-account
    .woocommerce
    .woocommerce-MyAccount-navigation
    ul::-webkit-scrollbar {
    display: none;
  }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a {
    white-space: nowrap;
    padding: 0.625rem 1rem;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 0.8125rem;
  }
  .woocommerce-account
    .woocommerce
    .woocommerce-MyAccount-navigation
    ul
    li.is-active
    a {
    border-left: none;
    border-bottom: 3px solid rgb(var(--brand));
  }

  /* Content card */
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content {
    padding: 1.25rem;
  }

  /* Addresses: stack */
  .woocommerce-account
    .woocommerce
    .woocommerce-Addresses
    .woocommerce-Address-title
    h2,
  .woocommerce-account
    .woocommerce
    .woocommerce-Addresses
    .woocommerce-Address-title
    h3 {
    font-size: 1.125rem;
  }

  /* Orders table: card layout */
  .woocommerce-account .woocommerce .woocommerce-orders-table {
    table-layout: auto;
  }
  .woocommerce-account .woocommerce .woocommerce-orders-table thead {
    display: none;
  }
  .woocommerce-account .woocommerce .woocommerce-orders-table tbody {
    display: block;
  }
  .woocommerce-account .woocommerce .woocommerce-orders-table tbody tr {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgb(var(--divider));
    gap: 0.25rem;
  }
  .woocommerce-account .woocommerce .woocommerce-orders-table tbody td {
    padding: 0;
    border: none;
    width: 100%;
    font-size: 0.8125rem;
  }
  .woocommerce-account .woocommerce .woocommerce-orders-table tbody td::before {
    content: attr(data-title);
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgb(var(--text-subtle));
    margin-bottom: 0.125rem;
  }
  .woocommerce-account
    .woocommerce
    .woocommerce-orders-table
    .woocommerce-orders-table__cell-order-number
    a {
    text-align: left;
  }
  .woocommerce-account
    .woocommerce
    .woocommerce-orders-table
    .woocommerce-orders-table__cell-order-actions {
    margin-top: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .woocommerce-account
    .woocommerce
    .woocommerce-orders-table
    .woocommerce-orders-table__cell-order-actions::before {
    content: attr(data-title);
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgb(var(--text-subtle));
    margin-bottom: 0.125rem;
  }

  /* Vouchers table: card layout */
  .woocommerce-account .woocommerce .woocommerce-MyAccount-vouchers {
    table-layout: auto;
  }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-vouchers thead {
    display: none;
  }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-vouchers tbody {
    display: block;
  }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-vouchers tbody tr {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgb(var(--divider));
    gap: 0.25rem;
  }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-vouchers tbody td {
    padding: 0;
    border: none;
    width: 100%;
    font-size: 0.8125rem;
  }
  .woocommerce-account
    .woocommerce
    .woocommerce-MyAccount-vouchers
    tbody
    td::before {
    content: attr(data-title);
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgb(var(--text-subtle));
    margin-bottom: 0.125rem;
  }
  .woocommerce-account
    .woocommerce
    .woocommerce-MyAccount-vouchers
    tbody
    td.voucher-number::before {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: rgb(var(--heading));
    text-transform: none;
    letter-spacing: normal;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid rgb(var(--brand));
  }
  .woocommerce-account
    .woocommerce
    .woocommerce-MyAccount-vouchers
    .voucher-actions {
    margin-top: 0.5rem;
  }
  .woocommerce-account
    .woocommerce
    .woocommerce-MyAccount-vouchers
    .voucher-actions::before {
    display: none;
  }
}

/* ── Responsive: Addresses ────────────────────────────────── */
@media (max-width: 768px) {
  .woocommerce-account
    .woocommerce
    .woocommerce-Addresses
    .woocommerce-Address-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
}

/* ── Responsive: Small Mobile ─────────────────────────────── */
@media (max-width: 424px) {
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content {
    padding: 1rem;
  }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* ── Screen Reader Text ───────────────────────────────────── */
.woocommerce-account .woocommerce .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ====== Login / Register (scoped to #customer_login) ====== */

/* ── Two-column layout ───────────────────────────────────── */
#customer_login {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  #customer_login {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Column cards ────────────────────────────────────────── */
#customer_login .u-column1,
#customer_login .u-column2 {
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--divider));
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow:
    0 1px 3px rgba(var(--raw-950), 0.06),
    0 1px 2px rgba(var(--raw-950), 0.04);
}

/* ── Headings ────────────────────────────────────────────── */
#customer_login h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgb(var(--heading));
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgb(var(--brand));
}

/* ── Checkbox + Remember me ──────────────────────────────── */
#customer_login .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgb(var(--text));
  cursor: pointer;
}
#customer_login .woocommerce-form-login__rememberme input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: rgb(var(--brand));
  cursor: pointer;
}

/* ── Submit row layout ───────────────────────────────────── */
#customer_login .login .form-row:has(.woocommerce-form-login__submit) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* ── Lost password link ──────────────────────────────────── */
#customer_login .lost_password {
  margin-top: 1rem;
}
#customer_login .lost_password a {
  font-size: 0.8125rem;
  color: rgb(var(--link));
  text-decoration: none;
  transition: color 0.2s ease;
}
#customer_login .lost_password a:hover {
  color: rgb(var(--link-hover));
}

/* ── Privacy policy text ─────────────────────────────────── */
#customer_login .woocommerce-privacy-policy-text {
  margin-bottom: 1rem;
}
#customer_login .woocommerce-privacy-policy-text p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgb(var(--text-subtle));
  margin: 0;
}
#customer_login .woocommerce-privacy-policy-text a {
  color: rgb(var(--link));
  text-decoration: none;
  transition: color 0.2s ease;
}
#customer_login .woocommerce-privacy-policy-text a:hover {
  color: rgb(var(--link-hover));
}

/* ── Password toggle button ──────────────────────────────── */
#customer_login .password-input {
  position: relative;
  display: block;
}
#customer_login .show-password-input {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: rgb(var(--text-subtle));
  transition: color 0.2s ease;
}
#customer_login .show-password-input:hover {
  color: rgb(var(--brand));
}

/* ── Responsive: Mobile ──────────────────────────────────── */
@media (max-width: 767px) {
  #customer_login .u-column1,
  #customer_login .u-column2 {
    padding: 1.25rem;
  }
  #customer_login h2 {
    font-size: 1.125rem;
  }
}
