/*
Theme Name: Yamarka Directorio Moderno
Theme URI: https://yamarka.com/
Author: OpenAI
Description: Plantilla moderna para directorios locales en Uruguay, pensada para SEO, experiencia móvil y compatibilidad con Google AdSense.
Version: 6.4.2
Template: generatepress
Text Domain: yamarka-comercios-uruguay
*/

:root {
  --ym-bg: #f5f7fb;
  --ym-bg-soft: #eef2f8;
  --ym-surface: rgba(255, 255, 255, 0.92);
  --ym-surface-solid: #ffffff;
  --ym-surface-alt: #f8fafc;
  --ym-border: rgba(14, 26, 46, 0.08);
  --ym-border-strong: rgba(14, 26, 46, 0.14);
  --ym-text: #101828;
  --ym-muted: #5d6b82;
  --ym-muted-strong: #425066;
  --ym-brand: #155eef;
  --ym-brand-strong: #004eea;
  --ym-brand-soft: rgba(21, 94, 239, 0.10);
  --ym-brand-gradient: linear-gradient(135deg, #155eef 0%, #6f5cff 100%);
  --ym-accent: #7a5af8;
  --ym-success: #067647;
  --ym-success-soft: rgba(6, 118, 71, 0.10);
  --ym-danger: #b42318;
  --ym-danger-soft: rgba(180, 35, 24, 0.09);
  --ym-warning: #b54708;
  --ym-warning-soft: rgba(181, 71, 8, 0.10);
  --ym-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  --ym-shadow-soft: 0 10px 26px rgba(15, 23, 42, 0.06);
  --ym-radius-xl: 34px;
  --ym-radius-lg: 26px;
  --ym-radius-md: 18px;
  --ym-radius-sm: 14px;
  --ym-max: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(21, 94, 239, 0.08), transparent 35%),
    radial-gradient(circle at top right, rgba(122, 90, 248, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, var(--ym-bg) 100%);
  color: var(--ym-text);
}

body,
button,
input,
select,
textarea {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ym-brand);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--ym-brand-strong);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.20);
  outline-offset: 2px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.separate-containers .inside-article,
.one-container .site-content,
.site-main,
.content-area {
  padding-top: 0;
}

#page {
  min-height: 100vh;
}

.site-content {
  padding-top: 0;
}

.inside-site-info,
.footer-widgets-container,
.site-info {
  display: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 26, 46, 0.06);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
}

