/* La Morita Chef — Brand tokens & base styles */
:root {
  --lm-cream: #FBF5E9;
  --lm-cream-2: #F3E8D0;
  --lm-cream-3: #EDE0C7;
  --lm-terra: #B8553A;
  --lm-terra-light: #D4775E;
  --lm-terra-dark: #8C3D28;
  --lm-teal: #2A6B5A;
  --lm-teal-light: #3D8E79;
  --lm-teal-dark: #1D4D40;
  --lm-gold: #C98A2B;
  --lm-gold-light: #E9B96B;
  --lm-ink: #2B1D12;
  --lm-ink-soft: #3E2D1C;
  --lm-ink-muted: #594632;
  --lm-white: #FFFFFF;
  --lm-green-wa: #25D366;
  --lm-green-wa-dark: #128C7E;
  --lm-border: rgba(43,29,18,.14);
  --lm-shadow-sm: 0 2px 6px rgba(43,29,18,.06);
  --lm-shadow-md: 0 6px 18px rgba(43,29,18,.09);
  --lm-shadow-lg: 0 12px 32px rgba(43,29,18,.13);
  --lm-radius: 14px;
  --lm-radius-sm: 10px;
  --lm-radius-lg: 20px;
  --lm-radius-full: 9999px;
  --lm-font-display: 'Playfair Display', Georgia, serif;
  --lm-font-body: 'DM Sans', system-ui, sans-serif;
  --lm-nav-h: 68px;
  --lm-tab-h: 64px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: var(--lm-font-body);
  background: var(--lm-cream);
  color: var(--lm-ink);
  min-height: 100dvh;
  overflow-x: hidden;
  display: block;
}

#root {
  width: 100%;
  min-height: 100dvh;
}

/* Global Container */
.lm-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  min-height: 100dvh;
  background: var(--lm-cream);
}

/* Top navbar */
.lm-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--lm-nav-h);
  background: rgba(251,245,233,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lm-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
}
.lm-nav .brand { display: flex; align-items: center; gap: 10px; }
.lm-nav .brand-name {
  font-family: var(--lm-font-display); font-weight: 700;
  font-size: 21px; color: var(--lm-terra); letter-spacing: .3px;
}
.lm-nav .brand-name span { color: var(--lm-ink); font-weight: 500; }
.lm-nav .logo-img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }

/* Desktop Navigation Links (hidden on mobile) */
.lm-nav-desktop-links {
  display: none;
}
.lm-nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; font-family: var(--lm-font-body);
  font-size: 14.5px; font-weight: 500; color: var(--lm-ink-soft);
  cursor: pointer; padding: 8px 14px; border-radius: var(--lm-radius-sm);
  transition: all .15s;
}
.lm-nav-link:hover { color: var(--lm-terra-dark); background: rgba(140,61,40,.08); }
.lm-nav-link.active { color: var(--lm-terra-dark); font-weight: 700; background: rgba(140,61,40,.14); }
.lm-nav-wa-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,211,102,.14); color: var(--lm-teal-dark);
  border: 1px solid rgba(37,211,102,.3); padding: 7px 14px;
  border-radius: var(--lm-radius-full); text-decoration: none;
  font-size: 13.5px; font-weight: 600; transition: all .15s;
}
.lm-nav-wa-pill:hover { background: var(--lm-green-wa); color: #fff; transform: translateY(-1px); }

/* Cart button */
.lm-nav .cart-btn {
  position: relative; height: 44px; padding: 0 12px; border-radius: 22px;
  background: var(--lm-white); border: 1px solid var(--lm-border);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; transition: all .2s ease;
}
.lm-nav .cart-btn:hover { background: var(--lm-cream-2); transform: scale(1.03); }
.lm-nav .cart-btn:active { transform: scale(.97); }
.lm-nav .cart-btn svg { width: 22px; height: 22px; stroke: var(--lm-ink); fill: none; stroke-width: 2; }
.lm-nav .cart-badge {
  min-width: 20px; height: 20px; border-radius: 10px;
  background: var(--lm-terra); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
  padding: 0 5px;
}
.cart-btn-desktop-label {
  display: none; font-family: var(--lm-font-display);
  font-weight: 700; font-size: 15px; color: var(--lm-terra);
}


/* ─── Sección de contenido SEO sobre lasañas ─── */
.lm-seo {
  padding: 32px 16px 8px;
  border-top: 1px solid var(--lm-border);
  margin-top: 32px;
}
.lm-seo-inner { max-width: 1080px; margin: 0 auto; }
.lm-seo-title {
  font-family: var(--lm-font-display);
  font-size: 24px; font-weight: 700; line-height: 1.25;
  color: var(--lm-terra-dark); margin-bottom: 12px;
}
.lm-seo-lead, .lm-seo-p {
  font-size: 15px; line-height: 1.6; color: var(--lm-ink-muted);
  margin-bottom: 20px;
}
.lm-seo-h3 {
  font-family: var(--lm-font-display);
  font-size: 18px; font-weight: 700; color: var(--lm-ink);
  margin: 24px 0 10px;
}
.lm-seo-list { list-style: none; display: grid; gap: 10px; }
.lm-seo-list li {
  font-size: 14.5px; line-height: 1.55; color: var(--lm-ink-muted);
  padding-left: 14px; position: relative;
}
.lm-seo-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--lm-terra-light);
}
.lm-seo-list strong { color: var(--lm-ink); font-weight: 700; }

