/* Kore4n native WooCommerce My Account. */
body.k4-my-account .site-main,
body.k4-my-account #content,
body.k4-my-account .site-main > article,
body.k4-my-account .site-main .page-content {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.k4-account,
.k4-account *,
.k4-account *::before,
.k4-account *::after {
  box-sizing: border-box;
}

body.k4-my-account .k4-account {
  width: calc(100% - 32px);
  max-width: 1350px;
  margin: 0 auto;
  padding: 56px 0 80px;
  font-family: 'Segment', sans-serif;
  color: #111;
  text-transform: none;
}

.k4-account strong,
.k4-account b,
.k4-account h1,
.k4-account h2,
.k4-account h3,
.k4-account button,
.k4-account .button {
  font-weight: 600;
}

.k4-account__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 42px;
}

.k4-account__top h1,
.k4-account__guest-heading h1 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
}

.k4-account__top p,
.k4-account__guest-heading p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

.k4-account__signout,
.k4-account-text-link,
.k4-account-card__head > a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
  font-weight: 600;
}

.k4-account__layout {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.k4-account__nav {
  position: sticky;
  top: 24px;
  min-width: 0;
}

.k4-account__nav-scroll {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.k4-account__nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 25px;
  color: #111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .2s ease, color .2s ease;
}

.k4-account__nav-link:hover,
.k4-account__nav-link:focus-visible,
.k4-account__nav-link.is-active {
  background: #000;
  color: #fff;
}

.k4-account__content {
  min-width: 0;
}

.k4-account-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
  gap: 20px;
  align-items: start;
}

.k4-account-dashboard__side {
  display: grid;
  gap: 20px;
}

.k4-account-card {
  background: #fff;
  border-radius: 12px;
  padding: 26px;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .0313725));
}

.k4-account-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.k4-account__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .14em;
  font-weight: 600;
}

.k4-account-card h2,
.k4-account-profile h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  text-transform: none;
}

.k4-account-orders {
  border-top: 1px solid rgba(17, 17, 17, .1);
}

.k4-account-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(17, 17, 17, .1);
  color: #111;
  text-decoration: none;
}

.k4-account-order > div:first-child,
.k4-account-order__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.k4-account-order > div:first-child {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.k4-account-order span {
  font-size: 13px;
}

.k4-account-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f3ead9;
  white-space: nowrap;
}

.k4-account-order__arrow {
  font-size: 22px !important;
  transition: transform .2s ease;
}

.k4-account-order:hover .k4-account-order__arrow {
  transform: translateX(4px);
}

.k4-account-profile__intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.k4-account-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.k4-account-profile__details {
  display: grid;
  gap: 14px;
  padding: 18px 0;
  margin-bottom: 16px;
  border-top: 1px solid rgba(17, 17, 17, .1);
  border-bottom: 1px solid rgba(17, 17, 17, .1);
}

.k4-account-profile__details p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.k4-account-profile__details span {
  font-size: 12px;
  opacity: .62;
}

.k4-account-profile__details strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.k4-account-address address {
  margin: 0 0 18px;
  font-style: normal;
  line-height: 1.65;
  font-size: 14px;
}

.k4-account-empty {
  padding: 38px 0 16px;
  text-align: center;
}

.k4-account-empty h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.k4-account-empty p {
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.k4-account-button,
.k4-account .woocommerce-Button,
.k4-account .woocommerce-button,
.k4-account button.button,
.k4-account input.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid #000;
  border-radius: 25px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.k4-account-button:hover,
.k4-account .woocommerce-Button:hover,
.k4-account .woocommerce-button:hover,
.k4-account button.button:hover,
.k4-account input.button:hover {
  background: #000;
  color: #fff;
}

/* Native WooCommerce endpoint content. */
.k4-account__content .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}

.k4-account__content h2,
.k4-account__content h3 {
  text-transform: none;
}

.k4-account__content table.shop_table,
.k4-account__content .woocommerce-orders-table,
.k4-account__content .woocommerce-table {
  width: 100%;
  overflow: hidden;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  background: #fff;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .0313725));
}

.k4-account__content table.shop_table th,
.k4-account__content table.shop_table td,
.k4-account__content .woocommerce-orders-table th,
.k4-account__content .woocommerce-orders-table td {
  padding: 15px 16px;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, .08);
  background: transparent;
  text-align: left;
  font-size: 14px;
}

.k4-account__content table.shop_table tr:last-child td,
.k4-account__content .woocommerce-orders-table tr:last-child td {
  border-bottom: 0;
}

.k4-account__content fieldset {
  margin: 22px 0;
  padding: 0;
  border: 0;
}

.k4-account__content .form-row {
  margin-bottom: 16px;
}

.k4-account__content input.input-text,
.k4-account__content input[type="text"],
.k4-account__content input[type="email"],
.k4-account__content input[type="tel"],
.k4-account__content input[type="password"],
.k4-account__content select,
.k4-account__content textarea,
.k4-account__auth-card input.input-text,
.k4-account__auth-card input[type="text"],
.k4-account__auth-card input[type="email"],
.k4-account__auth-card input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 17, 17, .28);
  border-radius: 12px;
  background: #fff;
  color: #111;
  font: inherit;
}

.k4-account__content textarea {
  min-height: 120px;
}

.k4-account__content label,
.k4-account__auth-card label {
  font-size: 13px;
  font-weight: 600;
}


/* Order and endpoint views keep the same Kore4n visual language. */
.k4-account__content a:not(.button):not(.woocommerce-button):not(.woocommerce-Button) {
  color: #111;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
}

.k4-account__content mark.order-number,
.k4-account__content mark.order-date,
.k4-account__content mark.order-status {
  padding: 0;
  background: transparent;
  color: inherit;
  font-weight: 600;
}

.k4-account__content .woocommerce-order-details {
  margin: 24px 0;
}

.k4-account__content .woocommerce-order-details__title,
.k4-account__content .woocommerce-column__title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  text-transform: none;
}

.k4-account__content .woocommerce-customer-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.k4-account__content .woocommerce-customer-details .woocommerce-column {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .0313725));
}

.k4-account__content .woocommerce-customer-details address {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  line-height: 1.65;
}

.k4-account__content .woocommerce-info,
.k4-account__content .woocommerce-message,
.k4-account__content .woocommerce-error {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 0;
  border-radius: 12px;
  background: #f3ead9;
  color: #111;
}

.k4-account__content .woocommerce-info::before,
.k4-account__content .woocommerce-message::before,
.k4-account__content .woocommerce-error::before {
  display: none;
}


/* Addresses overview: clean Shopify-like cards while WooCommerce keeps the data/actions. */
.k4-account__content--edit-address > p:first-child {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(17, 17, 17, .72);
}