.inside-header,
.inside-navigation,
.inside-top-bar,
.inside-site-info,
.ym-footer-meta__inner {
  width: min(calc(100% - 32px), var(--ym-max));
  margin-inline: auto;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-logo img,
.custom-logo {
  max-height: 52px;
  width: auto;
}

.main-title,
.main-title a,
.site-title,
.site-title a {
  color: var(--ym-text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.main-navigation,
.main-navigation ul ul {
  background: transparent;
}

.main-navigation .main-nav ul {
  gap: 8px;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-item > a {
  color: var(--ym-text);
  font-weight: 700;
  border-radius: 999px;
}

.main-navigation .main-nav ul li:not([class*="current-menu-"]) > a:hover,
.main-navigation .menu-toggle:hover,
.main-navigation .menu-bar-item > a:hover {
  background: rgba(14, 26, 46, 0.05);
  color: var(--ym-text);
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li[class*="current_page_"] > a {
  background: var(--ym-brand-soft);
  color: var(--ym-brand);
}

.main-navigation .menu-toggle {
  border: 1px solid var(--ym-border);
  box-shadow: none;
}

.site-header.ym-header-merged {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header.ym-header-merged .inside-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 10px;
}

.site-header.ym-header-merged .site-branding {
  flex: 0 0 auto;
  min-width: max-content;
}

.site-header.ym-header-merged .main-navigation {
  flex: 1 1 auto;
  margin-left: auto;
  width: auto;
  border: 0;
  box-shadow: none;
}

.site-header.ym-header-merged .inside-navigation {
  width: auto;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.site-header.ym-header-merged .main-navigation .main-nav {
  overflow-x: auto;
  scrollbar-width: none;
}

.site-header.ym-header-merged .main-navigation .main-nav::-webkit-scrollbar {
  display: none;
}

.site-header.ym-header-merged .main-navigation .main-nav ul {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.site-header.ym-header-merged .main-navigation .main-nav ul li a,
.site-header.ym-header-merged .main-navigation .menu-bar-item > a {
  white-space: nowrap;
  padding-inline: 12px;
  font-size: 0.95rem;
}

.ym-chip,
.ym-pill,
.ym-tag,
.ym-fact,
.ym-home-link-card,
.ym-home-link-card__title,
.ym-home-link-card__meta,
.ym-disclosure summary span,
.ym-list-card h3 a,
.ym-location-card h3,
.ym-category-card h3 {
  overflow-wrap: anywhere;
}

.ym-wrap {
  width: min(calc(100% - 32px), var(--ym-max));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.ym-home {
  padding-top: 34px;
}

.ym-section {
  margin-top: 28px;
}

.ym-card,
.ym-panel,
.ym-list-card,
.ym-category-card,
.ym-stat-card,
.ym-feature-card,
.ym-sidebar-card,
.ym-disclosure,
.ym-inline-card,
.ym-location-card,
.ym-detail-row,
.ym-mini-card,
.ym-home-hero {
  background: var(--ym-surface);
  border: 1px solid var(--ym-border);
  box-shadow: var(--ym-shadow-soft);
  border-radius: var(--ym-radius-lg);
}

.ym-panel,
.ym-card,
.ym-sidebar-card,
.ym-home-hero,
.ym-list-card,
.ym-location-card {
  padding: 28px;
}

.ym-home-hero {
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at top right, rgba(122, 90, 248, 0.18), transparent 30%),
    radial-gradient(circle at left center, rgba(21, 94, 239, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,251,255,0.94) 100%);
  overflow: hidden;
}

.ym-home-hero__grid,
.ym-two-column,
.ym-business-hero,
.ym-contact-grid,
.ym-page-grid,
.ym-archive-hero,
.ym-detail-grid,
.ym-guide-grid,
.ym-grid,
.ym-summary-grid,
.ym-category-grid,
.ym-directory-grid,
.ym-gallery-grid,
.ym-stats-row,
.ym-location-grid,
.ym-related-grid,
.ym-key-facts {
  display: grid;
  gap: 22px;
}

.ym-home-hero__grid,
.ym-business-hero,
.ym-contact-grid,
.ym-page-grid,
.ym-grid,
.ym-archive-hero,
.ym-two-column {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: start;
}

.ym-detail-grid,
.ym-stats-row,
.ym-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ym-key-facts {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ym-category-grid,
.ym-directory-grid,
.ym-location-grid,
.ym-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.ym-gallery-grid {
  grid-template-columns: repeat(var(--ym-single-gallery-columns, 2), minmax(0, 1fr));
}

.ym-kicker,
.ym-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 26, 46, 0.06);
  color: var(--ym-brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.ym-page-title,
.ym-display-title {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ym-text);
}

.ym-display-title {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.ym-page-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.ym-subtitle {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.ym-page-intro,
.ym-lead,
.ym-muted,
.ym-copy,
.ym-copy--page,
.ym-copy--soft {
  color: var(--ym-muted);
}

.ym-lead,
.ym-page-intro {
  max-width: 68ch;
  margin: 14px 0 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.72;
}

.ym-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
}

.ym-section-head > p {
  margin: 0;
  max-width: 50ch;
}

.ym-section-head--stacked {
  align-items: flex-start;
  flex-direction: column;
}

.ym-chip-group,
.ym-quick-links,
.ym-meta-pills,
.ym-link-cloud,
.ym-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ym-chip,
.ym-pill,
.ym-tag,
.ym-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ym-surface-alt);
  border: 1px solid rgba(14, 26, 46, 0.08);
  color: var(--ym-muted-strong);
  font-size: 0.95rem;
  text-decoration: none;
}

.ym-chip:hover,
.ym-tag:hover {
  border-color: rgba(21, 94, 239, 0.18);
  background: rgba(21, 94, 239, 0.06);
}

.ym-chip--active,
.ym-pill {
  color: var(--ym-brand);
  background: var(--ym-brand-soft);
  border-color: rgba(21, 94, 239, 0.14);
}

.ym-pill {
  font-size: 0.88rem;
  font-weight: 700;
}

.ym-stat-card,
.ym-mini-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ym-text);
  text-decoration: none;
}

.ym-stat-card {
  gap: 4px;
  min-height: 132px;
  padding: 22px;
}

.ym-stat-card::before,
.ym-mini-card::before {
  content: "";
  position: absolute;
  inset: auto -16% -55% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 94, 239, 0.10) 0%, transparent 68%);
  pointer-events: none;
}

.ym-stat-card strong {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.ym-stat-card span {
  color: var(--ym-muted);
  font-size: 0.96rem;
}

.ym-mini-card {
  gap: 10px;
  min-height: 0;
  padding: 18px 20px;
}

.ym-mini-card strong {
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ym-brand);
}

.ym-mini-card span {
  color: var(--ym-text);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ym-summary-grid,
.ym-stats-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ym-btn,
.ym-btn-secondary,
button,
input[type="submit"],
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  cursor: pointer;
}

.ym-btn,
button,
input[type="submit"] {
  background: var(--ym-brand-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 94, 239, 0.20);
}

.ym-btn:hover,
button:hover,
input[type="submit"]:hover {
  color: #fff;
  transform: translateY(-1px);
}

.ym-btn-secondary {
  border-color: rgba(14, 26, 46, 0.10);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ym-text);
}

.ym-btn-secondary:hover {
  border-color: rgba(21, 94, 239, 0.18);
  background: rgba(21, 94, 239, 0.05);
  color: var(--ym-brand-strong);
}

.ym-actions,
.ym-actions--compact,
.ym-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ym-action-stack {
  margin-top: 22px;
}

.ym-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 20px;
}

