@charset "UTF-8";
/*
 * My Account.
 *
 * Loaded only on the account page and its endpoints, via inc/enqueue.php. The
 * layout, navigation, login cards, orders table and address cards are this
 * theme's own markup and carry kf-account- classes.
 *
 * WooCommerce's classes appear only where it renders the markup itself — the
 * edit-account and edit-address forms, the view-order tables, downloads and
 * payment methods. Those are all scoped under `.kf-account .woocommerce`, which
 * is one class more specific than the plugin's own `.woocommerce …` rules and
 * so wins without !important.
 */
.kf-account {
  padding: 48px 0 64px;
}

/* -------------------------------------------------------------------------
 * Masthead
 * ---------------------------------------------------------------------- */
.kf-account__masthead {
  margin-bottom: 32px;
}

/*
 * inline-block so the box shrinks to the words and the rule below is measured
 * from the title rather than from the column.
 */
.kf-account__title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 20px;
  font-size: 28px;
  line-height: 1.25;
  color: #1f2933;
}
.kf-account__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc((100% + 14px) / 2);
  height: 2px;
  background: #0f9d78;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 157, 120, 0.35);
}

.kf-account__subtitle {
  margin: 14px 0 0;
  font-size: 15px;
  color: #5c6b73;
}

/* -------------------------------------------------------------------------
 * Layout
 * ---------------------------------------------------------------------- */
.kf-account__layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 32px;
}

/* -------------------------------------------------------------------------
 * Navigation
 *
 * Woo floats this left at 30% and the content right at 68%. Both carry a
 * kf-account- class as well, so a two-class selector out-specifies it.
 * ---------------------------------------------------------------------- */
.kf-account .kf-account__nav.woocommerce-MyAccount-navigation {
  float: none;
  width: auto;
  padding: 14px;
  background: #f3f9f7;
  border: 1px solid #e2e8e6;
  border-radius: 12px;
  position: sticky;
  top: 24px;
}

.kf-account__nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kf-account__nav-item {
  margin: 0 0 2px;
}

.kf-account__nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #1f2933;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.kf-account__nav-link:hover {
  background: #ffffff;
  color: #0c7d5f;
}
.kf-account__nav-link:focus-visible {
  outline: 2px solid #0f9d78;
  outline-offset: 2px;
}

.kf-account__nav-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: #0f9d78;
  transition: color 0.15s ease;
}

/* Woo sets is-active on the current item. */
.kf-account__nav-item.is-active > .kf-account__nav-link {
  background: #0f9d78;
  color: #fff;
  box-shadow: 0 2px 6px rgba(15, 157, 120, 0.25);
}

.kf-account__nav-item.is-active .kf-account__nav-icon {
  color: #fff;
}

/* -------------------------------------------------------------------------
 * Content panel
 * ---------------------------------------------------------------------- */
.kf-account .kf-account__content.woocommerce-MyAccount-content {
  float: none;
  width: auto;
  min-width: 0;
}

/* The same tinted panel the post body and the product description tab use. */
.kf-account__panel {
  padding: 36px;
  background: #f3f9f7;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #5c6b73;
}
.kf-account__panel > p:first-child {
  margin-top: 0;
}
.kf-account__panel > p:last-child {
  margin-bottom: 0;
}
.kf-account__panel {
  /*
   * Prose links only. Anything that is itself a control — a tile, an address
   * card's edit link, a button — is styled where it is defined and must not
   * pick up the underline.
   */
}
.kf-account__panel p a,
.kf-account__panel li a,
.kf-account__panel address a {
  color: #0c7d5f;
  text-decoration: underline;
}
.kf-account__panel h2,
.kf-account__panel h3 {
  color: #1f2933;
}
.kf-account__panel mark {
  padding: 0 4px;
  background: #ffffff;
  color: #1f2933;
}

/* -------------------------------------------------------------------------
 * Dashboard
 * ---------------------------------------------------------------------- */
.kf-account__greeting {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8e6;
}