.lm-seo-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lm-seo-size {
  background: var(--lm-white); border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-sm); padding: 14px 12px;
  display: flex; flex-direction: column; gap: 3px; text-align: center;
}
.lm-seo-size .size-name {
  font-family: var(--lm-font-display); font-weight: 700;
  font-size: 15px; color: var(--lm-ink);
}
.lm-seo-size .size-price {
  font-family: var(--lm-font-display); font-weight: 700;
  font-size: 19px; color: var(--lm-terra);
}
.lm-seo-size .size-desc { font-size: 12.5px; color: var(--lm-ink-muted); }
.lm-seo-note {
  font-size: 13.5px; color: var(--lm-ink-muted);
  margin-top: 10px; font-style: italic;
}

.lm-seo-faq { display: grid; gap: 16px; }
.lm-seo-q {
  font-size: 15px; font-weight: 700; color: var(--lm-ink); margin-bottom: 5px;
}
.lm-seo-a {
  font-size: 14.5px; line-height: 1.55; color: var(--lm-ink-muted);
}

.lm-seo-link {
  color: var(--lm-terra-dark);
  font-weight: 600;
  text-decoration: none;
}
.lm-seo-link:hover { text-decoration: underline; }

/* Category pills */
.lm-cats {
  position: sticky; top: var(--lm-nav-h); z-index: 90;
  background: rgba(251,245,233,.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 16px;
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--lm-border);
}
.lm-cats::-webkit-scrollbar { display: none; }
.lm-cat-pill {
  flex: 0 0 auto; padding: 8px 18px; border-radius: var(--lm-radius-full);
  border: 1.5px solid var(--lm-border); background: var(--lm-white);
  font-family: var(--lm-font-body); font-size: 14px; font-weight: 500;
  color: var(--lm-ink-soft); cursor: pointer;
  transition: all .15s ease; white-space: nowrap;
}
.lm-cat-pill:hover { border-color: var(--lm-ink-muted); }
.lm-cat-pill:active { transform: scale(.97); }
.lm-cat-pill.active {
  background: var(--lm-ink); color: var(--lm-cream);
  border-color: var(--lm-ink);
}

/* Section title */
.lm-section-title {
  font-family: var(--lm-font-display); font-weight: 700;
  font-size: 24px; color: var(--lm-ink);
  padding: 24px 16px 10px;
}
.lm-section-title em { font-style: italic; color: var(--lm-terra); }