.ym-search-input,
.ym-contact-form input,
.ym-contact-form textarea,
.ym-contact-form select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(14, 26, 46, 0.10);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ym-text);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.ym-search-input::placeholder,
.ym-contact-form input::placeholder,
.ym-contact-form textarea::placeholder {
  color: #8d98ab;
}

.ym-search-submit {
  min-width: 138px;
}

.ym-card-grid-note,
.ym-note,
.ym-empty,
.ym-form-alert {
  border-radius: var(--ym-radius-md);
  border: 1px dashed rgba(14, 26, 46, 0.14);
  background: rgba(255, 255, 255, 0.65);
  padding: 18px 20px;
}

.ym-empty,
.ym-note {
  color: var(--ym-muted);
}

.ym-form-alert.is-success {
  border-color: rgba(6, 118, 71, 0.18);
  background: var(--ym-success-soft);
  color: var(--ym-success);
}

.ym-form-alert.is-error {
  border-color: rgba(180, 35, 24, 0.18);
  background: var(--ym-danger-soft);
  color: var(--ym-danger);
}

.ym-category-card,
.ym-feature-card,
.ym-inline-card,
.ym-location-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ym-category-card h3,
.ym-location-card h3,
.ym-list-card h3,
.ym-sidebar-card h3,
.ym-inline-card h3,
.ym-feature-card h3,
.ym-disclosure__summary span,
.ym-section-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ym-category-card p,
.ym-location-card p,
.ym-inline-card p,
.ym-feature-card p,
.ym-copy p,
.ym-copy--page p {
  margin: 0;
  line-height: 1.72;
}

.ym-directory-card,
.ym-list-card {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.ym-directory-card--stack,
.ym-directory-grid > .ym-list-card,
.ym-directory-grid--compact > .ym-list-card {
  grid-template-columns: 1fr;
}

.ym-thumb,
.ym-gallery-item,
.ym-media-frame,
.ym-hero-media,
.ym-image-panel {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--ym-radius-md) + 2px);
  background: #dfe6f3;
}

