/* =========================================================
   LA MATANCERA MARKET
   ACCOUNT AREA - FINAL CLEAN
========================================================= */

:root {
  --lmm-account-bg: #f6f1e8;
  --lmm-account-surface: #ffffff;
  --lmm-account-surface-2: #fcfaf6;
  --lmm-account-border: #e9ddca;
  --lmm-account-border-strong: #dcc7a1;
  --lmm-account-text: #2a2118;
  --lmm-account-text-soft: #76695b;
  --lmm-account-heading: #1f170f;
  --lmm-account-accent: #d7a13c;
  --lmm-account-accent-2: #c68621;
  --lmm-account-accent-soft: #fff4df;
  --lmm-account-shadow: 0 10px 30px rgba(30, 20, 10, 0.08);
  --lmm-account-shadow-soft: 0 6px 18px rgba(30, 20, 10, 0.05);
  --lmm-account-radius-xl: 26px;
  --lmm-account-radius-lg: 20px;
  --lmm-account-radius-md: 14px;
  --lmm-account-radius-sm: 10px;
}

/* =========================================================
   BASE GENERAL
========================================================= */

body.woocommerce-account {
  background: var(--lmm-account-bg);
}

body.woocommerce-account .site-main,
body.woocommerce-account .content-area,
body.woocommerce-account .entry-content {
  background: transparent;
}

body.woocommerce-account * {
  box-sizing: border-box;
}

body.woocommerce-account .woocommerce {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

/* =========================================================
   NUEVA ESTRUCTURA MY ACCOUNT
========================================================= */

body.woocommerce-account .lmm-myaccount-shell {
  width: 100%;
}

body.woocommerce-account .lmm-myaccount-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

body.woocommerce-account .lmm-myaccount-navigation-wrap {
  width: 100%;
}

body.woocommerce-account .lmm-myaccount-content-wrap,
body.woocommerce-account .woocommerce-MyAccount-content {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
  border: 1px solid #eadfcf;
  border-radius: 34px;
  box-shadow:
    0 18px 40px rgba(44, 28, 10, 0.06),
    0 2px 8px rgba(44, 28, 10, 0.04);
  padding: 38px 40px 48px;
  min-height: 580px;
}

/* =========================================================
   BOTÓN MOBILE TOGGLE
========================================================= */

body.woocommerce-account .lmm-account-mobile-toggle {
  display: none;
  width: 100%;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--lmm-account-border);
  background: #fff;
  color: var(--lmm-account-text);
  border-radius: 18px;
  box-shadow: var(--lmm-account-shadow-soft);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

body.woocommerce-account .lmm-account-mobile-toggle__icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  line-height: 1;
}

/* =========================================================
   SIDEBAR / NAVEGACIÓN
========================================================= */

body.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100%;
  float: none;
  margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 14px;
  background: var(--lmm-account-surface);
  border: 1px solid var(--lmm-account-border);
  border-radius: 30px;
  box-shadow: var(--lmm-account-shadow);
}

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

body.woocommerce-account .woocommerce-MyAccount-navigation li + li {
  margin-top: 8px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--lmm-account-text);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: var(--lmm-account-accent-soft);
  color: var(--lmm-account-heading);
  transform: translateY(-1px);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  min-height: 68px;
  font-size: 19px;
  font-weight: 800;
  background: linear-gradient(135deg, #f6c96c 0%, #d89a32 100%);
  color: #2b1b09;
  box-shadow: 0 10px 24px rgba(201, 139, 46, 0.20);
}

/* =========================================================
   TIPOGRAFÍA
========================================================= */

body.woocommerce-account .woocommerce-MyAccount-content h1,
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content h4,
body.woocommerce-account .woocommerce-MyAccount-content h5,
body.woocommerce-account .lmm-myaccount-content-wrap h1,
body.woocommerce-account .lmm-myaccount-content-wrap h2,
body.woocommerce-account .lmm-myaccount-content-wrap h3,
body.woocommerce-account .lmm-myaccount-content-wrap h4,
body.woocommerce-account .lmm-myaccount-content-wrap h5 {
  color: var(--lmm-account-heading);
  margin-top: 0;
  line-height: 1.2;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .lmm-myaccount-content-wrap h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .lmm-myaccount-content-wrap h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

body.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .lmm-myaccount-content-wrap p {
  color: var(--lmm-account-text-soft);
  line-height: 1.65;
  margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content strong,
body.woocommerce-account .lmm-myaccount-content-wrap strong {
  color: var(--lmm-account-text);
}

body.woocommerce-account .woocommerce-MyAccount-content a,
body.woocommerce-account .lmm-myaccount-content-wrap a {
  color: var(--lmm-account-accent-2);
  text-decoration: none;
  font-weight: 600;
}

body.woocommerce-account .woocommerce-MyAccount-content a:hover,
body.woocommerce-account .lmm-myaccount-content-wrap a:hover {
  text-decoration: underline;
}

/* =========================================================
   BOTONES GLOBALES
========================================================= */

body.woocommerce-account .button,
body.woocommerce-account button.button,
body.woocommerce-account input.button,
body.woocommerce-account .woocommerce-Button,
body.woocommerce-account .woocommerce-button,
body.woocommerce-account a.button,
body.woocommerce-account .wc-forward {
  background: linear-gradient(135deg, #f4bf57 0%, #cf8e28 100%) !important;
  color: #2b1a09 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(201, 139, 46, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.woocommerce-account .button:hover,
body.woocommerce-account button.button:hover,
body.woocommerce-account input.button:hover,
body.woocommerce-account .woocommerce-Button:hover,
body.woocommerce-account .woocommerce-button:hover,
body.woocommerce-account a.button:hover,
body.woocommerce-account .wc-forward:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(201, 139, 46, 0.28);
  filter: brightness(0.98);
}

body.woocommerce-account .button:focus,
body.woocommerce-account button.button:focus,
body.woocommerce-account input.button:focus,
body.woocommerce-account .woocommerce-Button:focus,
body.woocommerce-account .woocommerce-button:focus,
body.woocommerce-account a.button:focus {
  outline: none;
}

body.woocommerce-account .woocommerce-Button--secondary,
body.woocommerce-account .button.alt,
body.woocommerce-account .woocommerce-button.view {
  background: #fff !important;
  color: var(--lmm-account-text) !important;
  border: 1px solid var(--lmm-account-border-strong) !important;
  box-shadow: var(--lmm-account-shadow-soft) !important;
}

/* =========================================================
   FORMULARIOS
========================================================= */

body.woocommerce-account form {
  margin: 0;
}

body.woocommerce-account fieldset {
  border: 1px solid var(--lmm-account-border);
  border-radius: var(--lmm-account-radius-lg);
  padding: 22px;
  margin: 24px 0 0;
  background: var(--lmm-account-surface-2);
}

body.woocommerce-account fieldset legend {
  padding: 0 10px;
  color: var(--lmm-account-heading);
  font-weight: 700;
}

body.woocommerce-account .form-row,
body.woocommerce-account p.form-row {
  margin-bottom: 18px;
}

body.woocommerce-account label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--lmm-account-text);
}

body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"],
body.woocommerce-account input[type="tel"],
body.woocommerce-account input[type="number"],
body.woocommerce-account input[type="search"],
body.woocommerce-account input[type="url"],
body.woocommerce-account select,
body.woocommerce-account textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--lmm-account-border);
  background: #fff;
  color: var(--lmm-account-text);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.woocommerce-account textarea {
  min-height: 140px;
  resize: vertical;
}

body.woocommerce-account input[type="text"]:focus,
body.woocommerce-account input[type="email"]:focus,
body.woocommerce-account input[type="password"]:focus,
body.woocommerce-account input[type="tel"]:focus,
body.woocommerce-account input[type="number"]:focus,
body.woocommerce-account input[type="search"]:focus,
body.woocommerce-account input[type="url"]:focus,
body.woocommerce-account select:focus,
body.woocommerce-account textarea:focus {
  border-color: #d5a14b;
  box-shadow: 0 0 0 4px rgba(213, 161, 75, 0.14);
  outline: none;
}

body.woocommerce-account .required {
  color: #b42318;
}

body.woocommerce-account .form-row-first,
body.woocommerce-account .form-row-last,
body.woocommerce-account .form-row-wide {
  clear: none;
}

/* =========================================================
   TABLAS GENERALES
========================================================= */

body.woocommerce-account table.shop_table,
body.woocommerce-account table.woocommerce-orders-table,
body.woocommerce-account table.woocommerce-table--order-details,
body.woocommerce-account table.my_account_orders {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--lmm-account-border);
  border-radius: var(--lmm-account-radius-lg);
  overflow: hidden;
  box-shadow: var(--lmm-account-shadow-soft);
}

body.woocommerce-account table.shop_table thead th,
body.woocommerce-account table.woocommerce-orders-table thead th,
body.woocommerce-account table.woocommerce-table--order-details thead th,
body.woocommerce-account table.my_account_orders thead th {
  background: #fbf7ef;
  color: var(--lmm-account-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--lmm-account-border);
  text-align: left;
}

body.woocommerce-account table.shop_table tbody td,
body.woocommerce-account table.woocommerce-orders-table tbody td,
body.woocommerce-account table.woocommerce-table--order-details tbody td,
body.woocommerce-account table.my_account_orders tbody td {
  padding: 16px;
  color: var(--lmm-account-text);
  border-bottom: 1px solid #efe7da;
  vertical-align: middle;
}

body.woocommerce-account table.shop_table tbody tr:last-child td,
body.woocommerce-account table.woocommerce-orders-table tbody tr:last-child td,
body.woocommerce-account table.woocommerce-table--order-details tbody tr:last-child td,
body.woocommerce-account table.my_account_orders tbody tr:last-child td {
  border-bottom: none;
}

/* =========================================================
   DASHBOARD - BLOQUES GENERALES
========================================================= */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper,
body.woocommerce-account .woocommerce-MyAccount-content .lmm-account-panel {
  width: 100%;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-notices-wrapper + p,
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
  font-size: 16px;
}

body.woocommerce-account .lmm-account-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

body.woocommerce-account .lmm-account-card {
  background: var(--lmm-account-surface-2);
  border: 1px solid var(--lmm-account-border);
  border-radius: var(--lmm-account-radius-lg);
  padding: 22px;
  box-shadow: var(--lmm-account-shadow-soft);
}

body.woocommerce-account .lmm-account-card h3 {
  margin-bottom: 8px;
}

/* =========================================================
   PEDIDOS
========================================================= */

body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
  margin: 3px 6px 3px 0 !important;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
  font-weight: 700;
}

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

/* =========================================================
   DIRECCIONES
========================================================= */

body.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 24px;
  align-items: stretch;
}

/* anula el layout viejo de Woo */
body.woocommerce-account .woocommerce-Addresses .col-1,
body.woocommerce-account .woocommerce-Addresses .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .woocommerce-address-fields {
  background: #fffdfa;
  border: 1px solid var(--lmm-account-border);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 8px 22px rgba(39, 22, 7, 0.04);
  min-height: auto;
}

body.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
}

body.woocommerce-account .woocommerce-Address-title h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--lmm-account-text);
  flex: 1 1 auto;
  max-width: none;
  word-break: normal;
  overflow-wrap: break-word;
}

body.woocommerce-account .woocommerce-Address-title .edit,
body.woocommerce-account .woocommerce-Address-title a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 38px !important;
  padding: 8px 14px !important;
  border-radius: 999px;
  border: 1px solid #e7cf9f;
  background: #fff4dc;
  color: #9a6a14 !important;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: none;
}

body.woocommerce-account .woocommerce-Address-title .edit:hover,
body.woocommerce-account .woocommerce-Address-title a:hover {
  background: #f7e4b8;
  color: #7f5510 !important;
}

body.woocommerce-account .woocommerce-Address address {
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #4d4032;
  line-height: 1.7;
  font-style: normal;
  font-size: 15px;
}

body.woocommerce-account .woocommerce-Address address br {
  content: "";
}

body.woocommerce-account .woocommerce-address-fields {
  margin-top: 20px;
}

body.woocommerce-account .woocommerce-address-fields .form-row {
  margin-bottom: 16px;
}

body.woocommerce-account .woocommerce-address-fields h3 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 800;
  color: var(--lmm-account-text);
}

  body.woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  body.woocommerce-account .woocommerce-Address,
  body.woocommerce-account .woocommerce-address-fields {
    padding: 18px 16px;
    border-radius: 18px;
  }

  body.woocommerce-account .woocommerce-Address-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

/* =========================================================
   MÉTODOS DE PAGO
========================================================= */

body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-PaymentMethods {
  position: relative;
}