.kf-account__hello {
  margin: 0;
  font-size: 17px;
  color: #5c6b73;
}
.kf-account__hello strong {
  color: #1f2933;
}

.kf-account__logout {
  font-size: 14px;
  font-weight: 600;
  color: #0c7d5f;
}
.kf-account__logout:hover {
  color: #0f9d78;
  text-decoration: underline;
}

.kf-account__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.kf-account__tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 12px;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.kf-account__tile:hover {
  border-color: #0f9d78;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.kf-account__tile:focus-visible {
  outline: 2px solid #0f9d78;
  outline-offset: 3px;
}

.kf-account__tile-icon {
  display: inline-flex;
  margin-bottom: 4px;
  color: #0f9d78;
}

.kf-account__tile-label {
  font-size: 16px;
  font-weight: 600;
  color: #1f2933;
}

.kf-account__tile:hover .kf-account__tile-label {
  color: #0c7d5f;
}

.kf-account__tile-text {
  font-size: 14px;
  line-height: 1.55;
  color: #5c6b73;
}

/* -------------------------------------------------------------------------
 * Login / register / password cards
 * ---------------------------------------------------------------------- */
.kf-account__auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 480px;
}

.kf-account__auth--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 940px;
}

/*
 * Woo gives `form.login` and `form.register` their own border, padding and 2em
 * margin, which drew a second box inside this card. (0,3,1) clears (0,2,1).
 */
.kf-account .woocommerce form.kf-account__form {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.kf-account__card {
  padding: 32px;
  background: #f3f9f7;
  border: 1px solid #e2e8e6;
  border-radius: 12px;
}

.kf-account__card-title {
  position: relative;
  display: inline-block;
  margin: 0 0 24px;
  padding-bottom: 18px;
  font-size: 20px;
  line-height: 1.25;
  color: #1f2933;
}
.kf-account__card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc((100% + 14px) / 2);
  height: 2px;
  background: #0f9d78;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 157, 120, 0.35);
}

.kf-account__hint {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #5c6b73;
}

/* -------------------------------------------------------------------------
 * Form fields
 *
 * These cover both this theme's cards and the forms WooCommerce renders itself
 * (edit-account, edit-address), so they are scoped to .kf-account rather than
 * to a card class.
 * ---------------------------------------------------------------------- */
.kf-account .kf-account__row,
.kf-account .woocommerce-form-row,
.kf-account .form-row {
  display: block;
  margin: 0 0 16px;
  padding: 0;
}
.kf-account label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2933;
}
.kf-account .required {
  color: #0c7d5f;
  border: 0;
  text-decoration: none;
}
.kf-account input.input-text,
.kf-account input[type=text],
.kf-account input[type=email],
.kf-account input[type=tel],
.kf-account input[type=password],
.kf-account select,
.kf-account textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  color: #1f2933;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 999px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.kf-account {
  /* Multi-line inputs cannot be pills. */
}
.kf-account textarea {
  height: auto;
  min-height: 110px;
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1.6;
}
.kf-account input:focus,
.kf-account select:focus,
.kf-account textarea:focus {
  outline: none;
  border-color: #0f9d78;
  box-shadow: 0 0 0 3px rgba(15, 157, 120, 0.16);
}
.kf-account {
  /* The remember-me checkbox must not inherit the full-width field rule. */
}
.kf-account input[type=checkbox],
.kf-account input[type=radio] {
  width: auto;
  height: auto;
  accent-color: #0f9d78;
}

/*
 * Woo's own `.woocommerce form .form-row input.input-text` is (0,3,2) and the
 * block above is (0,2,1), so it lost on every account form — login, register,
 * the address forms and account details all rendered Woo's default field: 34px
 * tall, 4px corners, a near-black hairline, 7.5px of padding, sitting beside a
 * select2 country box and a pill button the theme *does* win. Same declarations,
 * re-stated in Woo's own context so they land at (0,4,2). 46px is also the touch
 * target a phone needs. (The checkout carries the identical fix.)
 */
