/* Lomas Header – shortcode [lomas_header] – fuente Sora */
.lomas-header-root {
  --lomas-red: #d00000;
  --lomas-red-dark: #a00000;
  --lomas-black: #0f0e0e;
  --lomas-charcoal: #161316;
  --lomas-gray: #4b4a4b;
  --lomas-white: #ffffff;
  --lomas-text: var(--lomas-black);
  --lomas-muted: var(--lomas-gray);
  --lomas-border: rgba(15, 14, 14, 0.12);
  --lomas-bg: var(--lomas-white);
  --lomas-glass: rgba(255, 255, 255, 0.95);
  --lomas-shadow: 0 2px 16px rgba(15, 14, 14, 0.08);
  --lomas-radius: 8px;
  --header-mid-h: 72px;
  --sticky-h: 56px;
  --header-full-h: 152px;
  --site-max: 1200px;
  --site-pad: 1rem;
  font-family: "Sora", system-ui, sans-serif !important;
  color: var(--lomas-text);
  position: relative;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  line-height: 1.4;
  /* Blindaje frente a Elementor / tema */
  --e-global-typography-primary-font-family: "Sora", system-ui, sans-serif;
}

.lomas-header-root *,
.lomas-header-root *::before,
.lomas-header-root *::after {
  box-sizing: border-box;
}

/* Evitar que Elementor/tema agranden imágenes del header */
.lomas-header-root img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
  box-shadow: none !important;
}

.lomas-header-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--site-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.lomas-header {
  position: relative;
  z-index: 100;
  font-family: inherit;
  width: 100%;
  overflow: visible;
}