.k4-account__content--edit-address .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

.k4-account__content--edit-address .woocommerce-Address {
  float: none;
  width: 100%;
  max-width: none;
  min-height: 245px;
  margin: 0;
  padding: 26px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .0313725));
}

.k4-account__content--edit-address .woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
}

.k4-account__content--edit-address .woocommerce-Address-title h2,
.k4-account__content--edit-address .woocommerce-Address-title h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: none;
}

.k4-account__content--edit-address .woocommerce-Address-title .edit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  padding: 7px 15px;
  border: 1px solid #111;
  border-radius: 25px;
  background: transparent;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.k4-account__content--edit-address .woocommerce-Address-title .edit:hover,
.k4-account__content--edit-address .woocommerce-Address-title .edit:focus-visible {
  background: #000;
  color: #fff;
}

.k4-account__content--edit-address .woocommerce-Address address {
  margin: 0;
  padding: 0;
  border: 0;
  color: #111;
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .k4-account__content--edit-address .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  .k4-account__content--edit-address .woocommerce-Address {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .k4-account__content--edit-address .woocommerce-Address {
    padding: 20px;
  }

  .k4-account__content--edit-address .woocommerce-Address-title {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 18px;
  }
}

/* Logged-out customer experience. */
.k4-account--guest {
  max-width: 920px;
}

.k4-account__guest-shell {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: start;
}

.k4-account__guest-heading {
  padding-top: 24px;
}

.k4-account__auth-card {
  padding: 28px;
  border-radius: 12px;
  background: #fff;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .0313725));
}

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

.k4-account__auth-card h2 {
  margin-top: 0;
  text-transform: none;
  font-size: 26px;
}

.k4-account__auth-card .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.k4-account__auth-card .woocommerce-LostPassword {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .k4-account__layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
  }

  .k4-account-dashboard {
    grid-template-columns: 1fr;
  }

  .k4-account-dashboard__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.k4-my-account .k4-account {
    width: calc(100% - 32px);
    padding: 32px 0 56px;
  }

  .k4-account__top {
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .k4-account__top h1,
  .k4-account__guest-heading h1 {
    font-size: 34px;
  }

  .k4-account__top p {
    font-size: 14px;
  }

  .k4-account__layout {
    display: block;
  }

  .k4-account__nav {
    position: static;
    width: calc(100% + 32px);
    margin: 0 -16px 24px;
    overflow: hidden;
  }

  .k4-account__nav-scroll {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding: 0 16px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .k4-account__nav-scroll::-webkit-scrollbar {
    display: none;
  }

  .k4-account__nav-link {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 15px;
    border: 1px solid #111;
    background: transparent;
    white-space: nowrap;
  }

  .k4-account__nav-link.is-active,
  .k4-account__nav-link:hover,
  .k4-account__nav-link:focus-visible {
    border-color: #000;
    background: #000;
    color: #fff;
  }

  .k4-account-card {
    padding: 20px;
  }

  .k4-account-dashboard__side {
    grid-template-columns: 1fr;
  }

  .k4-account-order {
    align-items: flex-start;
    flex-direction: column;
  }

  .k4-account-order__meta {
    width: 100%;
    justify-content: space-between;
  }

  .k4-account__guest-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .k4-account__guest-heading {
    padding-top: 0;
  }

  .k4-account__auth-card {
    padding: 20px;
  }

  /* Let WooCommerce's responsive table labels work without forcing desktop width. */
  .k4-account__content table.shop_table,
  .k4-account__content .woocommerce-orders-table,
  .k4-account__content .woocommerce-table {
    filter: none;
  }

  .k4-account__content .woocommerce-customer-details {
    grid-template-columns: 1fr;
  }

  .k4-account__content .woocommerce-customer-details .woocommerce-column {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .k4-account__top {
    flex-direction: column;
    gap: 12px;
  }

  .k4-account-card__head {
    align-items: flex-start;
  }
}


/* v1.7.4 — neutralize WooCommerce col-1/col-2 widths in the Addresses overview. */
body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses.col2-set,
body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 20px;
  margin: 0;
}

body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses > .woocommerce-Address.u-column1.col-1,
body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses > .woocommerce-Address.u-column2.col-2,
body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses > .woocommerce-Address {
  float: none;
  clear: none;
  width: 100%;
  max-width: none;
  margin: 0;
  justify-self: stretch;
  align-self: stretch;
}

body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses > .u-column1.col-1 {
  grid-column: 1;
  grid-row: 1;
}

body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses > .u-column2.col-2 {
  grid-column: 2;
  grid-row: 1;
}

@media (max-width: 900px) {
  body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses.col2-set,
  body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses > .u-column1.col-1,
  body.k4-my-account .k4-account__content--edit-address .woocommerce-Addresses > .u-column2.col-2 {
    grid-column: 1;
    grid-row: auto;
  }
}

/* v1.9.47 — stable, balanced logged-out My Account layout. */
body.k4-my-account .k4-account--guest {
  max-width: 1350px;
  min-height: 560px;
  display: flex;
  align-items: center;
}

body.k4-my-account .k4-account--guest .k4-account__guest-shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 820px);
  justify-content: space-between;
  align-items: center;
  gap: clamp(56px, 7vw, 110px);
}

.k4-account__guest-heading {
  max-width: 390px;
  padding: 0;
}

.k4-account__guest-heading p {
  max-width: 360px;
  color: rgba(17, 17, 17, .72);
}

.k4-account__auth-card {
  width: 100%;
  min-width: 0;
  padding: 34px 36px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .0313725));
}

/* WooCommerce uses legacy .col-1/.col-2 floats. Force a predictable 2-column layout. */
body.k4-my-account .k4-account__auth-card #customer_login {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  align-items: start !important;
}

body.k4-my-account .k4-account__auth-card #customer_login > .u-column1.col-1 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 34px 0 0 !important;
  align-self: stretch !important;
}

body.k4-my-account .k4-account__auth-card #customer_login > .u-column2.col-2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 0 34px !important;
  border-left: 1px solid rgba(17, 17, 17, .10);
  align-self: stretch !important;
}

.k4-account__auth-card h2 {
  margin: 0 0 24px;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-transform: none;
}