.kf-account .woocommerce form .form-row input.input-text,
.kf-account .woocommerce form .form-row input[type=text],
.kf-account .woocommerce form .form-row input[type=email],
.kf-account .woocommerce form .form-row input[type=tel],
.kf-account .woocommerce form .form-row input[type=password],
.kf-account .woocommerce form .form-row select,
.kf-account .woocommerce form .form-row textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  color: #1f2933;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 999px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.kf-account .woocommerce form .form-row textarea {
  height: auto;
  min-height: 110px;
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1.6;
  resize: vertical;
}
.kf-account .woocommerce form .form-row {
  /*
   * Woo hangs a show/hide eye inside the password field; the pill padding has
   * to leave room for it or the characters run underneath.
   */
}
.kf-account .woocommerce form .form-row input[type=password] {
  padding-right: 44px;
}
.kf-account .woocommerce form .form-row .woocommerce-password-input,
.kf-account .woocommerce form .form-row .password-input {
  position: relative;
  display: block;
}
.kf-account .woocommerce form .form-row .show-password-input {
  top: 15px;
  right: 16px;
}
.kf-account .woocommerce form .form-row input:focus,
.kf-account .woocommerce form .form-row select:focus,
.kf-account .woocommerce form .form-row textarea:focus {
  outline: none;
  border-color: #0f9d78;
  box-shadow: 0 0 0 3px rgba(15, 157, 120, 0.16);
}
.kf-account .woocommerce form .form-row input[type=checkbox],
.kf-account .woocommerce form .form-row input[type=radio] {
  width: auto;
  height: auto;
  accent-color: #0f9d78;
}

.kf-account__check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500 !important;
}
.kf-account__check span {
  font-size: 14px;
  color: #5c6b73;
}

