/* ============================================================================
 * JMC HOGAR — DISEÑO 1 (FUSIÓN EQUILIBRADA: MERCADO LIBRE + TEMU + SHEIN)
 * Paleta oficial: Sunset Orange #EA580C · Amber Yellow #FACC15 · Emerald #10B981
 *                 Crimson Badge #DC2626 · Studio White #FFFFFF · Warm Canvas #F8FAFC
 * ============================================================================ */

:root {
  --orange-600: #EA580C;
  --orange-700: #C2410C;
  --orange-500: #F97316;
  --orange-100: #FFEDD5;
  --orange-50: #FFF7ED;
  --yellow-400: #FACC15;
  --yellow-500: #EAB308;
  --emerald-600: #059669;
  --emerald-500: #10B981;
  --emerald-100: #D1FAE5;
  --crimson-600: #DC2626;
  --crimson-100: #FEE2E2;
  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --line-200: #E2E8F0;
  --line-100: #F1F5F9;
  --canvas: #F8FAFC;
  --surface: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 18px 42px rgba(15, 23, 42, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max-w: 1280px;
  --bottom-nav-h: 68px;
  --flash-dock-h: 40px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--canvas);
  line-height: 1.45;
  padding-bottom: calc(var(--bottom-nav-h) + var(--flash-dock-h) + 20px);
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.desktop-only {
  display: none !important;
}

.full-width {
  width: 100%;
}

.flex-1 {
  flex: 1;
}

/* ============================================================================
 * TOP BRAND HEADER (SUNSET ORANGE)
 * ============================================================================ */
.top-header {
  background: linear-gradient(180deg, var(--orange-600) 0%, #DF4E08 100%);
  color: #FFFFFF;
  position: relative;
  z-index: 40;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 14px 10px;
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  color: #FFFFFF;
  text-align: left;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FFFFFF;
  object-fit: contain;
  padding: 3px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.9;
}

.header-search-desktop {
  display: none;
  flex: 1;
  max-width: 540px;
}

.header-search-mobile {
  margin-top: 10px;
}

.search-pill {
  position: relative;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 0 14px;
  height: 44px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.search-pill:focus-within {
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.75);
}

.icon-search {
  width: 19px;
  height: 19px;
  color: var(--ink-500);
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 10px;
  font-size: 0.94rem;
  color: var(--ink-900);
}

.search-input::placeholder {
  color: var(--ink-400);
}

.search-clear {
  border: 0;
  background: var(--line-100);
  color: var(--ink-700);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action-btn,
.header-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  height: 38px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.16s ease, transform 0.12s ease;
}

.header-action-btn:hover,
.header-cart-btn:hover {
  background: rgba(255, 255, 255, 0.26);
}

.header-action-btn svg,
.header-cart-btn svg {
  width: 19px;
  height: 19px;
}

.header-cart-btn {
  position: relative;
  background: #FFFFFF;
  color: var(--orange-700);
  border-color: #FFFFFF;
  font-weight: 700;
}

.header-cart-btn:hover {
  background: var(--orange-50);
}

.cart-count-badge {
  background: var(--crimson-600);
  color: #FFFFFF;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Location Strip */
.location-bar {
  background: rgba(124, 45, 18, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.location-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.location-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: #FFFFFF;
  padding: 2px 4px;
  font-size: 0.82rem;
  font-weight: 500;
}

.location-trigger svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.location-trigger .chevron-icon {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.sync-status-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  color: #FFF7ED;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.sync-status-pill.live {
  background: rgba(16, 185, 129, 0.28);
  color: #ECFDF5;
}

/* Department Tabs Strip */
.dept-tabs-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line-200);
}

.dept-tabs-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dept-tabs-inner::-webkit-scrollbar {
  display: none;
}

.dept-tab {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--ink-700);
  padding: 11px 12px 9px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.dept-tab:hover {
  color: var(--orange-600);
}

.dept-tab.active {
  color: var(--orange-600);
  border-bottom-color: var(--orange-600);
  font-weight: 800;
}

/* ============================================================================
 * STICKY DUAL-MILESTONE SHIPPING PROGRESS BAR ($300K MIN / $750K FREE)
 * ============================================================================ */
.milestone-sticky {
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-200);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}

.milestone-card {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: block;
  background: transparent;
  border: 0;
  padding: 9px 14px 8px;
  text-align: left;
}

.milestone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.milestone-status-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.milestone-copy {
  flex: 1;
  font-size: 0.8rem;
  color: var(--ink-900);
  line-height: 1.25;
}

.milestone-copy strong {
  color: var(--ink-900);
}

.milestone-copy .ok-green {
  color: var(--emerald-600);
  font-weight: 800;
}

.milestone-pct {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--orange-600);
  background: var(--orange-50);
  padding: 2px 7px;
  border-radius: 999px;
}