/* Product Grid & Card */
.lm-products-grid {
  display: flex; flex-direction: column;
}
.lm-product {
  display: flex; gap: 14px; padding: 14px 16px;
  cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
  border-bottom: 1px solid rgba(43,29,18,.06);
}
.lm-product:active { background: rgba(43,29,18,.03); }
.lm-product .thumb {
  width: 96px; height: 96px; flex: 0 0 96px;
  border-radius: var(--lm-radius-sm); object-fit: cover;
  background: var(--lm-cream-2);
}
.lm-product .info { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.lm-product .name {
  font-family: var(--lm-font-body); font-weight: 600;
  font-size: 16px; color: var(--lm-ink); line-height: 1.25;
}
.lm-product .desc {
  font-size: 13.5px; color: var(--lm-ink-soft); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lm-product .price-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.lm-product .price {
  font-family: var(--lm-font-display); font-weight: 700;
  font-size: 17.5px; color: var(--lm-terra-dark);
}
.lm-product .add-btn {
  margin-left: auto; width: 36px; height: 36px;
  border-radius: 50%; background: var(--lm-ink);
  color: var(--lm-cream); display: grid; place-items: center;
  border: none; font-size: 19px; font-weight: 700; cursor: pointer;
  transition: transform .15s, background .15s; flex: 0 0 36px;
}
.lm-product .add-btn:hover { background: var(--lm-terra-dark); transform: scale(1.08); }
.lm-product .add-btn:active { transform: scale(.92); }

/* Product detail modal */
.lm-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(43,29,18,.5);
  backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .2s ease;
}
.lm-modal {
  width: 100%; max-width: 480px; max-height: 92dvh;
  background: var(--lm-white);
  border-radius: var(--lm-radius-lg) var(--lm-radius-lg) 0 0;
  overflow-y: auto; animation: slideUp .25s ease;
  position: relative;
}
.lm-modal .hero-img {
  width: 100%; height: 230px; object-fit: cover;
  background: var(--lm-cream-2);
}
.lm-modal .modal-body { padding: 18px 20px 100px; }
.lm-modal .modal-title {
  font-family: var(--lm-font-display); font-weight: 700;
  font-size: 24px; line-height: 1.15; color: var(--lm-ink);
}
.lm-modal .modal-desc { font-size: 14px; color: var(--lm-ink-muted); margin-top: 6px; line-height: 1.4; }
.lm-modal .modal-price {
  font-family: var(--lm-font-display); font-weight: 700;
  font-size: 22px; color: var(--lm-terra); margin-top: 8px;
}
.lm-modal .option-group { margin-top: 18px; }
.lm-modal .option-label {
  font-weight: 600; font-size: 15px; color: var(--lm-ink); margin-bottom: 8px;
}
.lm-modal .option-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.lm-modal .opt-pill {
  padding: 8px 18px; border-radius: var(--lm-radius-full);
  border: 1.5px solid var(--lm-border); background: var(--lm-white);
  font-family: var(--lm-font-body); font-size: 14px; cursor: pointer;
  transition: all .15s;
}
.lm-modal .opt-pill.active {
  background: var(--lm-ink); color: var(--lm-cream);
  border-color: var(--lm-ink);
}
.lm-modal .notes-input {
  width: 100%; margin-top: 16px; padding: 12px 14px;
  border: 1.5px solid var(--lm-border); border-radius: var(--lm-radius-sm);
  font-family: var(--lm-font-body); font-size: 14px;
  background: var(--lm-cream); resize: none; outline: none;
  transition: border-color .15s;
}
.lm-modal .notes-input:focus { border-color: var(--lm-terra); background: var(--lm-white); }
.lm-modal .qty-row {
  display: flex; align-items: center; gap: 16px;
  margin-top: 18px; justify-content: center;
}
.lm-modal .qty-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--lm-border); background: var(--lm-white);
  font-size: 20px; font-weight: 600; cursor: pointer; display: grid; place-items: center;
  transition: all .12s;
}
.lm-modal .qty-btn:hover { background: var(--lm-cream-2); }
.lm-modal .qty-btn:active { transform: scale(.92); }
.lm-modal .qty-val {
  font-family: var(--lm-font-display); font-weight: 700;
  font-size: 22px; min-width: 36px; text-align: center;
}
.lm-modal .add-to-cart {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  padding: 14px 20px; background: rgba(251,245,233,.96);
  backdrop-filter: blur(10px); border-top: 1px solid var(--lm-border);
  z-index: 201;
}
.lm-modal .add-to-cart button {
  width: 100%; padding: 15px; border-radius: var(--lm-radius);
  background: var(--lm-ink); color: var(--lm-cream);
  font-family: var(--lm-font-body); font-size: 16px; font-weight: 600;
  border: none; cursor: pointer; transition: background .15s, transform .1s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.lm-modal .add-to-cart button:hover { background: var(--lm-terra); }
.lm-modal .add-to-cart button:active { transform: scale(.98); }

/* Cart view */
.lm-cart-view { padding: 16px; padding-bottom: 200px; }
.lm-cart-header { margin-bottom: 8px; }
.lm-cart-layout { display: flex; flex-direction: column; gap: 16px; }
.lm-cart-items-list { display: flex; flex-direction: column; }
.lm-cart-item {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid rgba(43,29,18,.07);
  align-items: center;
}
.lm-cart-item .thumb { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; object-fit: cover; background: var(--lm-cream-2); }
.lm-cart-item .info { flex: 1; min-width: 0; }
.lm-cart-item .name { font-weight: 600; font-size: 15px; }
.lm-cart-item .meta { font-size: 12.5px; color: var(--lm-ink-muted); margin-top: 2px; }
.lm-cart-item .price { font-family: var(--lm-font-display); font-weight: 700; font-size: 16px; color: var(--lm-terra); margin-top: 2px; }
.lm-cart-item .qty-mini {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.lm-cart-item .qty-mini button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--lm-border); background: var(--lm-white);
  font-size: 14px; cursor: pointer; display: grid; place-items: center;
  transition: all .12s;
}
.lm-cart-item .qty-mini button:hover { background: var(--lm-cream-2); }
.lm-cart-item .qty-mini span { font-weight: 600; font-size: 14px; min-width: 20px; text-align: center; }
.lm-cart-item .remove-btn {
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(184,85,58,.1); color: var(--lm-terra);
  font-size: 14px; cursor: pointer; display: grid; place-items: center;
  margin-left: auto; flex: 0 0 30px; transition: all .15s;
}
.lm-cart-item .remove-btn:hover { background: var(--lm-terra); color: #fff; }

/* Cart summary */
.lm-cart-summary {
  margin-top: 16px; padding: 18px; background: var(--lm-white);
  border-radius: var(--lm-radius); border: 1px solid var(--lm-border);
  box-shadow: var(--lm-shadow-sm);
}
.lm-cart-summary .line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--lm-ink-soft); }
.lm-cart-summary .total {
  display: flex; justify-content: space-between; padding: 10px 0 0;
  border-top: 1.5px solid var(--lm-border); margin-top: 8px;
  font-family: var(--lm-font-display); font-weight: 700; font-size: 20px;
}
.lm-cart-summary .total .val { color: var(--lm-terra); }