.kf-account__row--submit {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

/*
 * Buttons. Woo's `.woocommerce button.button` is (0,2,1) and
 * `.woocommerce a.button.alt` is (0,3,1); scoping under .kf-account .woocommerce
 * clears both without !important.
 */
.kf-account .woocommerce button.button,
.kf-account .woocommerce input.button,
.kf-account .woocommerce a.button,
.kf-account .woocommerce button.woocommerce-Button,
.kf-account .woocommerce a.button.alt,
.kf-account .woocommerce button.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: #0f9d78;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 157, 120, 0.25);
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.kf-account .woocommerce button.button:hover,
.kf-account .woocommerce input.button:hover,
.kf-account .woocommerce a.button:hover,
.kf-account .woocommerce button.woocommerce-Button:hover,
.kf-account .woocommerce a.button.alt:hover,
.kf-account .woocommerce button.button.alt:hover {
  background: #0c7d5f;
  box-shadow: 0 4px 10px rgba(15, 157, 120, 0.35);
}

.kf-account__lost {
  margin: 18px 0 0;
  font-size: 14px;
}
.kf-account__lost a {
  color: #0c7d5f;
  font-weight: 600;
}
.kf-account__lost a:hover {
  color: #0f9d78;
  text-decoration: underline;
}

/* Woo appends this under the register form when a privacy page is set. */
.kf-account .woocommerce-privacy-policy-text {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #5c6b73;
}
.kf-account .woocommerce-privacy-policy-text a {
  color: #0c7d5f;
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
 * Orders table
 * ---------------------------------------------------------------------- */
.kf-account__table-wrap {
  overflow-x: auto;
}

.kf-account .kf-account__table {
  width: 100%;
  margin: 0;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.kf-account .kf-account__table th,
.kf-account .kf-account__table td {
  padding: 14px 16px;
  border: 0;
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
}
.kf-account .kf-account__table thead th {
  background: #f3f9f7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #5c6b73;
}
.kf-account .kf-account__table tbody th,
.kf-account .kf-account__table tbody td {
  border-top: 1px solid #e2e8e6;
  color: #5c6b73;
}
.kf-account .kf-account__table tbody th {
  font-weight: 700;
}
.kf-account .kf-account__table .woocommerce-orders-table__cell-order-actions {
  text-align: right;
  white-space: nowrap;
}

.kf-account__order-link {
  font-weight: 700;
  color: #0c7d5f;
}
.kf-account__order-link:hover {
  text-decoration: underline;
}

.kf-account__status {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  background: #f3f9f7;
  border-radius: 999px;
  color: #0c7d5f;
}

/* Row actions are small pills, not the full-size form button. */
.kf-account .woocommerce a.button.kf-account__action,
.kf-account .woocommerce a.kf-account__page-link.button {
  min-height: 36px;
  margin-left: 6px;
  padding: 0 16px;
  font-size: 13px;
}

.kf-account__pagination {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* -------------------------------------------------------------------------
 * Addresses
 * ---------------------------------------------------------------------- */
.kf-account__addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 4px;
}

/* Woo floats these into columns; both carry a kf-account- class here. */
.kf-account .kf-account__address.woocommerce-Address {
  float: none;
  width: auto;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 12px;
}

.kf-account__address-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.kf-account__address-title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 14px;
  font-size: 17px;
  color: #1f2933;
}
.kf-account__address-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc((100% + 14px) / 2);
  height: 2px;
  background: #0f9d78;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 157, 120, 0.35);
}

.kf-account__address-edit {
  font-size: 14px;
  font-weight: 600;
  color: #0c7d5f;
}
.kf-account__address-edit:hover {
  color: #0f9d78;
  text-decoration: underline;
}

.kf-account__address-body {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
  color: #5c6b73;
}

/* -------------------------------------------------------------------------
 * WooCommerce's own forms: edit-account, edit-address
 *
 * `form-row-first` / `form-row-last` are floated 47% by the plugin; a grid on
 * the fieldset is cleaner and collapses on its own when narrow.
 * ---------------------------------------------------------------------- */
.kf-account .woocommerce form .form-row-first,
.kf-account .woocommerce form .form-row-last,
.kf-account .woocommerce form .form-row-wide {
  float: none;
  width: auto;
}

.kf-account .woocommerce form .woocommerce-address-fields__field-wrapper,
.kf-account .woocommerce form.woocommerce-EditAccountForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.kf-account .woocommerce form .form-row-wide,
.kf-account .woocommerce form fieldset,
.kf-account .woocommerce form .woocommerce-form-row--wide,
.kf-account .woocommerce form p:has(> button),
.kf-account .woocommerce form .clear {
  grid-column: 1/-1;
}

.kf-account .woocommerce form fieldset {
  margin: 12px 0 0;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 12px;
}
.kf-account .woocommerce form fieldset legend {
  padding: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #1f2933;
}

.kf-account .woocommerce form h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #1f2933;
}

/* Country and state selects are replaced by select2. */
.kf-account .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  height: 46px;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 999px;
}

.kf-account .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 14px;
  font-size: 15px;
  color: #1f2933;
}

.kf-account .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 8px;
}

/* -------------------------------------------------------------------------
 * Order details (view-order), downloads, payment methods
 * ---------------------------------------------------------------------- */