body.k4-my-account .k4-account__auth-card form,
body.k4-my-account .k4-account__auth-card .woocommerce-form-login,
body.k4-my-account .k4-account__auth-card .woocommerce-form-register {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.k4-my-account .k4-account__auth-card .form-row,
body.k4-my-account .k4-account__auth-card .woocommerce-form-row {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 17px !important;
  padding: 0 !important;
}

.k4-account__auth-card label {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

body.k4-my-account .k4-account__auth-card input.input-text,
body.k4-my-account .k4-account__auth-card input[type="text"],
body.k4-my-account .k4-account__auth-card input[type="email"],
body.k4-my-account .k4-account__auth-card input[type="password"] {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid rgba(17, 17, 17, .22);
  border-radius: 10px;
  background: #fff;
  color: #111;
  outline: none;
  box-shadow: none;
}

body.k4-my-account .k4-account__auth-card input.input-text:focus,
body.k4-my-account .k4-account__auth-card input[type="text"]:focus,
body.k4-my-account .k4-account__auth-card input[type="email"]:focus,
body.k4-my-account .k4-account__auth-card input[type="password"]:focus {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, .07);
}

.k4-account__auth-card .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.k4-account__auth-card input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #000;
}

body.k4-my-account .k4-account__auth-card button.button,
body.k4-my-account .k4-account__auth-card .woocommerce-button,
body.k4-my-account .k4-account__auth-card input.button {
  width: auto !important;
  min-width: 112px;
  min-height: 46px;
  margin: 2px 0 0;
  padding: 11px 22px;
  border-radius: 999px;
  text-transform: none;
}

.k4-account__auth-card .woocommerce-LostPassword {
  margin: 14px 0 0;
  font-size: 13px;
}

.k4-account__auth-card .woocommerce-privacy-policy-text {
  margin: 2px 0 18px;
  color: rgba(17, 17, 17, .72);
  font-size: 13px;
  line-height: 1.55;
}

.k4-account__auth-card a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Logged-in account panel. */
.k4-account__nav {
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .0313725));
}

.k4-account__nav-link {
  min-height: 45px;
  padding-inline: 16px;
}

.k4-account__top {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(17, 17, 17, .10);
}

.k4-account__content .woocommerce-form-row input,
.k4-account__content .form-row input,
.k4-account__content select,
.k4-account__content textarea {
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.k4-account__content .woocommerce-form-row input:focus,
.k4-account__content .form-row input:focus,
.k4-account__content select:focus,
.k4-account__content textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, .08);
}

@media (max-width: 980px) {
  body.k4-my-account .k4-account--guest .k4-account__guest-shell {
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: 38px;
  }

  .k4-account__auth-card {
    padding: 28px;
  }

  body.k4-my-account .k4-account__auth-card #customer_login > .u-column1.col-1 {
    padding-right: 22px !important;
  }

  body.k4-my-account .k4-account__auth-card #customer_login > .u-column2.col-2 {
    padding-left: 22px !important;
  }
}

@media (max-width: 767px) {
  body.k4-my-account .k4-account--guest {
    min-height: 0;
    display: block;
  }

  body.k4-my-account .k4-account--guest .k4-account__guest-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .k4-account__guest-heading,
  .k4-account__guest-heading p {
    max-width: none;
  }

  body.k4-my-account .k4-account__auth-card #customer_login {
    grid-template-columns: 1fr !important;
  }

  body.k4-my-account .k4-account__auth-card #customer_login > .u-column1.col-1,
  body.k4-my-account .k4-account__auth-card #customer_login > .u-column2.col-2 {
    grid-column: 1 !important;
    grid-row: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-left: 0;
  }

  body.k4-my-account .k4-account__auth-card #customer_login > .u-column2.col-2 {
    margin-top: 28px !important;
    padding-top: 28px !important;
    border-top: 1px solid rgba(17, 17, 17, .10);
  }
}

@media (max-width: 480px) {
  .k4-account__auth-card {
    padding: 20px;
  }

  .k4-account__auth-card h2 {
    font-size: 24px;
  }
}

/* v1.9.48 — separate Login / Register / Reset Password screens inspired by the reference structure. */
body.k4-my-account .k4-account--guest {
  max-width: 1350px;
  min-height: 0;
  display: block;
  padding-top: 44px;
  padding-bottom: 72px;
}

body.k4-my-account .k4-account--guest .k4-account__guest-shell {
  display: block;
  width: 100%;
}

body.k4-my-account .k4-account--guest .k4-account__auth-card {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  box-shadow: none;
}

body.k4-my-account .k4-account--guest .k4-account__guest-heading {
  display: none;
}

.k4-auth {
  width: 100%;
}

.k4-auth__header {
  margin-bottom: 26px;
  text-align: center;
}

.k4-auth__header h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-transform: none;
}

.k4-auth__form {
  width: 100%;
}

.k4-auth__form .form-row,
.k4-auth__form .woocommerce-form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}

.k4-auth__form .form-row-first,
.k4-auth__form .form-row-last,
.k4-auth__form .form-row-wide,
.k4-auth__form .woocommerce-form-row--first,
.k4-auth__form .woocommerce-form-row--last,
.k4-auth__form .woocommerce-form-row--wide {
  width: 100% !important;
}

.k4-auth__form label {
  display: block;
  margin: 0 0 8px;
  color: #111;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.k4-auth__form .required {
  display: none;
}

.k4-auth__form input.input-text,
.k4-auth__form input[type="text"],
.k4-auth__form input[type="email"],
.k4-auth__form input[type="password"] {
  width: 100% !important;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid rgba(17, 17, 17, .14);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font: inherit;
  outline: none;
  box-shadow: none;
}

.k4-auth__form input.input-text:focus,
.k4-auth__form input[type="text"]:focus,
.k4-auth__form input[type="email"]:focus,
.k4-auth__form input[type="password"]:focus {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, .06);
}

.k4-auth__helper,
.k4-auth__message p,
.k4-auth__form .woocommerce-privacy-policy-text {
  margin: 0 0 18px;
  color: rgba(17, 17, 17, .72);
  font-size: 14px;
  line-height: 1.65;
}

.k4-auth__actions {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

body.k4-my-account .k4-auth__primary,
body.k4-my-account .k4-account--guest .woocommerce-Button,
body.k4-my-account .k4-account--guest .woocommerce-button,
body.k4-my-account .k4-account--guest button.button,
body.k4-my-account .k4-account--guest input.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100% !important;
  min-height: 54px;
  padding: 12px 24px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.k4-auth__text-link {
  margin: 8px 0 0 !important;
  text-align: left;
}

.k4-auth__text-link a,
.k4-auth__helper a,
.k4-auth__message a {
  color: #111;
  text-decoration: none;
  text-underline-offset: 3px;
}

.k4-auth__text-link a:hover,
.k4-auth__text-link a:focus-visible,
.k4-auth__helper a:hover,
.k4-auth__helper a:focus-visible,
.k4-auth__message a:hover,
.k4-auth__message a:focus-visible {
  text-decoration: underline;
}

.k4-auth__footer {
  margin-top: 14px;
}

.k4-auth__secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 12px 24px;
  border: 1px solid #111;
  border-radius: 999px;
  background: transparent;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
}

