/* ============================================================
   Cuenta de cliente — /ingresar, /registro, /mi-cuenta
   ============================================================ */

/* ---------------- acceso / registro ---------------- */
.bsl-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 74px);
  background: #fafafa;
}
.bsl-auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(24px, 6vw, 90px);
  background: #fff;
}
.bsl-auth-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #94429f;
  margin: 0 0 10px;
}
.bsl-auth-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.1;
}
.bsl-auth-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  color: #6b6b6b;
  margin: 0 0 26px;
  max-width: 420px;
}
.bsl-auth-tabs {
  display: flex;
  gap: 6px;
  background: #f4f1f6;
  border-radius: 11px;
  padding: 4px;
  margin-bottom: 22px;
  max-width: 340px;
}
.bsl-auth-tabs button {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b6b;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.16s;
}
.bsl-auth-tabs button.is-on {
  background: #fff;
  color: #94429f;
  box-shadow: 0 1px 4px rgba(26, 26, 26, 0.09);
}
.bsl-auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
}
.bsl-auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4152;
}
.bsl-auth-opt {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #9b93a3;
}
.bsl-auth-form input {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #1a1a1a;
  background: #fafafa;
  border: 1px solid #e3dce9;
  border-radius: 10px;
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
}
.bsl-auth-form input:focus {
  background: #fff;
  border-color: #94429f;
  box-shadow: 0 0 0 4px rgba(148, 66, 159, 0.11);
}
.bsl-auth-form input.bsl-auth-code {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 8px;
  text-align: center;
}
.bsl-auth-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #94429f;
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  cursor: pointer;
  transition: background 0.16s, transform 0.16s;
}
.bsl-auth-btn:hover:not(:disabled) {
  background: #7d3587;
  transform: translateY(-1px);
}
.bsl-auth-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.bsl-auth-link {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #94429f;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 2px 0;
}
.bsl-auth-err {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #b3352f;
  background: #fdf2f1;
  border-left: 3px solid #b3352f;
  border-radius: 0 8px 8px 0;
  padding: 9px 13px;
  margin: 0;
}
.bsl-auth-info {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: #4a4152;
  background: #f7f3f9;
  border-radius: 9px;
  padding: 11px 14px;
  margin: 0;
  line-height: 1.55;
}
.bsl-auth-legal {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  color: #6b6273;
  margin: 2px 0 0;
  line-height: 1.6;
}
.bsl-auth-legal a {
  color: #94429f;
}
.bsl-auth-migrado {
  background: #fff8e6;
  border: 1px solid #f0dba8;
  border-radius: 10px;
  padding: 13px 15px;
}
.bsl-auth-migrado p {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  line-height: 1.55;
  color: #7a5c12;
  margin: 0 0 9px;
}
.bsl-auth-migrado button {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #7a5c12;
  background: #fff;
  border: 1px solid #e0c98a;
  border-radius: 8px;
  padding: 8px 13px;
  cursor: pointer;
}
.bsl-ts {
  margin: 2px 0;
}

.bsl-auth-side {
  background: linear-gradient(155deg, #241a2b 0%, #1a1220 52%, #16302f 100%);
  color: #fff;
  padding: 52px clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-height: 100%;
  position: relative;
  overflow: hidden;
}
/* detalle decorativo: dos halos suaves, como en el hero del sitio */
.bsl-auth-side::before,
.bsl-auth-side::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.bsl-auth-side::before {
  width: 320px;
  height: 320px;
  background: rgba(148, 66, 159, 0.32);
  top: -90px;
  right: -70px;
}
.bsl-auth-side::after {
  width: 260px;
  height: 260px;
  background: rgba(126, 203, 204, 0.18);
  bottom: -80px;
  left: -60px;
}
.bsl-auth-side > * {
  position: relative;
  z-index: 1;
}
.bsl-auth-side h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  margin: 0 0 24px;
  color: #fff;
}
.bsl-auth-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bsl-auth-side li {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 22px;
  position: relative;
}
.bsl-auth-side li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4af37;
}
.bsl-auth-side li strong {
  color: #fff;
  font-weight: 700;
}