.kf-account .woocommerce table.shop_table {
  width: 100%;
  margin: 0 0 24px;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.kf-account .woocommerce table.shop_table th,
.kf-account .woocommerce table.shop_table td {
  padding: 14px 16px;
  border: 0;
  border-top: 1px solid #e2e8e6;
  font-size: 14px;
  text-align: left;
  color: #5c6b73;
}
.kf-account .woocommerce table.shop_table thead th {
  border-top: 0;
  background: #f3f9f7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #5c6b73;
}
.kf-account .woocommerce table.shop_table tfoot th {
  font-weight: 600;
  color: #1f2933;
}
.kf-account .woocommerce table.shop_table tfoot td {
  font-weight: 700;
  color: #0c7d5f;
}

.kf-account .woocommerce .woocommerce-customer-details address {
  padding: 18px 20px;
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 12px;
  color: #5c6b73;
}

.kf-account .woocommerce .woocommerce-order-details__title,
.kf-account .woocommerce .woocommerce-column__title {
  margin: 0 0 14px;
  font-size: 18px;
  color: #1f2933;
}

/* -------------------------------------------------------------------------
 * Empty state
 * ---------------------------------------------------------------------- */
.kf-account__empty {
  padding: 44px 24px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-radius: 12px;
}
.kf-account__empty p {
  margin: 0 0 22px;
  font-size: 15px;
  color: #5c6b73;
}

.kf-account__empty-icon {
  display: inline-flex;
  color: #0f9d78;
  opacity: 0.55;
}

.kf-account__empty-title {
  margin: 12px 0 8px;
  font-size: 20px;
  color: #1f2933;
}

.kf-account .kf-account__empty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #0f9d78;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 157, 120, 0.25);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.kf-account .kf-account__empty-cta:hover {
  background: #0c7d5f;
  box-shadow: 0 4px 10px rgba(15, 157, 120, 0.35);
}

/* -------------------------------------------------------------------------
 * Notices
 * ---------------------------------------------------------------------- */
.kf-account .woocommerce-message,
.kf-account .woocommerce-error,
.kf-account .woocommerce-info,
.kf-account .woocommerce-notice {
  /*
   * Woo draws its glyph with ::before, absolutely positioned at left: 1.5em.
   * The text has to clear it — at the tighter padding used here the message
   * ran straight over the tick. Icon at 18px, text from 46px.
   */
  position: relative;
  margin: 0 0 24px;
  padding: 14px 18px 14px 46px;
  font-size: 14px;
  line-height: 1.6;
  list-style: none;
  background: #ffffff;
  border: 1px solid #e2e8e6;
  border-left: 3px solid #0f9d78;
  border-radius: 8px;
  color: #5c6b73;
}
.kf-account .woocommerce-message::before,
.kf-account .woocommerce-error::before,
.kf-account .woocommerce-info::before,
.kf-account .woocommerce-notice::before {
  top: 15px;
  left: 18px;
}
.kf-account .woocommerce-message li,
.kf-account .woocommerce-error li,
.kf-account .woocommerce-info li,
.kf-account .woocommerce-notice li {
  list-style: none;
}

.kf-account .woocommerce-error {
  border-left-color: #e0533d;
  color: #1f2933;
}

/*
 * Buttons inside a notice must stay inline pills — the form-button rule above
 * would otherwise stretch them across the notice.
 */