/* Top bar */
.lomas-header-top {
  background: #fafafa;
  border-bottom: 1px solid var(--lomas-border);
  font-size: 0.8125rem;
}
.lomas-header-top .lomas-header-inner { min-height: 32px; }
.lomas-header-top-left { display: flex; align-items: center; gap: 0.5rem; }
.lomas-social-link {
  color: var(--lomas-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.lomas-social-link:hover { color: var(--lomas-red); background: rgba(208, 0, 0, 0.1); }
.lomas-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--lomas-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.lomas-contact-link:hover { color: var(--lomas-red); }

/* Mid */
.lomas-header-mid {
  background: var(--lomas-bg);
  border-bottom: 1px solid var(--lomas-border);
  min-height: var(--header-mid-h);
  max-height: var(--header-mid-h);
  overflow: visible;
}
.lomas-header-mid-inner {
  min-height: var(--header-mid-h);
  max-height: var(--header-mid-h);
  height: var(--header-mid-h);
}
.lomas-header-logo {
  flex: 0 0 auto;
  max-width: 180px;
  line-height: 0;
}
.lomas-header-logo a {
  display: inline-block;
  line-height: 0;
}
.lomas-header-root .lomas-logo-img,
.lomas-header-root .lomas-header-logo img {
  display: block !important;
  width: auto !important;
  max-width: 180px !important;
  height: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
}
.lomas-header-search-wrap {
  flex: 1 1 auto;
  max-width: 480px;
  min-width: 0;
  margin: 0 1rem;
}
.lomas-header-account {
  flex: 0 0 auto;
  position: relative;
}

/* Menú CTA con texto rotativo + submenu (estilo Mi cuenta) */
.lomas-menu-cta-wrap {
  position: relative;
  display: inline-block;
}
.lomas-menu-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  min-height: 0;
  height: auto;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  font-family: inherit;
  color: var(--lomas-text);
  background: transparent;
  border: 0;
  border-radius: var(--lomas-radius);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lomas-menu-cta:hover {
  color: var(--lomas-red);
  background: #f8f8f8;
}
.lomas-menu-cta-wrap.is-open .lomas-menu-cta {
  color: var(--lomas-red);
  background: #f8f8f8;
}
.lomas-menu-cta-icons {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-block;
}
.lomas-menu-cta-icon {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.lomas-menu-cta-icon.is-active {
  opacity: 1;
  transform: scale(1);
}
.lomas-menu-cta-icon[data-icon="cotizar"].is-active {
  color: #25d366;
}
.lomas-menu-cta-text {
  position: relative;
  display: inline-grid;
  align-items: center;
  min-width: 5.75rem;
}
.lomas-menu-cta-sizer {
  visibility: hidden;
  display: grid;
  pointer-events: none;
  user-select: none;
}
.lomas-menu-cta-sizer > span {
  grid-area: 1 / 1;
  white-space: nowrap;
}
.lomas-menu-cta-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  pointer-events: none;
}
.lomas-menu-cta-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}
.lomas-menu-cta-label.is-active {
  opacity: 1;
  transform: translateY(0);
}
.lomas-menu-cta-label.is-exit {
  opacity: 0;
  transform: translateY(-6px);
}
.lomas-menu-cta-chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
  opacity: 0.7;
}
.lomas-menu-cta-wrap.is-open .lomas-menu-cta-chevron {
  transform: rotate(180deg);
}
.lomas-menu-cta-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  width: max-content;
  background: #fff;
  border: 1px solid var(--lomas-border);
  border-radius: var(--lomas-radius);
  box-shadow: var(--lomas-shadow);
  z-index: 320;
  padding: 0.35rem;
  display: none;
}
.lomas-menu-cta-dropdown[hidden] {
  display: none !important;
}
.lomas-menu-cta-wrap.is-open .lomas-menu-cta-dropdown {
  display: block;
}
.lomas-menu-cta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  color: var(--lomas-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.lomas-menu-cta-item:hover {
  background: #f5f5f5;
  color: var(--lomas-red);
}
.lomas-menu-cta-whatsapp {
  color: #128c7e;
}
.lomas-menu-cta-whatsapp:hover {
  background: rgba(18, 140, 126, 0.08);
  color: #075e54;
}
.lomas-menu-cta-sticky .lomas-menu-cta {
  padding: 0.35rem 0.7rem;
  font-size: 0.875rem;
}
.lomas-menu-cta-sticky .lomas-menu-cta-icons,
.lomas-menu-cta-sticky .lomas-menu-cta-icon {
  width: 18px;
  height: 18px;
}
.lomas-menu-cta-sticky .lomas-menu-cta-text {
  min-width: 5.25rem;
}
.lomas-mobile-btn-whatsapp {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--lomas-radius);
  font-family: inherit;
}
.lomas-mobile-btn-whatsapp:hover { filter: brightness(0.95); }
.lomas-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid var(--lomas-border);
  border-radius: var(--lomas-radius);
  overflow: visible;
}
.lomas-search-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 1rem;
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-family: inherit;
  color: var(--lomas-text);
}
.lomas-search-input::placeholder { color: var(--lomas-muted); }
.lomas-search-input:focus { outline: none; }
.lomas-search-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--lomas-muted);
  cursor: pointer;
  border-radius: 0 var(--lomas-radius) var(--lomas-radius) 0;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
}
.lomas-search-btn:hover { color: var(--lomas-red); background: rgba(0, 0, 0, 0.04); }
.lomas-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--lomas-bg);
  border: 1px solid var(--lomas-border);
  border-radius: var(--lomas-radius);
  box-shadow: var(--lomas-shadow);
  max-height: 360px;
  overflow-y: auto;
  z-index: 200;
  display: none;
}
.lomas-search-dropdown.is-open { display: block; }
.lomas-search-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: var(--lomas-text);
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
  font-family: inherit;
}
.lomas-search-result:last-child { border-bottom: 0; }
.lomas-search-result:hover { background: #f8f8f8; }
.lomas-search-result-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  background: #eee;
  flex-shrink: 0;
}
.lomas-search-result-name { font-weight: 600; margin-bottom: 0.15rem; font-size: 0.9rem; }
.lomas-search-result-meta { font-size: 0.8rem; color: var(--lomas-muted); }
@media (max-width: 768px) {
  .lomas-header-account { display: none; }
}

/* Nav rojo */
.lomas-header-nav-wrap {
  background: var(--lomas-red);
  position: relative;
}
.lomas-header-nav {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--site-pad);
}
.lomas-header-nav .lomas-nav-list { justify-content: center; }
.lomas-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.lomas-nav-list > li { position: relative; }
.lomas-nav-list > li > a,
.lomas-nav-trigger {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.lomas-nav-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 0.35rem;
}
.lomas-nav-list > li > a:hover,
.lomas-nav-trigger:hover { background: rgba(0, 0, 0, 0.2); }