.k4-auth__secondary:hover,
.k4-auth__secondary:focus-visible {
  background: #000;
  color: #fff;
  text-decoration: none !important;
}

body.k4-my-account .k4-account--guest .woocommerce-error,
body.k4-my-account .k4-account--guest .woocommerce-info,
body.k4-my-account .k4-account--guest .woocommerce-message {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 24px;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: #f3ead9;
  color: #111;
}

body.k4-my-account .k4-account--guest .woocommerce-error::before,
body.k4-my-account .k4-account--guest .woocommerce-info::before,
body.k4-my-account .k4-account--guest .woocommerce-message::before {
  display: none;
}

body.k4-my-account .k4-account--guest .woocommerce-error li {
  margin-bottom: 6px;
}

@media (max-width: 767px) {
  body.k4-my-account .k4-account--guest {
    padding-top: 28px;
    padding-bottom: 56px;
  }

  body.k4-my-account .k4-account--guest .k4-account__auth-card {
    max-width: none;
  }

  .k4-auth__header {
    margin-bottom: 22px;
  }

  .k4-auth__header h1 {
    font-size: 40px;
  }
}

/* v1.9.50 — auth spacing, email-only labels, and customer name fields. */
.k4-auth__name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.k4-auth--login .k4-auth__form > .form-row:nth-of-type(2) {
  margin-bottom: 22px !important;
}

.k4-auth--login .k4-auth__text-link {
  margin: 0 0 24px !important;
}

.k4-auth--login .k4-auth__actions {
  margin-top: 0 !important;
}

.k4-auth--login .k4-auth__footer {
  margin-top: 18px;
}

.k4-auth--lost-password .k4-auth__helper {
  margin-bottom: 24px;
}

.k4-auth--lost-password .k4-auth__actions,
.k4-auth--register .k4-auth__actions {
  margin-top: 26px !important;
}

.k4-auth--lost-password .k4-auth__footer,
.k4-auth--register .k4-auth__footer {
  margin-top: 18px;
}

.k4-auth--register .woocommerce-privacy-policy-text {
  margin-top: 4px;
  margin-bottom: 22px;
}

@media (max-width: 600px) {
  .k4-auth__name-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* v1.9.51 — simple logged-in account page inspired by the reference structure. */
body.k4-my-account .k4-account--simple {
  width: calc(100% - 32px);
  max-width: 760px;
  margin: 0 auto;
  padding: 54px 0 80px;
}

.k4-account-simple {
  width: 100%;
}

.k4-account-simple__header {
  margin-bottom: 28px;
  text-align: center;
}

.k4-account-simple__header h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  text-transform: none;
}

.k4-account-simple__header--endpoint {
  margin-bottom: 22px;
  text-align: left;
}

.k4-account-simple__back {
  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.k4-account-simple__back:hover,
.k4-account-simple__back:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.k4-account-simple__card {
  margin-bottom: 18px;
  padding: 24px 22px;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 24px;
  background: transparent;
}

.k4-account-simple__card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: none;
}

.k4-account-simple__card p,
.k4-account-simple__card address,
.k4-account-simple__label {
  color: #111;
  font-size: 14px;
  line-height: 1.6;
}

.k4-account-simple__label {
  display: block;
  margin-bottom: 10px;
}

.k4-account-simple__card address {
  margin: 0 0 18px;
  font-style: normal;
}

.k4-account-simple__card p {
  margin: 0 0 18px;
}

.k4-account-simple__button,
.k4-account-simple__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 10px 20px;
  border: 1px solid #111;
  border-radius: 999px;
  background: transparent;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.k4-account-simple__button:hover,
.k4-account-simple__button:focus-visible,
.k4-account-simple__logout:hover,
.k4-account-simple__logout:focus-visible {
  background: #000;
  color: #fff;
}

.k4-account-simple__logout {
  margin-top: 2px;
}

/* Keep endpoint pages centered and clean, without the old sidebar/navigation. */
.k4-account--simple .k4-account__content {
  width: 100%;
}

.k4-account--simple .k4-account__content table.shop_table,
.k4-account--simple .k4-account__content .woocommerce-orders-table,
.k4-account--simple .k4-account__content .woocommerce-table,
.k4-account--simple .k4-account__content .woocommerce-Address,
.k4-account--simple .k4-account__content .woocommerce-column {
  filter: none;
  box-shadow: none;
}

@media (max-width: 767px) {
  body.k4-my-account .k4-account--simple {
    width: calc(100% - 32px);
    padding: 36px 0 56px;
  }

  .k4-account-simple__header {
    margin-bottom: 22px;
  }

  .k4-account-simple__header h1 {
    font-size: 38px;
  }

  .k4-account-simple__card {
    padding: 22px 18px;
    border-radius: 20px;
  }
}

/* v1.9.52 — lowercase account titles/buttons and consistent semibold weight. */
body.k4-my-account .k4-account h1,
body.k4-my-account .k4-auth__header h1,
body.k4-my-account .k4-account-simple__header h1 {
  font-weight: 600;
  text-transform: lowercase;
}

body.k4-my-account .k4-account button,
body.k4-my-account .k4-account .button,
body.k4-my-account .k4-account input[type="submit"],
body.k4-my-account .k4-auth__primary,
body.k4-my-account .k4-auth__secondary,
body.k4-my-account .k4-account-simple__button,
body.k4-my-account .k4-account-simple__logout {
  font-weight: 600;
  text-transform: lowercase;
}