.milestone-pct.achieved {
  color: var(--emerald-600);
  background: var(--emerald-100);
}

.milestone-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--line-200);
  overflow: hidden;
}

.milestone-fill-min {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-600));
  border-radius: 999px 0 0 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.milestone-fill-free {
  position: absolute;
  left: 40%;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--emerald-500), var(--emerald-600));
  border-radius: 0 999px 999px 0;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.milestone-pin {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #FFFFFF;
  z-index: 2;
}

.milestone-scale {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-500);
  margin-top: 3px;
}

.milestone-scale .scale-min {
  position: absolute;
  transform: translateX(-50%);
  color: var(--orange-700);
}

/* ============================================================================
 * MAIN CONTENT SHELL
 * ============================================================================ */
.main-shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 12px 24px;
}

.app-view {
  display: none;
}

.app-view.active {
  display: block;
}

/* ============================================================================
 * HERO PROMO BANNER
 * ============================================================================ */
.hero-wrap {
  margin-bottom: 18px;
}

.hero-banner {
  background: linear-gradient(125deg, #EA580C 0%, #F97316 58%, #FB923C 100%);
  border-radius: var(--radius-lg);
  padding: 18px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: 0 10px 26px rgba(234, 88, 12, 0.26);
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.hero-headline {
  margin: 0 0 8px;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-headline span {
  color: var(--yellow-400);
}

.hero-subcopy {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: #FFF7ED;
  max-width: 480px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-hero-yellow {
  background: var(--yellow-400);
  color: var(--ink-900);
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn-hero-yellow:hover {
  background: #FDE047;
  transform: translateY(-1px);
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}

.hero-mini-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 8px;
  color: var(--ink-900);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  border: 0;
}

.hero-mini-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.hero-mini-card span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-700);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-mini-card strong {
  font-size: 0.78rem;
  color: var(--orange-600);
  font-weight: 800;
}

/* ============================================================================
 * CIRCULAR VISUAL CATEGORY GRID (DISEÑO 1 SIGNATURE)
 * ============================================================================ */
.categories-strip-section {
  margin-bottom: 20px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-900);
}

.link-action {
  background: transparent;
  border: 0;
  color: var(--orange-600);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 4px 2px;
}

.circular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}

.circular-cat-btn {
  background: transparent;
  border: 0;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  transition: transform 0.15s ease;
}

.circular-cat-btn:hover {
  transform: translateY(-2px);
}

.circular-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--line-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.circular-cat-btn.active .circular-avatar {
  border-color: var(--orange-600);
  box-shadow: 0 0 0 3px var(--orange-100);
}

.circular-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.circular-avatar.offer-avatar {
  background: linear-gradient(135deg, #F97316, #DC2626);
  border-color: transparent;
  color: #FFFFFF;
  font-size: 1.55rem;
  font-weight: 800;
}

.circular-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.15;
}

/* ============================================================================
 * CATALOG CONTROLS & BRAND PILLS
 * ============================================================================ */
.catalog-controls {
  margin-bottom: 14px;
}

.controls-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.catalog-heading-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-heading-group h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.results-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-500);
  background: var(--line-100);
  padding: 3px 9px;
  border-radius: 999px;
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--line-200);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.toggle-chip input {
  accent-color: var(--orange-600);
  margin: 0;
}

.sort-select {
  background: #FFFFFF;
  border: 1px solid var(--line-200);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-700);
}

.brand-pills-row {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.brand-pills-row::-webkit-scrollbar {
  display: none;
}

.brand-pill {
  background: #FFFFFF;
  border: 1px solid var(--line-200);
  color: var(--ink-700);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.14s ease;
}

.brand-pill:hover {
  border-color: var(--orange-500);
  color: var(--orange-600);
}

.brand-pill.active {
  background: var(--orange-600);
  border-color: var(--orange-600);
  color: #FFFFFF;
}

.active-filters-bar {
  margin-top: 8px;
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--orange-700);
  font-weight: 600;
}

.btn-reset-filters {
  background: #FFFFFF;
  border: 1px solid var(--orange-600);
  color: var(--orange-600);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ============================================================================
 * PRODUCT FEED GRID (2-COL MOBILE / 4–5 COL DESKTOP)
 * ============================================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.product-card.out-of-stock {
  opacity: 0.68;
}

.card-media-btn {
  position: relative;
  background: #FFFFFF;
  border: 0;
  padding: 12px 10px 8px;
  height: 162px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-100);
}