.ym-thumb-img,
.ym-gallery-img,
.ym-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ym-thumb {
  aspect-ratio: 4 / 3;
}

.ym-hero-media {
  aspect-ratio: 16 / 11;
}

.ym-gallery-item {
  aspect-ratio: 5 / 4;
  min-height: 200px;
}

.ym-list-card-body,
.ym-directory-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ym-list-meta,
.ym-inline-meta,
.ym-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ym-list-meta span,
.ym-inline-meta span,
.ym-detail-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ym-surface-alt);
  border: 1px solid rgba(14, 26, 46, 0.06);
  color: var(--ym-muted-strong);
  font-size: 0.9rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ym-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(181, 71, 8, 0.16);
  color: var(--ym-warning);
  font-weight: 700;
}

.ym-copy,
.ym-copy--page {
  line-height: 1.8;
}

.ym-copy > *:first-child,
.ym-copy--page > *:first-child {
  margin-top: 0;
}

.ym-copy > *:last-child,
.ym-copy--page > *:last-child {
  margin-bottom: 0;
}

.ym-copy ul,
.ym-copy ol,
.ym-copy--page ul,
.ym-copy--page ol {
  padding-left: 1.2rem;
}

.ym-detail-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 18px;
}

.ym-detail-row__label {
  color: var(--ym-brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ym-detail-row__value {
  color: var(--ym-text);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.ym-status-badge {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 800;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}

.ym-status-badge__label {
  white-space: nowrap;
}

.ym-status-badge__detail {
  font-weight: 600;
  color: var(--ym-muted-strong);
  overflow-wrap: anywhere;
}

.ym-status-badge.is-open {
  background: var(--ym-success-soft);
  border: 1px solid rgba(6, 118, 71, 0.16);
  color: var(--ym-success);
}

.ym-status-badge.is-closed {
  background: var(--ym-danger-soft);
  border: 1px solid rgba(180, 35, 24, 0.14);
  color: var(--ym-danger);
}

.ym-status-badge.is-unknown {
  background: var(--ym-warning-soft);
  border: 1px solid rgba(181, 71, 8, 0.16);
  color: var(--ym-warning);
}

.ym-status-badge--small {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.ym-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--ym-muted);
  font-size: 0.92rem;
}

.ym-breadcrumbs a {
  color: var(--ym-muted-strong);
  text-decoration: none;
}

.ym-breadcrumbs a:hover {
  color: var(--ym-brand);
}

.ym-go-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ym-muted);
  font-weight: 700;
  text-decoration: none;
}

.ym-go-back:hover {
  color: var(--ym-brand);
}

.ym-hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.ym-hours-table th,
.ym-hours-table td {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(14, 26, 46, 0.08);
  border-bottom: 1px solid rgba(14, 26, 46, 0.08);
}

.ym-hours-table th {
  width: 140px;
  border-left: 1px solid rgba(14, 26, 46, 0.08);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  color: var(--ym-text);
  text-align: left;
}

.ym-hours-table td {
  border-right: 1px solid rgba(14, 26, 46, 0.08);
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  color: var(--ym-muted-strong);
}

.ym-hours-table tr.is-today th,
.ym-hours-table tr.is-today td {
  background: rgba(21, 94, 239, 0.07);
  border-color: rgba(21, 94, 239, 0.14);
}

.ym-hours-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ym-brand-soft);
  color: var(--ym-brand);
  font-size: 0.78rem;
  font-weight: 800;
}

.ym-map-frame,
.ym-map {
  overflow: hidden;
  border-radius: var(--ym-radius-lg);
  border: 1px solid var(--ym-border);
  min-height: 320px;
  background: #dfe6f3;
}

.ym-map iframe,
.ym-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.ym-disclosure {
  padding: 0;
  overflow: hidden;
}

.ym-disclosure summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
}