/* v1.9.53 — compact recent-orders preview inside the account card. */
.k4-account-simple__card--orders {
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.k4-account-simple__card--orders > h2,
.k4-account-simple__card--orders > p,
.k4-account-simple__card--orders > .k4-account-simple__button {
  margin-left: 22px;
  margin-right: 22px;
}

.k4-account-simple__card--orders > .k4-account-simple__button {
  width: calc(100% - 44px);
}

.k4-account-simple__orders {
  margin: 2px 0 20px;
  border-top: 1px solid rgba(17, 17, 17, .10);
}

.k4-account-simple__order {
  display: grid;
  grid-template-columns: 76px minmax(150px, 1.35fr) minmax(105px, .85fr) minmax(130px, 1fr) 72px;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(17, 17, 17, .10);
  font-size: 13px;
  line-height: 1.4;
}

.k4-account-simple__order-number {
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.k4-account-simple__order-number:hover,
.k4-account-simple__order-number:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.k4-account-simple__order-date,
.k4-account-simple__order-status,
.k4-account-simple__order-total {
  min-width: 0;
  overflow-wrap: anywhere;
}

.k4-account-simple__order-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: lowercase;
}

.k4-account-simple__order-view:hover,
.k4-account-simple__order-view:focus-visible {
  background: #000;
  color: #fff;
}

@media (max-width: 767px) {
  .k4-account-simple__card--orders > h2,
  .k4-account-simple__card--orders > p,
  .k4-account-simple__card--orders > .k4-account-simple__button {
    margin-left: 18px;
    margin-right: 18px;
  }

  .k4-account-simple__card--orders > .k4-account-simple__button {
    width: calc(100% - 36px);
  }

  .k4-account-simple__order {
    grid-template-columns: 1fr auto;
    gap: 5px 14px;
    padding: 15px 18px;
  }

  .k4-account-simple__order-number,
  .k4-account-simple__order-date,
  .k4-account-simple__order-status,
  .k4-account-simple__order-total {
    grid-column: 1;
  }

  .k4-account-simple__order-number {
    grid-row: 1;
  }

  .k4-account-simple__order-date {
    grid-row: 2;
  }

  .k4-account-simple__order-status {
    grid-row: 3;
  }

  .k4-account-simple__order-total {
    grid-row: 4;
  }

  .k4-account-simple__order-view {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: center;
  }
}

/* v1.9.56 — order addresses: layout only. Preserve the existing card visuals. */
body.k4-my-account .k4-account--simple .woocommerce-customer-details {
  display: block !important;
  width: 100% !important;
  margin: 24px 0 0 !important;
}

body.k4-my-account .k4-account--simple .woocommerce-customer-details .woocommerce-columns--addresses,
body.k4-my-account .k4-account--simple .woocommerce-customer-details .woocommerce-columns.woocommerce-columns--2,
body.k4-my-account .k4-account--simple .woocommerce-customer-details .col2-set.addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* WooCommerce clearfix pseudo-elements become grid items unless disabled. */
body.k4-my-account .k4-account--simple .woocommerce-customer-details .woocommerce-columns--addresses::before,
body.k4-my-account .k4-account--simple .woocommerce-customer-details .woocommerce-columns--addresses::after,
body.k4-my-account .k4-account--simple .woocommerce-customer-details .col2-set.addresses::before,
body.k4-my-account .k4-account--simple .woocommerce-customer-details .col2-set.addresses::after {
  display: none !important;
  content: none !important;
}

body.k4-my-account .k4-account--simple .woocommerce-customer-details .woocommerce-columns--addresses > .woocommerce-column,
body.k4-my-account .k4-account--simple .woocommerce-customer-details .woocommerce-columns--addresses > .col-1,
body.k4-my-account .k4-account--simple .woocommerce-customer-details .woocommerce-columns--addresses > .col-2 {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  body.k4-my-account .k4-account--simple .woocommerce-customer-details .woocommerce-columns--addresses,
  body.k4-my-account .k4-account--simple .woocommerce-customer-details .woocommerce-columns.woocommerce-columns--2,
  body.k4-my-account .k4-account--simple .woocommerce-customer-details .col2-set.addresses {
    grid-template-columns: 1fr !important;
  }
}

/* v1.9.71 — shipment tracking block on View order. */
body.k4-my-account .k4-order-tracking {
  margin: 24px 0 0;
  padding: 24px;
  border-radius: 14px;
  background: #fff;
}

body.k4-my-account .k4-order-tracking h2 {
  margin: 0 0 18px;
  color: #000;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  text-transform: lowercase;
}

.k4-order-tracking__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.k4-order-tracking__item {
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 12px;
}

.k4-order-tracking__item span,
.k4-order-tracking__item strong {
  display: block;
}

.k4-order-tracking__item span {
  margin-bottom: 4px;
  color: rgba(0, 0, 0, .62);
  font-size: 12px;
  line-height: 1.4;
}

.k4-order-tracking__item strong {
  color: #000;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.k4-order-tracking__note {
  margin: 16px 0 0;
  color: rgba(0, 0, 0, .68);
  font-size: 13px;
  line-height: 1.6;
}

.k4-order-tracking__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #000;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  text-transform: lowercase;
}

@media (max-width: 767px) {
  .k4-order-tracking__grid {
    grid-template-columns: 1fr;
  }
}

