/* Christmas theme; enabled only by navidad.js. */
.navidad-banner,
.navidad-guide {
  display: none;
}

.theme-navidad {
  background-color: #f4f7f3;
  color: #18251f;
}

.theme-navidad .topbar {
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #174b35 0 38%, #f8faf7 38% 62%, #b5222b 62% 100%) 1;
  background: rgba(255, 255, 255, .98);
}

.theme-navidad main {
  position: relative;
}

body.theme-navidad::before {
  content: "";
  position: fixed;
  inset: 80px 0 0;
  z-index: 0;
  background:
    linear-gradient(rgba(244, 247, 243, .2), rgba(244, 247, 243, .2)),
    url("./assets/navidad/patron-navidad.svg") 18px 18px / 460px 340px repeat;
  opacity: .16;
  pointer-events: none;
}

body.theme-navidad::after {
  display: none;
}

.theme-navidad main,
.theme-navidad .topbar {
  position: relative;
  z-index: 1;
}

.theme-navidad .navidad-banner {
  display: flex;
}

.theme-navidad .navidad-guide {
  display: grid;
}

.navidad-banner {
  position: relative;
  min-height: 410px;
  margin: 18px 0 16px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background-image:
    linear-gradient(90deg, rgba(8, 33, 27, .96) 0%, rgba(8, 33, 27, .88) 35%, rgba(8, 33, 27, .3) 62%, rgba(8, 33, 27, .04) 100%),
    url("./assets/navidad/navidad-labranza-hero.png");
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 42px rgba(20, 49, 37, .2);
}

.navidad-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 7px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  pointer-events: none;
}

.navidad-copy {
  position: relative;
  z-index: 1;
  width: min(600px, 58%);
  padding: 48px;
  color: #ffffff;
}

.navidad-kicker {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.navidad-copy h2 {
  max-width: 560px;
  margin: 0;
  color: #ffffff;
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .36);
}

.navidad-lead {
  margin: 18px 0 0;
  color: #f8f4e8;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0;
}

.navidad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.navidad-actions button,
.navidad-guide-actions button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.navidad-actions button {
  padding: 10px 16px;
  background: #b5222b;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.navidad-actions button + button {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .94);
  color: #173d2e;
}

.navidad-actions button:hover,
.navidad-actions button:focus-visible {
  background: #941d24;
  outline: 3px solid rgba(255, 255, 255, .35);
  outline-offset: 2px;
}

.navidad-actions button + button:hover,
.navidad-actions button + button:focus-visible {
  background: #ffffff;
  color: #9d1f27;
}

.navidad-photo-note {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  max-width: 300px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(12, 34, 28, .78);
  color: #ffffff;
  font-size: .78rem;
  font-weight: 700;
  text-align: right;
}

.navidad-guide {
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: center;
  margin: 0 0 18px;
  padding: 20px 4px;
  border-top: 1px solid rgba(23, 75, 53, .22);
  border-bottom: 1px solid rgba(181, 34, 43, .2);
}

.navidad-guide p {
  margin: 0 0 4px;
  color: #a22129;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.navidad-guide h2 {
  margin: 0;
  color: #183c2e;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

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

.navidad-guide-actions button {
  padding: 8px 10px;
  border-color: rgba(23, 75, 53, .2);
  background: #ffffff;
  color: #173d2e;
  box-shadow: 0 5px 14px rgba(19, 54, 40, .07);
}

.navidad-guide-actions button:hover,
.navidad-guide-actions button:focus-visible {
  border-color: #b5222b;
  color: #a22129;
  outline: 2px solid rgba(181, 34, 43, .14);
  outline-offset: 1px;
}

.theme-navidad .promo-head h2::after,
.theme-navidad .filter-sidebar::before,
.theme-navidad .promo-showcase::after {
  background: linear-gradient(90deg, #174b35 0 38%, #f8faf7 38% 62%, #b5222b 62% 100%);
}

.theme-navidad .search-submit,
.theme-navidad .btn.primary {
  background: #b5222b;
  color: #ffffff;
}

.theme-navidad .search-submit:hover,
.theme-navidad .search-submit:focus-visible,
.theme-navidad .btn.primary:hover,
.theme-navidad .btn.primary:focus-visible {
  background: #941d24;
}

.theme-navidad .nav-cta {
  border-color: #174b35;
  background: #174b35;
  color: #ffffff;
}

.theme-navidad .filter-button.active,
.theme-navidad .mode-button.active,
.theme-navidad .availability-button.active {
  border-color: #b5222b;
  background: #fff4f3;
  color: #a22129;
}

@media (max-width: 900px) {
  .navidad-copy {
    width: 68%;
    padding: 38px;
  }

  .navidad-copy h2 {
    font-size: 3rem;
  }

  .navidad-guide {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 720px) {
  body.theme-navidad::before {
    inset: 88px 0 0;
    background:
      linear-gradient(rgba(244, 247, 243, .28), rgba(244, 247, 243, .28)),
      url("./assets/navidad/patron-navidad.svg") center 20px / 320px 236px repeat;
    opacity: .11;
  }

  .theme-navidad #negocios .booking-layout,
  .theme-navidad #negocios .results-column,
  .theme-navidad #negocios .business-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }

  .theme-navidad #negocios .availability-bar,
  .theme-navidad #negocios .trust-strip,
  .theme-navidad #negocios .business-card,
  .theme-navidad #negocios .pagination,
  .theme-navidad #negocios .pagination-pages {
    width: 100%;
    max-width: 100%;
  }

  .theme-navidad #negocios .pagination-pages {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .theme-navidad #negocios .pagination-pages::-webkit-scrollbar {
    display: none;
  }

  .navidad-banner {
    min-height: 340px;
    margin: 10px 0 12px;
    align-items: flex-end;
    background-image:
      linear-gradient(180deg, rgba(7, 29, 23, .12) 0%, rgba(7, 29, 23, .32) 34%, rgba(7, 29, 23, .96) 76%, rgba(7, 29, 23, .99) 100%),
      url("./assets/navidad/navidad-labranza-hero.png");
    background-position: 68% center;
  }

  .navidad-copy {
    width: 100%;
    padding: 24px 20px 22px;
  }

  .navidad-kicker {
    margin-bottom: 9px;
    font-size: .7rem;
  }

  .navidad-copy h2 {
    max-width: 100%;
    font-size: 2.25rem;
    line-height: 1.02;
  }

  .navidad-lead {
    margin-top: 8px;
    font-size: 1rem;
  }

  .navidad-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
  }

  .navidad-actions button {
    min-width: 0;
    padding: 9px 8px;
    font-size: .82rem;
  }

  .navidad-photo-note {
    display: none;
  }

  .navidad-guide {
    margin-bottom: 12px;
    padding: 16px 0;
  }

  .navidad-guide h2 {
    font-size: 1.12rem;
  }

  .navidad-guide-actions {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .navidad-guide-actions button {
    flex: 0 0 auto;
    min-height: 40px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .navidad-banner {
    min-height: 330px;
  }

  .navidad-copy {
    padding-right: 16px;
    padding-left: 16px;
  }

  .navidad-copy h2 {
    font-size: 2rem;
  }

  .navidad-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navidad-actions button,
  .navidad-guide-actions button {
    scroll-behavior: auto;
  }
}