body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content {
  padding: 26px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(239, 187, 82, 0.12), transparent 30%),
    linear-gradient(180deg, #fffdfa 0%, #f8f5ef 100%);
  border: 1px solid rgba(214, 190, 156, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 16px 38px rgba(49, 33, 14, 0.06);
}

body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content::before {
  content: 'Tus tarjetas guardadas';
  display: block;
  margin: 0 0 22px;
  color: var(--lmm-account-heading);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content::after {
  content: 'Administra tus métodos de pago con el mismo estilo limpio y seguro de tu cuenta.';
  display: block;
  margin: -8px 0 6px;
  color: #7f6847;
  font-size: 15px;
  line-height: 1.6;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods,
body.woocommerce-account table.payment_methods {
  width: 100%;
  margin-top: 24px;
  border-collapse: separate;
  border-spacing: 0 18px;
  background: transparent;
  border: 0;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods thead th,
body.woocommerce-account table.payment_methods thead th {
  padding: 24px 30px;
  border: 1px solid rgba(214, 190, 156, 0.7);
  background: linear-gradient(180deg, #fbf7f0 0%, #f1eadf 100%);
  color: #1f1610;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 10px 24px rgba(49, 33, 14, 0.035);
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods thead th:first-child,
body.woocommerce-account table.payment_methods thead th:first-child {
  border-top-left-radius: 26px;
  border-bottom-left-radius: 26px;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods thead th:last-child,
body.woocommerce-account table.payment_methods thead th:last-child {
  border-top-right-radius: 26px;
  border-bottom-right-radius: 26px;
  text-align: center;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods thead th:last-child:empty::before,
body.woocommerce-account table.payment_methods thead th:last-child:empty::before {
  content: 'Acciones';
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody tr,
body.woocommerce-account table.payment_methods tbody tr {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
  box-shadow:
    0 18px 34px rgba(49, 33, 14, 0.07),
    0 3px 10px rgba(49, 33, 14, 0.04);
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td,
body.woocommerce-account table.payment_methods tbody td {
  padding: 34px 32px;
  border-top: 1px solid rgba(229, 216, 193, 0.95);
  border-bottom: 1px solid rgba(229, 216, 193, 0.95);
  border-left: 0;
  border-right: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(250,247,241,0.96) 100%);
  vertical-align: middle;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:first-child,
body.woocommerce-account table.payment_methods tbody td:first-child {
  position: relative;
  padding-left: 134px;
  border-left: 1px solid rgba(229, 216, 193, 0.95);
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  color: #1f1610;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:first-child::before,
body.woocommerce-account table.payment_methods tbody td:first-child::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #f4c55b 0%, #d89a32 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 12px 24px rgba(201, 139, 46, 0.24);
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:first-child::after,
body.woocommerce-account table.payment_methods tbody td:first-child::after {
  content: '';
  position: absolute;
  left: 48px;
  top: 50%;
  width: 24px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 5px;
  background: rgba(43, 27, 9, 0.92);
  box-shadow: 0 -10px 0 -4px rgba(43, 27, 9, 0.92);
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:nth-child(2),
body.woocommerce-account table.payment_methods tbody td:nth-child(2) {
  width: 24%;
  font-size: 18px;
  font-weight: 800;
  color: #9b7140;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:last-child,
body.woocommerce-account table.payment_methods tbody td:last-child {
  width: 30%;
  border-right: 1px solid rgba(229, 216, 193, 0.95);
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  text-align: center;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody tr:hover,
body.woocommerce-account table.payment_methods tbody tr:hover {
  transform: translateY(-2px);
}

body.woocommerce-account .woocommerce-PaymentMethod,
body.woocommerce-account .payment-method {
  background: linear-gradient(180deg, #fffdf9 0%, #f7f2ea 100%);
  border: 1px solid rgba(214, 190, 156, 0.72);
  border-radius: 28px;
  padding: 22px 24px;
  box-shadow: 0 12px 28px rgba(49, 33, 14, 0.06);
}

body.woocommerce-account .woocommerce-PaymentMethod + .woocommerce-PaymentMethod,
body.woocommerce-account .payment-method + .payment-method {
  margin-top: 16px;
}

body.woocommerce-account .woocommerce-PaymentMethods .button,
body.woocommerce-account .woocommerce-MyAccount-paymentMethods .button,
body.woocommerce-account .payment_methods .button,
body.woocommerce-account .add-payment-method.button,
body.woocommerce-account .woocommerce-MyAccount-content a.add-payment-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 15px 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2bd50 0%, #d7962d 100%);
  color: #24170c !important;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 16px 30px rgba(201, 139, 46, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content a.add-payment-method::before,
body.woocommerce-account .add-payment-method.button::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(43, 27, 9, 0.12);
  font-size: 18px;
  line-height: 1;
}

body.woocommerce-account .woocommerce-PaymentMethods .button:hover,
body.woocommerce-account .woocommerce-MyAccount-paymentMethods .button:hover,
body.woocommerce-account .payment_methods .button:hover,
body.woocommerce-account .add-payment-method.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content a.add-payment-method:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 20px 34px rgba(201, 139, 46, 0.28);
}

body.woocommerce-account .woocommerce-MyAccount-paymentMethods .payment-method-actions .button,
body.woocommerce-account .payment_methods .payment-method-actions .button,
body.woocommerce-account td[data-title="Acciones"] .button,
body.woocommerce-account td.actions .button {
  min-height: 52px;
  min-width: 156px;
  padding: 12px 28px;
  font-size: 15px;
}

body.woocommerce-account .woocommerce-MyAccount-paymentMethods .payment-method-actions .button::before,
body.woocommerce-account .payment_methods .payment-method-actions .button::before,
body.woocommerce-account td[data-title="Acciones"] .button::before,
body.woocommerce-account td.actions .button::before {
  content: '' !important;
  display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .button,
body.woocommerce-account .woocommerce-MyAccount-content > a.button,
body.woocommerce-account .woocommerce-MyAccount-content > .add-payment-method {
  margin-top: 28px;
}

@media (max-width: 767px) {
  body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content {
    padding: 18px;
    border-radius: 26px;
  }

  body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content::before {
    font-size: 24px;
    margin-bottom: 14px;
  }

  body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content::after {
    font-size: 14px;
    margin-bottom: 0;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods,
  body.woocommerce-account table.payment_methods {
    margin-top: 18px;
    border-spacing: 0 14px;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td,
  body.woocommerce-account table.payment_methods tbody td {
    padding: 18px 18px 18px 20px;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:first-child,
  body.woocommerce-account table.payment_methods tbody td:first-child {
    padding-left: 84px;
    font-size: 18px;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:first-child::before,
  body.woocommerce-account table.payment_methods tbody td:first-child::before {
    left: 20px;
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:first-child::after,
  body.woocommerce-account table.payment_methods tbody td:first-child::after {
    left: 31px;
    width: 20px;
    height: 14px;
    box-shadow: 0 -8px 0 -3px rgba(43, 27, 9, 0.92);
  }

  body.woocommerce-account .woocommerce-MyAccount-paymentMethods .payment-method-actions .button,
  body.woocommerce-account .payment_methods .payment-method-actions .button,
  body.woocommerce-account td[data-title="Acciones"] .button,
  body.woocommerce-account td.actions .button {
    min-width: 100%;
  }
}

/* =========================================================
   DETALLES DE CUENTA
========================================================= */

body.woocommerce-account .edit-account {
  margin-top: 8px;
}

body.woocommerce-account .edit-account > p,
body.woocommerce-account .woocommerce-EditAccountForm > p {
  margin-bottom: 18px;
}

/* =========================================================
   DESCARGAS
========================================================= */

body.woocommerce-account .woocommerce-MyAccount-downloads-file .button {
  white-space: nowrap;
}

/* =========================================================
   MENSAJES / EMPTY STATES
========================================================= */

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
  border: 1px solid var(--lmm-account-border);
  border-radius: 16px;
  padding: 16px 18px;
  background: #fffdf8;
  box-shadow: var(--lmm-account-shadow-soft);
}

body.woocommerce-account .woocommerce-info {
  background: #fffaf0;
}

body.woocommerce-account .woocommerce-message {
  background: #f8fff9;
}

body.woocommerce-account .woocommerce-error {
  background: #fff8f7;
}

/* =========================================================
   CHECKBOX / INPUTS MENORES
========================================================= */

body.woocommerce-account input[type="checkbox"],
body.woocommerce-account input[type="radio"] {
  transform: translateY(1px);
  margin-right: 8px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  body.woocommerce-account .woocommerce {
    max-width: 100%;
    padding: 20px 16px 46px;
  }

  body.woocommerce-account .lmm-myaccount-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.woocommerce-account .lmm-myaccount-content-wrap,
  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 24px;
    min-height: auto;
    overflow: visible;
  }

  body.woocommerce-account .woocommerce-Addresses,
  body.woocommerce-account .lmm-account-cards {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  body.woocommerce-account .woocommerce {
    padding: 14px 10px 30px;
  }

  body.woocommerce-account .lmm-account-mobile-toggle {
    display: block;
  }

  body.woocommerce-account .lmm-myaccount-navigation-wrap {
    display: none;
  }

  body.woocommerce-account .lmm-myaccount-navigation-wrap.is-open {
    display: block;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(31, 22, 15, 0.06);
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li,
  body.woocommerce-account .woocommerce-MyAccount-navigation li + li {
    margin: 0 !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 70px;
    padding: 12px;
    border-radius: 16px;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid #eadfcf;
    box-shadow: 0 6px 14px rgba(30, 20, 10, 0.05);
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    min-height: 70px;
    font-size: 14px;
    background: linear-gradient(135deg, #f0b34a 0%, #d8962f 100%);
    color: #2b1d0f !important;
    border: none;
    box-shadow: 0 10px 22px rgba(200, 140, 40, 0.25);
  }

  body.woocommerce-account .lmm-myaccount-content-wrap,
  body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    padding: 20px 16px 24px;
    border-radius: 22px;
    box-shadow:
      0 16px 30px rgba(44, 28, 10, 0.07),
      0 4px 10px rgba(44, 28, 10, 0.04);
  }

  body.woocommerce-account .woocommerce-MyAccount-content h1,
  body.woocommerce-account .woocommerce-MyAccount-content h2,
  body.woocommerce-account .lmm-myaccount-content-wrap h1,
  body.woocommerce-account .lmm-myaccount-content-wrap h2 {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content h3,
  body.woocommerce-account .lmm-myaccount-content-wrap h3 {
    font-size: 21px;
    line-height: 1.15;
  }

  body.woocommerce-account .woocommerce-MyAccount-content p,
  body.woocommerce-account .lmm-myaccount-content-wrap p {
    font-size: 15px;
    line-height: 1.65;
  }

  body.woocommerce-account .form-row-first,
  body.woocommerce-account .form-row-last,
  body.woocommerce-account .form-row-wide {
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }

  body.woocommerce-account input[type="text"],
  body.woocommerce-account input[type="email"],
  body.woocommerce-account input[type="password"],
  body.woocommerce-account input[type="tel"],
  body.woocommerce-account input[type="number"],
  body.woocommerce-account input[type="search"],
  body.woocommerce-account input[type="url"],
  body.woocommerce-account select,
  body.woocommerce-account textarea {
    min-height: 48px;
    font-size: 16px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  body.woocommerce-account fieldset {
    padding: 18px 14px;
    border-radius: 18px;
  }

  body.woocommerce-account .button,
  body.woocommerce-account button.button,
  body.woocommerce-account input.button,
  body.woocommerce-account .woocommerce-Button,
  body.woocommerce-account .woocommerce-button,
  body.woocommerce-account a.button,
  body.woocommerce-account .wc-forward {
    width: 100%;
    min-height: 48px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 16px !important;
  }

  body.woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  body.woocommerce-account .woocommerce-Address,
  body.woocommerce-account .woocommerce-address-fields,
  body.woocommerce-account .woocommerce-Addresses .col-1,
  body.woocommerce-account .woocommerce-Addresses .col-2 {
    min-height: auto;
  }

  body.woocommerce-account .woocommerce-Addresses .woocommerce-Address,
  body.woocommerce-account .woocommerce-address-fields {
    padding: 20px 18px;
    border-radius: 22px;
  }

  body.woocommerce-account .woocommerce-Address-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
  }

  body.woocommerce-account .woocommerce-Address-title h3 {
    font-size: 24px;
  }

  body.woocommerce-account .woocommerce-Address-title .edit,
  body.woocommerce-account .woocommerce-Address-title a {
    min-height: 40px;
  }

  body.woocommerce-account table.shop_table thead,
  body.woocommerce-account table.woocommerce-orders-table thead,
  body.woocommerce-account table.woocommerce-table--order-details thead,
  body.woocommerce-account table.my_account_orders thead {
    display: none;
  }

  body.woocommerce-account table.shop_table,
  body.woocommerce-account table.woocommerce-orders-table,
  body.woocommerce-account table.woocommerce-table--order-details,
  body.woocommerce-account table.my_account_orders,
  body.woocommerce-account table.shop_table tbody,
  body.woocommerce-account table.woocommerce-orders-table tbody,
  body.woocommerce-account table.woocommerce-table--order-details tbody,
  body.woocommerce-account table.my_account_orders tbody,
  body.woocommerce-account table.shop_table tr,
  body.woocommerce-account table.woocommerce-orders-table tr,
  body.woocommerce-account table.woocommerce-table--order-details tr,
  body.woocommerce-account table.my_account_orders tr {
    display: block;
    width: 100%;
  }

  body.woocommerce-account table.shop_table,
  body.woocommerce-account table.woocommerce-orders-table,
  body.woocommerce-account table.woocommerce-table--order-details,
  body.woocommerce-account table.my_account_orders {
    border: none;
    background: transparent;
    box-shadow: none;
  }

  body.woocommerce-account table.shop_table tr,
  body.woocommerce-account table.woocommerce-orders-table tr,
  body.woocommerce-account table.woocommerce-table--order-details tr,
  body.woocommerce-account table.my_account_orders tr {
    background: #fff;
    border: 1px solid #eadfcf;
    border-radius: 18px;
    padding: 14px 14px 10px;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(31, 22, 15, 0.05);
  }

  body.woocommerce-account table.shop_table td,
  body.woocommerce-account table.woocommerce-orders-table td,
  body.woocommerce-account table.woocommerce-table--order-details td,
  body.woocommerce-account table.my_account_orders td {
    display: block;
    width: 100%;
    border: none;
    padding: 6px 0;
    text-align: left;
  }

  body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
  body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
    width: 100% !important;
    margin: 8px 0 0 !important;
  }
}

@media (max-width: 480px) {
  body.woocommerce-account .woocommerce {
    padding: 12px 8px 24px;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
    padding: 8px;
    border-radius: 18px;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 56px;
    font-size: 15px;
    padding: 12px 14px;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    min-height: 56px;
    font-size: 15px;
  }

  body.woocommerce-account .lmm-myaccount-content-wrap,
  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 18px 14px 22px;
    border-radius: 20px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content h1,
  body.woocommerce-account .woocommerce-MyAccount-content h2,
  body.woocommerce-account .lmm-myaccount-content-wrap h1,
  body.woocommerce-account .lmm-myaccount-content-wrap h2 {
    font-size: 24px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content h3,
  body.woocommerce-account .lmm-myaccount-content-wrap h3 {
    font-size: 20px;
  }
}

/* =========================================================
   ICONOS DEL MENÚ DE CUENTA
========================================================= */

body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 22px;
  margin-right: 10px;
  font-size: 18px;
  line-height: 1;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before {
  content: "🏠";
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before {
  content: "📦";
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads a::before {
  content: "⬇️";
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before {
  content: "📍";
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods a::before {
  content: "💳";
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before {
  content: "👤";
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before {
  content: "↩️";
}

/* =========================================================
   DRAWER MOBILE PRO
========================================================= */

body.woocommerce-account.lmm-account-menu-open {
  overflow: hidden;
}

body.woocommerce-account .lmm-account-overlay {
  display: none;
}

body.woocommerce-account .lmm-account-drawer-header {
  display: none;
}

@media (max-width: 768px) {
  body.woocommerce-account .lmm-account-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 58px;
    padding: 16px 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #eadfcf;
    box-shadow: 0 10px 24px rgba(31, 22, 15, 0.06);
    font-size: 16px;
    font-weight: 800;
  }

  body.woocommerce-account .lmm-account-mobile-toggle__icon {
    margin-right: 0;
    font-size: 24px;
  }

  body.woocommerce-account .lmm-myaccount-navigation-wrap {
    position: fixed;
    top: 150px;
    left: 0;
    width: 86%;
    max-width: 340px;
    height: calc(100dvh - 150px);
    z-index: 9999;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 16px 0 38px rgba(0, 0, 0, 0.18);
    padding: 16px 14px 20px;
    overflow-y: auto;
    display: block;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  body.woocommerce-account .lmm-myaccount-navigation-wrap.is-open {
    transform: translateX(0);
  }

  body.woocommerce-account .lmm-account-overlay {
    display: block;
    position: fixed;
    top: 150px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 16, 10, 0.42);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(2px);
  }

  body.woocommerce-account .lmm-account-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  body.woocommerce-account .lmm-account-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 8px 4px 10px;
    border-bottom: 1px solid #f0e5d4;
  }

  body.woocommerce-account .lmm-account-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  body.woocommerce-account .lmm-account-drawer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1b94d 0%, #d68e1f 100%);
    box-shadow: 0 10px 20px rgba(201, 139, 46, 0.20);
    font-size: 22px;
  }

  body.woocommerce-account .lmm-account-drawer-usertext {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  body.woocommerce-account .lmm-account-drawer-usertext strong {
    color: #22170f;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.woocommerce-account .lmm-account-drawer-usertext span {
    color: #a4721e;
    font-size: 13px;
    font-weight: 700;
    margin-top: 2px;
  }

  body.woocommerce-account .lmm-account-drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid #eadfcf;
    background: #fff;
    color: #332317;
    border-radius: 14px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(31, 22, 15, 0.05);
    flex-shrink: 0;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li,
  body.woocommerce-account .woocommerce-MyAccount-navigation li + li {
    margin: 0 !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 58px;
    justify-content: flex-start;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eadfcf;
    box-shadow: 0 8px 16px rgba(31, 22, 15, 0.04);
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    min-height: 58px;
    font-size: 15px;
    background: linear-gradient(135deg, #f0b34a 0%, #d8962f 100%);
    color: #2b1d0f !important;
    border: none;
    box-shadow: 0 12px 24px rgba(200, 140, 40, 0.24);
  }
}

/* =========================================================
   DIRECCIONES - COMPACTO REAL
========================================================= */

/* contenedor general */
body.woocommerce-account .lmm-myaccount-content-wrap,
body.woocommerce-account .woocommerce-MyAccount-content {
  padding: 24px 26px 28px;
min-height: auto;
}

/* grid */
body.woocommerce-account .woocommerce-Addresses {
  gap: 16px;
  margin-top: 14px;
}

/* cards */
body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .woocommerce-address-fields {
  padding: 13px 15px;
  border-radius: 16px;
}

/* títulos grandes */
body.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-size: 15px;
  margin-bottom: 2px;
}

/* header del card */
body.woocommerce-account .woocommerce-Address-title {
  margin-bottom: 10px;
}

/* título del card */
body.woocommerce-account .woocommerce-Address-title h3 {
  font-size: 18px;
}

/* botón */
body.woocommerce-account .woocommerce-Address-title .edit,
body.woocommerce-account .woocommerce-Address-title a {
  min-height: 32px !important;
  padding: 5px 10px !important;
  font-size: 12px;
}

/* texto dirección */
body.woocommerce-account .woocommerce-Address address {
  font-size: 13.5px;
  line-height: 1.5;
}


@media (max-width: 780px) {
  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods,
  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods thead,
  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody,
  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tr,
  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods th,
  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods td,
  body.woocommerce-account table.payment_methods,
  body.woocommerce-account table.payment_methods thead,
  body.woocommerce-account table.payment_methods tbody,
  body.woocommerce-account table.payment_methods tr,
  body.woocommerce-account table.payment_methods th,
  body.woocommerce-account table.payment_methods td {
    display: block;
    width: 100%;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods,
  body.woocommerce-account table.payment_methods {
    border-spacing: 0;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods thead,
  body.woocommerce-account table.payment_methods thead {
    display: none;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody tr,
  body.woocommerce-account table.payment_methods tbody tr {
    margin-bottom: 16px;
    border-radius: 24px;
    overflow: hidden;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td,
  body.woocommerce-account table.payment_methods tbody td {
    padding: 18px 20px;
    border-left: 1px solid var(--lmm-account-border);
    border-right: 1px solid var(--lmm-account-border);
    border-radius: 0 !important;
    text-align: left !important;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:first-child,
  body.woocommerce-account table.payment_methods tbody td:first-child {
    padding-left: 64px;
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:last-child,
  body.woocommerce-account table.payment_methods tbody td:last-child {
    border-bottom-left-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
    border-bottom: 1px solid var(--lmm-account-border);
  }
}

/* =========================================================
   METODOS DE PAGO - LIMPIO + ICONOS REALES STRIPE
========================================================= */
body.woocommerce-account .lmm-payment-methods-shell {
  background: #fffdfa;
  border: 1px solid #eadfcf;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(31, 22, 15, 0.06);
  padding: 20px;
}

body.woocommerce-account .lmm-payment-methods-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

body.woocommerce-account .lmm-payment-methods-title {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1.15;
  color: #24180f;
}

body.woocommerce-account .lmm-payment-methods-subtitle {
  margin: 0;
  font-size: 14px;
  color: #7a6553;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  background: transparent;
  border: none;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table thead th {
  background: transparent;
  border: none;
  color: #8a7159;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 0 16px 2px;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table tbody tr {
  background: #f8f4ed;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table tbody td {
  background: #f8f4ed;
  border-top: 1px solid #eadfcf;
  border-bottom: 1px solid #eadfcf;
  padding: 18px 16px;
  vertical-align: middle;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table tbody td:first-child {
  border-left: 1px solid #eadfcf;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table tbody td:last-child {
  border-right: 1px solid #eadfcf;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

body.woocommerce-account .lmm-payment-method-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.woocommerce-account .lmm-payment-brand-badge {
  width: 52px;
  height: 34px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #eadfcf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.woocommerce-account .lmm-payment-brand-icon {
  width: 34px;
  height: 22px;
  object-fit: contain;
  display: block;
}

body.woocommerce-account .lmm-payment-method-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

body.woocommerce-account .lmm-payment-method-copy strong {
  color: #24180f;
  font-size: 15px;
  line-height: 1.2;
}

body.woocommerce-account .lmm-payment-method-copy small,
body.woocommerce-account .lmm-payment-expiry {
  color: #7a6553;
  font-size: 13px;
  line-height: 1.35;
}

body.woocommerce-account .lmm-payment-default-pill {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(224, 169, 59, 0.14);
  color: #8f6417;
  border: 1px solid rgba(224, 169, 59, 0.28);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.woocommerce-account .lmm-payment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.woocommerce-account .lmm-payment-actions .button,
body.woocommerce-account .lmm-payment-add-button {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e0a93b;
  background: linear-gradient(135deg, #f0b34a 0%, #d8962f 100%);
  color: #2b1d0f !important;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(200, 140, 40, 0.18);
}

body.woocommerce-account .lmm-payment-actions .button.delete {
  background: #fff;
  color: #5a4532 !important;
  border-color: #eadfcf;
  box-shadow: none;
}

body.woocommerce-account .lmm-payment-add-wrap {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
}

body.woocommerce-account .lmm-payment-empty-notice {
  margin: 0;
  border-radius: 18px;
}

@media (max-width: 780px) {
  body.woocommerce-account .lmm-payment-methods-shell {
    padding: 16px;
    border-radius: 20px;
  }

  body.woocommerce-account .lmm-payment-methods-title {
    font-size: 21px;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table tbody tr {
    background: transparent;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table tbody td {
    background: #f8f4ed;
  }

  body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table tbody td:first-child {
    padding-left: 20px;
  }

  body.woocommerce-account .lmm-payment-method-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  body.woocommerce-account .lmm-payment-default-pill {
    margin-left: 66px;
  }

  body.woocommerce-account .lmm-payment-actions {
    justify-content: flex-start;
  }
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:first-child::before,
body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:first-child::after,
body.woocommerce-account table.payment_methods tbody td:first-child::before,
body.woocommerce-account table.payment_methods tbody td:first-child::after {
  display: none !important;
}

/* ===== PAYMENT METHODS COMPACT FIX ===== */

body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content {
  padding: 18px 20px !important;
  border-radius: 24px !important;
}

body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content::before,
body.woocommerce-account.woocommerce-payment-methods .woocommerce-MyAccount-content::after {
  display: none !important;
}

body.woocommerce-account .lmm-payment-methods-shell {
  padding: 14px !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 20px rgba(31, 22, 15, 0.05) !important;
}

body.woocommerce-account .lmm-payment-methods-head {
  margin-bottom: 10px !important;
}

body.woocommerce-account .lmm-payment-methods-title {
  font-size: 18px !important;
  margin-bottom: 2px !important;
}

body.woocommerce-account .lmm-payment-methods-subtitle {
  font-size: 13px !important;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods,
body.woocommerce-account table.payment_methods,
body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table {
  margin-top: 10px !important;
  border-spacing: 0 10px !important;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods thead th,
body.woocommerce-account table.payment_methods thead th,
body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table thead th {
  padding: 10px 14px !important;
  font-size: 12px !important;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td,
body.woocommerce-account table.payment_methods tbody td,
body.woocommerce-account table.woocommerce-MyAccount-paymentMethods.account-payment-methods-table tbody td {
  padding: 14px 14px !important;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:first-child,
body.woocommerce-account table.payment_methods tbody td:first-child {
  padding-left: 14px !important;
  font-size: 16px !important;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:nth-child(2),
body.woocommerce-account table.payment_methods tbody td:nth-child(2) {
  font-size: 15px !important;
  width: 18% !important;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:last-child,
body.woocommerce-account table.payment_methods tbody td:last-child {
  width: 24% !important;
}

body.woocommerce-account .lmm-payment-brand-badge {
  width: 44px !important;
  height: 30px !important;
  border-radius: 10px !important;
}

body.woocommerce-account .lmm-payment-brand-icon {
  width: 28px !important;
  height: 18px !important;
}

body.woocommerce-account .lmm-payment-method-copy strong {
  font-size: 14px !important;
}

body.woocommerce-account .lmm-payment-method-copy small,
body.woocommerce-account .lmm-payment-expiry {
  font-size: 12px !important;
}

body.woocommerce-account .lmm-payment-default-pill {
  padding: 4px 8px !important;
  font-size: 10px !important;
}

body.woocommerce-account .woocommerce-PaymentMethods .button,
body.woocommerce-account .woocommerce-MyAccount-paymentMethods .button,
body.woocommerce-account .payment_methods .button,
body.woocommerce-account .add-payment-method.button,
body.woocommerce-account .woocommerce-MyAccount-content a.add-payment-method,
body.woocommerce-account .lmm-payment-actions .button,
body.woocommerce-account .lmm-payment-add-button {
  min-height: 42px !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  box-shadow: 0 8px 18px rgba(200, 140, 40, 0.16) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > .button,
body.woocommerce-account .woocommerce-MyAccount-content > a.button,
body.woocommerce-account .woocommerce-MyAccount-content > .add-payment-method,
body.woocommerce-account .lmm-payment-add-wrap {
  margin-top: 12px !important;
}

/* ===== BALANCE LAYOUT ===== */

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:nth-child(2) {
  width: 16% !important;
  text-align: center;
}

body.woocommerce-account table.woocommerce-MyAccount-paymentMethods tbody td:last-child {
  width: 22% !important;
}

/* ===== BOTONES MÁS LIMPIOS ===== */

body.woocommerce-account .lmm-payment-actions {
  flex-direction: column;
  align-items: flex-end;
}

body.woocommerce-account .lmm-payment-actions .button {
  width: 100%;
  max-width: 220px;
}

/* botón secundario (establecer) */
body.woocommerce-account .lmm-payment-actions .button:not(.delete) {
  background: #fff !important;
  color: #6b4c1d !important;
  border: 1px solid #e0c89f !important;
  box-shadow: none !important;
}

/* botón borrar mantiene el estilo fuerte */
body.woocommerce-account .lmm-payment-actions .button.delete {
  background: linear-gradient(135deg, #f0b34a 0%, #d8962f 100%) !important;
  color: #2b1d0f !important;
}

/* ===== PAYMENT METHODS PREMIUM LAYOUT FIX ===== */

body.woocommerce-account .lmm-payment-method-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  margin-bottom: 16px;
  background: #f8f4ed;
  border: 1px solid #eadfcf;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(31, 22, 15, 0.05);
}

body.woocommerce-account .lmm-payment-method-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

body.woocommerce-account .lmm-payment-brand-badge {
  width: 56px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eadfcf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.woocommerce-account .lmm-payment-brand-icon {
  width: 36px;
  height: 24px;
  object-fit: contain;
}

body.woocommerce-account .lmm-payment-method-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

body.woocommerce-account .lmm-payment-method-copy strong {
  font-size: 17px;
  line-height: 1.15;
  color: #24180f;
}

body.woocommerce-account .lmm-payment-method-copy small {
  font-size: 13px;
  color: #7a6553;
}

body.woocommerce-account .lmm-payment-default-pill {
  margin-top: 8px;
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(224, 169, 59, 0.14);
  color: #8f6417;
  border: 1px solid rgba(224, 169, 59, 0.28);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

body.woocommerce-account .lmm-payment-method-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

body.woocommerce-account .lmm-payment-expiry {
  font-size: 13px;
  color: #7a6553;
  margin-bottom: 2px;
}

body.woocommerce-account .lmm-payment-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 300px;
}

body.woocommerce-account .lmm-payment-actions .button {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

body.woocommerce-account .lmm-payment-actions .button:not(.delete) {
  background: #fff !important;
  color: #6b4c1d !important;
  border: 1px solid #e0c89f !important;
  box-shadow: none !important;
}

body.woocommerce-account .lmm-payment-actions .button.delete {
  background: linear-gradient(135deg, #f0b34a 0%, #d8962f 100%) !important;
  color: #2b1d0f !important;
}

@media (max-width: 900px) {
  body.woocommerce-account .lmm-payment-method-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.woocommerce-account .lmm-payment-method-side {
    align-items: flex-start;
  }

  body.woocommerce-account .lmm-payment-actions {
    max-width: 100%;
  }
}

/* =========================================================
   FINAL TWEAKS - PAYMENT CARDS + AUTO-HIDE NOTICES
========================================================= */
body.woocommerce-account .lmm-payment-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.woocommerce-account .lmm-payment-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) 280px;
  align-items: center;
  gap: 24px;
  padding: 24px 26px;
  background: #f8f4ed;
  border: 1px solid #eadfcf;
  border-radius: 26px;
  box-shadow: 0 10px 24px rgba(31, 22, 15, 0.05);
}

body.woocommerce-account .lmm-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

body.woocommerce-account .lmm-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

body.woocommerce-account .lmm-card-left .lmm-payment-default-pill {
  margin-top: 0;
  margin-left: 8px;
  flex-shrink: 0;
}

body.woocommerce-account .lmm-payment-actions {
  max-width: 220px;
  gap: 8px;
}

body.woocommerce-account .lmm-payment-actions .button {
  width: 100%;
  min-height: 40px;
  padding: 8px 14px !important;
  border-radius: 999px;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 16px rgba(200, 140, 40, 0.14) !important;
}

body.woocommerce-account .lmm-payment-actions .button.delete {
  min-height: 40px;
}

body.woocommerce-account .lmm-payment-actions .button:not(.delete) {
  background: #fff !important;
  color: #6b4c1d !important;
  border: 1px solid #e0c89f !important;
  box-shadow: none !important;
}

body.woocommerce-account .lmm-payment-add-button {
  min-height: 44px !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
}

body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
  position: relative;
  margin: 0 0 18px !important;
  padding: 16px 20px 16px 50px !important;
  border-radius: 18px !important;
  border: 1px solid #eadfcf !important;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f4ed 100%) !important;
  color: #2a2118 !important;
  box-shadow: 0 10px 22px rgba(31, 22, 15, 0.05) !important;
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

body.woocommerce-account .woocommerce-message {
  border-color: #dbe7d6 !important;
  background: linear-gradient(180deg, #fbfefb 0%, #f3faf3 100%) !important;
}

body.woocommerce-account .woocommerce-error {
  border-color: #efc9c5 !important;
  background: linear-gradient(180deg, #fffafa 0%, #fff3f2 100%) !important;
}

body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-error::before {
  left: 18px !important;
  top: 18px !important;
  margin: 0 !important;
  font-size: 18px !important;
}

body.woocommerce-account .woocommerce-message::before { color: #7b9e43 !important; }
body.woocommerce-account .woocommerce-info::before { color: #b07a22 !important; }
body.woocommerce-account .woocommerce-error::before { color: #c14b3f !important; }

body.woocommerce-account .lmm-notice-hide {
  opacity: 0 !important;
  transform: translateY(-8px);
  visibility: hidden;
}

@media (max-width: 900px) {
  body.woocommerce-account .lmm-payment-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  body.woocommerce-account .lmm-card-left {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  body.woocommerce-account .lmm-card-left .lmm-payment-default-pill {
    margin-left: 64px;
  }

  body.woocommerce-account .lmm-card-right {
    align-items: flex-start;
  }

  body.woocommerce-account .lmm-payment-actions {
    max-width: 100%;
  }
}

/* =========================================================
   DETALLES DE CUENTA - ESTILO PREMIUM
========================================================= */

body.woocommerce-account .lmm-account-section-hero--details {
  position: relative;
  overflow: hidden;
  margin: 0 0 24px;
  padding: 28px 30px;
  border: 1px solid #ead8bd;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(244, 195, 97, 0.20), transparent 34%),
    linear-gradient(135deg, #fff9ef 0%, #fff4df 100%);
  box-shadow: 0 18px 36px rgba(44, 28, 10, 0.08);
}

body.woocommerce-account .lmm-account-section-hero--details::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(215, 161, 60, 0.10);
  pointer-events: none;
}

body.woocommerce-account .lmm-account-section-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(210, 164, 82, 0.28);
  color: #946319;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.woocommerce-account .lmm-account-section-hero__title {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.05;
}

body.woocommerce-account .lmm-account-section-hero__text {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #6a5a48;
}

body.woocommerce-account .lmm-account-section-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.woocommerce-account .lmm-account-section-hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(223, 201, 159, 0.9);
  color: #5e4e3f;
  font-size: 13px;
  font-weight: 700;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: start;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account > .form-row,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p.form-row,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account > .woocommerce-form-row {
  margin-bottom: 0;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row-wide,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account fieldset,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:last-child,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account > .clear {
  grid-column: 1 / -1;
}

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

body.woocommerce-account .woocommerce-EditAccountForm.edit-account label {
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 700;
  color: #2f251a;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .password-input,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account .show-password-input {
  width: 100%;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account input[type="text"],
body.woocommerce-account .woocommerce-EditAccountForm.edit-account input[type="email"],
body.woocommerce-account .woocommerce-EditAccountForm.edit-account input[type="password"] {
  min-height: 56px;
  border-radius: 16px;
  border-color: #e7dac6;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
  padding: 14px 16px;
  font-size: 15px;
}

/* FIX FUERTE OJO PASSWORD A LA DERECHA */
body.woocommerce-account .woocommerce-EditAccountForm.edit-account .password-input {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .password-input input[type="password"],
body.woocommerce-account .woocommerce-EditAccountForm.edit-account .password-input input[type="text"] {
  width: 100% !important;
  padding-right: 56px !important;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .show-password-input {
  position: absolute !important;
  top: 50% !important;
  right: 16px !important;
  left: auto !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  cursor: pointer !important;
  z-index: 20 !important;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account .show-password-input::after,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account .show-password-input::before {
  margin: 0 !important;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account fieldset {
  position: relative;
  margin-top: 6px;
  padding: 24px 24px 22px;
  border: 1px solid #eadfcf;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffefb 0%, #fcf7ef 100%);
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account fieldset::before {
  content: "Seguridad";
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid #ead7b2;
  color: #93631a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account fieldset legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 800;
  color: #20170f;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account em {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #8a7a67;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 4px;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:last-child .button {
  min-width: 220px;
  min-height: 52px;
  padding: 14px 22px !important;
  font-size: 15px !important;
}

body.woocommerce-account .lmm-account-inline-note--details {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #eadfcf;
  border-radius: 18px;
  background: #fffcf7;
  color: #6d5b48;
  box-shadow: var(--lmm-account-shadow-soft);
}

body.woocommerce-account .lmm-account-inline-note--details strong {
  color: #2b2015;
}

@media (max-width: 900px) {
  body.woocommerce-account .woocommerce-EditAccountForm.edit-account {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .woocommerce-EditAccountForm.edit-account .form-row-wide,
  body.woocommerce-account .woocommerce-EditAccountForm.edit-account fieldset,
  body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:last-child,
  body.woocommerce-account .woocommerce-EditAccountForm.edit-account > .clear {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  body.woocommerce-account .lmm-account-section-hero--details {
    padding: 22px 18px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  body.woocommerce-account .lmm-account-section-hero__title {
    font-size: 28px;
  }

  body.woocommerce-account .lmm-account-section-hero__text {
    font-size: 15px;
  }

  body.woocommerce-account .woocommerce-EditAccountForm.edit-account fieldset {
    padding: 20px 16px 18px;
    border-radius: 20px;
  }

  body.woocommerce-account .woocommerce-EditAccountForm.edit-account fieldset legend {
    font-size: 22px;
  }

  body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:last-child {
    justify-content: stretch;
  }

  body.woocommerce-account .woocommerce-EditAccountForm.edit-account > p:last-child .button {
    min-width: 100%;
  }
}


/* ===== Account nav refresh ===== */
body.woocommerce-account .woocommerce-MyAccount-navigation a::before{content:none !important;display:none !important;}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{padding:12px;background:#fff;border-radius:26px;}
body.woocommerce-account .woocommerce-MyAccount-navigation li + li{margin-top:6px;}
body.woocommerce-account .woocommerce-MyAccount-navigation a{min-height:60px;padding:14px 16px;font-size:17px;gap:14px;}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:linear-gradient(135deg,#f6c96c 0%,#d89a32 100%);color:#2b1b09;box-shadow:0 10px 24px rgba(201,139,46,.18);}
body.woocommerce-account .lmm-account-nav-link__icon{width:24px;height:24px;min-width:24px;display:inline-flex;align-items:center;justify-content:center;}
body.woocommerce-account .lmm-account-nav-link__icon img{display:block;max-width:24px;max-height:24px;object-fit:contain;}
body.woocommerce-account .lmm-account-nav-link__label{display:inline-block;}
body.woocommerce-account .lmm-account-placeholder{background:#fff;border:1px solid #dce6f2;border-radius:24px;padding:32px 28px;box-shadow:none;}
body.woocommerce-account .lmm-account-placeholder__eyebrow{display:inline-block;margin-bottom:10px;padding:8px 12px;border-radius:999px;background:#f5ebd7;color:#6f4e1f;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
body.woocommerce-account .lmm-account-placeholder__title{margin:0 0 12px;font-size:34px;line-height:1.05;color:#0b1020;font-weight:800;}
body.woocommerce-account .lmm-account-placeholder__text{margin:0;max-width:720px;font-size:18px;line-height:1.6;color:#556070;}
@media (max-width: 640px){body.woocommerce-account .woocommerce-MyAccount-navigation a{min-height:54px;font-size:15px;padding:12px 14px;gap:12px;} body.woocommerce-account .lmm-account-nav-link__icon{width:22px;height:22px;min-width:22px;} body.woocommerce-account .lmm-account-nav-link__icon img{max-width:22px;max-height:22px;} body.woocommerce-account .lmm-account-placeholder{padding:22px 18px;border-radius:20px;} body.woocommerce-account .lmm-account-placeholder__title{font-size:28px;} body.woocommerce-account .lmm-account-placeholder__text{font-size:16px;}}

/* =========================
   SETTINGS / EDIT ACCOUNT
========================= */
body.woocommerce-account .lmm-settings-shell {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

body.woocommerce-account .lmm-settings-profile-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 30px;
  border-radius: 28px;
  border: 1px solid #e5dccf;
  background: linear-gradient(180deg, #fffefe 0%, #fbf8f3 100%);
  box-shadow: var(--lmm-account-shadow-soft);
}

body.woocommerce-account .lmm-settings-profile-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.woocommerce-account .lmm-settings-profile-card__avatar {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  overflow: hidden;
  background: #edf3f8;
  border: 1px solid #dbe6ef;
}

body.woocommerce-account .lmm-settings-profile-card__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.woocommerce-account .lmm-settings-profile-card__main {
  display: grid;
  gap: 14px;
  align-content: center;
}

body.woocommerce-account .lmm-settings-profile-card__row {
  display: grid;
  grid-template-columns: minmax(140px, 210px) auto minmax(220px, 1fr);
  gap: 18px;
  align-items: center;
}

body.woocommerce-account .lmm-settings-profile-card__label {
  font-size: 15px;
  font-weight: 700;
  color: #261d14;
}

body.woocommerce-account .lmm-settings-profile-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

body.woocommerce-account .lmm-settings-profile-card__meta.is-connected { color: #0d8a61; }
body.woocommerce-account .lmm-settings-profile-card__meta.is-missing { color: #eb4c4c; }

body.woocommerce-account .lmm-settings-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

body.woocommerce-account .lmm-settings-profile-card__value {
  justify-self: end;
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  color: #1f3559;
  word-break: break-word;
}

body.woocommerce-account .lmm-settings-shortcuts-grid,
body.woocommerce-account .lmm-settings-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body.woocommerce-account .lmm-settings-secondary-grid {
  margin-top: 24px;
}

body.woocommerce-account .lmm-settings-shortcut-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 168px;
  padding: 28px 28px;
  border-radius: 24px;
  border: 1px solid #e5dccf;
  background: linear-gradient(180deg, #fffefe 0%, #fbf8f3 100%);
  box-shadow: var(--lmm-account-shadow-soft);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.woocommerce-account .lmm-settings-shortcut-card:hover {
  transform: translateY(-2px);
  border-color: #dbc39c;
  box-shadow: 0 20px 38px rgba(27, 22, 14, 0.08);
}

body.woocommerce-account .lmm-settings-shortcut-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  color: #17110d;
}

body.woocommerce-account .lmm-settings-shortcut-card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #6c5d4f;
}

body.woocommerce-account .lmm-settings-shortcut-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #2163ff;
}

body.woocommerce-account .lmm-settings-shortcut-card__icon {
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff3fb;
  color: #5f6f86;
}

body.woocommerce-account .lmm-settings-shortcut-card__icon svg {
  width: 34px;
  height: 34px;
}

body.woocommerce-account .lmm-settings-shortcut-card--muted .lmm-settings-shortcut-card__icon {
  background: #f4f1ec;
  color: #7b6f61;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account.lmm-settings-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 8px;
}

body.woocommerce-account .lmm-settings-form-card {
  position: relative;
  padding: 28px 28px 24px !important;
  border-radius: 24px !important;
  border: 1px solid #e5dccf !important;
  background: linear-gradient(180deg, #fffefe 0%, #fbf8f3 100%) !important;
  box-shadow: var(--lmm-account-shadow-soft);
}

body.woocommerce-account .lmm-settings-form-card__head {
  grid-column: 1 / -1;
  margin-bottom: 6px;
}

body.woocommerce-account .lmm-settings-form-card__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #f3e8ca;
  color: #9c6a00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.woocommerce-account .lmm-settings-form-card__head h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.1;
  color: #19130e;
}

body.woocommerce-account .lmm-settings-form-card__head p {
  margin: 0 0 14px;
  color: #706255;
  font-size: 15px;
  line-height: 1.7;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account.lmm-settings-form fieldset.lmm-settings-form-card::before,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account.lmm-settings-form fieldset.lmm-settings-form-card legend {
  display: none !important;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account.lmm-settings-form > p:last-child {
  grid-column: 1 / -1;
  justify-content: flex-end;
  margin-top: 4px;
}

body.woocommerce-account .woocommerce-EditAccountForm.edit-account.lmm-settings-form .woocommerce-form-row--wide,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account.lmm-settings-form .woocommerce-form-row--first,
body.woocommerce-account .woocommerce-EditAccountForm.edit-account.lmm-settings-form .woocommerce-form-row--last {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  body.woocommerce-account .lmm-settings-profile-card__row {
    grid-template-columns: minmax(130px, 180px) auto minmax(180px, 1fr);
  }
}

@media (max-width: 900px) {
  body.woocommerce-account .lmm-settings-profile-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  body.woocommerce-account .lmm-settings-profile-card__main {
    width: 100%;
  }

  body.woocommerce-account .lmm-settings-profile-card__row {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: left;
  }

  body.woocommerce-account .lmm-settings-profile-card__value {
    justify-self: start;
    text-align: left;
  }

  body.woocommerce-account .lmm-settings-shortcuts-grid,
  body.woocommerce-account .lmm-settings-secondary-grid,
  body.woocommerce-account .woocommerce-EditAccountForm.edit-account.lmm-settings-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.woocommerce-account .lmm-settings-profile-card,
  body.woocommerce-account .lmm-settings-shortcut-card,
  body.woocommerce-account .lmm-settings-form-card {
    padding: 22px 18px !important;
    border-radius: 22px !important;
  }

  body.woocommerce-account .lmm-settings-shortcut-card {
    min-height: auto;
  }

  body.woocommerce-account .lmm-settings-shortcut-card__icon {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  body.woocommerce-account .lmm-settings-form-card__head h3 {
    font-size: 24px;
  }
}


/* =========================
   SETTINGS / EDIT ACCOUNT - COMPACT
========================= */
body.woocommerce-account .lmm-account-section-hero--details {
  margin: 0 0 16px;
  padding: 18px 20px;
  border-radius: 22px;
  box-shadow: 0 10px 22px rgba(44, 28, 10, 0.05);
}

body.woocommerce-account .lmm-account-section-hero--details::after {
  width: 120px;
  height: 120px;
  inset: auto -26px -42px auto;
}

body.woocommerce-account .lmm-account-section-hero__eyebrow {
  margin-bottom: 8px;
  padding: 6px 10px;
  font-size: 11px;
}

body.woocommerce-account .lmm-account-section-hero__title {
  margin-bottom: 6px;
  font-size: 26px;
}

body.woocommerce-account .lmm-account-section-hero__text {
  margin-bottom: 10px;
  font-size: 14px;
}

body.woocommerce-account .lmm-account-section-hero__chips {
  gap: 8px;
}

body.woocommerce-account .lmm-account-section-hero__chips span {
  min-height: 30px;
  padding: 6px 11px;
  font-size: 12px;
}

body.woocommerce-account .lmm-settings-shell {
  gap: 16px;
  margin-bottom: 0;
}

body.woocommerce-account .lmm-settings-profile-card {
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-radius: 22px;
}

body.woocommerce-account .lmm-settings-profile-card__avatar {
  width: 92px;
  height: 92px;
}

body.woocommerce-account .lmm-settings-profile-card__main {
  gap: 8px;
}

body.woocommerce-account .lmm-settings-profile-card__row {
  grid-template-columns: minmax(120px, 170px) auto minmax(150px, 1fr);
  gap: 10px;
}

body.woocommerce-account .lmm-settings-profile-card__label,
body.woocommerce-account .lmm-settings-profile-card__value {
  font-size: 13px;
}

body.woocommerce-account .lmm-settings-profile-card__meta {
  gap: 6px;
  font-size: 12px;
}

body.woocommerce-account .lmm-settings-status-dot {
  width: 8px;
  height: 8px;
}

body.woocommerce-account .lmm-settings-shortcuts-grid,
body.woocommerce-account .lmm-settings-secondary-grid {
  gap: 16px;
}

body.woocommerce-account .lmm-settings-shortcut-card {
  min-height: 132px;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 22px;
}

body.woocommerce-account .lmm-settings-shortcut-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

body.woocommerce-account .lmm-settings-shortcut-card p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
}

body.woocommerce-account .lmm-settings-shortcut-card__link {
  font-size: 13px;
}

body.woocommerce-account .lmm-settings-shortcut-card__icon {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
}

body.woocommerce-account .lmm-settings-shortcut-card__icon svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 900px) {
  body.woocommerce-account .lmm-settings-profile-card {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: start;
    text-align: left;
  }

  body.woocommerce-account .lmm-settings-profile-card__media {
    justify-content: flex-start;
  }

  body.woocommerce-account .lmm-settings-profile-card__main {
    width: 100%;
  }

  body.woocommerce-account .lmm-settings-profile-card__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  body.woocommerce-account .lmm-settings-profile-card__value {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  body.woocommerce-account .lmm-account-section-hero--details {
    padding: 16px;
    border-radius: 18px;
  }

  body.woocommerce-account .lmm-account-section-hero__title {
    font-size: 22px;
  }

  body.woocommerce-account .lmm-settings-profile-card,
  body.woocommerce-account .lmm-settings-shortcut-card {
    padding: 16px 15px;
    border-radius: 18px;
  }

  body.woocommerce-account .lmm-settings-shortcut-card {
    min-height: auto;
  }

  body.woocommerce-account .lmm-settings-shortcut-card__icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
}

/* === Settings profile compact interactive override === */
body.woocommerce-account .lmm-settings-shell--compact {
  display: grid;
  gap: 18px;
}

body.woocommerce-account .lmm-settings-profile-card--interactive {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 24px;
  border-radius: 28px;
}

body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__avatar {
  width: 92px;
  height: 92px;
}

body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__avatar img {
  width: 100%;
  height: 100%;
}

body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__main {
  display: grid;
  gap: 10px;
}

body.woocommerce-account .lmm-settings-profile-row {
  width: 100%;
  border: 1px solid #ece4d7;
  border-radius: 18px;
  background: #fff;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  text-align: left;
  text-decoration: none;
  color: #12284c;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.woocommerce-account button.lmm-settings-profile-row {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

body.woocommerce-account .lmm-settings-profile-row--editable:hover,
body.woocommerce-account .lmm-settings-profile-row--link:hover {
  border-color: #d9be8d;
  box-shadow: 0 10px 24px rgba(16, 34, 58, 0.06);
  transform: translateY(-1px);
}

body.woocommerce-account .lmm-settings-profile-row__left {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body.woocommerce-account .lmm-settings-profile-row__label {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f2344;
}

body.woocommerce-account .lmm-settings-profile-row__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

body.woocommerce-account .lmm-settings-profile-row__right {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

body.woocommerce-account .lmm-settings-profile-row__value {
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  color: #163766;
  text-align: right;
  overflow-wrap: anywhere;
}

body.woocommerce-account .lmm-settings-profile-row__arrow {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  background: #f4efe7;
  color: #a66d10;
  font-size: 18px;
  line-height: 1;
}

body.woocommerce-account .lmm-settings-profile-row--static {
  cursor: default;
}

body.woocommerce-account .lmm-settings-profile-row--static .lmm-settings-profile-row__arrow {
  display: none;
}

body.woocommerce-account .lmm-settings-shortcuts-grid {
  gap: 16px;
}

body.woocommerce-account .lmm-settings-shortcut-card {
  min-height: 148px;
  padding: 20px 22px;
  border-radius: 24px;
}

body.woocommerce-account .lmm-settings-shortcut-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

body.woocommerce-account .lmm-settings-shortcut-card p {
  font-size: 14px;
  line-height: 1.55;
  max-width: 32ch;
}

body.woocommerce-account .lmm-settings-shortcut-card__icon {
  width: 84px;
  height: 84px;
}

body.woocommerce-account .lmm-settings-shortcut-card__icon svg {
  width: 32px;
  height: 32px;
}

body.woocommerce-account .lmm-settings-modal[hidden] {
  display: none !important;
}

body.woocommerce-account .lmm-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

body.woocommerce-account .lmm-settings-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 32, 0.42);
  backdrop-filter: blur(3px);
}

body.woocommerce-account .lmm-settings-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 32px));
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 26px;
  border: 1px solid #eadfcd;
  box-shadow: 0 32px 90px rgba(8, 17, 30, 0.2);
  padding: 22px;
}

body.woocommerce-account .lmm-settings-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

body.woocommerce-account .lmm-settings-modal__header h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  color: #0f2344;
}

body.woocommerce-account .lmm-settings-modal__close,
body.woocommerce-account .lmm-settings-modal__secondary,
body.woocommerce-account .lmm-settings-modal__primary {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
}

body.woocommerce-account .lmm-settings-modal__close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #f7f3eb;
  color: #0f2344;
  font-size: 28px;
  line-height: 1;
}

body.woocommerce-account .lmm-settings-modal__form {
  display: grid;
  gap: 12px;
}

body.woocommerce-account .lmm-settings-modal__label {
  font-size: 13px;
  font-weight: 800;
  color: #0f2344;
}

body.woocommerce-account .lmm-settings-modal__input {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid #dfd2be;
  background: #fff;
  padding: 0 16px;
  font-size: 16px;
  color: #13294b;
}

body.woocommerce-account .lmm-settings-modal__input:focus {
  outline: none;
  border-color: #c9962d;
  box-shadow: 0 0 0 4px rgba(217, 190, 141, 0.24);
}

body.woocommerce-account .lmm-settings-modal__hint {
  margin: 0;
  font-size: 13px;
  color: #6d7482;
}

body.woocommerce-account .lmm-settings-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

body.woocommerce-account .lmm-settings-modal__secondary,
body.woocommerce-account .lmm-settings-modal__primary {
  min-width: 128px;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 800;
}

body.woocommerce-account .lmm-settings-modal__secondary {
  background: #f6f1e8;
  color: #243c63;
}

body.woocommerce-account .lmm-settings-modal__primary {
  background: linear-gradient(135deg, #e8b347, #cf8e16);
  color: #fff;
}

body.woocommerce-account .lmm-settings-modal__primary[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

body.woocommerce-account .lmm-settings-modal__feedback {
  min-height: 20px;
  font-size: 13px;
  font-weight: 700;
}

body.woocommerce-account .lmm-settings-modal__feedback.is-error {
  color: #d84f4f;
}

body.woocommerce-account .lmm-settings-modal__feedback.is-success {
  color: #11875d;
}

@media (max-width: 900px) {
  body.woocommerce-account .lmm-settings-profile-card--interactive {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    padding: 18px;
  }

  body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__main {
    width: 100%;
  }

  body.woocommerce-account .lmm-settings-profile-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.woocommerce-account .lmm-settings-profile-row__right {
    justify-content: space-between;
  }

  body.woocommerce-account .lmm-settings-profile-row__value {
    text-align: left;
  }
}

/* =========================================================
   SETTINGS PROFILE CARD + MODALS (TARGET LAYOUT)
========================================================= */
body.woocommerce-account .lmm-settings-shell--compact {
  gap: 18px;
}

body.woocommerce-account .lmm-settings-profile-card--interactive {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px 30px;
  border-radius: 30px;
  border: 1px solid #e6dac8;
  background: #fffdfa;
  box-shadow: 0 8px 24px rgba(31, 21, 11, 0.04);
}

body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__avatar {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  overflow: hidden;
  background: #d8edf8;
  border: 1px solid #dbe7ef;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__main {
  display: grid;
  gap: 2px;
}

body.woocommerce-account .lmm-settings-profile-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 12px 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  color: #18243f;
}

body.woocommerce-account .lmm-settings-profile-row--editable,
body.woocommerce-account .lmm-settings-profile-row--link {
  cursor: pointer;
}

body.woocommerce-account .lmm-settings-profile-row--editable:hover,
body.woocommerce-account .lmm-settings-profile-row--link:hover {
  background: rgba(246, 239, 228, 0.72);
  border-radius: 16px;
  text-decoration: none;
}

body.woocommerce-account .lmm-settings-profile-row__left,
body.woocommerce-account .lmm-settings-profile-row__right {
  min-width: 0;
  display: flex;
  align-items: center;
}

body.woocommerce-account .lmm-settings-profile-row__left {
  gap: 12px;
  flex-wrap: wrap;
}

body.woocommerce-account .lmm-settings-profile-row__right {
  justify-content: flex-end;
  gap: 10px;
}

body.woocommerce-account .lmm-settings-profile-row__label {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
  color: #152545;
}

body.woocommerce-account .lmm-settings-profile-row__value {
  font-size: 25px;
  line-height: 1.16;
  font-weight: 700;
  color: #173f75;
  text-align: right;
  word-break: break-word;
}

body.woocommerce-account .lmm-settings-profile-row__meta {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.woocommerce-account .lmm-settings-profile-row__meta.is-connected {
  color: #0c9467;
}

body.woocommerce-account .lmm-settings-profile-row__meta.is-missing {
  color: #ef514f;
}

body.woocommerce-account .lmm-settings-status-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.04);
}

body.woocommerce-account .lmm-settings-profile-row__arrow {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #5d6068;
  font-size: 34px;
  line-height: 1;
  flex: 0 0 auto;
}

body.woocommerce-account .lmm-settings-shortcuts-grid {
  margin-top: 14px;
}

body.woocommerce-account .lmm-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

body.woocommerce-account .lmm-settings-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 26, 33, 0.38);
  backdrop-filter: blur(3px);
}

body.woocommerce-account .lmm-settings-modal__dialog {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 44px);
  overflow: auto;
  margin: 22px auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 20px 56px rgba(18, 22, 30, 0.20);
}

body.woocommerce-account .lmm-settings-modal__dialog--username {
  width: min(520px, calc(100vw - 32px));
}

body.woocommerce-account .lmm-settings-modal__dialog--email {
  width: min(710px, calc(100vw - 32px));
}

body.woocommerce-account .lmm-settings-modal__content {
  padding: 34px 34px 30px;
}

body.woocommerce-account .lmm-settings-modal__close--corner {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f1;
  color: #5f6874;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

body.woocommerce-account .lmm-settings-modal__title {
  margin: 0 0 10px;
  color: #07111f;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 800;
}

body.woocommerce-account .lmm-settings-modal__title--xl {
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -0.03em;
  max-width: 520px;
}

body.woocommerce-account .lmm-settings-modal__description {
  margin: 0 0 20px;
  color: #60718a;
  font-size: 16px;
  line-height: 1.45;
  max-width: 470px;
}

body.woocommerce-account .lmm-settings-modal__description--xl {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.45;
  max-width: 620px;
  margin-bottom: 24px;
}

body.woocommerce-account .lmm-settings-modal__label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #304a68;
}

body.woocommerce-account .lmm-settings-modal__input,
body.woocommerce-account .lmm-settings-email-field {
  border-radius: 16px !important;
  border: 2px solid #2d6a3e !important;
  background: #fff !important;
}

body.woocommerce-account .lmm-settings-modal__input {
  min-height: 54px !important;
  font-size: 17px !important;
  padding: 14px 16px !important;
}

body.woocommerce-account .lmm-settings-modal__hint {
  margin: 12px 0 0;
  color: #697b93;
  font-size: 14px;
}

body.woocommerce-account .lmm-settings-modal__feedback {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
}
body.woocommerce-account .lmm-settings-modal__feedback.is-success { color: #078d61; }
body.woocommerce-account .lmm-settings-modal__feedback.is-error { color: #dc4949; }
body.woocommerce-account .lmm-settings-modal__feedback.is-info { color: #54667f; }

body.woocommerce-account .lmm-settings-modal__actions--simple {
  margin-top: 28px;
}

body.woocommerce-account .lmm-settings-modal__primary {
  min-height: 52px;
  min-width: 180px;
}

body.woocommerce-account .lmm-settings-modal__primary--wide {
  width: 100%;
  min-height: 60px;
  border-radius: 999px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

body.woocommerce-account .lmm-settings-email-field {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

body.woocommerce-account .lmm-settings-email-field__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #1f6033;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.woocommerce-account .lmm-settings-email-field__icon svg { width: 20px; height: 20px; }

body.woocommerce-account .lmm-settings-email-field__label {
  grid-column: 2 / 3;
  display: block;
  margin: 0;
  color: #566884;
  font-size: 13px;
  font-weight: 700;
}

body.woocommerce-account .lmm-settings-email-field__input {
  grid-column: 2 / 3;
  margin-top: 1px;
  border: 0 !important;
  min-height: 30px !important;
  padding: 0 !important;
  box-shadow: none !important;
  font-size: clamp(15px, 2vw, 18px) !important;
  line-height: 1.2;
  font-weight: 700;
  color: #0a1320;
  background: transparent !important;
}

body.woocommerce-account .lmm-settings-email-field__clear {
  grid-column: 3 / 4;
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #6c7688;
  font-size: 26px;
  cursor: pointer;
}

body.woocommerce-account .lmm-settings-email-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}
body.woocommerce-account .lmm-settings-email-notice.is-success {
  color: #07916e;
  background: #edf7f3;
}
body.woocommerce-account .lmm-settings-email-notice__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: currentColor;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}

body.woocommerce-account .lmm-settings-email-security {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #64758e;
  font-size: 12px;
}
body.woocommerce-account .lmm-settings-email-security svg { width: 18px; height: 18px; }

body.woocommerce-account .lmm-settings-email-code {
  margin-top: 16px;
}

body.woocommerce-account .lmm-settings-modal__actions--email {
  margin-top: 22px;
}

@media (max-width: 980px) {
  body.woocommerce-account .lmm-settings-profile-card--interactive {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }

  body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__main {
    width: 100%;
  }

  body.woocommerce-account .lmm-settings-profile-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.woocommerce-account .lmm-settings-profile-row__right {
    justify-content: space-between;
  }

  body.woocommerce-account .lmm-settings-profile-row__value {
    text-align: left;
  }

  body.woocommerce-account .lmm-settings-modal__dialog {
    width: min(92vw, 92vw);
    max-height: calc(100vh - 24px);
    margin: 12px auto;
    border-radius: 22px;
  }

  body.woocommerce-account .lmm-settings-modal__content {
    padding: 22px 18px 20px;
  }

  body.woocommerce-account .lmm-settings-modal__close--corner {
    width: 46px;
    height: 46px;
    font-size: 28px;
    top: 12px;
    right: 12px;
  }

  body.woocommerce-account .lmm-settings-modal__title--xl {
    font-size: 24px;
    max-width: 320px;
  }

  body.woocommerce-account .lmm-settings-modal__description--xl {
    font-size: 15px;
  }

  body.woocommerce-account .lmm-settings-email-field__input {
    font-size: 16px !important;
  }
}


/* =========================================================
   SETTINGS PROFILE CARD COMPACT TUNE
========================================================= */
body.woocommerce-account .lmm-settings-profile-card--interactive {
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 22px;
  border-radius: 24px;
}

body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__avatar {
  width: 112px;
  height: 112px;
}

body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__main {
  gap: 0;
}

body.woocommerce-account .lmm-settings-profile-row {
  grid-template-columns: minmax(138px, 180px) minmax(0, 1fr);
  gap: 14px;
  padding: 8px 6px;
}

body.woocommerce-account .lmm-settings-profile-row--editable:hover,
body.woocommerce-account .lmm-settings-profile-row--link:hover {
  border-radius: 12px;
}

body.woocommerce-account .lmm-settings-profile-row__left {
  gap: 9px;
}

body.woocommerce-account .lmm-settings-profile-row__right {
  gap: 8px;
}

body.woocommerce-account .lmm-settings-profile-row__label {
  font-size: 17px;
  line-height: 1.18;
  font-weight: 700;
}

body.woocommerce-account .lmm-settings-profile-row__value {
  font-size: 15px;
  line-height: 1.24;
  font-weight: 700;
  max-width: 360px;
  text-align: right;
}

body.woocommerce-account .lmm-settings-profile-row__value.is-empty {
  min-height: 1em;
  opacity: 0;
  pointer-events: none;
}

body.woocommerce-account .lmm-settings-profile-row__meta {
  font-size: 14px;
  line-height: 1.2;
  gap: 8px;
}

body.woocommerce-account .lmm-settings-status-dot {
  width: 10px;
  height: 10px;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

body.woocommerce-account .lmm-settings-profile-row__arrow {
  width: 24px;
  height: 24px;
  font-size: 26px;
}

body.woocommerce-account .lmm-settings-modal__dialog--username {
  width: min(560px, calc(100vw - 28px));
}

body.woocommerce-account .lmm-settings-modal__content--simple {
  padding: 34px 34px 30px;
}

body.woocommerce-account .lmm-settings-modal__dialog--username .lmm-settings-modal__title {
  font-size: 30px;
  margin-bottom: 10px;
}

body.woocommerce-account .lmm-settings-modal__dialog--username .lmm-settings-modal__description {
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 20px;
}

body.woocommerce-account .lmm-settings-modal__dialog--username .lmm-settings-modal__input {
  min-height: 56px !important;
  font-size: 18px !important;
  padding: 14px 18px !important;
}

body.woocommerce-account .lmm-settings-modal__dialog--username .lmm-settings-modal__primary {
  min-height: 50px;
  min-width: 190px;
}

@media (max-width: 900px) {
  body.woocommerce-account .lmm-settings-profile-card--interactive {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  body.woocommerce-account .lmm-settings-profile-card--interactive .lmm-settings-profile-card__avatar {
    width: 92px;
    height: 92px;
  }

  body.woocommerce-account .lmm-settings-profile-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 8px 0;
  }

  body.woocommerce-account .lmm-settings-profile-row__right {
    justify-content: space-between;
  }

  body.woocommerce-account .lmm-settings-profile-row__label {
    font-size: 16px;
  }

  body.woocommerce-account .lmm-settings-profile-row__value {
    font-size: 14px;
    max-width: none;
    text-align: left;
  }

  body.woocommerce-account .lmm-settings-profile-row__meta {
    font-size: 13px;
  }
}


/* Final compact override for email modal */
body.woocommerce-account .lmm-settings-modal__dialog--email{max-width:710px!important;width:min(710px,calc(100vw - 32px))!important;}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__content{padding:34px 34px 30px!important;}
@media (max-width: 767px){body.woocommerce-account .lmm-settings-modal__dialog--email{width:calc(100vw - 20px)!important;max-width:none!important;}}


/* Pixel-perfect compact email modal override */
body.woocommerce-account .lmm-settings-modal__dialog--email{
  width:min(620px, calc(100vw - 40px)) !important;
  max-width:620px !important;
  max-height:calc(100vh - 48px) !important;
  margin:24px auto !important;
  border-radius:24px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__content{
  padding:32px 32px 30px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__close--corner{
  top:20px !important;
  right:20px !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#6b7280 !important;
  font-size:28px !important;
  line-height:1 !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__close--corner:hover{
  background:transparent !important;
  color:#111827 !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__title--xl{
  font-size:56px !important;
  line-height:0.96 !important;
  letter-spacing:-0.045em !important;
  max-width:360px !important;
  margin:0 0 16px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__description--xl{
  font-size:20px !important;
  line-height:1.28 !important;
  color:#64748b !important;
  max-width:560px !important;
  margin:0 0 22px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field{
  grid-template-columns:44px minmax(0,1fr) !important;
  gap:10px 12px !important;
  padding:14px 18px !important;
  border-radius:18px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field__icon{
  width:34px !important;
  height:34px !important;
  border-radius:10px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field__label{
  font-size:12px !important;
  line-height:1.1 !important;
  color:#5b6b85 !important;
  margin-bottom:1px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field__input{
  font-size:19px !important;
  line-height:1.1 !important;
  font-weight:700 !important;
  min-height:24px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-notice{
  margin-top:16px !important;
  padding:12px 14px !important;
  border-radius:10px !important;
  font-size:12px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-notice__icon{
  width:22px !important;
  height:22px !important;
  font-size:14px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-security{
  margin-top:16px !important;
  font-size:12px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-code{
  margin-top:16px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__input{
  min-height:48px !important;
  padding:12px 14px !important;
  font-size:15px !important;
  border-radius:14px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__actions--email{
  margin-top:22px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__primary--wide{
  min-height:56px !important;
  font-size:15px !important;
  border-radius:999px !important;
}
body.woocommerce-account .lmm-settings-email-field__clear{display:none !important;}

@media (max-width: 767px){
  body.woocommerce-account .lmm-settings-modal__dialog--email{
    width:calc(100vw - 20px) !important;
    max-width:none !important;
    margin:10px auto !important;
    border-radius:20px !important;
  }
  body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__content{
    padding:24px 20px 22px !important;
  }
  body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__title--xl{
    font-size:34px !important;
    max-width:230px !important;
    margin-bottom:12px !important;
  }
  body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__description--xl{
    font-size:15px !important;
    line-height:1.35 !important;
    margin-bottom:18px !important;
  }
  body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field{
    grid-template-columns:38px minmax(0,1fr) !important;
    padding:12px 14px !important;
  }
  body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field__icon{
    width:30px !important;
    height:30px !important;
  }
  body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field__input{
    font-size:16px !important;
  }
  body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__primary--wide{
    min-height:52px !important;
  }
}

/* Ultra-compact final override for email modal */
body.woocommerce-account .lmm-settings-modal__dialog--email{
  width:min(500px, calc(100vw - 32px)) !important;
  max-width:500px !important;
  max-height:none !important;
  margin:16px auto !important;
  border-radius:18px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__content{
  padding:22px 22px 20px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__close--corner{
  top:18px !important;
  right:18px !important;
  font-size:18px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__title--xl{
  font-size:24px !important;
  line-height:1.05 !important;
  letter-spacing:-0.03em !important;
  max-width:290px !important;
  margin:0 0 10px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__description--xl{
  font-size:13px !important;
  line-height:1.4 !important;
  max-width:400px !important;
  margin:0 0 14px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field{
  grid-template-columns:34px minmax(0,1fr) !important;
  gap:8px 10px !important;
  padding:11px 12px !important;
  border-radius:14px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field__icon{
  width:28px !important;
  height:28px !important;
  border-radius:8px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field__label{
  font-size:11px !important;
  margin-bottom:1px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-field__input{
  font-size:14px !important;
  line-height:1.15 !important;
  min-height:20px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-notice{
  margin-top:12px !important;
  padding:9px 10px !important;
  border-radius:9px !important;
  font-size:12px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-notice__icon{
  width:18px !important;
  height:18px !important;
  font-size:11px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-security{
  margin-top:12px !important;
  font-size:12px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__actions--email{
  margin-top:16px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__primary--wide{
  min-height:44px !important;
  height:44px !important;
  font-size:14px !important;
  border-radius:999px !important;
}
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__feedback,
body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-email-code{
  margin-top:12px !important;
}
@media (max-width: 767px){
  body.woocommerce-account .lmm-settings-modal__dialog--email{
    width:calc(100vw - 16px) !important;
    max-width:none !important;
    margin:8px auto !important;
    border-radius:16px !important;
  }
  body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__content{
    padding:18px 16px 16px !important;
  }
  body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__title--xl{
    font-size:22px !important;
    max-width:240px !important;
  }
  body.woocommerce-account .lmm-settings-modal__dialog--email .lmm-settings-modal__description--xl{
    font-size:13px !important;
    margin-bottom:12px !important;
  }
}


/* ===== TropiRewards ===== */
.lmm-tr-page{display:grid;gap:28px;margin-top:8px}
.lmm-tr-hero{position:relative;display:flex;justify-content:space-between;align-items:center;padding:28px 32px;border-radius:24px;color:#fff;overflow:hidden}
.lmm-tr-hero--bronze{background:linear-gradient(135deg,#b98046,#8f5b2a)}
.lmm-tr-hero--silver{background:linear-gradient(135deg,#9aa4be,#6e7894)}
.lmm-tr-hero--gold{background:linear-gradient(135deg,#be8600,#9f7000)}
.lmm-tr-hero__eyebrow{font-size:15px;font-weight:700;opacity:.92;margin-bottom:6px}
.lmm-tr-hero__title{margin:0;font-size:56px;line-height:.95;font-weight:800;letter-spacing:-.04em;color:#fff}
.lmm-tr-hero__meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px;font-size:22px;font-weight:600}
.lmm-tr-hero__badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#d8f0ff;color:#1d6175;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.lmm-tr-hero__coin{width:76px;height:76px;border-radius:999px;background:rgba(255,240,168,.95);display:grid;place-items:center;font-size:34px;color:#9f7000;box-shadow:0 0 0 10px rgba(255,229,107,.17)}
.lmm-tr-section{display:grid;gap:14px}
.lmm-tr-section__title{margin:0;font-size:20px;font-weight:800;color:#0d1b2a}
.lmm-tr-section__sub{font-size:13px;color:#7b8494}
.lmm-tr-progress{display:grid;gap:12px}
.lmm-tr-progress__bar{position:relative;height:30px;border-radius:999px;background:#ede8d5;overflow:visible;margin-top:8px}
.lmm-tr-progress__fill{position:absolute;top:0;left:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,#f3d000,#d0a300)}
.lmm-tr-progress__marker{position:absolute;top:50%;transform:translate(-50%,-50%);font-size:14px;font-weight:800;color:#111;z-index:2;white-space:nowrap}
.lmm-tr-progress__marker.is-start{transform:translate(0,-50%)}
.lmm-tr-progress__marker.is-end{transform:translate(-100%,-50%)}
.lmm-tr-progress__dot{position:absolute;top:50%;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:999px;background:#ffd500;color:#111;font-weight:800;font-size:14px;display:grid;place-items:center;z-index:3;box-shadow:0 4px 12px rgba(0,0,0,.12);padding:0 8px;min-width:max-content}
.lmm-tr-progress__labels{display:grid;grid-template-columns:1fr 1fr 1fr;font-size:13px;color:#7e8797}
.lmm-tr-progress__labels span:nth-child(2){text-align:center}
.lmm-tr-progress__labels span:nth-child(3){text-align:right;color:#b07a00}
.lmm-tr-progress__note{margin:0;color:#6d7582;font-size:14px}
.lmm-tr-benefits-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lmm-tr-tier{border:1px solid #e7ebf2;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(12,30,61,.04)}
.lmm-tr-tier__head{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 20px 14px;gap:12px}
.lmm-tr-tier--bronze .lmm-tr-tier__head{background:#f2e6cc}
.lmm-tr-tier--silver .lmm-tr-tier__head{background:#e8ebfa}
.lmm-tr-tier--gold .lmm-tr-tier__head{background:#f5e7a2}
.lmm-tr-tier__head h4{margin:0 0 4px;font-size:19px;font-weight:700;color:#7b5618}
.lmm-tr-tier--silver .lmm-tr-tier__head h4{color:#6473a6}
.lmm-tr-tier--gold .lmm-tr-tier__head h4{color:#a17300}
.lmm-tr-tier__head p{margin:0;font-size:13px;color:#7d7463}
.lmm-tr-tier__check{width:28px;height:28px;border-radius:999px;background:#b68500;color:#fff;display:grid;place-items:center;font-size:16px;font-weight:800;flex:0 0 auto}
.lmm-tr-tier__list{list-style:none;margin:0;padding:18px 20px 20px;display:grid;gap:16px}
.lmm-tr-tier__list li{position:relative;padding-left:36px;font-size:15px;line-height:1.45;color:#273346}
.lmm-tr-tier__list li:before{content:'◉';position:absolute;left:0;top:0;width:24px;height:24px;border-radius:999px;background:#fbf4de;color:#b68500;display:grid;place-items:center;font-size:10px;line-height:24px;text-align:center}
.lmm-tr-link{font-weight:700;color:#2272ff;text-decoration:none}
.lmm-tr-link:hover{text-decoration:underline}
@media (max-width: 991px){.lmm-tr-hero{padding:24px}.lmm-tr-hero__title{font-size:42px}.lmm-tr-hero__meta{font-size:18px}.lmm-tr-benefits-grid{grid-template-columns:1fr}.lmm-tr-progress__labels{grid-template-columns:1fr;gap:6px}.lmm-tr-progress__labels span,.lmm-tr-progress__labels span:nth-child(2),.lmm-tr-progress__labels span:nth-child(3){text-align:left}}
@media (max-width: 640px){.lmm-tr-hero{padding:20px;align-items:flex-start}.lmm-tr-hero__coin{width:54px;height:54px;font-size:24px;box-shadow:none}.lmm-tr-hero__title{font-size:34px}.lmm-tr-hero__meta{font-size:14px}.lmm-tr-progress__bar{height:24px}.lmm-tr-progress__marker{font-size:11px}.lmm-tr-progress__dot{width:28px;height:28px;font-size:11px;padding:0 6px}}

.lmm-tp-page{display:grid;gap:24px;margin-top:8px}
.lmm-tp-banner{display:flex;align-items:center;gap:16px;padding:18px 22px;border-radius:22px;background:linear-gradient(135deg,#0a8f77,#0b6f5d);color:#fff}
.lmm-tp-banner__icon{width:48px;height:48px;border-radius:999px;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:22px;font-weight:800;flex:0 0 auto}
.lmm-tp-banner__copy{display:grid;gap:4px}
.lmm-tp-banner__copy strong{font-size:20px;line-height:1.2;color:#fff}
.lmm-tp-banner__copy span{font-size:14px;opacity:.9}
.lmm-tp-card{padding:28px;border:1px solid #e7ebf2;border-radius:28px;background:#fff;box-shadow:0 8px 24px rgba(12,30,61,.05);display:grid;gap:20px}
.lmm-tp-card__eyebrow{font-size:14px;font-weight:800;color:#0d1b2a}
.lmm-tp-balance{text-align:center;display:grid;gap:8px}
.lmm-tp-balance__title{font-size:18px;font-weight:800;color:#0b7f66}
.lmm-tp-balance__value{font-size:68px;line-height:.9;font-weight:800;color:#0a8f77}
.lmm-tp-balance__money{font-size:15px;color:#667085}
.lmm-tp-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;padding:18px 0}
.lmm-tp-stat{text-align:center;padding:8px 16px}
.lmm-tp-stat + .lmm-tp-stat{border-left:1px solid #edf1f6}
.lmm-tp-stat__label{font-size:15px;color:#556274}
.lmm-tp-stat__value{font-size:34px;font-weight:800;color:#0a8f77;margin-top:6px}
.lmm-tp-stat__money{font-size:14px;color:#6c7482;margin-top:4px}
.lmm-tp-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.lmm-tp-breakdown__item{padding:16px 18px;border-radius:18px;background:#f8fbfd;border:1px solid #eef3f8;display:flex;justify-content:space-between;align-items:center;gap:16px}
.lmm-tp-breakdown__item span{font-size:14px;color:#5b6677}
.lmm-tp-breakdown__item strong{font-size:20px;color:#0d1b2a}
.lmm-tp-section{display:grid;gap:14px}
.lmm-tp-section__head{display:grid;gap:4px}
.lmm-tp-section__head h3{margin:0;font-size:22px;font-weight:800;color:#0d1b2a}
.lmm-tp-section__head p{margin:0;color:#6d7582;font-size:14px}
.lmm-tp-history{border:1px solid #e7ebf2;border-radius:24px;background:#fff;overflow:hidden}
.lmm-tp-history__row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;border-bottom:1px solid #eef2f6}
.lmm-tp-history__row:last-child{border-bottom:none}
.lmm-tp-history__row strong{display:block;font-size:15px;color:#0d1b2a}
.lmm-tp-history__row span{display:block;font-size:13px;color:#7c8798;margin-top:3px}
.lmm-tp-history__meta{text-align:right;display:grid;gap:6px}
.lmm-tp-history__meta em{font-style:normal;font-size:12px;font-weight:800;padding:6px 10px;border-radius:999px}
.lmm-tp-history__meta em.is-available{background:#e8faf4;color:#0c8c63}
.lmm-tp-history__meta em.is-pending{background:#fff4db;color:#a26a00}
.lmm-tp-history__meta strong{font-size:18px;color:#0d1b2a}
.lmm-tp-empty{padding:20px;color:#738094;font-size:14px}
.lmm-tp-rules{display:grid;gap:12px}
.lmm-tp-rule{padding:16px 18px;border-radius:18px;background:#fff;border:1px solid #e7ebf2;color:#304055;font-size:14px;line-height:1.55}
@media (max-width: 767px){.lmm-tp-banner{padding:16px;align-items:flex-start}.lmm-tp-banner__copy strong{font-size:17px}.lmm-tp-card{padding:20px}.lmm-tp-balance__value{font-size:52px}.lmm-tp-stats,.lmm-tp-breakdown{grid-template-columns:1fr}.lmm-tp-stat + .lmm-tp-stat{border-left:none;border-top:1px solid #edf1f6;padding-top:18px;margin-top:10px}.lmm-tp-history__row{flex-direction:column;align-items:flex-start}.lmm-tp-history__meta{text-align:left}}

/* Referidos */
.lmm-ref-page{display:grid;gap:24px;margin-top:8px}
.lmm-ref-hero{position:relative;overflow:hidden;border-radius:28px;min-height:280px;background:linear-gradient(135deg,rgba(10,88,51,.95),rgba(17,108,62,.92)),radial-gradient(circle at 18% 70%,rgba(255,225,0,.12),transparent 30%),linear-gradient(180deg,#28583d 0%,#163724 100%)}
.lmm-ref-hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,52,30,.58),rgba(10,52,30,.12))}
.lmm-ref-hero__content{position:relative;z-index:1;padding:34px 34px 30px;max-width:720px}
.lmm-ref-hero__title{font-size:88px;line-height:.9;font-weight:900;letter-spacing:-.05em;color:#f2f200;margin:0 0 10px}
.lmm-ref-hero__subtitle{font-size:34px;line-height:1.05;font-weight:700;color:#fff;max-width:420px}
.lmm-ref-hero__bubbles{position:absolute;right:30px;top:26px;display:grid;gap:12px;justify-items:end}
.lmm-ref-hero__bubbles span{display:inline-flex;align-items:center;justify-content:center;min-width:130px;height:74px;padding:0 22px;background:#f2f200;color:#102213;border-radius:999px;font-size:34px;font-weight:900;box-shadow:0 12px 30px rgba(0,0,0,.16);transform:rotate(-12deg)}
.lmm-ref-hero__bubbles span:nth-child(2){transform:rotate(10deg);margin-right:92px}.lmm-ref-hero__bubbles span:nth-child(3){transform:rotate(-10deg);margin-right:18px}
.lmm-ref-summary{display:grid;gap:18px}
.lmm-ref-summary__row{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #e7ebf2;font-size:17px;color:#5b6778}.lmm-ref-summary__row strong{font-size:24px;color:#c41212}
.lmm-ref-actions{display:flex;align-items:center;gap:14px;justify-content:center}
.lmm-ref-share-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:360px;height:56px;border:none;border-radius:999px;background:linear-gradient(135deg,#3ec95c,#27b24c);color:#fff;font-size:18px;font-weight:800;box-shadow:0 10px 24px rgba(39,178,76,.18);cursor:pointer}
.lmm-ref-copy-btn{width:56px;height:56px;border:none;border-radius:50%;background:#f2f3f6;color:#1f2a37;font-size:24px;font-weight:800;cursor:pointer}
.lmm-ref-feedback{min-height:20px;text-align:center;font-size:14px;font-weight:700;color:#607086}.lmm-ref-feedback.is-success{color:#0c8c63}.lmm-ref-feedback.is-error{color:#c63d3d}
.lmm-ref-benefits{display:grid;gap:18px}
.lmm-ref-benefit{display:grid;grid-template-columns:58px 1fr;gap:16px;align-items:flex-start}.lmm-ref-benefit__icon{width:58px;height:58px;border-radius:50%;background:#e6f7fb;color:#2d6b9c;display:grid;place-items:center;font-size:24px;font-weight:800}.lmm-ref-benefit h3{margin:0 0 4px;font-size:18px;font-weight:800;color:#0d1b2a}.lmm-ref-benefit p{margin:0;font-size:15px;color:#617084;line-height:1.5}
.lmm-ref-section{display:grid;gap:14px}.lmm-ref-section h2{margin:0;font-size:22px;font-weight:800;color:#0d1b2a}
.lmm-ref-list{border-top:1px solid #e7ebf2;padding-top:6px}.lmm-ref-list__row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #eef2f6}.lmm-ref-list__row strong{display:block;font-size:16px;color:#0d1b2a}.lmm-ref-list__row span{display:block;font-size:13px;color:#7c8798;margin-top:3px}.lmm-ref-list__meta{text-align:right;display:grid;gap:6px}.lmm-ref-list__meta em{font-style:normal;font-size:12px;font-weight:800;padding:6px 10px;border-radius:999px}.lmm-ref-list__meta em.is-completed{background:#e8faf4;color:#0c8c63}.lmm-ref-list__meta em.is-pending{background:#fff4db;color:#a26a00}.lmm-ref-list__meta strong{font-size:16px;color:#0d1b2a}
.lmm-ref-empty{display:grid;justify-items:center;gap:12px;padding:28px 18px;border-top:1px solid #eef2f6}.lmm-ref-empty__icon{width:72px;height:72px;border-radius:50%;border:4px solid #6d7f96;color:#6d7f96;display:grid;place-items:center;font-size:28px}.lmm-ref-empty p{margin:0;font-size:16px;color:#637189}
.lmm-ref-terms{border-top:1px solid #e7ebf2;padding-top:14px}.lmm-ref-terms ol{margin:0;padding-left:20px;display:grid;gap:8px}.lmm-ref-terms li{color:#617084;font-size:14px;line-height:1.55}
@media (max-width: 900px){.lmm-ref-hero{min-height:240px}.lmm-ref-hero__content{padding:26px}.lmm-ref-hero__title{font-size:64px}.lmm-ref-hero__subtitle{font-size:28px;max-width:340px}.lmm-ref-hero__bubbles{right:18px;top:18px}.lmm-ref-hero__bubbles span{min-width:108px;height:60px;font-size:28px}}
@media (max-width: 700px){.lmm-ref-hero{min-height:220px}.lmm-ref-hero__title{font-size:54px}.lmm-ref-hero__subtitle{font-size:22px;max-width:280px}.lmm-ref-hero__bubbles{display:none}.lmm-ref-summary__row{font-size:15px}.lmm-ref-summary__row strong{font-size:20px}.lmm-ref-actions{flex-wrap:wrap}.lmm-ref-share-btn{min-width:0;width:100%}.lmm-ref-list__row{flex-direction:column;align-items:flex-start}.lmm-ref-list__meta{text-align:left}}




.lmm-cp-page{max-width:1120px;margin:0 auto}
.lmm-cp-header h2{font-size:clamp(24px,2.6vw,34px);line-height:1.05;margin:0 0 18px;color:#07101f}
.lmm-cp-tabs{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:24px}
.lmm-cp-tab{display:inline-flex;align-items:center;justify-content:center;min-width:138px;padding:14px 22px;border-radius:999px;background:#e8edf8;color:#b47500;text-decoration:none;font-weight:700;font-size:16px;transition:all .2s ease}
.lmm-cp-tab.is-active{background:#146b33;color:#d69010}
.lmm-cp-redeem{text-align:center;margin:8px 0 22px}
.lmm-cp-redeem__form{display:flex;flex-direction:column;align-items:center;gap:18px}
.lmm-cp-redeem__input{width:min(100%,1120px);height:76px;border:2px solid #e3c79a;border-radius:24px;padding:0 24px;font-size:18px;font-weight:600;color:#5b667a;background:#fff;outline:none;box-shadow:none}
.lmm-cp-redeem__input::placeholder{color:#7a7f8e}
.lmm-cp-redeem__input:focus{border-color:#d7ad61}
.lmm-cp-redeem__button{min-width:280px;height:72px;border:none;border-radius:999px;background:#dfe5f5;color:#6f7b94;font-size:22px;font-weight:700;cursor:pointer;transition:all .2s ease}
.lmm-cp-redeem__button[disabled]{opacity:1;cursor:not-allowed;background:#dfe5f5;color:#7a859b}
.lmm-cp-redeem__button:not([disabled]){background:#146b33;color:#fff;box-shadow:0 12px 28px rgba(20,107,51,.18)}
.lmm-cp-redeem__button:not([disabled]):hover{transform:translateY(-1px);background:#115a2b}
.lmm-cp-redeem__help{margin:18px auto 0;max-width:980px;color:#6b625b;font-size:18px;line-height:1.55}
.lmm-cp-list{margin-top:22px;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,340px));gap:16px;justify-content:flex-start}
.lmm-cp-card{position:relative;overflow:hidden;border-radius:20px;background:linear-gradient(135deg,#f4a14a 0%,#f36a3e 100%);color:#fff;min-height:164px;box-shadow:0 10px 24px rgba(243,106,62,.16)}
.lmm-cp-card::before,.lmm-cp-card::after{content:"";position:absolute;top:50%;width:18px;height:18px;background:#fff;border-radius:50%;transform:translateY(-50%)}
.lmm-cp-card::before{left:-9px}
.lmm-cp-card::after{right:-9px}
.lmm-cp-card__main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 24px 14px}
.lmm-cp-card__title{font-size:18px;line-height:1.25;font-weight:700;max-width:68%}
.lmm-cp-card__amount{font-size:42px;line-height:.92;font-weight:800;white-space:nowrap}
.lmm-cp-card__meta{position:relative;padding:14px 24px 18px;font-size:13px;line-height:1.45;color:#fff}
.lmm-cp-card__meta::before{content:"";position:absolute;top:0;left:16px;right:16px;border-top:3px dashed rgba(255,255,255,.92)}
.lmm-cp-card__meta strong{display:block;margin-top:4px;font-size:13px;font-weight:800;color:#111}
.lmm-cp-card.is-used{background:linear-gradient(135deg,#8d98b0 0%,#69748d 100%);box-shadow:0 10px 24px rgba(105,116,141,.14)}
.lmm-cp-card.is-expired{background:linear-gradient(135deg,#c7ccd8 0%,#9da7b9 100%);box-shadow:0 10px 24px rgba(157,167,185,.14)}
.lmm-cp-empty{padding:32px 24px;border:1px solid #e7eaf0;border-radius:22px;background:#fff;color:#5f6b81;font-size:17px;text-align:center}
@media (max-width:767px){
.lmm-cp-header h2{font-size:34px;margin-bottom:16px}
.lmm-cp-tabs{gap:10px;margin-bottom:18px}
.lmm-cp-tab{min-width:0;padding:11px 18px;font-size:15px}
.lmm-cp-redeem__input{height:60px;font-size:17px;border-radius:18px}
.lmm-cp-redeem__button{min-width:220px;height:58px;font-size:18px}
.lmm-cp-redeem__help{font-size:16px}
.lmm-cp-list{grid-template-columns:1fr;gap:14px}
.lmm-cp-card{min-height:150px}
.lmm-cp-card__main{padding:16px 18px 12px}
.lmm-cp-card__title{font-size:16px;max-width:64%}
.lmm-cp-card__amount{font-size:36px}
.lmm-cp-card__meta{padding:12px 18px 16px;font-size:13px}
}