.card-media-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-badge-top {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: linear-gradient(90deg, var(--orange-600), #DC2626);
  color: #FFFFFF;
  font-size: 0.67rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.26);
}

.card-badge-top.hot {
  background: linear-gradient(90deg, #F97316, #EA580C);
}

.card-badge-stock {
  position: absolute;
  right: 8px;
  top: 8px;
  background: rgba(15, 23, 42, 0.78);
  color: #FFFFFF;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
}

.card-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}

.card-brand {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink-500);
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-pack {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--orange-700);
  background: var(--orange-50);
  padding: 1px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}

.card-title-btn {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.28;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.1em;
}

.card-title-btn:hover {
  color: var(--orange-600);
}

.card-footer-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}

.card-price-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-price-now {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

.card-price-sub {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.card-old-price {
  font-size: 0.72rem;
  color: var(--ink-400);
  text-decoration: line-through;
}

.card-discount-pill {
  background: var(--crimson-600);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
}

/* 1-Tap Orange Cart Button (Diseño 1 Signature) */
.btn-add-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--orange-600);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.34);
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn-add-circle:hover {
  background: var(--orange-700);
  transform: scale(1.06);
}

.btn-add-circle:disabled {
  background: var(--ink-400);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-add-circle svg {
  width: 19px;
  height: 19px;
}

/* Inline Qty Stepper once item is in cart */
.card-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--orange-600);
  color: #FFFFFF;
  border-radius: 999px;
  height: 34px;
  padding: 0 3px;
  gap: 2px;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.3);
}

.card-qty-stepper button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-qty-stepper span {
  min-width: 22px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

/* Skeleton Loader Cards */
.skeleton-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-200);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skel-box {
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 10px;
}

.skel-img {
  aspect-ratio: 1 / 1;
}

.skel-line {
  height: 12px;
}

.skel-line.short {
  width: 55%;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.load-more-wrap {
  margin-top: 22px;
  text-align: center;
}

.btn-load-more {
  background: #FFFFFF;
  border: 2px solid var(--orange-600);
  color: var(--orange-600);
  border-radius: 999px;
  padding: 11px 28px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: all 0.15s ease;
}

.btn-load-more:hover {
  background: var(--orange-600);
  color: #FFFFFF;
}

.load-more-meta {
  font-size: 0.78rem;
  color: var(--ink-500);
  margin: 8px 0 0;
}

/* ============================================================================
 * DIRECTORY & ACCOUNT VIEWS
 * ============================================================================ */
.view-page-header {
  margin-bottom: 18px;
}

.view-page-header h1 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 800;
}

.view-page-header p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.88rem;
}

.directory-block {
  margin-bottom: 24px;
}

.directory-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dir-cat-card {
  background: #FFFFFF;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.dir-cat-card > div {
  min-width: 0;
  flex: 1;
}

.dir-cat-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--canvas);
  padding: 4px;
  flex-shrink: 0;
}

.dir-cat-card strong {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dir-cat-card span {
  font-size: 0.74rem;
  color: var(--ink-500);
}

.brands-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dir-brand-btn {
  background: #FFFFFF;
  border: 1px solid var(--line-200);
  border-radius: 12px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-900);
}

.dir-brand-btn span {
  font-size: 0.72rem;
  color: var(--orange-600);
  background: var(--orange-50);
  padding: 2px 7px;
  border-radius: 999px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.account-card {
  background: #FFFFFF;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.account-card-head h2 {
  margin: 6px 0 4px;
  font-size: 1.08rem;
  font-weight: 800;
}

.account-card-head p {
  margin: 0 0 14px;
  font-size: 0.84rem;
  color: var(--ink-500);
}

.account-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--orange-50);
  color: var(--orange-700);
  padding: 3px 9px;
  border-radius: 999px;
}

.account-badge.green {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

.recent-local-card {
  margin-top: 16px;
}

.recent-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recent-order-chip {
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  color: var(--orange-700);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.orders-results-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-track-card {
  border: 1px solid var(--line-200);
  border-radius: 14px;
  padding: 12px;
  background: var(--canvas);
}

.order-track-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.order-status-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--emerald-100);
  color: var(--emerald-600);
}

.logged-in-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-200);
}

/* ============================================================================
 * FLASH DEAL DOCK & BOTTOM NAVIGATION (EXACT DISEÑO 1)
 * ============================================================================ */