/* Mega dropdown: SIEMPRE debajo de la franja roja (no fixed sobre el header) */
.lomas-header-nav-wrap {
  overflow: visible;
}
.lomas-nav-list > li.lomas-nav-has-dropdown {
  position: static;
}
.lomas-nav-has-dropdown .lomas-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(0);
  width: min(calc(100vw - 2rem), 1100px);
  max-width: calc(100vw - 2rem);
  margin: 0;
  background: #fff;
  border-top: 1px solid var(--lomas-border);
  border-radius: 0 0 var(--lomas-radius) var(--lomas-radius);
  box-shadow: 0 12px 40px rgba(3, 7, 30, 0.12);
  padding: 1.25rem 1rem 1.5rem;
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
  font-family: inherit;
}
.lomas-nav-has-dropdown.is-open .lomas-nav-dropdown,
.lomas-nav-has-dropdown:hover .lomas-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Sticky: dropdown bajo la barra sticky */
.lomas-header-sticky {
  overflow: visible;
}
.lomas-header-sticky .lomas-header-sticky-nav {
  position: relative;
}
.lomas-header-sticky .lomas-nav-list > li.lomas-nav-has-dropdown {
  position: static;
}
.lomas-header-sticky .lomas-nav-has-dropdown .lomas-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - 2rem), 1100px);
}
.lomas-nav-dropdown-header {
  max-width: 1200px;
  margin: 0 auto 1rem;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--lomas-border);
}
.lomas-nav-dropdown-title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lomas-text);
  font-family: inherit;
}
.lomas-nav-dropdown-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: var(--lomas-muted);
  font-weight: 400;
}
.lomas-nav-dropdown-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.lomas-nav-dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  color: var(--lomas-text);
  text-decoration: none;
  border-radius: var(--lomas-radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  background: #fafafa;
  border: 1px solid transparent;
  font-family: inherit;
}
.lomas-nav-dropdown-item:hover {
  background: #fff;
  color: var(--lomas-red);
  border-color: rgba(208, 0, 0, 0.2);
  box-shadow: 0 4px 12px rgba(208, 0, 0, 0.08);
}
.lomas-header-root .lomas-nav-thumb,
.lomas-header-root .lomas-nav-thumb-placeholder {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: cover !important;
  border-radius: var(--lomas-radius);
  flex-shrink: 0;
  display: block !important;
}
.lomas-nav-thumb-placeholder { background: #eee; }
.lomas-header-root .lomas-mobile-card-img {
  width: 100% !important;
  height: auto !important;
  max-height: 72px !important;
  object-fit: contain !important;
}

/* Sticky */
.lomas-header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--sticky-h);
  background: var(--lomas-bg);
  border-bottom: 1px solid var(--lomas-border);
  box-shadow: var(--lomas-shadow);
  z-index: 99;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  pointer-events: none;
  overflow: visible;
  font-family: inherit;
}
.lomas-header-sticky.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.lomas-header-sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lomas-header-root .lomas-header-sticky-logo img,
.lomas-header-root .lomas-mobile-logo img {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  max-width: 140px !important;
  display: block !important;
  object-fit: contain !important;
}
.lomas-header-sticky-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 1;
  min-width: 0;
}
.lomas-header-sticky-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.lomas-header-sticky-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lomas-text);
  border-radius: var(--lomas-radius);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lomas-header-sticky-search-btn:hover,
.lomas-header-sticky-search-btn.is-open {
  color: var(--lomas-red);
  background: rgba(208, 0, 0, 0.08);
}
.lomas-header-sticky-search {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  padding: 0.65rem;
  background: var(--lomas-bg);
  border: 1px solid var(--lomas-border);
  border-radius: var(--lomas-radius);
  box-shadow: var(--lomas-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 110;
  pointer-events: none;
}
.lomas-header-sticky-search.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.lomas-btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--lomas-red);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: var(--lomas-radius);
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.lomas-btn-primary:hover { background: var(--lomas-red-dark); }
.lomas-menu-cta-sticky {
  flex-shrink: 0;
}
.lomas-header-sticky-nav .lomas-nav-list > li > a,
.lomas-header-sticky-nav .lomas-nav-trigger {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--lomas-text);
}
.lomas-header-sticky-nav .lomas-nav-list > li > a:hover,
.lomas-header-sticky-nav .lomas-nav-trigger:hover {
  background: rgba(15, 14, 14, 0.06);
  color: var(--lomas-red);
}