/* Checkout form */
.lm-checkout { padding: 16px; padding-bottom: 160px; }
.lm-checkout-layout { display: flex; flex-direction: column; gap: 16px; }
.lm-field { margin-bottom: 14px; }
.lm-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; color: var(--lm-ink); }
.lm-field input, .lm-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--lm-border);
  border-radius: var(--lm-radius-sm); font-family: var(--lm-font-body);
  font-size: 14px; background: var(--lm-white); outline: none;
  transition: border-color .15s;
}
.lm-field input:focus, .lm-field textarea:focus { border-color: var(--lm-terra); }
.lm-field textarea { resize: none; height: 75px; }

/* Toggle pills for delivery */
.lm-toggle-row { display: flex; gap: 8px; margin-bottom: 14px; }
.lm-toggle-pill {
  flex: 1; padding: 12px; border-radius: var(--lm-radius-sm);
  border: 1.5px solid var(--lm-border); background: var(--lm-white);
  font-family: var(--lm-font-body); font-size: 14px; font-weight: 500;
  text-align: center; cursor: pointer; transition: all .15s;
}
.lm-toggle-pill.active {
  background: var(--lm-ink); color: var(--lm-cream);
  border-color: var(--lm-ink);
}

/* WhatsApp CTA */
.lm-wa-btn {
  width: 100%; padding: 16px; border-radius: var(--lm-radius);
  background: var(--lm-green-wa); color: #fff;
  font-family: var(--lm-font-body); font-size: 16px; font-weight: 700;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
  transition: background .15s, transform .1s, box-shadow .15s;
}
.lm-wa-btn:hover { background: var(--lm-green-wa-dark); box-shadow: 0 6px 20px rgba(37,211,102,.4); }
.lm-wa-btn:active { transform: scale(.98); }

/* Bottom tab bar */
.lm-tabbar {
  position: fixed; bottom: 0; left: 0;
  width: 100%; z-index: 150;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--lm-border);
  display: flex; height: var(--lm-tab-h);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.lm-tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 500; color: var(--lm-ink-muted);
  cursor: pointer; transition: color .15s, transform .1s; border: none; background: none;
  font-family: var(--lm-font-body); position: relative;
}
.lm-tab:hover { color: var(--lm-ink); }
.lm-tab svg { width: 22px; height: 22px; stroke-width: 2; fill: none; stroke: currentColor; }
.lm-tab.active { color: var(--lm-terra); font-weight: 600; }
.lm-tab .tab-badge {
  position: absolute; top: 6px; right: calc(50% - 18px);
  min-width: 16px; height: 16px; border-radius: 8px;
  background: var(--lm-terra); color: #fff;
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
  padding: 0 3px;
}