/* Kore4n: visual identity and WoodMart account-page isolation. */
body.k4-my-account .k4-account { font-family: inherit; color: #333333; }
body.k4-my-account .k4-account a { text-decoration-thickness: 1px; }
body.k4-my-account .k4-account .woocommerce button.button,
body.k4-my-account .k4-account .k4-auth__primary,
body.k4-my-account .k4-account .k4-account-simple__button { background: #fdf7e8; color: #000; border: 1px solid #111; border-radius: 10px; font-weight: 600; text-transform: none; }
body.k4-my-account .k4-account input:not([type=checkbox]):not([type=radio]),
body.k4-my-account .k4-account select,
body.k4-my-account .k4-account textarea { border-radius: 12px; }
body.k4-my-account .k4-account .woocommerce-MyAccount-navigation { display: none; }
body.k4-my-account .k4-account .k4-account-simple__order-view:hover,
body.k4-my-account .k4-account a:hover { color: #ff5173; }

/* Points & Rewards - native balance and activity. */
body.k4-my-account .k4-account-points__balance{font-size:32px;font-weight:600;color:#333;margin:8px 0 20px}body.k4-my-account .k4-account-points__balance span{display:block;font-size:14px;font-weight:400;color:#666;margin-top:5px}body.k4-my-account .k4-account__content--points-and-rewards .my_account_points_rewards{width:100%;border-collapse:collapse}body.k4-my-account .k4-account__content--points-and-rewards .my_account_points_rewards th,body.k4-my-account .k4-account__content--points-and-rewards .my_account_points_rewards td{padding:14px 10px;border-bottom:1px solid #e7e7e7;text-align:left}body.k4-my-account .k4-account__content--points-and-rewards .my_account_points_rewards{display:block;overflow-x:auto}

/* Kore4n account details and optional password change. */
body.k4-my-account .k4-edit-account {max-width:760px;}
body.k4-my-account .k4-edit-account h2,
body.k4-my-account .k4-edit-account__password legend{font-size:22px;font-weight:600;line-height:1.3;color:#333;margin:0 0 20px;}
body.k4-my-account .k4-edit-account__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
body.k4-my-account .k4-edit-account__row .form-row{width:100%;float:none;margin:0 0 16px;}
body.k4-my-account .k4-edit-account__hint{display:block;font-size:13px;color:#666;font-weight:400;margin:7px 0 15px;}
body.k4-my-account .k4-edit-account__password{border:0;border-top:1px solid #e5e5e5;margin:26px 0 0;padding:24px 0 0;min-width:0;}
body.k4-my-account .k4-edit-account__password legend{padding:0;margin:0;float:none;}
body.k4-my-account .k4-edit-account__actions{margin-top:24px;}
body.k4-my-account .k4-edit-account__actions .button{padding:12px 24px;background:#fdf7e8;color:#000;border:1px solid #111;border-radius:10px;font-weight:600;text-transform:none;}
@media(max-width:600px){body.k4-my-account .k4-edit-account__row{grid-template-columns:minmax(0,1fr);gap:0;}}

/* Kore4n v1.10.25 — consistent buttons throughout My Account. */
body.k4-my-account .k4-account :is(button, input[type="submit"], input[type="button"], .button, .woocommerce-Button, .woocommerce-button, .k4-account-button, .k4-auth__primary, .k4-auth__secondary, .k4-account-simple__button, .k4-account-simple__logout, .k4-order-tracking__button):not(.show-password-input):not(.password-input button) {
  background: #fdf7e8;
  border: 1px solid #000000;
  border-radius: 10px;
  color: #000000;
  font-size: 18px;
  font-weight: 400;
  text-transform: none;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
body.k4-my-account .k4-account :is(button, input[type="submit"], input[type="button"], .button, .woocommerce-Button, .woocommerce-button, .k4-account-button, .k4-auth__primary, .k4-auth__secondary, .k4-account-simple__button, .k4-account-simple__logout, .k4-order-tracking__button):not(.show-password-input):not(.password-input button):is(:hover, :focus-visible) {
  background: #ff5173;
  border-color: #000000;
  color: #ffffff;
}

/* v1.10.26 — account dashboard links are buttons, not WooCommerce .button elements. */
body.k4-my-account .k4-account a.k4-account-simple__button,
body.k4-my-account .k4-account a.k4-account-simple__logout {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #fdf7e8;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
  text-transform: none;
  text-decoration: none;
}
body.k4-my-account .k4-account a.k4-account-simple__button:hover,
body.k4-my-account .k4-account a.k4-account-simple__button:focus-visible,
body.k4-my-account .k4-account a.k4-account-simple__logout:hover,
body.k4-my-account .k4-account a.k4-account-simple__logout:focus-visible {
  background-color: #ff5173;
  color: #ffffff;
  border-color: #000000;
}

/* v1.10.27 — Segment en todos los componentes de Mi cuenta. */
body.k4-my-account .k4-account,
body.k4-my-account .k4-account input,
body.k4-my-account .k4-account select,
body.k4-my-account .k4-account textarea,
body.k4-my-account .k4-account button,
body.k4-my-account .k4-account .button,
body.k4-my-account .k4-account a.k4-account-simple__button,
body.k4-my-account .k4-account a.k4-account-simple__logout {
  font-family: 'Segment', sans-serif;
}

/* v1.10.28 — textos de botones de Mi cuenta en minúsculas. */
body.k4-my-account .k4-account :is(button, input[type="submit"], input[type="button"], .button, .woocommerce-Button, .woocommerce-button, .k4-account-button, .k4-auth__primary, .k4-auth__secondary, .k4-account-simple__button, .k4-account-simple__logout, .k4-order-tracking__button):not(.show-password-input):not(.password-input button) {
  text-transform: lowercase;
}

/* v1.10.31 — Los enlaces de acciones de pedidos son enlaces, no botones. */
body.k4-my-account .k4-account a.k4-account-simple__order-view,
body.k4-my-account .k4-account .woocommerce-orders-table a.woocommerce-button.view {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #000000;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: lowercase;
}
body.k4-my-account .k4-account a.k4-account-simple__order-view:hover,
body.k4-my-account .k4-account a.k4-account-simple__order-view:focus-visible,
body.k4-my-account .k4-account .woocommerce-orders-table a.woocommerce-button.view:hover,
body.k4-my-account .k4-account .woocommerce-orders-table a.woocommerce-button.view:focus-visible {
  background: transparent;
  border: 0;
  color: #ff5173;
  text-decoration: underline;
}

/* 1.10.32 — Detalle del pedido: estructura limpia y responsive, sin alterar datos de WooCommerce. */
body.k4-my-account .k4-account__content--view-order {
  width: 100%;
  min-width: 0;
  max-width: none;
  color: #333;
}
body.k4-my-account .k4-account__content--view-order > p {
  margin: 0 0 16px;
  line-height: 1.65;
}
body.k4-my-account .k4-account__content--view-order .woocommerce-order-details,
body.k4-my-account .k4-account__content--view-order .woocommerce-customer-details {
  width: 100%;
  max-width: none;
  margin: 32px 0 0;
}
body.k4-my-account .k4-account__content--view-order .woocommerce-order-details__title,
body.k4-my-account .k4-account__content--view-order .woocommerce-column__title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: #111;
  text-align: left;
}
body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details {
  width: 100%;
  max-width: none;
  table-layout: fixed;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}
body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details th,
body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details td {
  padding: 17px 16px;
  border: 0;
  border-bottom: 1px solid #e7e7e7;
  background: transparent;
  vertical-align: middle;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
}
body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details .product-name {
  width: 72%;
}
body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details .product-total,
body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details thead th:last-child,
body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details tbody td:last-child {
  width: 28%;
  text-align: right;
  white-space: normal;
}
body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details tfoot th {
  font-weight: 600;
  width: 72%;
}
body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details tfoot td {
  text-align: right;
}
body.k4-my-account .k4-account__content--view-order .woocommerce-customer-details .woocommerce-columns--addresses,
body.k4-my-account .k4-account__content--view-order .woocommerce-customer-details .col2-set.addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}
body.k4-my-account .k4-account__content--view-order .woocommerce-customer-details .woocommerce-column {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: none;
  background: #fff;
}
body.k4-my-account .k4-account__content--view-order .woocommerce-customer-details address {
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details th,
  body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details td {
    padding: 13px 8px;
    font-size: 14px;
  }
  body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details .product-name,
  body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details tfoot th { width: 65%; }
  body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details .product-total,
  body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details thead th:last-child,
  body.k4-my-account .k4-account__content--view-order table.woocommerce-table--order-details tbody td:last-child { width: 35%; }
  body.k4-my-account .k4-account__content--view-order .woocommerce-customer-details .woocommerce-columns--addresses,
  body.k4-my-account .k4-account__content--view-order .woocommerce-customer-details .col2-set.addresses { grid-template-columns: 1fr; }
  body.k4-my-account .k4-account__content--view-order .woocommerce-customer-details .woocommerce-column { padding: 18px; }
}


/* v1.10.33: standalone order view without WooCommerce's table layout. */
body.k4-my-account .k4-order-view { width:100%; min-width:0; color:#333; font-family:'Segment',sans-serif; }
body.k4-my-account .k4-order-view__heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:0 0 26px; border-bottom:1px solid #e5e5e5; }
body.k4-my-account .k4-order-view__eyebrow { color:#666; font-size:14px; margin:0 0 6px; }
body.k4-my-account .k4-order-view h1 { font-size:30px; margin:0 0 8px; font-weight:600; line-height:1.2; }
body.k4-my-account .k4-order-view__date { margin:0; font-size:14px; color:#666; }
body.k4-my-account .k4-order-view__status { font-size:14px; padding:8px 14px; background:#fdf7e8; border-radius:100px; white-space:nowrap; }
body.k4-my-account .k4-order-view__section { padding:30px 0; border-bottom:1px solid #e5e5e5; }
body.k4-my-account .k4-order-view__section h2 { font-size:21px; margin:0 0 20px; font-weight:600; }
body.k4-my-account .k4-order-view__product { display:grid; grid-template-columns:72px minmax(0,1fr) auto; align-items:center; column-gap:18px; padding:15px 0; border-bottom:1px solid #eee; }
body.k4-my-account .k4-order-view__thumb { display:flex; align-items:center; justify-content:center; width:72px; height:84px; border:1px solid #eee; border-radius:8px; overflow:hidden; }
body.k4-my-account .k4-order-view__thumb img { width:100%; height:100%; object-fit:contain; }
body.k4-my-account .k4-order-view__product-name { min-width:0; display:flex; flex-direction:column; gap:5px; font-size:15px; }
body.k4-my-account .k4-order-view__product-name strong { font-weight:500; }
body.k4-my-account .k4-order-view__product-name > span { font-size:13px; color:#666; }
body.k4-my-account .k4-order-view__amount { font-size:15px; white-space:nowrap; text-align:right; }
body.k4-my-account .k4-order-view__totals { margin:18px 0 0 auto; width:min(100%,390px); }
body.k4-my-account .k4-order-view__total-row { display:flex; justify-content:space-between; align-items:baseline; gap:20px; padding:11px 0; border-bottom:1px solid #eee; font-size:15px; }
body.k4-my-account .k4-order-view__total-row:last-child { font-size:19px; font-weight:600; border:0; }
body.k4-my-account .k4-order-view__total-row:last-child > span:last-child { color:#ff5173; }
body.k4-my-account .k4-order-view__address address { font-style:normal; line-height:1.8; }
body.k4-my-account .k4-order-view__address p { margin:8px 0 0; overflow-wrap:anywhere; }
@media(max-width:767px){body.k4-my-account .k4-order-view__heading{flex-direction:column;gap:12px}body.k4-my-account .k4-order-view__product{grid-template-columns:56px minmax(0,1fr);gap:12px}body.k4-my-account .k4-order-view__thumb{width:56px;height:68px}body.k4-my-account .k4-order-view__amount{grid-column:2;text-align:left}body.k4-my-account .k4-order-view h1{font-size:25px}}

/* 1.10.34 — Volver desde detalle de pedido al listado de pedidos. */
body.k4-my-account .k4-account a.k4-account-simple__back--button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #000;
  border-radius: 10px;
  background: #fdf7e8;
  color: #000;
  font-family: 'Segment', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: lowercase;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
body.k4-my-account .k4-account a.k4-account-simple__back--button:hover,
body.k4-my-account .k4-account a.k4-account-simple__back--button:focus-visible {
  background: #ff5173;
  color: #fff;
  text-decoration: none;
}

/* v1.10.35 — Mis pedidos propio, sin botones visuales ni tablas heredadas. */
body.k4-my-account .k4-account__content--orders { width:100%; min-width:0; }
body.k4-my-account .k4-orders-list { width:100%; margin:0; font-family:'Segment',sans-serif; }
body.k4-my-account .k4-orders-list__head,
body.k4-my-account .k4-orders-list__row { display:grid; grid-template-columns: minmax(90px,1fr) minmax(140px,1.45fr) minmax(110px,1.05fr) minmax(145px,1.3fr) minmax(75px,.7fr); column-gap:20px; align-items:center; }
body.k4-my-account .k4-orders-list__head { padding:15px 16px; border-bottom:1px solid #ddd; color:#333; font-size:13px; font-weight:600; }
body.k4-my-account .k4-orders-list__row { padding:20px 16px; border-bottom:1px solid #e5e5e5; font-size:14px; line-height:1.5; }
body.k4-my-account .k4-orders-list__row:last-child { border-bottom:0; }
body.k4-my-account .k4-orders-list__cell { min-width:0; overflow-wrap:break-word; }
body.k4-my-account .k4-orders-list__number a { color:#111; font-weight:600; text-decoration:none; }
body.k4-my-account .k4-orders-list__number a:hover { text-decoration:underline; text-underline-offset:3px; }
body.k4-my-account .k4-orders-list__total strong { display:block; color:#ff5173; font-size:15px; font-weight:600; white-space:nowrap; }
body.k4-my-account .k4-orders-list__total small { display:block; color:#666; font-size:12px; margin-top:3px; }
body.k4-my-account .k4-orders-list__actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
body.k4-my-account .k4-orders-list a.k4-orders-list__action { display:inline; width:auto; min-width:0; min-height:0; padding:0; margin:0; border:0; border-radius:0; box-shadow:none; background:transparent; color:#111; font-size:14px; font-weight:400; line-height:1.5; text-decoration:underline; text-underline-offset:3px; text-transform:lowercase; }
body.k4-my-account .k4-orders-list a.k4-orders-list__action:hover { color:#ff5173; background:transparent; border:0; }
body.k4-my-account .k4-orders-list__mobile-label { display:none; }
body.k4-my-account .k4-orders-list__pagination { display:flex; justify-content:space-between; padding:24px 16px; }
/* Links injected by email verification providers should remain text links. */
body.k4-my-account .k4-account__content--orders .woocommerce-info a,
body.k4-my-account .k4-account__content--orders .woocommerce-message a,
body.k4-my-account .k4-account__content--orders .woocommerce-info button,
body.k4-my-account .k4-account__content--orders .woocommerce-message button { display:inline; min-height:0; padding:0; margin:0 5px 0 0; border:0; border-radius:0; background:transparent; box-shadow:none; color:#111; font-size:inherit; line-height:inherit; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:767px){
  body.k4-my-account .k4-orders-list__head { display:none; }
  body.k4-my-account .k4-orders-list__row { grid-template-columns:minmax(0,1fr) auto; gap:12px; padding:18px 0; }
  body.k4-my-account .k4-orders-list__number { grid-column:1; font-size:16px; }
  body.k4-my-account .k4-orders-list__actions { grid-column:2; grid-row:1; justify-content:flex-end; }
  body.k4-my-account .k4-orders-list__row > .k4-orders-list__cell:nth-child(2),
  body.k4-my-account .k4-orders-list__row > .k4-orders-list__cell:nth-child(3),
  body.k4-my-account .k4-orders-list__total { grid-column:1 / -1; }
  body.k4-my-account .k4-orders-list__row > .k4-orders-list__cell:nth-child(2),
  body.k4-my-account .k4-orders-list__row > .k4-orders-list__cell:nth-child(3) { display:flex; justify-content:space-between; gap:12px; }
  body.k4-my-account .k4-orders-list__total { display:flex; justify-content:space-between; align-items:start; gap:12px; }
  body.k4-my-account .k4-orders-list__mobile-label { display:inline; color:#666; font-size:12px; }
}


/* v1.10.37 — Order detail sections: accessible native expand/collapse. */
body.k4-my-account .k4-order-view__disclosure {
  padding: 0;
  margin: 18px 0 0;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
body.k4-my-account .k4-order-view__disclosure-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-family: 'Segment', sans-serif;
}
body.k4-my-account .k4-order-view__disclosure-head::-webkit-details-marker { display: none; }
body.k4-my-account .k4-order-view__disclosure-head::marker { content: ''; }
body.k4-my-account .k4-order-view__disclosure-head:focus-visible { outline: 2px solid #ff5173; outline-offset: -3px; }
body.k4-my-account .k4-order-view__disclosure-title { font-size: 19px; font-weight: 600; color: #111; }
body.k4-my-account .k4-order-view__disclosure-action { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: #333; font-size: 14px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
body.k4-my-account .k4-order-view__disclosure[open] .k4-order-view__show,
body.k4-my-account .k4-order-view__disclosure:not([open]) .k4-order-view__hide { display: none; }
body.k4-my-account .k4-order-view__chevron { display: inline-block; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
body.k4-my-account .k4-order-view__disclosure[open] .k4-order-view__chevron { transform: rotate(225deg); }
body.k4-my-account .k4-order-view__disclosure-body { padding: 4px 22px 22px; border-top: 1px solid #ededed; }
body.k4-my-account .k4-order-view__disclosure:not([open]) .k4-order-view__disclosure-body { display: none; }
body.k4-my-account .k4-order-view__disclosure .k4-order-view__totals { margin-top: 20px; }
body.k4-my-account .k4-order-view__disclosure.k4-order-view__address address { margin-top: 14px; }
@media (max-width: 767px) {
  body.k4-my-account .k4-order-view__disclosure-head { padding: 16px; }
  body.k4-my-account .k4-order-view__disclosure-body { padding: 4px 16px 18px; }
  body.k4-my-account .k4-order-view__disclosure-title { font-size: 17px; }
}

/* v1.10.38 — Mi cuenta / Direcciones: tarjeta coherente sin estilos de columnas heredados. */
body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Addresses,
body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Addresses.col2-set {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:stretch; width:100%; max-width:none; margin:24px 0 0;
}
body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Addresses > .woocommerce-Address {
  display:flex; flex-direction:column; grid-row:auto; min-width:0; width:100%; max-width:none; min-height:210px; padding:26px; margin:0;
  border:1px solid #e5e5e5; border-radius:12px; background:#fff; box-shadow:none; filter:none;
}
body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Address-title {
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:0 0 22px; padding:0 0 18px; border-bottom:1px solid #ededed;
}
body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Address-title h2,
body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Address-title h3 {
  margin:0; font-family:'Segment',sans-serif; font-weight:600; font-size:20px; line-height:1.3; color:#111;
}
body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Address-title a.edit {
  display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:9px 15px; margin:0;
  border:1px solid #000; border-radius:10px; background:#fdf7e8; color:#000; font-family:'Segment',sans-serif; font-size:14px; font-weight:400;
  line-height:1.3; text-transform:none; text-decoration:none; box-shadow:none;
}
body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Address-title a.edit:hover,
body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Address-title a.edit:focus-visible {background:#ff5173;color:#fff;}
body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Address address {
  margin:0; padding:0; font-style:normal; font-size:15px; line-height:1.85; color:#333; overflow-wrap:anywhere;
}
body.k4-my-account .k4-account--simple .k4-account__content--edit-address > p:first-child {
  margin:0 0 20px; max-width:none; line-height:1.6; font-size:14px; color:#666;
}
@media(max-width:900px){
  body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Addresses,
  body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Addresses.col2-set {grid-template-columns:minmax(0,1fr);}
  body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Addresses > .woocommerce-Address {grid-column:1;min-height:0;}
}
@media(max-width:560px){
  body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Addresses > .woocommerce-Address {padding:18px;}
  body.k4-my-account .k4-account--simple .k4-account__content--edit-address .woocommerce-Address-title {align-items:flex-start;}
}

/* v1.10.46 — Acceso a Editar cuenta debajo de Cerrar sesión. */
body.k4-my-account .k4-account a.k4-account-simple__edit-account { display: inline-flex; width: 100%; margin-top: 12px; text-decoration: none; }

/* v1.10.47 — Botón secundario para cerrar sesión. */
body.k4-my-account .k4-account a.k4-account-simple__logout {
  background: #ffffff;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 10px;
  font-family: 'Segment', sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-transform: lowercase;
}
body.k4-my-account .k4-account a.k4-account-simple__logout:hover,
body.k4-my-account .k4-account a.k4-account-simple__logout:focus-visible {
  background: #333333;
  background-color: #333333;
  color: #ffffff;
  border-color: #000000;
}

/* v1.10.48: variante secundaria para cerrar sesión (solo esta acción). */
body.k4-my-account .k4-account.k4-account--simple a.k4-account-simple__logout,
body.k4-my-account .k4-account a.k4-account-simple__logout {
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 10px;
}
body.k4-my-account .k4-account.k4-account--simple a.k4-account-simple__logout:is(:hover,:focus-visible),
body.k4-my-account .k4-account a.k4-account-simple__logout:is(:hover,:focus-visible) {
  background: #333 !important;
  background-color: #333 !important;
  color: #fff !important;
}

/* v1.10.50 — Separación entre Editar cuenta y Cerrar sesión. */
body.k4-my-account .k4-account a.k4-account-simple__logout {
  display: flex;
  margin-top: 14px;
}