.ym-disclosure summary::-webkit-details-marker {
  display: none;
}

.ym-disclosure__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ym-surface-alt);
  color: var(--ym-muted-strong);
  font-size: 1.2rem;
}

.ym-disclosure[open] .ym-disclosure__icon {
  transform: rotate(45deg);
}

.ym-disclosure__body {
  padding: 0 20px 20px;
}

.ym-contact-form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

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

.ym-contact-form p {
  margin: 0 0 16px;
}

.ym-contact-form label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ym-text);
  font-weight: 700;
}

.ym-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ym-check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ym-muted-strong);
  line-height: 1.65;
}

.ym-check-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: -1px;
  color: var(--ym-brand);
  font-size: 1.2rem;
  line-height: 1;
}

.ym-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ym-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(14, 26, 46, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ym-text);
  text-decoration: none;
  font-weight: 700;
}

.ym-pagination .page-numbers.current {
  background: var(--ym-brand-soft);
  color: var(--ym-brand);
  border-color: rgba(21, 94, 239, 0.14);
}

.ym-hidden {
  display: none !important;
}

.ym-home-hero__summary,
.ym-sidebar-stack,
.ym-business-hero__body {
  display: grid;
  gap: 18px;
}

.ym-footer-meta {
  margin-top: 26px;
  padding: 0 0 28px;
}

.ym-footer-meta__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(14, 26, 46, 0.08);
  color: var(--ym-muted);
}

.ym-footer-meta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ym-footer-meta__links a {
  color: var(--ym-muted-strong);
  text-decoration: none;
}

.ym-footer-meta__links a:hover {
  color: var(--ym-brand);
}

@media (max-width: 1100px) {
  .ym-home-hero__grid,
  .ym-business-hero,
  .ym-contact-grid,
  .ym-page-grid,
  .ym-grid,
  .ym-archive-hero,
  .ym-two-column {
    grid-template-columns: 1fr;
  }

  .ym-detail-grid,
  .ym-stats-row,
  .ym-summary-grid,
  .ym-key-facts,
  .ym-guide-grid,
  .ym-category-grid,
  .ym-directory-grid,
  .ym-location-grid,
  .ym-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 780px) {
  .inside-header,
  .inside-navigation,
  .inside-top-bar,
  .ym-footer-meta__inner,
  .ym-wrap {
    width: min(calc(100% - 24px), var(--ym-max));
  }

  .ym-wrap {
    padding: 20px 0 56px;
  }

  .ym-home {
    padding-top: 24px;
  }

  .ym-panel,
  .ym-card,
  .ym-sidebar-card,
  .ym-home-hero,
  .ym-list-card,
  .ym-location-card {
    padding: 20px;
  }

  .ym-search-form,
  .ym-form-grid,
  .ym-directory-card,
  .ym-list-card,
  .ym-detail-row {
    grid-template-columns: 1fr;
  }

  .ym-search-submit {
    width: 100%;
  }

  .ym-detail-grid,
  .ym-stats-row,
  .ym-summary-grid,
  .ym-key-facts,
  .ym-guide-grid,
  .ym-category-grid,
  .ym-directory-grid,
  .ym-location-grid,
  .ym-related-grid,
  .ym-gallery-grid,
  .ym-directory-grid--compact {
    grid-template-columns: 1fr;
  }

  .ym-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ym-display-title {
    max-width: 100%;
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .ym-page-title {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  .ym-hours-table,
  .ym-hours-table tbody,
  .ym-hours-table tr,
  .ym-hours-table th,
  .ym-hours-table td {
    display: block;
    width: 100%;
  }

  .ym-hours-table {
    border-spacing: 0;
  }

  .ym-hours-table tr {
    margin-bottom: 12px;
  }

  .ym-hours-table th,
  .ym-hours-table td {
    border-radius: 0;
    border-left: 1px solid rgba(14, 26, 46, 0.08);
    border-right: 1px solid rgba(14, 26, 46, 0.08);
  }

  .ym-hours-table th {
    border-radius: 14px 14px 0 0;
    border-bottom: 0;
    width: auto;
  }

  .ym-hours-table td {
    border-radius: 0 0 14px 14px;
  }

  .ym-footer-meta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ===== Refinamiento visual 6.1 ===== */
:root {
  --ym-bg: #f6f7fb;
  --ym-surface: rgba(255, 255, 255, 0.96);
  --ym-surface-alt: #f7f9fc;
  --ym-border: rgba(15, 23, 42, 0.08);
  --ym-border-strong: rgba(15, 23, 42, 0.12);
  --ym-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  --ym-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
  --ym-radius-xl: 28px;
  --ym-radius-lg: 22px;
  --ym-radius-md: 16px;
  --ym-radius-sm: 12px;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.ym-btn,
button,
input[type="submit"] {
  box-shadow: 0 8px 20px rgba(21, 94, 239, 0.16);
}

.ym-home--refined {
  padding-top: 28px;
}

.ym-home-hero--refined {
  padding: clamp(24px, 4vw, 38px);
}

.ym-home-hero__intro {
  display: grid;
  gap: 18px;
}

.ym-home-hero__intro .ym-lead {
  margin-top: 0;
}

.ym-home-highlight {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--ym-border);
  border-radius: calc(var(--ym-radius-lg) - 2px);
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(247,249,252,0.92) 100%);
}

.ym-home-highlight .ym-subtitle,
.ym-home-highlight .ym-muted,
.ym-home-highlight .ym-pill {
  margin: 0;
}

.ym-stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ym-stat-chip {
  display: grid;
  gap: 4px;
  min-height: 106px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--ym-border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ym-text);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.ym-stat-chip strong {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.ym-stat-chip span {
  color: var(--ym-muted);
}

.ym-home-section {
  margin-top: 34px;
}

.ym-home-link-grid {
  display: grid;
  grid-template-columns: repeat(var(--ym-home-link-columns, 2), minmax(0, 1fr));
  gap: 14px;
}

.ym-home-link-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  min-height: 132px;
  align-content: start;
  padding: 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--ym-border);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  color: var(--ym-text);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ym-home-link-card:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 94, 239, 0.18);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
}