.flash-deal-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--bottom-nav-h);
  height: var(--flash-dock-h);
  z-index: 44;
  border: 0;
  background: linear-gradient(90deg, #C2410C 0%, #EA580C 50%, #D97706 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 -3px 12px rgba(15, 23, 42, 0.12);
}

.flash-cta {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bottom-nav-h);
  z-index: 45;
  background: #FFFFFF;
  border-top: 1px solid var(--line-200);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px env(safe-area-inset-bottom, 4px);
  box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.08);
}

.bnav-item {
  position: relative;
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ink-500);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px;
}

.bnav-item svg {
  width: 22px;
  height: 22px;
}

.bnav-item.active {
  color: var(--orange-600);
}

.bnav-icon-wrap {
  position: relative;
  display: inline-flex;
}

.bnav-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--crimson-600);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bnav-promo-tag {
  position: absolute;
  top: 1px;
  background: var(--emerald-600);
  color: #FFFFFF;
  font-size: 0.54rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.3);
}

.bnav-cart {
  padding-top: 10px;
}

/* ============================================================================
 * FORMS & SHARED BUTTONS
 * ============================================================================ */
.btn-primary-orange {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #FFFFFF;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28);
  transition: transform 0.12s ease, opacity 0.15s ease;
}

.btn-primary-orange:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn-primary-orange:disabled {
  background: #CBD5E1;
  color: #64748B;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-secondary-dark {
  background: var(--ink-900);
  color: #FFFFFF;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #16A34A;
  color: #FFFFFF;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 800;
}

.btn-outline-sm {
  background: #FFFFFF;
  border: 1px solid var(--line-200);
  color: var(--ink-700);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 0.95rem;
}

.btn-close-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-200);
  background: #FFFFFF;
  color: var(--ink-700);
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-text-danger {
  background: transparent;
  border: 0;
  color: var(--crimson-600);
  font-size: 0.8rem;
  font-weight: 700;
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.field-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-700);
}

.field-label input,
.field-label select,
.field-label textarea {
  border: 1px solid #CBD5E1;
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 0.88rem;
  background: #FFFFFF;
  color: var(--ink-900);
  outline: none;
}

.field-label input:focus,
.field-label select:focus,
.field-label textarea:focus {
  border-color: var(--orange-600);
  box-shadow: 0 0 0 3px var(--orange-100);
}

.checkbox-legal {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.77rem;
  color: var(--ink-700);
  background: var(--canvas);
  border: 1px solid var(--line-200);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.checkbox-legal input {
  margin-top: 2px;
  accent-color: var(--orange-600);
}

.form-feedback {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--crimson-100);
  color: var(--crimson-600);
}

.form-feedback.ok {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

/* ============================================================================
 * CART & CHECKOUT DRAWER
 * ============================================================================ */
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(3px);
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100vw);
  background: #FFFFFF;
  z-index: 80;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.drawer-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.drawer-sub {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--ink-500);
}

.drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-milestone {
  padding: 10px 16px;
  background: var(--orange-50);
  border-bottom: 1px solid var(--orange-100);
}

.drawer-milestone-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item-row {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line-200);
  border-radius: 14px;
  background: #FFFFFF;
}

.cart-item-img {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  background: var(--canvas);
  object-fit: contain;
  padding: 4px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-brand {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--ink-500);
  text-transform: uppercase;
}

.cart-item-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.25;
  margin: 2px 0 6px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--orange-700);
}

.cart-mini-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-200);
  border-radius: 999px;
  background: var(--canvas);
}

.cart-mini-stepper button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  font-weight: 800;
  color: var(--ink-900);
}

.cart-mini-stepper span {
  min-width: 24px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.empty-state,
.empty-cart-box {
  text-align: center;
  padding: 36px 16px;
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.empty-state h3,
.empty-cart-box h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.empty-state p,
.empty-cart-box p {
  margin: 0 0 16px;
  font-size: 0.86rem;
  color: var(--ink-500);
}

.drawer-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--line-200);
  background: #FFFFFF;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--ink-700);
}

.summary-row strong {
  color: var(--ink-900);
  font-weight: 800;
}

.shipping-tag.free {
  color: var(--emerald-600);
}

.cart-min-warning {
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  color: var(--orange-700);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.btn-back-link {
  background: transparent;
  border: 0;
  color: var(--orange-600);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 0 10px;
}

.checkout-section-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
}

/* Success Receipt */
.success-receipt {
  text-align: center;
  padding: 10px 4px;
}