/* ---------------- mi cuenta ---------------- */
.bsl-cuenta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 20px 90px;
}
.bsl-cuenta-cargando {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #8a8193;
  text-align: center;
  padding: 80px 20px;
}
.bsl-cuenta-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.bsl-cuenta-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #94429f;
  margin: 0 0 6px;
}
.bsl-cuenta-head h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.bsl-cuenta-mail {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: #8a8193;
  margin: 0;
}
.bsl-cuenta-head-acciones {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.bsl-cuenta-btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #94429f;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 0.16s;
}
.bsl-cuenta-btn:hover {
  background: #7d3587;
}
.bsl-cuenta-btn-ghost {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c5366;
  background: #fff;
  border: 1px solid #e3dce9;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.16s;
}
.bsl-cuenta-btn-ghost:hover {
  border-color: #94429f;
  color: #94429f;
}

.bsl-cuenta-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #e8e1ee;
  margin-bottom: 26px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bsl-cuenta-tabs::-webkit-scrollbar {
  display: none;
}
.bsl-cuenta-tabs button {
  flex: 0 0 auto;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8a8193;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s;
}
.bsl-cuenta-tabs button.is-on {
  color: #1a1a1a;
  border-bottom-color: #94429f;
}
.bsl-cuenta-tabs i {
  display: inline-block;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: #94429f;
  border-radius: 999px;
  padding: 1px 6px;
  margin-left: 5px;
  vertical-align: 1px;
}

.bsl-cuenta-vacio {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px dashed #e0d7e8;
  border-radius: 16px;
}
.bsl-cuenta-vacio h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 8px;
}
.bsl-cuenta-vacio p {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #7d7688;
  margin: 0 0 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.bsl-cuenta-vacio-min {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #8a8193;
  padding: 20px 0;
}
.bsl-cuenta-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.bsl-cuenta-panel-head h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: #1a1a1a;
}

.bsl-cuenta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 16px;
}
.bsl-cuenta-card {
  background: #fff;
  border: 1px solid #e8e1ee;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bsl-cuenta-thumb {
  height: 148px;
  background: linear-gradient(160deg, #f8f5fa, #f1ecf4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.bsl-cuenta-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bsl-cuenta-sinthumb {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  color: #a99fb3;
}
.bsl-cuenta-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #221b28;
  margin: 11px 13px 3px;
  line-height: 1.35;
}
.bsl-cuenta-fecha {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  color: #8a8193;
  margin: 0 13px 9px;
}
.bsl-cuenta-card-acciones {
  display: flex;
  gap: 6px;
  margin: auto 13px 13px;
  padding-top: 8px;
}
.bsl-cuenta-card-acciones a,
.bsl-cuenta-card-acciones button {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #94429f;
  background: #fff;
  border: 1px solid #e3dce9;
  border-radius: 8px;
  padding: 7px;
  cursor: pointer;
}
.bsl-cuenta-card-acciones a:hover,
.bsl-cuenta-card-acciones button:hover {
  border-color: #94429f;
  background: #faf5fb;
}

.bsl-cuenta-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bsl-cuenta-cot {
  background: #fff;
  border: 1px solid #e8e1ee;
  border-radius: 13px;
  padding: 16px 18px;
}
.bsl-cuenta-cot-head {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}
.bsl-cuenta-cot-head strong {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
}
.bsl-cuenta-cot-items {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: #5c5366;
  margin: 0;
  line-height: 1.55;
}
.bsl-cuenta-cot-total {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #94429f;
  margin: 8px 0 0;
}
.bsl-estado {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f4f1f6;
  color: #6b6b6b;
}
.bsl-estado-pendiente {
  background: #fff8e6;
  color: #7a5c12;
}
.bsl-estado-atendido,
.bsl-estado-aprobado {
  background: #eaf5ea;
  color: #2e7d32;
}
.bsl-estado-rechazado,
.bsl-estado-cancelado {
  background: #fdf2f1;
  color: #b3352f;
}