.kf-account .woocommerce .woocommerce-message a.button,
.kf-account .woocommerce .woocommerce-info a.button,
.kf-account .woocommerce .woocommerce-error a.button {
  float: right;
  min-height: 36px;
  margin-left: 10px;
  padding: 0 16px;
  font-size: 13px;
  vertical-align: middle;
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */
@media (max-width: 900px) {
  .kf-account__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .kf-account .kf-account__nav.woocommerce-MyAccount-navigation {
    position: static;
  }
  /* Horizontal pill row rather than a tall list above the content. */
  .kf-account__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .kf-account__nav-item {
    margin: 0;
  }
  .kf-account__auth--split {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
  }
  .kf-account__addresses {
    grid-template-columns: minmax(0, 1fr);
  }
  .kf-account .woocommerce form .woocommerce-address-fields__field-wrapper,
  .kf-account .woocommerce form.woocommerce-EditAccountForm {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 620px) {
  .kf-account__panel {
    padding: 24px 20px;
  }
  .kf-account__card {
    padding: 24px 20px;
  }
  .kf-account__tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .kf-account__row--submit {
    flex-direction: column;
    align-items: stretch;
  }
  .kf-account .woocommerce button.button,
  .kf-account .woocommerce input.button {
    width: 100%;
  }
}
/*
 * The orders table stacks, and it has to out-argue WooCommerce doing the same
 * job at the same time. `woocommerce-smallscreen.css` stacks every
 * `.shop_table_responsive` up to **768px** — not the 620 this file used, which
 * left a 621–768 band wearing Woo's version: no card, no order number, labels
 * with a floated colon. Its selectors carry the body class
 * (`.woocommerce-page table.shop_table_responsive tbody th` is (0,2,3)) and beat
 * a plain `.kf-account .kf-account__table tbody th` at (0,2,2) — which is why the
 * order number was invisible on a phone: Woo hides the row header outright and
 * expects its own `td::before` labels instead. Carrying the same body class puts
 * these at (0,3,x) and the whole component lands.
 */
@media (max-width: 768px) {
  .woocommerce-page .kf-account .kf-account__table {
    border: 0;
  }
  .woocommerce-page .kf-account .kf-account__table thead {
    display: none;
  }
  .woocommerce-page .kf-account .kf-account__table tbody tr {
    display: block;
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid #e2e8e6;
    border-radius: 12px;
    overflow: hidden;
  }
  .woocommerce-page .kf-account .kf-account__table {
    /* Woo hides the order number; it is the one cell that names the row. */
    /*
     * `space-between` split the cell's own children too: the total is an
     * amount span followed by a bare " voor 4 items", so the price went to
     * the middle and the item count to the edge. The label takes the free
     * space instead and everything after it stays together on the right.
     */
  }
  .woocommerce-page .kf-account .kf-account__table tbody th,
  .woocommerce-page .kf-account .kf-account__table tbody td {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    text-align: right;
  }
  .woocommerce-page .kf-account .kf-account__table tbody th::before,
  .woocommerce-page .kf-account .kf-account__table tbody td::before {
    content: attr(data-title);
    margin-right: auto;
    float: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #5c6b73;
  }
  .woocommerce-page .kf-account .kf-account__table {
    /*
     * Three action pills against a ~250px cell: as inline boxes on a
     * right-aligned line they staggered one per row with no space between
     * them. A wrapping flex row gives them a gap and lets two share a line
     * when they fit.
     */
  }
  .woocommerce-page .kf-account .kf-account__table .woocommerce-orders-table__cell-order-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    white-space: normal;
  }
  .woocommerce-page .kf-account .kf-account__table .woocommerce-orders-table__cell-order-actions a.button,
  .woocommerce-page .kf-account .kf-account__table .woocommerce-orders-table__cell-order-actions a.woocommerce-button {
    margin: 0;
  }
}
@media (max-width: 560px) {
  /*
   * The notice buttons are floated right; at 360 the text column is ~180px and
   * "E-mailadres bevestigen" takes 175 of it, so the sentence broke into
   * two-character fragments around it. Full width under the text instead —
   * the cart carries the same fix.
   */
  .kf-account .woocommerce .woocommerce-message,
  .kf-account .woocommerce .woocommerce-info,
  .kf-account .woocommerce .woocommerce-error {
    /* Woo prints the button before the sentence and floats it out of the
       way; unfloated it would sit above the words it belongs to. */
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .kf-account .woocommerce .woocommerce-message a.button,
  .kf-account .woocommerce .woocommerce-info a.button,
  .kf-account .woocommerce .woocommerce-error a.button {
    order: 2;
    float: none;
    display: block;
    width: 100%;
    margin: 10px 0 0;
    text-align: center;
  }
}
@media (max-width: 480px) {
  /*
   * Three pills of different widths right-aligned one per row read as debris.
   * Stacked full width under their label they are three equal actions.
   */
  .woocommerce-page .kf-account .kf-account__table .woocommerce-orders-table__cell-order-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .woocommerce-page .kf-account .kf-account__table .woocommerce-orders-table__cell-order-actions::before {
    margin-right: 0;
    text-align: left;
  }
  .woocommerce-page .kf-account .kf-account__table .woocommerce-orders-table__cell-order-actions a.button,
  .woocommerce-page .kf-account .kf-account__table .woocommerce-orders-table__cell-order-actions a.woocommerce-button {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kf-account *,
  .kf-account *::before,
  .kf-account *::after {
    transition-duration: 0.01ms !important;
  }
}
