/* ── Sections & Grid ── */
.ls-section { margin-bottom: 0; }
.ls-section--premium { }
.ls-section--free { }
.ls-section + .ls-banner-cta { margin-top: -1rem; }

/* ── Banner CTA ── */
.ls-banner-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  margin-top: 20px;
  margin-bottom: 15px;
  background: #fff;
  border: 1px solid #ffd1df45;
  border-radius: var(--ls-radius);
}
.ls-banner-cta__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ee015a, #d60250);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ls-banner-cta__icon svg { stroke: #fff; }
.ls-banner-cta__text { flex: 1; line-height: 1.4; }
.ls-banner-cta__text strong { display: block; font-size: 1.4rem; color: var(--ls-text); }
.ls-banner-cta__text span { color: #757575; font-weight: 700; font-size: 0.85rem; }
.ls-banner-cta__btn { flex-shrink: 0; white-space: nowrap; padding: 10px 40px; font-weight: 400; font-size: 1rem; }
.ls-banner-cta__btn svg { width: 18px; height: 18px; margin-right: 6px; }
@media (max-width: 600px) {
  .ls-banner-cta { flex-direction: column; text-align: center; padding: 14px 16px; }
  .ls-banner-cta__btn { width: 100%; justify-content: center; }
}

.ls-heading {
  font-weight: 700;
  font-size: 1.3rem;
  padding: 10px 0;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.ls-heading--filled {
  background: var(--ls-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--ls-radius);
}
.ls-heading--text {
  color: var(--ls-primary);
}
.ls-section__heading {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ls-primary);
  padding: 10px 0;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.ls-section__count {
  font-weight: 400;
  color: var(--ls-text-muted);
}

.ls-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

/* ── Card ── */
.ls-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border: 1px solid #e5e0db;
  border-radius: 1rem;
  padding: 0.25rem;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

/* Ribbon */
.ls-card__ribbon--dark { background: linear-gradient(90deg, #1a1a1a, #333) !important; padding: 8px 0 10px !important; }
.ls-card__ribbon-wrap {
  position: absolute;
  top: -14px;
  right: -10px;
  width: 75px;
  height: 75px;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}
.ls-card__ribbon {
  position: absolute;
  top: 12px;
  right: -35px;
  width: 120px;
  background: linear-gradient(90deg, #d60250, #ee015a);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 0;
  transform: rotate(45deg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 4px;
}

.ls-card__body {
  flex: 1;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

/* Right section: image + action buttons */
.ls-card__right {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  padding: 0.25rem 1rem;
  flex-shrink: 0;
  margin-left: auto;
}

.ls-card__image {
  width: 140px;
  min-width: 140px;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  text-decoration: none;
  position: relative;
  background: #e8e2dc;
  border-radius: 0.75rem;
}
.ls-card__image { border: 1px solid #e5e0db; background: none; }
.ls-card__image img { width: 100%; height: 190px; display: block; border-radius: 0.75rem; object-fit: cover; }

/* Action buttons */
.ls-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  flex-shrink: 0;
  padding-top: 1rem;
  width: 150px;
}
.ls-card__btn-wa,
.ls-card__btn-call,
.ls-card__btn-profile {
  display: flex; align-items: center; justify-content: flex-start; gap: 6px;
  padding: 6px 14px; border-radius: var(--ls-radius);
  text-decoration: none; font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  border: 1.5px solid transparent;
}
.ls-card__btn-wa { background: var(--ls-primary); color: #fff; }
.ls-card__btn-wa svg { width: 16px !important; height: 16px !important; min-width: 16px; flex-shrink: 0; overflow: visible; }
.ls-card__btn-wa svg, .ls-card__btn-wa svg path { fill: #fff !important; stroke: none !important; }
.ls-card__btn-wa:hover { background: var(--ls-primary-dark); color: #fff; }
.ls-card__btn-call { background: #fff; border-color: var(--ls-primary); color: var(--ls-primary); }
.ls-card__btn-call:hover { background: var(--ls-primary); color: #fff; }
.ls-card__btn-call:hover svg { stroke: #fff; }
.ls-card__btn-profile { background: #fff; border-color: var(--ls-primary); color: var(--ls-primary); }
.ls-card__btn-profile:hover { background: var(--ls-primary); color: #fff; border-color: var(--ls-primary); }
.ls-card__btn-profile:hover svg { stroke: #fff; }


.ls-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.ls-card__title a { color: #222; text-decoration: none; }
.ls-card__title a:hover { text-decoration: underline; }
.ls-card__title .ls-card__name { color: #f62266; }

.ls-card__location { font-size: 0.8rem; color: #777; }

.ls-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ls-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #faf9f8;
  border: 1px solid #e5e0db;
  border-radius: 2rem;
  padding: 0.2rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.ls-card__meta-icon {
  color: var(--ls-primary);
  flex-shrink: 0;
}

.ls-card__excerpt { font-size: 0.85rem; color: #666; line-height: 1.55; }


/* ── Filters ── */
.ls-filters {
  background: #fff;
  border: none;
  padding: 18px 20px;
  border-radius: var(--ls-radius);
  margin: 25px 0;
}

.search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  margin-top: -9px;
  width: 18px;
  height: 18px;
  color: var(--ls-primary);
  pointer-events: none;
}

.search-input {
  width: 100%;
  font-family: var(--ls-font);
  font-size: 1rem;
  padding: 10px 15px 10px 42px;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  outline: none;
  color: var(--ls-text);
  background: #fff;
  transition: border-color 0.2s;
}
.search-input::placeholder { color: #aaa; }
.search-input:focus { border-color: var(--ls-primary); }

.ls-filters .btn-ls { border-radius: var(--ls-radius); }

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ls-dropdown {
  position: relative;
  flex: 1 1 0;
  min-width: 130px;
}

.ls-dropdown__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  font-family: var(--ls-font);
  font-size: 0.85rem;
  color: var(--ls-text);
  background: #fff;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  cursor: pointer;
  user-select: none;
  gap: 8px;
  transition: border-color 0.2s;
}
.ls-dropdown__toggle:hover { border-color: #bbb; }
.ls-dropdown.open .ls-dropdown__toggle { border-color: var(--ls-primary); border-radius: 0.8rem 0.8rem 0 0; }
.ls-dropdown__toggle span:not(.ls-dropdown__icon) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-dropdown__icon { display: flex; align-items: center; }
.ls-dropdown__icon svg { width: 16px; height: 16px; color: var(--ls-primary); }

.ls-dropdown__arrow {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  margin-left: 8px;
  transition: transform 0.2s;
}
.ls-dropdown.open .ls-dropdown__arrow { transform: rotate(180deg); }

.ls-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 240px;
  scrollbar-width: thin;
  scrollbar-color: var(--ls-primary) transparent;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--ls-primary);
  border-top: none;
  border-radius: 0 0 0.8rem 0.8rem;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.ls-dropdown.open .ls-dropdown__menu { display: block; }

.ls-dropdown__menu::-webkit-scrollbar { width: 6px; }
.ls-dropdown__menu::-webkit-scrollbar-track { background: transparent; }
.ls-dropdown__menu::-webkit-scrollbar-thumb { background: var(--ls-primary); border-radius: 3px; }
.ls-dropdown__menu::-webkit-scrollbar-thumb:hover { background: var(--ls-primary-dark); }

.ls-dropdown__item {
  padding: 9px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
}
.ls-dropdown__item:hover { background: #fef0f2; }
.ls-dropdown__item.active { background: #fef0f2; color: var(--ls-primary); font-weight: 600; }
.ls-dropdown__item--default { color: #999; }

.ls-dropdown.disabled .ls-dropdown__toggle {
  background: #f0f0f0;
  color: #aaa;
  cursor: default;
  pointer-events: none;
}

.ls-filters .btn-ls { flex-shrink: 0; }

.ls-btn-buscar.btn-ls {
  display: inline-flex !important;
  align-items: center;
  min-width: 180px;
  padding: 12px 15px 12px 40px;
}
.ls-btn-buscar__icon {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding-left: 15px;
  border-left: 1.5px solid rgba(255,255,255,0.35);
  height: 22px;
}
.ls-btn-buscar__icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 700px) {
  .ls-filters { padding: 14px; }
  .ls-dropdown { min-width: calc(50% - 4px); }
}

@media (max-width: 480px) {
  .ls-dropdown { min-width: 100%; }
  .search-row { flex-direction: column; }
  .search-row .btn-ls { width: 100%; }
}

/* ── Breadcrumb ── */
.ls-breadcrumb-bar { }
.ls-breadcrumb { padding: 20px 0 12px; font-size: 0.85rem; font-weight: 600; color: var(--ls-text-muted); }
.ls-breadcrumb a { color: var(--ls-text-light); font-weight: 600; }
.ls-breadcrumb a:hover { color: var(--ls-primary); }
.ls-breadcrumb span.separator { margin: 0 6px; color: var(--ls-primary); font-size: 1.1rem; }

@media (max-width: 767px) {
  .ls-breadcrumb > span[itemscope]:last-of-type {
    display: none;
  }
  .ls-breadcrumb > span.separator:nth-last-of-type(-n+2) {
    display: none;
  }
}
.ls-breadcrumb span.current { color: var(--ls-text); font-weight: 600; }

/* ── Pagination ── */
.ls-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; padding: 30px 0; }

.ls-pagination__link,
.ls-pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--ls-text);
}
.ls-pagination__current { background: var(--ls-primary); color: #fff; border-color: var(--ls-primary); }
a.ls-pagination__link:hover { background: var(--ls-bg-alt); }

@media (max-width: 480px) {
  .ls-pagination { gap: 3px; }
  .ls-pagination__link,
  .ls-pagination__dots {
    min-width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
}

/* ── Featured in Category ── */
.ls-featured-section {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 0 4px;
  margin-bottom: 20px;
}
.ls-featured-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ls-primary);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.ls-featured-section__title svg {
  flex-shrink: 0;
  color: var(--ls-primary);
}

/* ── Archive ── */
.ls-archive .ls-filters {
  margin: 12px 0;
  border: none;
  border-radius: var(--ls-radius);
}
.ls-listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--ls-border-light);
}
.ls-listing-header__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ls-listing-header__left strong { font-size: 1rem; color: var(--ls-text); }
.ls-listing-header__left span { font-size: 0.8rem; color: var(--ls-text-muted); }
.ls-listing-header__count { font-size: 0.8rem; color: var(--ls-text-muted); }
.ls-archive__title {
  font-size: 1.375rem;
  color: var(--ls-text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ls-archive__title-icon {
  display: inline-flex;
  align-items: center;
  color: var(--ls-primary);
}
.ls-archive__title-icon svg { width: 28px; height: 28px; }
.ls-archive__title-icon .servicio-icon { display: inline-flex; }

/* ── Archive layout with sidebar ── */
.ls-archive__layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.ls-archive-sidebar {
  position: sticky;
  top: calc(var(--ls-header-h-scroll, 60px) + 16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
}

.ls-aside-card__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ls-text);
  margin: 0 0 10px;
}

.ls-aside-card__title svg {
  color: var(--ls-primary);
  flex-shrink: 0;
}

.ls-aside-card {
  background: #fff;
  border: 1px solid var(--ls-border-light);
  border-radius: var(--ls-radius);
  overflow: hidden;
}

.ls-aside-card__image {
  display: block;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.ls-aside-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ls-aside-card__badges {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
}

.ls-aside-card__badge {
  background: #fbbf24;
  color: var(--ls-text);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ls-aside-card__badge--boost {
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 3px 6px;
}

.ls-aside-card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ls-aside-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ls-primary);
  text-decoration: none;
}

.ls-aside-card__name:hover { text-decoration: underline; }

.ls-aside-card__location {
  font-size: 0.75rem;
  color: var(--ls-text-muted);
}

.ls-aside-card__meta {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.ls-aside-card__meta span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ls-text-light);
}

.ls-aside-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px;
  background: var(--ls-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--ls-radius);
  text-decoration: none;
}

.ls-aside-card__btn:hover { opacity: 0.9; color: #fff; }

.ls-aside-cta {
  background: linear-gradient(135deg, var(--ls-primary), var(--ls-primary-dark));
  border-radius: var(--ls-radius);
  padding: 24px;
  color: #fff;
  text-align: center;
}

.ls-aside-cta strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.ls-aside-cta p {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 12px;
}

.ls-aside-cta__btn {
  display: block;
  background: #fff;
  color: var(--ls-primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 10px;
  border-radius: var(--ls-radius);
  text-decoration: none;
}

.ls-aside-cta__btn:hover { background: #f5f5f5; }

@media (max-width: 1023px) {
  .ls-archive__layout {
    grid-template-columns: 1fr;
  }

  .ls-archive-sidebar {
    position: static;
    display: none;
  }
}

/* ── Verified badge ── */
.ls-verified-badge { vertical-align: middle; margin-left: 4px; flex-shrink: 0; }
.badge-verified { background: #e8f4fd; color: #1d9bf0; border-color: #1d9bf0; font-size: 0.75rem; padding: 0.2rem 0.55rem; }
.badge-verified svg { flex-shrink: 0; width: 14px; height: 14px; }

.ls-blur-rosa {
  box-shadow: 0 10px 16px rgb(255 125 164 / 10%);
}

/* ── Card glow ── */
.ls-card--glow {
  border-color: var(--ls-primary);
  box-shadow: 0 0 12px rgba(232, 25, 87, 0.3);
}

/* ── Boost nocturno ── */
.badge-nocturno {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
}
.badge-nocturno svg { flex-shrink: 0; }
.ls-card--boost-night {
  border-color: #7c3aed;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.25);
}

/* ── Loading state ── */
.ls-loading .ls-grid { opacity: 0.5; pointer-events: none; transition: opacity 0.2s; }

.ls-card__overlay {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  padding: 30px 8px 8px;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 1;
}
.ls-card__overlay-price { font-size: 1.1rem; font-weight: 700; color: #fff; }
.ls-card__overlay-age { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.9); }

@media (max-width: 767px) {
  .ls-card__right {
    flex-direction: column;
    gap: 0;
    padding: 0.25rem;
  }
  .ls-card__image img { height: 200px; }
  .ls-card__image { border: none; }
  .ls-card__actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.4rem 0 0;
    justify-content: center;
    width: auto;
  }
  .ls-card__btn-wa,
  .ls-card__btn-call,
  .ls-card__btn-profile {
    padding: 5px 8px;
    font-size: 0;
    gap: 0;
  }
  .ls-card__btn-wa svg,
  .ls-card__btn-call svg,
  .ls-card__btn-profile svg {
    width: 18px;
    height: 18px;
  }
  .ls-card__ribbon-wrap { width: 70px; height: 70px; top: -6px; right: -6px; }
  .ls-card__ribbon { font-size: 0.5rem; width: 100px; top: 3px; right: -28px; padding: 8px 0; }
  .ls-card__body { padding: 0.5rem 0.6rem; gap: 0.5rem; }
  .ls-card__title { font-size: 0.9rem; }
  .ls-card__meta { display: flex; flex-wrap: wrap; gap: 4px; }
  .ls-card__badge { order: 10; }
  .ls-card__location { font-size: 0.7rem; }
  .ls-card__meta-item { padding: 0.15rem 0.4rem; font-size: 0.7rem; justify-content: center; }
  .ls-card__excerpt { font-size: 0.8rem; }
  .ls-section { margin-bottom: 0; }

  .filters-row { flex-direction: column; gap: 10px; }
  .ls-dropdown { min-width: 100%; }

  .ls-filter-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 0 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
  }
  .ls-filter-drawer--open { transform: translateY(0); }

  .ls-filter-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: #fff;
  }
  .ls-filter-drawer__title { font-size: 1.1rem; font-weight: 700; color: var(--ls-text); }
  .ls-filter-drawer__close { background: none; border: none; cursor: pointer; color: var(--ls-text-muted); padding: 0; }

  .ls-filter-drawer__apply {
    width: 100%;
    margin-top: 1rem;
    padding: 14px;
    font-size: 1rem;
    border-radius: var(--ls-radius);
  }

  .ls-filter-fab {
    display: flex;
    position: fixed;
    bottom: 25px;
    right: 15px;
    z-index: 997;
    align-items: center;
    justify-content: center;
    background: var(--ls-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }
  .ls-filter-fab svg { width: 24px; height: 24px; }

  .ls-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 998;
  }
  .ls-filter-overlay--open { display: block; }
}

@media (min-width: 768px) {
  .ls-filter-drawer__header { display: none; }
  .ls-filter-drawer__apply { display: none; }
  .ls-filter-fab { display: none; }
  .ls-filter-overlay { display: none !important; }
}