.ym-home-link-card__eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ym-brand);
}

.ym-home-link-card__title {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.35;
  color: var(--ym-text);
}

.ym-home-link-card__meta {
  color: var(--ym-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.ym-home-disclosure {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.ym-chip--count {
  justify-content: space-between;
  align-items: flex-start;
  flex: 1 1 220px;
  min-width: 0;
}

.ym-chip--count span {
  flex: 1 1 auto;
  min-width: 0;
}

.ym-chip--count small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(21, 94, 239, 0.08);
  color: var(--ym-brand);
  font-size: 0.78rem;
  font-weight: 700;
}

.ym-list-card--soft {
  background: rgba(255, 255, 255, 0.94);
}

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

.ym-home-tip-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--ym-border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.ym-home-tip-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(21, 94, 239, 0.10);
  color: var(--ym-brand);
  font-weight: 800;
  line-height: 1;
}

.ym-home-tip-card p {
  margin: 0;
  color: var(--ym-muted-strong);
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .ym-home-link-grid,
  .ym-home-tip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header.ym-header-merged .inside-header {
    gap: 14px;
  }

  .site-header.ym-header-merged .main-navigation .main-nav ul li a,
  .site-header.ym-header-merged .main-navigation .menu-bar-item > a {
    padding-inline: 10px;
    font-size: 0.92rem;
  }
}

@media (max-width: 780px) {
  .ym-home--refined {
    padding-top: 22px;
  }

  .ym-home-link-grid,
  .ym-home-tip-grid,
  .ym-stat-strip {
    grid-template-columns: 1fr;
  }

  .ym-gallery-grid {
    grid-template-columns: repeat(var(--ym-single-gallery-columns-mobile, 1), minmax(0, 1fr));
  }

  .ym-home-highlight,
  .ym-stat-chip,
  .ym-home-link-card,
  .ym-home-tip-card {
    padding: 18px;
  }
}

@media (max-width: 1100px) {
  .site-header.ym-header-merged .main-navigation {
    width: 100%;
  }
}


/* ===== Correcciones visuales 6.3 ===== */
:root {
  --ym-stat-card-min: 148px;
}

.ym-chip,
.ym-pill,
.ym-tag,
.ym-fact,
.ym-home-link-card,
.ym-home-link-card__title,
.ym-home-link-card__meta,
.ym-disclosure summary span,
.ym-list-card h3 a,
.ym-location-card h3,
.ym-category-card h3,
.ym-mini-card span,
.ym-detail-row__value,
.ym-stat-card strong,
.ym-stat-card span {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.ym-home-link-card {
  min-height: 148px;
}

.ym-home-link-card__title {
  line-height: 1.42;
}

.ym-home-link-card__meta,
.ym-mini-card span,
.ym-detail-row__value,
.ym-stat-card span {
  line-height: 1.55;
}

.ym-mini-card,
.ym-detail-row,
.ym-stat-card {
  min-width: 0;
}

.ym-summary-grid,
.ym-stats-row {
  grid-template-columns: repeat(auto-fit, minmax(var(--ym-stat-card-min), 1fr));
}

.ym-home-hero__summary {
  min-width: 0;
}

.ym-home-hero__summary .ym-summary-grid,
.ym-home-hero__summary .ym-stats-row {
  gap: 14px;
}

.ym-stat-card {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  min-height: 118px;
  padding: 18px;
}

.ym-stat-card strong {
  display: block;
  max-width: 100%;
  font-size: clamp(1.95rem, 3vw, 2.45rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.ym-stat-card span {
  display: block;
  max-width: 18ch;
  color: var(--ym-muted);
  font-size: 0.95rem;
}

.ym-archive-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 20px;
}

.search .ym-home-hero,
.post-type-archive-negocio .ym-home-hero,
.tax-categoria_negocio .ym-home-hero {
  padding: clamp(22px, 3.4vw, 34px);
}

.ym-search-form {
  align-items: stretch;
}

.ym-search-input {
  min-height: 60px;
}

.ym-search-submit {
  min-width: 164px;
}

.single-negocio .ym-business-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.ym-key-facts {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.ym-mini-card {
  padding: 18px;
}

.ym-mini-card strong,
.ym-detail-row__label {
  letter-spacing: 0.07em;
}

.ym-gallery-grid {
  gap: 16px;
}

.ym-gallery-item {
  aspect-ratio: 4 / 3;
  min-height: 240px;
}

.ym-sidebar-stack .ym-grid[style*="grid-template-columns:1fr"] {
  gap: 12px !important;
}

.ym-detail-row {
  padding: 16px 18px;
}

.ym-detail-row a {
  word-break: normal;
  overflow-wrap: break-word;
}

@media (min-width: 1101px) {
  .site-header.ym-header-merged .inside-header {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }

  .site-header.ym-header-merged .site-branding {
    min-width: 0;
    margin-right: 8px;
  }

  .site-header.ym-header-merged .site-logo img,
  .site-header.ym-header-merged .custom-logo {
    max-height: 44px;
  }

  .site-header.ym-header-merged .main-navigation {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header.ym-header-merged .main-navigation .inside-navigation {
    justify-content: flex-end;
  }

  .site-header.ym-header-merged .main-navigation .main-nav {
    min-width: 0;
  }

  .site-header.ym-header-merged .main-navigation .main-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .site-header.ym-header-merged .main-navigation .main-nav ul li {
    flex: 0 0 auto;
  }

  .site-header.ym-header-merged .main-navigation .main-nav ul li a,
  .site-header.ym-header-merged .main-navigation .menu-bar-item > a {
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .ym-site-footer__block--intro {
    grid-column: span 2;
  }
}

@media (max-width: 1200px) {
  .single-negocio .ym-business-hero,
  .ym-archive-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --ym-stat-card-min: 100%;
  }

  .ym-home-link-card,
  .ym-mini-card,
  .ym-detail-row,
  .ym-stat-card {
    padding: 16px;
  }

  .ym-search-input,
  .ym-search-submit {
    min-height: 54px;
  }

  .ym-gallery-item {
    min-height: 220px;
  }
}

.ym-site-footer {
  margin-top: 34px;
  padding: 0 0 30px;
}

.ym-site-footer__inner,
.ym-site-footer__meta {
  width: min(calc(100% - 32px), var(--ym-max));
  margin-inline: auto;
}

.ym-site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.ym-site-footer__block {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--ym-radius-lg);
  border: 1px solid var(--ym-border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ym-shadow-soft);
}

.ym-site-footer__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(21, 94, 239, 0.08);
  color: var(--ym-brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ym-site-footer__title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.ym-site-footer__text,
.ym-site-footer__link,
.ym-site-footer__list a,
.ym-site-footer__contact a,
.ym-site-footer__contact span {
  color: var(--ym-muted-strong);
  line-height: 1.65;
}

.ym-site-footer__list,
.ym-site-footer__contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ym-site-footer__list a,
.ym-site-footer__contact a {
  text-decoration: none;
}

.ym-site-footer__list a:hover,
.ym-site-footer__contact a:hover,
.ym-site-footer__meta-links a:hover {
  color: var(--ym-brand);
}

.ym-site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 26, 46, 0.08);
  color: var(--ym-muted);
}

.ym-site-footer__meta-copy,
.ym-site-footer__meta-note {
  margin: 0;
}

.ym-site-footer__meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ym-site-footer__meta-links a {
  color: var(--ym-muted-strong);
  text-decoration: none;
}

@media (max-width: 780px) {
  .ym-site-footer__inner,
  .ym-site-footer__meta {
    width: min(calc(100% - 24px), var(--ym-max));
  }

  .ym-site-footer__block {
    padding: 18px;
  }

  .ym-site-footer__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===== Mejoras 6.4.2 ===== */
.ym-directory-grid {
  grid-template-columns: repeat(var(--ym-directory-columns-desktop, 3), minmax(0, 1fr));
}

.ym-two-column--balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ym-archive-hero__main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.ym-archive-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ym-archive-panel {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(14, 26, 46, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.ym-archive-panel .ym-subtitle {
  font-size: 1.08rem;
}

.ym-archive-panel__items {
  margin-top: 16px;
}

.ym-list-card--enhanced {
  min-height: 100%;
}

.ym-list-card h3 {
  font-size: clamp(1.08rem, 1.15vw, 1.34rem);
  letter-spacing: -0.035em;
}

.ym-list-card h3 a,
.ym-location-card h3 a,
.ym-category-card h3 a {
  color: var(--ym-text);
  text-decoration: none;
  font-weight: 800;
}

.ym-list-card h3 a:hover,
.ym-location-card h3 a:hover,
.ym-category-card h3 a:hover {
  color: var(--ym-brand);
  text-decoration: none;
}

.ym-list-card__chips {
  gap: 8px;
}

.ym-list-card__chips .ym-chip {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 0.88rem;
}

.ym-list-card .ym-list-meta {
  gap: 8px;
}

.ym-list-card .ym-list-meta span {
  min-height: 32px;
  padding: 7px 11px;
  font-size: 0.86rem;
}

.ym-home-link-card__title,
.ym-page-title,
.ym-subtitle,
.ym-display-title {
  letter-spacing: -0.045em;
}

@media (max-width: 1100px) {
  .ym-directory-grid {
    grid-template-columns: repeat(var(--ym-directory-columns-tablet, 2), minmax(0, 1fr));
  }

  .ym-archive-panels,
  .ym-two-column--balanced {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .ym-directory-grid {
    grid-template-columns: repeat(var(--ym-directory-columns-mobile, 1), minmax(0, 1fr));
  }

  .ym-archive-panel {
    padding: 18px;
  }
}