.success-check {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--emerald-500);
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.34);
}

.success-receipt h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.success-subtitle {
  margin: 0 0 16px;
  font-size: 0.86rem;
  color: var(--ink-500);
}

.receipt-box {
  background: var(--canvas);
  border: 1px solid var(--line-200);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  font-size: 0.83rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.receipt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================================
 * MODALS (PRODUCT DETAIL & LOCATION)
 * ============================================================================ */
.modal-sheet {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.modal-sheet.modal-sm {
  width: min(500px, 100%);
}

.modal-close-abs {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.modal-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.modal-head-row h2 {
  margin: 0;
  font-size: 1.12rem;
}

.modal-desc {
  margin: 0 0 14px;
  font-size: 0.84rem;
  color: var(--ink-500);
}

.pm-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.pm-img-wrap {
  position: relative;
  background: var(--canvas);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
}

.pm-img-wrap img {
  max-height: 240px;
  object-fit: contain;
}

.pm-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--crimson-600);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.pm-brand {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pm-title {
  margin: 4px 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.pm-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.pm-chip {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--line-100);
  color: var(--ink-700);
  padding: 4px 9px;
  border-radius: 999px;
}

.pm-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.pm-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink-900);
}

.pm-old-price {
  font-size: 0.92rem;
  color: var(--ink-400);
  text-decoration: line-through;
}

.pm-stock {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald-600);
}

.pm-stock.out {
  color: var(--crimson-600);
}

.pm-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-stepper-lg {
  display: inline-flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  padding: 3px;
  background: var(--canvas);
}

.qty-stepper-lg button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 800;
}

.qty-stepper-lg input {
  width: 44px;
  text-align: center;
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 0.95rem;
}

.city-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.city-opt-btn {
  background: #FFFFFF;
  border: 1px solid var(--line-200);
  border-radius: 12px;
  padding: 10px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-900);
}

.city-opt-btn small {
  display: block;
  font-size: 0.69rem;
  font-weight: 500;
  color: var(--ink-500);
  margin-top: 2px;
}

.city-opt-btn.active {
  border-color: var(--orange-600);
  background: var(--orange-50);
  color: var(--orange-700);
}

.zones-info-box {
  background: var(--canvas);
  border: 1px solid var(--line-200);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.77rem;
  color: var(--ink-700);
}

/* ============================================================================
 * TOASTS
 * ============================================================================ */
.toast-region {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--bottom-nav-h) + var(--flash-dock-h) + 12px);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(380px, calc(100vw - 24px));
}

.toast-item {
  background: var(--ink-900);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeUp 0.2s ease;
}

.toast-item.success {
  background: #065F46;
}

.toast-item.error {
  background: #991B1B;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================================
 * RESPONSIVE DESKTOP ENHANCEMENTS (>= 768px & >= 1024px)
 * ============================================================================ */
@media (min-width: 768px) {
  body {
    padding-bottom: 56px;
  }

  .desktop-only {
    display: inline-flex !important;
  }

  .card-media-btn {
    height: 196px;
  }

  .header-search-desktop {
    display: block;
  }

  .header-search-mobile {
    display: none;
  }

  .bottom-nav {
    display: none;
  }

  .flash-deal-dock {
    bottom: 0;
  }

  .toast-region {
    bottom: 56px;
  }

  .hero-banner {
    grid-template-columns: 1.25fr 1fr;
    padding: 26px 28px;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .circular-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .circular-avatar {
    width: 74px;
    height: 74px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .directory-grid,
  .brands-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .pm-layout {
    grid-template-columns: 1fr 1.15fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .directory-grid,
  .brands-directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1260px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}


/* =========================================================================
 * GOOGLE OAUTH BUTTON, AVATAR & CEDULA LINK BOX
 * ========================================================================= */
.btn-google-oauth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn-google-oauth:hover:not(:disabled) {
  background: #F8FAFC;
  border-color: #94A3B8;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.btn-google-oauth:disabled {
  opacity: 0.65;
  cursor: wait;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: #64748B;
  font-size: 0.78rem;
  font-weight: 600;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}
.logged-in-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logged-in-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #DCFCE7;
  flex-shrink: 0;
}
.link-cedula-box {
  margin: 12px 0 14px;
  padding: 12px;
  border-radius: 12px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
}
.link-cedula-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #9A3412;
}
.link-cedula-row {
  display: flex;
  gap: 8px;
}
.link-cedula-row input {
  flex: 1;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid #FDBA74;
  background: #FFFFFF;
  font-size: 0.9rem;
}