/* Mobile bar */
.lomas-mobile-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--lomas-bg);
  border-bottom: 1px solid var(--lomas-border);
  z-index: 101;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  box-shadow: var(--lomas-shadow);
  font-family: inherit;
}
.lomas-mobile-logo img { height: 32px; width: auto; display: block; }
.lomas-mobile-actions { display: flex; align-items: center; gap: 0.5rem; }
.lomas-mobile-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--lomas-text);
  cursor: pointer;
  border-radius: var(--lomas-radius);
  transition: background 0.2s, color 0.2s;
}
.lomas-mobile-btn:hover { background: #f0f0f0; color: var(--lomas-red); }
.lomas-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.lomas-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.lomas-mobile-btn.is-open .lomas-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lomas-mobile-btn.is-open .lomas-hamburger span:nth-child(2) { opacity: 0; }
.lomas-mobile-btn.is-open .lomas-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lomas-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 102;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lomas-mobile-overlay.is-open { opacity: 1; visibility: visible; }
.lomas-mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--lomas-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 103;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: inherit;
}
.lomas-mobile-menu.is-open { transform: translateX(0); }
.lomas-mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(0, 0, 0, 0.06);
  color: var(--lomas-text);
  border-radius: 50%;
  cursor: pointer;
}
.lomas-mobile-menu-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 4rem 1.5rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.lomas-mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.lomas-mobile-nav-list > li { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.lomas-mobile-nav-list > li > a {
  display: block;
  padding: 1rem 0;
  color: var(--lomas-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}
.lomas-mobile-nav-list > li > a:hover { color: var(--lomas-red); }
.lomas-mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.lomas-mobile-nav-link {
  flex: 1;
  padding: 1rem 0;
  color: var(--lomas-text);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}
.lomas-mobile-nav-expand-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  border: 0;
  background: none;
  color: var(--lomas-text);
  cursor: pointer;
  font-family: inherit;
}
.lomas-mobile-nav-chevron { transition: transform 0.25s ease; }
.lomas-mobile-nav-expand-wrap.is-open .lomas-mobile-nav-chevron { transform: rotate(180deg); }
.lomas-mobile-nav-cards {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.lomas-mobile-nav-expand-wrap.is-open .lomas-mobile-nav-cards {
  max-height: 80vh;
  padding-bottom: 1rem;
}
.lomas-mobile-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 0.5rem;
}
.lomas-mobile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--lomas-text);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  font-family: inherit;
}
.lomas-mobile-card:hover {
  border-color: var(--lomas-red);
  color: var(--lomas-red);
}
.lomas-mobile-card-img-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: #eee;
}
.lomas-mobile-card-img { width: 100%; height: auto; display: block; }
.lomas-mobile-card-placeholder {
  width: 100%;
  aspect-ratio: 1;
  min-height: 48px;
  background: #eee;
  display: block;
}
.lomas-mobile-card-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lomas-mobile-menu-ingreso {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.lomas-mobile-btn-ingreso {
  display: block;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--lomas-red);
  color: #fff !important;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
}
.lomas-mobile-menu-footer {
  padding: 1.25rem 0 0;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.lomas-mobile-footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lomas-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.lomas-mobile-footer-social { display: flex; gap: 0.75rem; }
.lomas-mobile-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--lomas-muted);
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}
.lomas-mobile-social-link:hover {
  color: var(--lomas-red);
  background: rgba(208, 0, 0, 0.1);
}

.lomas-mobile-search {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: var(--lomas-bg);
  border-bottom: 1px solid var(--lomas-border);
  z-index: 104;
  box-shadow: var(--lomas-shadow);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s, visibility 0.25s;
  font-family: inherit;
}
.lomas-mobile-search.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 991px) {
  .lomas-header-top,
  .lomas-header-mid,
  .lomas-header-nav-wrap,
  .lomas-header-sticky {
    display: none !important;
  }
  .lomas-mobile-bar { display: flex; }
  .lomas-mobile-overlay { display: block; }
  .lomas-mobile-search { display: block; }
  body.lomas-has-header { padding-top: 56px; }
}

@media (min-width: 992px) {
  .lomas-mobile-bar,
  .lomas-mobile-overlay,
  .lomas-mobile-menu,
  .lomas-mobile-search {
    display: none !important;
  }
}

/* Elementor: full-bleed + no recortar mega-menú */
.elementor-location-header,
.elementor-location-header > .e-con,
.elementor-location-header > .elementor-section,
.e-con:has(.lomas-header-root),
.elementor-element:has(.lomas-header-root),
.elementor-widget:has(.lomas-header-root),
.elementor-widget-container:has(.lomas-header-root),
.elementor-shortcode:has(.lomas-header-root) {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
.elementor-element:has(.lomas-header-root) .elementor-widget-container,
.e-con:has(.lomas-header-root) > .e-con-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.lomas-header-root {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.lomas-header-root .lomas-header-mid-inner > * {
  min-width: 0;
}
.lomas-header-root .lomas-header-logo {
  min-width: auto;
}
