/* ============================================================
   SantaMati — Mi cuenta (login/registro/rastreo + dashboard de
   recompra). Usa los tokens de marca de santamati.css (--ink,
   --paper, --gold…) más un verde propio para "Entregado".
   ============================================================ */

.sm-account-main { padding: 0; max-width: none; min-height: 60vh; }

.sm-acc {
  --acc-green: #2f6b45;
  --acc-green-bg: rgba(47,107,69,0.12);
  --acc-red: #c0240a;
  background: var(--paper);
}

.sm-acc [hidden] { display: none !important; }

/* ── Estado sin sesión: login / registro / rastreo ──────────── */
.sm-acc-guest { display: flex; align-items: flex-start; justify-content: center; padding: 48px 16px 64px; }
.sm-acc-guest-inner { width: 100%; max-width: 420px; animation: sm-acc-fadein 0.35s ease both; }

.sm-acc-title { font-family: var(--display); font-size: clamp(26px,5vw,32px); color: var(--ink); margin-bottom: 8px; text-align: center; }
.sm-acc-subtitle { font-family: var(--serif); font-style: italic; font-size: 16px; color: rgba(26,22,18,0.6); text-align: center; margin-bottom: 22px; }

.sm-acc-callout {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px;
  background: rgba(var(--gold-rgb),0.08); border: 1px solid rgba(var(--gold-rgb),0.24);
  border-radius: 8px; margin-bottom: 20px;
}
.sm-acc-callout svg { flex-shrink: 0; margin-top: 1px; }
.sm-acc-callout p { font-family: var(--sans); font-size: 12px; color: #6b5416; line-height: 1.55; }

/* Avisos nativos de WooCommerce (wc_print_notices, ej. "Correo enviado" en
   form-lost-password.php) — mismo look que .sm-wc-main en santamati.css,
   repetido aquí porque esta pantalla usa el wrapper .sm-account-main. */
.sm-acc .woocommerce-message,
.sm-acc .woocommerce-info,
.sm-acc .woocommerce-error,
.sm-acc .woocommerce-notice {
  list-style: none; padding: 14px 18px; margin-bottom: 20px; border-radius: 8px;
  border-left: 3px solid var(--gold); background: #fff; box-shadow: 0 2px 14px rgba(26,22,18,0.06);
  font-family: var(--sans); font-size: 13.5px; color: var(--ink); line-height: 1.5;
}
.sm-acc .woocommerce-error { border-left-color: var(--acc-red); background: #fdf0f0; }
.sm-acc .woocommerce-message::before,
.sm-acc .woocommerce-error::before { display: none; }

.sm-acc-card { background: #fff; border-radius: 10px; padding: 22px 20px; box-shadow: 0 2px 14px rgba(26,22,18,0.06); }
.sm-acc-card + .sm-acc-card { margin-top: 18px; }
.sm-acc-form { display: flex; flex-direction: column; gap: 14px; }

.sm-acc-label { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: rgba(26,22,18,0.55); margin-bottom: 6px; }
.sm-acc-input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid rgba(26,22,18,0.16); background: #faf9f5; font-size: 15px;
  color: var(--ink); outline: none; font-family: var(--sans);
}
.sm-acc-input:focus { border-color: var(--gold); }
.sm-acc-error { font-family: var(--sans); font-size: 11.5px; color: var(--acc-red); margin-top: 6px; }
.sm-acc-hint { font-family: var(--sans); font-size: 11px; color: rgba(26,22,18,0.45); margin-top: 6px; line-height: 1.5; }

.sm-acc-btn {
  width: 100%; border: none; font-family: var(--sans); font-size: 14.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 15px; border-radius: 5px; min-height: 50px;
}
.sm-acc-btn--gold { background: var(--gold); color: var(--ink); }
.sm-acc-btn--gold:hover { background: var(--gold-deep); }
.sm-acc-btn--ink { background: var(--ink); color: var(--paper); }
.sm-acc-btn--ink:hover { background: #2a241c; }
.sm-acc-btn.is-loading { opacity: 0.7; pointer-events: none; }

.sm-acc-forgot { font-family: var(--sans); font-size: 12px; color: rgba(26,22,18,0.5); text-decoration: underline; align-self: flex-end; }

.sm-acc-switch { text-align: center; font-family: var(--sans); font-size: 13px; color: rgba(26,22,18,0.55); margin-top: 18px; }
.sm-acc-switch button { color: #8a6d1f; font-weight: 600; text-decoration: underline; background: none; border: none; font-family: inherit; font-size: inherit; }

.sm-acc-track-toggle {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(26,22,18,0.1); text-align: center;
}
.sm-acc-track-toggle button {
  background: none; border: none; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink);
}
.sm-acc-back {
  background: none; border: none; display: flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 12.5px; color: rgba(26,22,18,0.5); margin-bottom: 16px;
  text-decoration: none;
}

.sm-acc-benefits { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; }
.sm-acc-benefit { display: flex; align-items: center; gap: 10px; }
.sm-acc-benefit-check {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(var(--gold-rgb),0.14);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sm-acc-benefit span { font-family: var(--serif); font-size: 15.5px; color: rgba(26,22,18,0.7); }

/* ── Resultado de rastreo ─────────────────────────────────────── */
.sm-acc-track-result { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 4px 24px rgba(26,22,18,0.09); animation: sm-acc-fadein 0.3s ease both; margin-top: 18px; }
.sm-acc-track-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.sm-acc-track-head strong { font-family: var(--sans); font-size: 16px; color: var(--ink); font-weight: 700; }
.sm-acc-track-head span { font-family: var(--sans); font-size: 12px; color: rgba(26,22,18,0.45); }
.sm-acc-track-note { font-family: var(--serif); font-size: 14.5px; color: rgba(26,22,18,0.55); font-style: italic; text-align: center; padding-top: 8px; border-top: 1px solid rgba(26,22,18,0.08); }
.sm-acc-track-cancelled { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--acc-red); text-align: center; padding: 8px 0; }

/* ── Stepper de estado de pedido (compartido: rastreo + dashboard) ── */
.sm-acc-steps { display: flex; align-items: center; margin-bottom: 14px; padding-top: 6px; }
.sm-acc-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }
.sm-acc-step-line { position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: rgba(26,22,18,0.12); z-index: 0; }
.sm-acc-step:first-child .sm-acc-step-line { display: none; }
.sm-acc-step.is-done .sm-acc-step-line,
.sm-acc-step.is-active .sm-acc-step-line { background: var(--gold); }
.sm-acc-step-dot { width: 13px; height: 13px; border-radius: 50%; background: rgba(26,22,18,0.15); border: 1.5px solid rgba(26,22,18,0.2); z-index: 1; }
.sm-acc-step.is-done .sm-acc-step-dot { background: var(--acc-green); border: none; }
.sm-acc-step.is-active .sm-acc-step-dot { background: var(--gold); border: none; animation: sm-acc-pulse 1.8s ease-in-out infinite; }
.sm-acc-step-label { font-family: var(--sans); font-size: 10px; font-weight: 500; color: rgba(26,22,18,0.4); margin-top: 6px; text-align: center; }
.sm-acc-step.is-done .sm-acc-step-label,
.sm-acc-step.is-active .sm-acc-step-label { font-weight: 700; color: var(--ink); }

/* ── Estado con sesión: dashboard ──────────────────────────────── */
/* Sin footer en Mi cuenta (ver footer.php), el sidebar/contenido tienen que
   rellenar el resto de la pantalla ellos solos — si no, en pestañas con poco
   contenido (ej. Inicio sin pedidos) queda un hueco color crema debajo del
   sidebar oscuro, como si la página se hubiera cortado a la mitad. */
.sm-acc-dash { display: flex; flex-direction: column; min-height: calc(100vh - 160px); }
@media (min-width: 901px) { .sm-acc-dash { flex-direction: row; } }

/* Sidebar desktop */
.sm-acc-sidebar { display: none; }
@media (min-width: 901px) {
  .sm-acc-sidebar {
    display: flex; flex-direction: column; width: 230px; flex-shrink: 0;
    background: var(--ink); padding: 22px 14px;
  }
}
.sm-acc-sidebar-brand { padding: 0 8px 22px; margin-bottom: 14px; border-bottom: 1px solid rgba(var(--gold-rgb),0.18); }
.sm-acc-sidebar-brand span { font-family: var(--display); font-size: 17px; letter-spacing: 2.5px; color: var(--gold); }
.sm-acc-sidebar-brand p { font-family: var(--sans); font-size: 10.5px; color: rgba(250,246,238,0.4); margin-top: 4px; letter-spacing: 0.04em; }
.sm-acc-sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sm-acc-navitem {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border-radius: 8px;
  border: none; background: transparent; font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  color: rgba(250,246,238,0.55); text-align: left; min-height: 44px;
}
.sm-acc-navitem svg { flex-shrink: 0; }
.sm-acc-navitem.is-active { background: rgba(var(--gold-rgb),0.14); color: var(--paper); font-weight: 700; }
.sm-acc-navitem--logout { margin-top: 6px; color: #e2564f; border-top: 1px solid rgba(250,246,238,0.1); border-radius: 0; padding-top: 15px; }
.sm-acc-navitem--logout:hover { color: #ff746c; }
.sm-acc-sidebar-spacer { flex: 1; }

/* Mobile top bar + pills */
.sm-acc-mobiletop { background: var(--ink); }
@media (min-width: 901px) { .sm-acc-mobiletop { display: none; } }
.sm-acc-mobiletop-brand { padding: 16px 16px 12px; text-align: center; }
.sm-acc-mobiletop-brand span { font-family: var(--display); font-size: 18px; letter-spacing: 2.5px; color: var(--gold); }
.sm-acc-pills { display: flex; gap: 6px; overflow-x: auto; padding: 18px 12px 12px; -webkit-overflow-scrolling: touch; }
.sm-acc-pill {
  flex-shrink: 0; white-space: nowrap; background: rgba(250,246,238,0.08); color: rgba(250,246,238,0.6);
  border: none; font-family: var(--sans); font-size: 12.5px; font-weight: 600; padding: 9px 14px;
  border-radius: 100px; min-height: 38px;
}
.sm-acc-pill.is-active { background: var(--gold); color: var(--ink); }
.sm-acc-pill--logout { background: rgba(226,86,79,0.14); color: #ff9a94; }

/* Content area */
.sm-acc-content { flex: 1; min-width: 0; padding: 26px 20px 60px; }
@media (min-width: 901px) { .sm-acc-content { padding: 34px 40px 70px; } }
.sm-acc-content > * { animation: sm-acc-fadein 0.3s ease both; }

.sm-acc-h1 { font-family: var(--display); font-size: clamp(24px,4vw,30px); color: var(--ink); margin-bottom: 6px; }
.sm-acc-h2 { font-family: var(--display); font-size: clamp(22px,4vw,28px); color: var(--ink); margin-bottom: 4px; }
.sm-acc-lead { font-family: var(--serif); font-style: italic; font-size: 15.5px; color: rgba(26,22,18,0.6); }
.sm-acc-eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a6d1f; margin-bottom: 12px; }

.sm-acc-section { margin-bottom: 30px; }
.sm-acc-section:last-child { margin-bottom: 0; }

/* Recompra/Recomendado: mismas tarjetas .sm-card del catálogo/Bestsellers,
   con el MISMO grid y tamaño que usa la página de catálogo (.product-grid en
   santamati-catalog.css) — sin overrides de tamaño de fuente, para que la
   tarjeta se vea idéntica en celular y computador. */
/* En el catálogo el ancho de la tarjeta queda fijado por la barra de filtros
   (sidebar de 228px que come espacio del grid); Mi cuenta no tiene esa barra,
   así que sin un tope las tarjetas se estiran mucho más anchas que en el
   catálogo. Le ponemos el mismo ancho máximo de tarjeta (~222.5px, medido en
   vivo en /shop/) vía max-width del grid para que en computador se vean del
   mismo tamaño. */
.sm-acc-reorder-grid.sm-acc-cardgrid { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }
@media (min-width: 960px)  { .sm-acc-reorder-grid.sm-acc-cardgrid { grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 700px; } }
@media (min-width: 1200px) { .sm-acc-reorder-grid.sm-acc-cardgrid { grid-template-columns: repeat(4,1fr); gap: 18px; max-width: 944px; } }

.sm-acc-cardgrid .sm-card { width: auto; margin: 0; }
.sm-acc-cardgrid .sm-imgzone { aspect-ratio: 1; }

/* "Vuelve a pedir tu fragancia" y "Recomendado": carrusel deslizable
   (scroll-snap nativo, sin JS) en vez de grid apilado — pedido explícito,
   en celular Y en computador. */
.sm-acc-reorder-carousel.sm-acc-cardgrid {
  display: flex;
  grid-template-columns: none;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding: 2px 2px 10px;
  scrollbar-width: none;
}
.sm-acc-reorder-carousel.sm-acc-cardgrid::-webkit-scrollbar { display: none; }
.sm-acc-reorder-carousel.sm-acc-cardgrid .sm-card {
  flex: 0 0 auto;
  width: min(62vw, 222px);
  scroll-snap-align: start;
}
@media (min-width: 960px) {
  .sm-acc-reorder-carousel.sm-acc-cardgrid { gap: 16px; }
  .sm-acc-reorder-carousel.sm-acc-cardgrid .sm-card { width: 222px; }
}

/* Flechas del carrusel (computador): el swipe táctil no aplica con mouse,
   así que en escritorio se agregan flechas prev/next inyectadas por JS
   (santamati-account.js) alrededor del carrusel. Ocultas en celular —
   ahí sigue siendo swipe nativo. */
.sm-acc-carousel-wrap { position: relative; }
.sm-acc-carousel-arrow {
  display: none;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(26,22,18,0.12);
  box-shadow: 0 4px 14px rgba(26,22,18,0.16);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  color: #1a1612;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.sm-acc-carousel-arrow:hover { background: #c9a96e; color: #fff; }
.sm-acc-carousel-arrow.is-hidden { opacity: 0; pointer-events: none; }
@media (min-width: 960px) {
  .sm-acc-carousel-arrow { display: flex; }
  .sm-acc-carousel-arrow--prev { left: -19px; }
  .sm-acc-carousel-arrow--next { right: -19px; }
}

/* Selector de tamaño (Vuelve a pedir / Recomendado) — mismo look que los
   botones de tamaño del carrito lateral (.sm-cart-drawer__cross-size-btn). */
.sm-acc-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.sm-acc-size-btn {
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  border: 1.5px solid rgba(201,169,110,0.55); background: rgba(201,169,110,0.08); color: var(--ink);
  border-radius: 100px; padding: 5px 12px; cursor: pointer; transition: all 0.2s ease;
}
.sm-acc-size-btn.is-active {
  background: var(--gold, #c9a96e); border-color: var(--gold, #c9a96e); color: var(--ink);
  box-shadow: 0 2px 8px rgba(201,169,110,0.45);
}
.sm-acc-btn-sm {
  flex-shrink: 0; border: none; font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 10px 14px; border-radius: 5px; min-height: 44px;
}
.sm-acc-btn-sm--ink { background: var(--ink); color: var(--paper); }
.sm-acc-btn-sm--ink:hover { background: #2a241c; }
.sm-acc-btn-sm.is-loading { opacity: 0.6; pointer-events: none; }
.sm-acc-btn-sm.is-added { background: var(--acc-green); color: #fff; }

.sm-acc-empty { background: #fff; border-radius: 10px; padding: 32px 20px; text-align: center; box-shadow: 0 2px 14px rgba(26,22,18,0.06); }
.sm-acc-empty p { font-family: var(--serif); font-style: italic; font-size: 16px; color: rgba(26,22,18,0.5); }
.sm-acc-empty a { color: #8a6d1f; font-weight: 600; text-decoration: underline; font-family: var(--sans); font-size: 13px; display: inline-block; margin-top: 10px; }

/* Pedidos */
.sm-acc-orders { display: flex; flex-direction: column; gap: 12px; }
.sm-acc-order { background: #fff; border-radius: 10px; box-shadow: 0 2px 14px rgba(26,22,18,0.06); overflow: hidden; }
.sm-acc-order-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px;
  background: none; border: none; text-align: left;
}
.sm-acc-order-head-id { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--ink); }
.sm-acc-order-head-date { font-family: var(--sans); font-size: 11.5px; color: rgba(26,22,18,0.42); margin-left: 8px; }
.sm-acc-order-head-right { display: flex; align-items: center; gap: 10px; }
.sm-acc-status-pill { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.sm-acc-status-pill--progress { color: #8a6d1f; background: rgba(var(--gold-rgb),0.14); }
.sm-acc-status-pill--done { color: var(--acc-green); background: var(--acc-green-bg); }
.sm-acc-status-pill--cancel { color: var(--acc-red); background: rgba(192,36,10,0.1); }
.sm-acc-order-chevron { transition: transform 0.25s ease; }
.sm-acc-order.is-open .sm-acc-order-chevron { transform: rotate(180deg); }
.sm-acc-order-body { padding: 0 18px 18px; display: none; }
.sm-acc-order.is-open .sm-acc-order-body { display: block; }
.sm-acc-order-items { font-family: var(--serif); font-size: 14px; color: rgba(26,22,18,0.55); margin-bottom: 12px; }

/* Recomendaciones y Recompra comparten la misma tarjeta .sm-card del
   catálogo (ver .sm-acc-cardgrid más abajo) — sin reglas propias aquí. */

/* Mi cuenta (datos + logout) — mismas tarjetas del checkout que
   form-edit-address.php, a todo el ancho del contenido. */
.sm-acc-logout { background: none; border: none; font-family: var(--sans); font-size: 12.5px; color: rgba(26,22,18,0.42); text-decoration: underline; margin-top: 18px; }

/* Toast */
.sm-acc-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 4000;
  background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  padding: 12px 20px; border-radius: 100px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  white-space: nowrap; display: flex; align-items: center; gap: 8px; animation: sm-acc-toast 2.4s ease forwards;
}

/* Botón flotante WhatsApp (mismo look + animación que .sm-wa-float en
   Home/catálogo, ver santamati.css) */
.sm-acc-wa-float {
  position: fixed; bottom: 18px; right: 18px; z-index: 900; width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(26,22,18,0.3); text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: sm-acc-wa-pulse 2.6s ease-in-out infinite;
}
.sm-acc-wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(0,0,0,0.34); }
@keyframes sm-acc-wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(26,22,18,0.3), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 20px rgba(26,22,18,0.3), 0 0 0 9px rgba(37,211,102,0); }
}

/* ── Direcciones (my-address.php propio): libreta real de varias
   direcciones (ver sm_get_saved_addresses en functions.php) — tarjeta con
   ícono, badge "Predeterminada" y acciones Predeterminada/Editar/Eliminar. */
.sm-acc-addr-head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sm-acc-addr-addbtn {
  display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--ink);
  border: 1.5px solid rgba(var(--gold-rgb),0.4); font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 9px 16px; border-radius: 5px; min-height: 40px;
}
.sm-acc-addr-addbtn:hover { border-color: var(--gold); background: rgba(var(--gold-rgb),0.08); }
.sm-acc-addr-addbtn span { font-size: 15px; line-height: 1; }
.sm-acc-addr-list { display: flex; flex-direction: column; gap: 12px; }
.sm-acc-addr-card { background: #fff; border-radius: 10px; padding: 16px 20px; box-shadow: 0 2px 14px rgba(26,22,18,0.06); }
.sm-acc-addr-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.sm-acc-addr-card-label { display: flex; align-items: center; gap: 8px; }
.sm-acc-addr-card-label strong { font-family: var(--sans); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.sm-acc-addr-badge {
  font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: #1a1612; background: var(--gold); border-radius: 100px; padding: 3px 9px;
}
.sm-acc-addr-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-left: 23px; }
.sm-acc-addr-default {
  font-family: var(--sans); font-size: 12px; font-weight: 600; color: rgba(26,22,18,0.45);
  text-decoration: underline; background: none; border: none; padding: 0; cursor: pointer;
}
.sm-acc-addr-default:hover { color: var(--ink); }
.sm-acc-addr-default:disabled { opacity: 0.5; cursor: not-allowed; }
.sm-acc-addr-edit { font-family: var(--sans); font-size: 12px; font-weight: 600; color: #8a6d1f; text-decoration: underline; }
.sm-acc-addr-delete {
  font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--acc-red, #c0240a);
  text-decoration: underline; background: none; border: none; padding: 0; cursor: pointer;
}
.sm-acc-addr-delete:disabled { opacity: 0.5; cursor: not-allowed; }

.sm-acc-addr-card--empty { display: flex; align-items: center; justify-content: center; padding: 36px 20px; }
.sm-acc-addr-add {
  display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--ink);
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 5px; min-height: 44px;
}
.sm-acc-addr-add:hover { background: var(--gold-deep); }
.sm-acc-addr-add span { font-size: 16px; line-height: 1; }

.sm-acc-addr-formactions { display: flex; align-items: center; gap: 14px; }
.sm-acc-addr-cancel {
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink); background: transparent; border: 1.5px solid rgba(26,22,18,0.2);
  padding: 12px 22px; border-radius: 5px; min-height: 46px; display: inline-flex; align-items: center;
}
.sm-acc-addr-cancel:hover { border-color: rgba(26,22,18,0.4); }
.sm-acc-addr-card address { font-style: normal; font-family: var(--serif); font-size: 14.5px; line-height: 1.6; color: rgba(26,22,18,0.65); margin-left: 23px; }
.sm-acc-content > p:first-child { font-family: var(--sans); font-size: 12.5px; color: rgba(26,22,18,0.5); margin-bottom: 16px; }

/* Editar dirección: mismas tarjetas/inputs del checkout (.sm-checkout__card,
   .sm-checkout__fields, ver santamati-checkout.css, encolado aparte solo en
   este endpoint) — ocupan todo el ancho disponible del contenido. */
.sm-acc-addr-save {
  background: var(--gold); color: var(--ink); border: none; font-family: var(--sans); font-size: 13px;
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 24px; border-radius: 5px;
  min-height: 46px; cursor: pointer;
}
.sm-acc-addr-save:hover { background: var(--gold-deep); }

.sm-acc-content .woocommerce-Button.button.add_address { background: var(--ink); color: var(--paper); border: none; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 11px 16px; border-radius: 5px; min-height: 44px; display: inline-block; }

@keyframes sm-acc-fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sm-acc-toast { 0% { opacity: 0; transform: translate(-50%,10px); } 10% { opacity: 1; transform: translate(-50%,0); } 90% { opacity: 1; transform: translate(-50%,0); } 100% { opacity: 0; transform: translate(-50%,10px); } }
@keyframes sm-acc-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb),0.45); } 50% { box-shadow: 0 0 0 6px rgba(var(--gold-rgb),0); } }