/* Sticky cart bar (when on menu) */
.lm-sticky-cart {
  position: fixed; bottom: calc(var(--lm-tab-h) + 8px);
  left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: 448px;
  padding: 12px 16px; border-radius: var(--lm-radius);
  background: var(--lm-ink); color: var(--lm-cream);
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--lm-shadow-lg);
  cursor: pointer; z-index: 140;
  animation: slideUp .2s ease;
  border: none; font-family: var(--lm-font-body);
  transition: transform .15s, background .15s;
}
.lm-sticky-cart:hover { background: #3d2b1f; transform: translateX(-50%) translateY(-2px); }
.lm-sticky-cart .sc-left { display: flex; align-items: center; gap: 10px; }
.lm-sticky-cart .sc-qty {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--lm-terra); display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.lm-sticky-cart .sc-label { font-size: 15px; font-weight: 600; }
.lm-sticky-cart .sc-total {
  font-family: var(--lm-font-display); font-weight: 700; font-size: 18px;
}

/* Empty state */
.lm-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px 24px; text-align: center; color: var(--lm-ink-muted);
}
.lm-empty svg { width: 64px; height: 64px; stroke: var(--lm-ink-muted); opacity: .4; margin-bottom: 16px; }
.lm-empty .title { font-family: var(--lm-font-display); font-size: 20px; color: var(--lm-ink); margin-bottom: 6px; }
.lm-empty .sub { font-size: 14px; }

/* Hero banner */
.lm-hero {
  padding: 24px 16px 16px; text-align: center;
}
.lm-hero .greeting { font-size: 13.5px; color: var(--lm-terra-dark); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.lm-hero .headline {
  font-family: var(--lm-font-display); font-weight: 700;
  font-size: 26px; line-height: 1.15; margin-top: 4px;
}
.lm-hero .headline em { font-style: italic; color: var(--lm-terra); }
.lm-hero .hero-subtitle {
  font-size: 14px; color: var(--lm-ink-soft); margin-top: 8px; line-height: 1.45; max-width: 540px; margin-left: auto; margin-right: auto;
}
.hero-badges-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 14px;
}
.hero-feature-badge {
  padding: 4px 12px; border-radius: var(--lm-radius-full);
  background: var(--lm-white); border: 1px solid var(--lm-border);
  font-size: 12px; font-weight: 600; color: var(--lm-ink-soft);
}

/* Search Bar */
.lm-search {
  margin: 12px 16px 0; padding: 11px 14px; border-radius: var(--lm-radius);
  border: 1.5px solid var(--lm-border); background: var(--lm-white);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--lm-font-body); font-size: 14px; color: var(--lm-ink-muted);
}
.lm-search svg { width: 18px; height: 18px; stroke: var(--lm-ink-muted); fill: none; stroke-width: 2; flex: 0 0 18px; }
.lm-search input {
  border: none; background: none; outline: none; font-family: inherit;
  font-size: 14px; color: var(--lm-ink); width: 100%;
}
.lm-search input::placeholder { color: var(--lm-ink-muted); }

/* Animations */
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { transform: translateY(40px); opacity: .7 } to { transform: translateY(0); opacity: 1 } }
@keyframes slideUpCenter { from { transform: translate(-50%, 40px) } to { transform: translate(-50%, 0) } }

/* Back button */
.lm-back {
  display: flex; align-items: center; gap: 6px; padding: 8px 0;
  font-size: 14px; font-weight: 500; color: var(--lm-ink-soft);
  cursor: pointer; border: none; background: none;
  font-family: var(--lm-font-body); margin-bottom: 8px;
}
.lm-back:hover { color: var(--lm-terra); }
.lm-back svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Close btn for modal */
.lm-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(43,29,18,.6); color: #fff;
  border: none; font-size: 18px; cursor: pointer;
  display: grid; place-items: center; z-index: 5;
  backdrop-filter: blur(4px); transition: background .15s;
}
.lm-modal-close:hover { background: var(--lm-terra); }

/* Page padding for tab bar */
.lm-page-content { padding-bottom: calc(var(--lm-tab-h) + 40px); }

/* Field Validation Errors & Select styling */
.lm-field input.has-error, .lm-field select.has-error, .lm-field textarea.has-error {
  border-color: #D32F2F !important;
  background-color: #FFF8F8;
}
.lm-field-error {
  color: #D32F2F;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
  display: block;
}
.lm-field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--lm-border);
  border-radius: var(--lm-radius-sm); font-family: var(--lm-font-body);
  font-size: 14px; background: var(--lm-white); outline: none;
  transition: border-color .15s; appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B1D12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* Disabled WA Button */
.lm-wa-btn:disabled, .lm-wa-btn.disabled {
  opacity: .55;
  cursor: not-allowed;
  background: var(--lm-ink-muted);
  box-shadow: none;
}

