body.woocommerce-account:not(.logged-in) {
  --lmm-bg: #f7f4ee;
  --lmm-surface: #ffffff;
  --lmm-text: #171717;
  --lmm-muted: #667085;
  --lmm-border: #e8e1d7;
  --lmm-accent: #ddb04a;
  --lmm-accent-soft: #f2e2b9;
  --lmm-dark: #0f172a;
  --lmm-shadow-lg: 0 22px 54px rgba(17, 24, 39, 0.08);
  --lmm-shadow-md: 0 14px 30px rgba(17, 24, 39, 0.06);
  --lmm-shadow-sm: 0 8px 18px rgba(17, 24, 39, 0.05);
  background: linear-gradient(180deg, #fbf9f5 0%, #f4efe8 100%);
}

body.woocommerce-account:not(.logged-in) .entry-title,
body.woocommerce-account:not(.logged-in) h1.entry-title,
body.woocommerce-account:not(.logged-in) .woocommerce-breadcrumb {
  display: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 24px 18px 64px !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper {
  max-width: 1040px;
  margin: 0 auto 16px;
}

body.woocommerce-account:not(.logged-in) .woocommerce-error,
body.woocommerce-account:not(.logged-in) .woocommerce-info,
body.woocommerce-account:not(.logged-in) .woocommerce-message {
  border: 1px solid var(--lmm-border) !important;
  border-radius: 16px !important;
  padding: 14px 16px 14px 42px !important;
  background: #fff !important;
  box-shadow: var(--lmm-shadow-sm) !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-error {
  border-left: 4px solid #dc2626 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-message {
  border-left: 4px solid #16a34a !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-info {
  border-left: 4px solid #2563eb !important;
}

/* WRAP */
body.woocommerce-account:not(.logged-in) .lmm-auth-wrap {
  width: 100% !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-layout {
  max-width: 1040px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-left,
body.woocommerce-account:not(.logged-in) .lmm-auth-right {
  min-width: 0 !important;
  width: 100% !important;
}

/* COLUMNA IZQUIERDA */
body.woocommerce-account:not(.logged-in) .lmm-auth-left {
  display: flex !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-brand-box {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  min-height: 560px !important;
  border-radius: 30px !important;
  padding: 54px 34px 38px !important;
  background:
    radial-gradient(circle at top center, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 28%),
    linear-gradient(145deg, #d6a33c 0%, #ba8a31 48%, #2f2418 100%) !important;
  color: #fffdf9 !important;
  box-shadow: var(--lmm-shadow-lg) !important;
  display: flex !important;
  align-items: flex-start !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-brand-box::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -24px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  filter: blur(10px);
}

body.woocommerce-account:not(.logged-in) .lmm-auth-brand-box::after {
  content: "";
  position: absolute;
  left: -50px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  filter: blur(12px);
}

body.woocommerce-account:not(.logged-in) .lmm-auth-brand-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 390px;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fffdf9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-brand-box h1 {
  margin: 0 0 14px !important;
  font-size: 34px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #fffdf9 !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-brand-box p {
  margin: 0 0 20px !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: rgba(255,253,249,0.92) !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-features {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,253,249,0.95);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-feature-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 999px;
  background: #fff3cf;
  box-shadow: 0 0 0 5px rgba(255,255,255,0.08);
}

/* COLUMNA DERECHA */
body.woocommerce-account:not(.logged-in) .lmm-auth-right {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-tabs {
  display: inline-flex !important;
  align-self: flex-start !important;
  gap: 8px !important;
  padding: 6px !important;
  margin: 4px 0 14px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.94) !important;
  border: 1px solid var(--lmm-border) !important;
  box-shadow: var(--lmm-shadow-sm) !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-tab {
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  color: #5b5248 !important;
  border-radius: 999px !important;
  min-height: 40px !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-tab:hover {
  background: rgba(221,176,74,0.14) !important;
  color: var(--lmm-text) !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-tab.is-active {
  background: var(--lmm-accent) !important;
  color: #20170f !important;
  box-shadow: 0 6px 16px rgba(221,176,74,0.22) !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-card {
  position: relative !important;
  overflow: hidden !important;
  background: rgba(255,255,255,0.98) !important;
  border: 1px solid var(--lmm-border) !important;
  border-radius: 30px !important;
  padding: 26px !important;
  box-shadow: var(--lmm-shadow-lg) !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lmm-accent) 0%, #f0d18c 45%, var(--lmm-accent) 100%);
}

/* PANELES */
body.woocommerce-account:not(.logged-in) .lmm-auth-panel {
  display: none;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-panel.is-active {
  display: block !important;
  animation: lmmFadeSlide .22s ease;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-panel[hidden] {
  display: none !important;
}

@keyframes lmmFadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.woocommerce-account:not(.logged-in) .lmm-auth-header {
  margin-bottom: 20px !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-header h2 {
  margin: 0 0 10px !important;
  font-size: 32px !important;
  line-height: 1.06 !important;
  letter-spacing: -0.03em !important;
  font-weight: 800 !important;
  color: var(--lmm-text) !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-header p {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: var(--lmm-muted) !important;
  max-width: 500px !important;
}

/* FORMULARIOS */
body.woocommerce-account:not(.logged-in) .lmm-auth-form {
  margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .lmm-form-row,
body.woocommerce-account:not(.logged-in) .woocommerce-form-row,
body.woocommerce-account:not(.logged-in) .form-row {
  margin: 0 0 16px !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-form label,
body.woocommerce-account:not(.logged-in) .woocommerce-form-row label {
  display: block !important;
  margin-bottom: 8px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #433b31 !important;
}

body.woocommerce-account:not(.logged-in) .required {
  color: #dc2626 !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-form input[type="text"],
body.woocommerce-account:not(.logged-in) .lmm-auth-form input[type="email"],
body.woocommerce-account:not(.logged-in) .lmm-auth-form input[type="password"],
body.woocommerce-account:not(.logged-in) .lmm-auth-form input[type="tel"] {
  width: 100% !important;
  min-height: 54px !important;
  padding: 14px 16px !important;
  border-radius: 15px !important;
  border: 1px solid #ddd4c8 !important;
  background: #fffdfa !important;
  color: var(--lmm-text) !important;
  font-size: 16px !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-form input[type="text"]:focus,
body.woocommerce-account:not(.logged-in) .lmm-auth-form input[type="email"]:focus,
body.woocommerce-account:not(.logged-in) .lmm-auth-form input[type="password"]:focus,
body.woocommerce-account:not(.logged-in) .lmm-auth-form input[type="tel"]:focus {
  outline: none !important;
  border-color: var(--lmm-accent) !important;
  box-shadow: 0 0 0 4px rgba(221,176,74,0.18) !important;
  background: #fff !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin: 8px 0 22px !important;
}

body.woocommerce-account:not(.logged-in) .lmm-rememberme,
body.woocommerce-account:not(.logged-in) .woocommerce-form__label-for-checkbox,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #4b5563 !important;
  margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-form input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--lmm-dark) !important;
  margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .lmm-lost-password-link,
body.woocommerce-account:not(.logged-in) .lost_password {
  margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .lmm-lost-password-link a,
body.woocommerce-account:not(.logged-in) .lost_password a,
body.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a {
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.woocommerce-account:not(.logged-in) .lmm-lost-password-link a:hover,
body.woocommerce-account:not(.logged-in) .lost_password a:hover,
body.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a:hover {
  text-decoration: underline !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-note {
  margin: 4px 0 20px !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  background: #fff8e7 !important;
  border: 1px solid #f1dfaa !important;
  color: #6b4f00 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

body.woocommerce-account:not(.logged-in) .lmm-submit-row {
  margin: 8px 0 0 !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-btn,
body.woocommerce-account:not(.logged-in) .lmm-auth-form .button,
body.woocommerce-account:not(.logged-in) .lmm-auth-form button.button,
body.woocommerce-account:not(.logged-in) .lmm-auth-form input.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 14px 26px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #101827 0%, #0b1324 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(17,24,39,0.16) !important;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-btn:hover,
body.woocommerce-account:not(.logged-in) .lmm-auth-form .button:hover,
body.woocommerce-account:not(.logged-in) .lmm-auth-form button.button:hover,
body.woocommerce-account:not(.logged-in) .lmm-auth-form input.button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 16px 34px rgba(17,24,39,0.20) !important;
}

body.woocommerce-account:not(.logged-in) .lmm-auth-btn:active,
body.woocommerce-account:not(.logged-in) .lmm-auth-form .button:active,
body.woocommerce-account:not(.logged-in) .lmm-auth-form button.button:active,
body.woocommerce-account:not(.logged-in) .lmm-auth-form input.button:active {
  transform: translateY(0) scale(0.985) !important;
}

/* TABLET */
@media (max-width: 1080px) {
  body.woocommerce-account:not(.logged-in) .lmm-auth-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-brand-box {
    min-height: 420px !important;
    padding: 34px 28px !important;
    border-radius: 26px !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-brand-inner {
    max-width: 100%;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-brand-box h1 {
    font-size: 32px !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-right {
    max-width: 760px !important;
    margin: 0 auto !important;
  }
}

/* MÓVIL */
@media (max-width: 680px) {
  body.woocommerce-account:not(.logged-in) .woocommerce {
    padding: 18px 14px 50px !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-tabs {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-tab {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-card {
    padding: 22px 18px !important;
    border-radius: 24px !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-brand-box {
    min-height: 340px !important;
    border-radius: 24px !important;
    padding: 28px 20px !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-brand-box h1 {
    font-size: 28px !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-header h2 {
    font-size: 28px !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  body.woocommerce-account:not(.logged-in) .lmm-auth-btn,
  body.woocommerce-account:not(.logged-in) .lmm-auth-form .button,
  body.woocommerce-account:not(.logged-in) .lmm-auth-form button.button,
  body.woocommerce-account:not(.logged-in) .lmm-auth-form input.button {
    width: 100% !important;
  }
}

body.woocommerce-account:not(.logged-in) .lmm-auth-brand-box.has-login-bg-image {
  background-image:
    linear-gradient(rgba(28,20,12,0.45), rgba(28,20,12,0.72)),
    var(--lmm-login-bg-image) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}