/* direcciones */
.bsl-cuenta-dirs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.bsl-dir {
  background: #fff;
  border: 1px solid #e8e1ee;
  border-radius: 13px;
  padding: 15px 17px;
}
.bsl-dir.is-main {
  border-color: #94429f;
  box-shadow: 0 0 0 3px rgba(148, 66, 159, 0.08);
}
.bsl-dir-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.bsl-dir-head strong {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: #1a1a1a;
}
.bsl-dir-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: #94429f;
  border-radius: 999px;
  padding: 2px 8px;
}
.bsl-dir p {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: #3d3d3d;
  margin: 0 0 3px;
  line-height: 1.5;
}
.bsl-dir .bsl-dir-mut {
  font-size: 12px;
  color: #8a8193;
}
.bsl-dir-acciones {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 11px;
}
.bsl-dir-acciones button {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #5c5366;
  background: #faf8fc;
  border: 1px solid #e8e1ee;
  border-radius: 7px;
  padding: 6px 10px;
  cursor: pointer;
}
.bsl-dir-acciones button:hover {
  border-color: #94429f;
  color: #94429f;
}
.bsl-dir-acciones button.is-danger:hover {
  border-color: #c0392b;
  color: #c0392b;
}

/* formulario de datos */
.bsl-cuenta-form {
  max-width: 440px;
  background: #fff;
  border: 1px solid #e8e1ee;
  border-radius: 15px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bsl-cuenta-form h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 800;
  margin: 0;
  color: #1a1a1a;
}
.bsl-cuenta-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4152;
}
.bsl-cuenta-form input {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  text-transform: none;
  letter-spacing: 0;
  color: #1a1a1a;
  background: #fafafa;
  border: 1px solid #e3dce9;
  border-radius: 9px;
  padding: 11px 14px;
  outline: none;
}
.bsl-cuenta-form input:focus {
  background: #fff;
  border-color: #94429f;
  box-shadow: 0 0 0 3px rgba(148, 66, 159, 0.1);
}
.bsl-cuenta-form input:disabled {
  background: #f1eef4;
  color: #8a8193;
}
.bsl-cuenta-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  color: #9b93a3;
  margin: 10px 0 0;
  padding-top: 12px;
  border-top: 1px solid #f0ecf4;
}
.bsl-cuenta-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 200;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(26, 26, 26, 0.95);
  border-radius: 11px;
  padding: 12px 22px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

/* modal dirección */
.bsl-dir-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bsl-dir-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 20, 0.6);
  backdrop-filter: blur(3px);
  border: 0;
  cursor: pointer;
}
.bsl-dir-box {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 26px 26px 22px;
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.bsl-dir-box h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #1a1a1a;
}
.bsl-dir-box label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4a4152;
}
.bsl-dir-box input {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: #1a1a1a;
  background: #fafafa;
  border: 1px solid #e3dce9;
  border-radius: 9px;
  padding: 10px 13px;
  outline: none;
}
.bsl-dir-box input:focus {
  background: #fff;
  border-color: #94429f;
}
.bsl-dir-modal-acciones {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  margin-top: 6px;
}
.bsl-dir-modal-acciones button {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #5c5366;
  background: #faf8fc;
  border: 1px solid #e3dce9;
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
}

/* En acceso y registro los flotantes del sitio tapan el formulario y la nota legal */
body:has(.bsl-auth) #blossom-wa-floating,
body:has(.bsl-auth) .blossom-wa-float,
body:has(.bsl-auth) #blossom-cart-float,
body:has(.bsl-auth) .bsl-cart-float,
body:has(.bsl-auth) [class*='xoo-wsc-basket'],
body:has(.bsl-auth) [id*='xoo-wsc'] {
  display: none !important;
}

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .bsl-auth {
    grid-template-columns: 1fr;
  }
  .bsl-auth-side {
    order: -1;
    padding: 40px 24px;
  }
  .bsl-auth-side h2 {
    font-size: 23px;
    margin-bottom: 16px;
  }
  .bsl-auth-side ul {
    gap: 12px;
  }
  .bsl-auth-side li {
    font-size: 13px;
  }
  .bsl-auth-card {
    padding: 36px 22px 52px;
  }
  .bsl-cuenta {
    padding: 28px 16px 70px;
  }
  .bsl-cuenta-grid {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  }
  .bsl-cuenta-thumb {
    height: 118px;
  }
  .bsl-cuenta-head-acciones {
    width: 100%;
  }
  .bsl-cuenta-btn,
  .bsl-cuenta-btn-ghost {
    flex: 1;
    text-align: center;
  }
}

.bsl-auth-form label[data-req='1']::after {
  content: ' *';
  color: #b3352f;
  font-weight: 800;
}