/* Store Status Badge */
.lm-status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--lm-radius-full);
  font-size: 12px; font-weight: 600;
}
.lm-status-badge.open {
  background: rgba(37, 211, 102, 0.15); color: var(--lm-teal-dark);
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.lm-status-badge.closed {
  background: rgba(184, 85, 58, 0.15); color: var(--lm-terra-dark);
  border: 1px solid rgba(184, 85, 58, 0.4);
}
.lm-status-dot {
  width: 7px; height: 7px; border-radius: 50%; display: inline-block;
}
.lm-status-badge.open .lm-status-dot { background: var(--lm-green-wa); }
.lm-status-badge.closed .lm-status-dot { background: var(--lm-terra); }

/* Success Toast / Dialog */
.lm-toast-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(43,29,18,.5);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: fadeIn .2s ease;
}
.lm-toast-card {
  background: var(--lm-white); border-radius: var(--lm-radius-lg);
  padding: 24px 20px; width: 100%; max-width: 380px; text-align: center;
  box-shadow: var(--lm-shadow-lg); animation: slideUp .25s ease;
}
.lm-toast-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(37, 211, 102, 0.15); color: var(--lm-green-wa-dark);
  display: grid; place-items: center; margin: 0 auto 12px;
}
.lm-toast-title {
  font-family: var(--lm-font-display); font-size: 22px; font-weight: 700;
  color: var(--lm-ink); margin-bottom: 6px;
}
.lm-toast-sub { font-size: 14px; color: var(--lm-ink-soft); line-height: 1.4; margin-bottom: 18px; }

/* Semantic Footer */
.lm-footer {
  margin-top: 48px;
  background: var(--lm-white);
  border-top: 1px solid var(--lm-border);
  padding: 40px 20px 100px;
}
.lm-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-title {
  font-family: var(--lm-font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--lm-terra);
}
.footer-title span {
  color: var(--lm-ink);
}
.footer-desc {
  font-size: 14px;
  color: var(--lm-ink-soft);
  line-height: 1.5;
  max-width: 360px;
}
.footer-heading {
  font-family: var(--lm-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--lm-ink);
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--lm-ink-soft);
}
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.payment-tag {
  background: var(--lm-cream-2);
  padding: 6px 12px;
  border-radius: var(--lm-radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lm-ink);
}
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lm-green-wa-dark);
  color: #ffffff;
  padding: 11px 20px;
  border-radius: var(--lm-radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(18,140,126,.25);
  transition: all .15s;
}
.footer-wa-btn:hover {
  background: #0d6d62;
  color: #ffffff;
  transform: translateY(-1px);
}
.lm-footer-bottom {
  max-width: 1080px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--lm-border);
  text-align: center;
  font-size: 13px;
  color: var(--lm-ink-muted);
}

/* ─── Landing pages SEO (páginas de variedad y página pilar, Tasks 3-4) ─── */
.lm-lp-hero {
  padding: 32px 16px 20px;
  text-align: center;
}
.lm-lp-hero h1 {
  font-family: var(--lm-font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--lm-ink);
}
.lm-lp-hero img {
  display: block;
  width: 104px; height: 104px;
  margin: 16px auto 0;
  border-radius: var(--lm-radius);
  object-fit: cover;
  background: var(--lm-cream-2);
}
.lm-lp-intro {
  font-size: 15px;
  line-height: 1.55;
  color: var(--lm-ink-soft);
  max-width: 560px;
  margin: 12px auto 0;
}

.lm-lp-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 24px;
}
.lm-lp-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--lm-ink-muted);
  margin-bottom: 16px;
}
.lm-lp-body p:last-child { margin-bottom: 0; }

/* Tarjetas de tamaño (Junior / Personal / Maxxi) */
.lm-lp-sizes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 16px 24px;
}
.lm-lp-size {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 20px 16px;
  background: var(--lm-white);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  box-shadow: var(--lm-shadow-sm);
}
.lm-lp-size h3 {
  font-family: var(--lm-font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--lm-ink);
}
.lm-lp-size-price {
  font-family: var(--lm-font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--lm-terra);
}

/* Botón WhatsApp independiente: dentro de .lm-lp-size no hay pill de navbar
   cerca, así que necesita estilo de botón completo por sí solo. */
.lm-lp-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 12px 18px;
  border-radius: var(--lm-radius-full);
  background: var(--lm-green-wa);
  color: #fff;
  font-family: var(--lm-font-body);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
  transition: background .15s, transform .1s, box-shadow .15s;
}
.lm-lp-wa:hover { background: var(--lm-green-wa-dark); box-shadow: 0 6px 20px rgba(37,211,102,.4); }
.lm-lp-wa:active { transform: scale(.98); }

/* En el navbar, .lm-lp-wa se combina con .lm-nav-wa-pill, que ya tiene su
   propio look de pill. Sin este override, .lm-lp-wa (por venir después en
   la cascada) pisaría ese estilo con el de botón completo. Se restaura
   aquí el aspecto original de la pill: es un no-op visual a propósito. */
.lm-nav-wa-pill.lm-lp-wa {
  width: auto;
  margin-top: 0;
  padding: 7px 14px;
  gap: 6px;
  background: rgba(37,211,102,.14);
  color: var(--lm-teal-dark);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: none;
}
.lm-nav-wa-pill.lm-lp-wa:hover {
  background: var(--lm-green-wa);
  color: #fff;
  box-shadow: none;
}

.lm-lp-faq {
  max-width: 780px;
  margin: 0 auto;
  padding: 8px 16px 32px;
}
.lm-lp-faq h2 {
  font-family: var(--lm-font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--lm-terra-dark);
  margin-bottom: 16px;
}
.lm-lp-faq-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--lm-border);
}
.lm-lp-faq-item:last-child { border-bottom: none; }
.lm-lp-faq-item h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--lm-ink);
  margin-bottom: 6px;
}
.lm-lp-faq-item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--lm-ink-muted);
}

/* Navegación entre lasañas hermanas + enlace a la página pilar */
.lm-lp-siblings {
  max-width: 780px;
  margin: 0 auto;
  padding: 16px 16px 32px;
  border-top: 1px solid var(--lm-border);
}
.lm-lp-siblings p { font-size: 14px; margin-bottom: 10px; }
.lm-lp-siblings a {
  color: var(--lm-terra-dark);
  font-weight: 600;
  text-decoration: none;
}
.lm-lp-siblings a:hover { text-decoration: underline; }
.lm-lp-siblings ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lm-lp-siblings ul li { font-size: 14px; }

/* Grid de variedades en la página pilar */
.lm-lp-varieties {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 8px 16px 24px;
}
.lm-lp-variety-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 16px 12px;
  background: var(--lm-white);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  box-shadow: var(--lm-shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.lm-lp-variety-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lm-shadow-md);
}
.lm-lp-variety-card img {
  width: 88px; height: 88px;
  border-radius: var(--lm-radius-sm);
  object-fit: cover;
  background: var(--lm-cream-2);
}
.lm-lp-variety-card h3 {
  font-family: var(--lm-font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--lm-ink);
}
.lm-lp-variety-card p {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--lm-ink-muted);
}
.lm-lp-variety-card .lm-lp-variety-price {
  font-family: var(--lm-font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--lm-terra);
}

/* ═════════════════════════════════════════════════════════════════════════
   DESKTOP & TABLET RESPONSIVE SYSTEM (>= 768px)
   ═════════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  body {
    background: var(--lm-cream);
  }

  .lm-container {
    max-width: 1140px;
    padding: 0 28px;
    box-shadow: none;
    border-radius: 0;
  }

  /* Header & Navigation */
  .lm-nav {
    /* El .lm-container ya está centrado (max-width 1140 + margin auto).
       En position:sticky, `left` NO desplaza el box, pero translateX(-50%) sí,
       lo que empujaba la barra media anchura a la izquierda. Se centra
       heredando el ancho del contenedor y anulando su padding lateral. */
    width: auto;
    margin-left: -28px;
    margin-right: -28px;
    padding: 0 28px;
    border-radius: 0 0 16px 16px;
    height: 72px;
  }
  .lm-nav .brand-name {
    font-size: 24px;
  }

  /* Show Desktop Links */
  .lm-nav-desktop-links {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  /* Desktop Cart Button */
  .lm-nav .cart-btn {
    padding: 0 18px;
    height: 46px;
    border-radius: 23px;
    box-shadow: var(--lm-shadow-sm);
  }
  .cart-btn-desktop-label {
    display: inline-block;
  }

  /* SEO content section */
  .lm-seo { padding: 48px 28px 8px; margin-top: 48px; }
  .lm-seo-title { font-size: 30px; }
  .lm-seo-lead { font-size: 16.5px; max-width: 780px; }
  .lm-seo-h3 { font-size: 21px; margin-top: 32px; }
  .lm-seo-p { font-size: 15.5px; max-width: 820px; }
  .lm-seo-list { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
  .lm-seo-faq { grid-template-columns: 1fr 1fr; gap: 20px 32px; }

  /* Hide Bottom Mobile Tab Bar on PC */
  .lm-tabbar {
    display: none !important;
  }

  /* Categories */
  .lm-cats {
    width: auto;
    margin-left: -28px;
    margin-right: -28px;
    justify-content: center;
    border-radius: 0 0 14px 14px;
    padding: 14px 28px;
  }

  /* Hero & Search */
  .lm-hero {
    padding: 36px 28px 20px;
  }
  .lm-hero .headline {
    font-size: 38px;
  }
  .lm-hero .hero-subtitle {
    font-size: 16px;
  }
  .lm-search {
    max-width: 620px;
    margin: 20px auto 0;
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Products Grid (3 Columns on wide screens) */
  .lm-section-title {
    padding: 36px 0 16px;
    font-size: 30px;
  }
  .lm-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 0 0 28px;
  }
  .lm-product {
    border: 1px solid var(--lm-border);
    border-radius: var(--lm-radius);
    background: var(--lm-white);
    padding: 18px;
    box-shadow: var(--lm-shadow-sm);
  }
  .lm-product:hover {
    transform: translateY(-4px);
    box-shadow: var(--lm-shadow-md);
    background: var(--lm-white);
  }
  .lm-product .thumb {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    border-radius: 12px;
  }

  /* Cart View (2 Columns) */
  .lm-cart-view {
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 0 80px;
  }
  .lm-cart-header h2 {
    font-size: 34px !important;
  }
  .lm-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 36px;
    align-items: start;
  }
  .lm-cart-items-list {
    background: var(--lm-white);
    border-radius: var(--lm-radius-lg);
    border: 1px solid var(--lm-border);
    padding: 24px 28px;
    box-shadow: var(--lm-shadow-sm);
  }
  .lm-cart-sidebar {
    position: sticky;
    top: calc(var(--lm-nav-h) + 24px);
  }
  .lm-cart-summary {
    margin-top: 0;
    padding: 26px;
    border-radius: var(--lm-radius-lg);
    box-shadow: var(--lm-shadow-md);
  }

  /* Checkout View (2 Columns) */
  .lm-checkout {
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 0 80px;
  }
  .lm-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 36px;
    align-items: start;
  }
  .lm-checkout-form {
    background: var(--lm-white);
    border-radius: var(--lm-radius-lg);
    border: 1px solid var(--lm-border);
    padding: 30px 36px;
    box-shadow: var(--lm-shadow-sm);
  }
  .lm-checkout-sidebar {
    position: sticky;
    top: calc(var(--lm-nav-h) + 24px);
  }
  .lm-checkout-sidebar .lm-cart-summary {
    margin-top: 0;
    padding: 26px;
    border-radius: var(--lm-radius-lg);
    box-shadow: var(--lm-shadow-md);
  }

  /* Sticky Cart Bar on Desktop */
  .lm-sticky-cart {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    border-radius: var(--lm-radius-lg);
  }

  /* Modal on Desktop */
  .lm-modal-overlay {
    align-items: center;
    padding: 28px;
  }
  .lm-modal {
    max-width: 540px;
    border-radius: var(--lm-radius-lg);
    max-height: 85vh;
    box-shadow: var(--lm-shadow-lg);
  }
  .lm-modal .add-to-cart {
    position: sticky;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: none;
    border-radius: 0 0 var(--lm-radius-lg) var(--lm-radius-lg);
  }

  /* Footer on Desktop */
  .lm-footer {
    padding: 56px 28px 36px;
    margin-top: 60px;
  }
  .lm-footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
  }
  .lm-page-content {
    padding-bottom: 40px;
  }

  /* Landing pages SEO — desktop */
  .lm-lp-hero { padding: 48px 28px 28px; }
  .lm-lp-hero h1 { font-size: 36px; }
  .lm-lp-hero img { width: 128px; height: 128px; margin-top: 20px; }
  .lm-lp-intro { font-size: 16.5px; max-width: 640px; }

  .lm-lp-body { padding: 12px 28px 32px; }
  .lm-lp-body p { font-size: 15.5px; }

  .lm-lp-sizes {
    flex-direction: row;
    max-width: 900px;
    margin: 0 auto;
    gap: 20px;
    padding: 12px 28px 36px;
  }

  .lm-lp-faq { padding: 12px 28px 40px; }
  .lm-lp-faq h2 { font-size: 28px; }

  .lm-lp-siblings {
    max-width: 900px;
    padding: 20px 28px 40px;
  }
  .lm-lp-siblings ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 28px;
  }

  .lm-lp-varieties {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1080px;
    margin: 0 auto;
    gap: 20px;
    padding: 12px 28px 36px;
  }
  .lm-lp-variety-card { padding: 22px 16px; }
  .lm-lp-variety-card img { width: 104px; height: 104px; }
  .lm-lp-variety-card h3 { font-size: 16.5px; }
  .lm-lp-variety-card p { font-size: 13px; }
}
