/*
Theme Name:  BDA Boulevard de Asia
Theme URI:   https://boulevardasia.com
Description: Tema oficial de Boulevard de Asia. Diseño custom con PHP puro, CPTs y metaboxes.
Author:      BDA
Version:     1.0.0
Text Domain: bda
Tags:        custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ============================================================
   VARIABLES CSS
   ============================================================ */
:root {
  --bda-pink:        #F9C5BF;
  --bda-pink-light:  #FDDAD6;
  --bda-green:       #C5EED3;
  --bda-green-light: #D9F5E5;
  --bda-lavender:    #D8D4F5;
  --bda-lav-light:   #E4E0F8;
  --bda-cream:       #F5F0E8;
  --bda-cream-dark:  #EDE7DC;
  --bda-dark:        #2C2E33;
  --bda-gray:        #6B6B6B;
  --bda-gray-light:  #AAAAAA;
  --bda-white:       #FFFFFF;
  --bda-teal:        #4EC5C1;
  --font-main:       'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:          16px;
  --radius-sm:       10px;
  --shadow:          0 4px 20px rgba(0,0,0,0.07);
  --shadow-hover:    0 10px 36px rgba(0,0,0,0.13);
  --transition:      all 0.25s ease;
  --max-width:       1300px;
  --bda-header-h:    70px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--bda-dark);
  background: var(--bda-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--bda-header-h); /* Espacio para el header fixed */
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   HEADER
   ============================================================ */
.bda-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: transparent;
  height: var(--bda-header-h);
  display: flex; align-items: center;
  padding: 0 max(15px, calc((100% - var(--max-width)) / 2));
  box-shadow: none;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease, padding 0.35s ease;
}
.bda-header--scrolled {
  background: #F2ECD8 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  height: 100px !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
.home .bda-header,
.page-template-page-bda-inicio .bda-header,
.page-template-page-bda-inicio-php .bda-header {
  background: #F2ECD8;
  top: 0;
  height: 70px;
  padding-top: 0;
}
/* Header color específico para Locales, categorías y single local */
.page-template-page-locales .bda-header,
.page-template-page-locales-php .bda-header,
.tax-bda_local_cat .bda-header,
.single-bda_local .bda-header {
  background: #D7FCC7 !important;
}
.page-template-page-locales .bda-header--scrolled,
.page-template-page-locales-php .bda-header--scrolled,
.tax-bda_local_cat .bda-header--scrolled,
.single-bda_local .bda-header--scrolled {
  background: #D7FCC7 !important;
}
/* Header igual al inicio en página de Contacto */
.bda-page-contacto .bda-header {
  background: #F2ECD8;
  top: 0;
  height: 70px;
  padding-top: 0;
}
/* Header transparente en páginas de Descuentos */
.page-template-page-descuentos .bda-header,
.page-template-page-descuentos-php .bda-header {
  background: #FFB8B3 !important;
}
.page-template-page-descuentos .bda-header--scrolled,
.page-template-page-descuentos-php .bda-header--scrolled {
  background: #FFB8B3 !important;
}
/* Header color específico para Eventos */
.page-template-page-eventos .bda-header,
.page-template-page-eventos-php .bda-header {
  background: #E6E7FE !important;
}
.page-template-page-eventos .bda-header__wave,
.page-template-page-eventos-php .bda-header__wave,
.page-template-page-locales .bda-header__wave,
.page-template-page-locales-php .bda-header__wave,
.page-template-page-descuentos .bda-header__wave,
.page-template-page-descuentos-php .bda-header__wave,
.bda-page-contacto .bda-header__wave,
.tax-bda_local_cat .bda-header__wave,
.single-bda_local .bda-header__wave {
  display: none !important;
}
.bda-header__left,
.bda-header__right { display: flex; align-items: center; flex: 1; }
.bda-header__right { justify-content: flex-end; }

.bda-header__nav { display: flex; gap: 32px; }
.bda-header__nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.bda-header__nav a {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bda-dark);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.bda-header__nav a:hover,
.bda-header__nav a.current { border-bottom-color: var(--bda-dark); }

.bda-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  text-align: center;
}
.bda-logo img { height: 60px; width: auto; opacity: 1; }
.bda-logo__text {
  font-size: 20px; font-weight: 900;
  letter-spacing: -0.02em; line-height: 1;
}
.bda-logo__sub {
  font-size: 8px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bda-gray);
}

.bda-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 50px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px; font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0; text-transform: uppercase;
  cursor: pointer; transition: var(--transition);
  border: 2px solid transparent;
}
.bda-btn--dark {
  background: var(--bda-dark); color: var(--bda-white);
  border-color: var(--bda-dark);
}
.bda-btn--dark:hover { background: transparent; color: var(--bda-dark); }
.bda-btn--outline {
  background: transparent; color: var(--bda-dark);
  border-color: var(--bda-dark);
}
.bda-btn--outline:hover { background: var(--bda-dark); color: var(--bda-white); }

/* Hamburger */
.bda-hamburger {
  display: none; align-items: center; justify-content: center;
  cursor: pointer; padding: 4px;
  background: none; border: none; outline: none;
  width: 36px; height: 36px;
}
.bda-hamburger img { width: 28px; height: 28px; display: block; }

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.bda-menu-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.bda-menu-overlay.open { opacity: 1; }

.bda-mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: #F5F0E8;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bda-mobile-menu.open { transform: translateX(0); }

.bda-mobile-menu__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: 0 0 32px;
  scrollbar-width: none;
}
.bda-mobile-menu__inner::-webkit-scrollbar { display: none; }

.bda-mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(44,46,51,0.1);
  position: sticky; top: 0;
  background: #F5F0E8;
  z-index: 1;
}
.bda-mobile-menu__logo { display: flex; align-items: center; text-decoration: none; }
.bda-mobile-menu__logo .custom-logo { height: 48px; width: auto; }
.bda-mobile-menu__logo-text { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 22px; color: var(--bda-dark); letter-spacing: -0.02em; }
.bda-mobile-menu__close {
  background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--bda-dark);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.bda-mobile-menu__close:hover { background: rgba(44,46,51,0.08); }

.bda-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px;
  gap: 4px;
}
.bda-mobile-menu__nav-link {
  font-family: 'Inter Tight', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--bda-dark);
  text-decoration: none;
  padding: 6px 0;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
  display: block;
}
.bda-mobile-menu__nav-link:hover,
.bda-mobile-menu__nav-link.current { opacity: 0.45; }

.bda-mobile-menu__divider {
  border: none;
  border-top: 1px solid rgba(44,46,51,0.12);
  margin: 0 24px 24px;
}

.bda-mobile-menu__footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 24px 24px;
}
.bda-mobile-menu__col-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(44,46,51,0.5);
  margin-bottom: 10px;
}
.bda-mobile-menu__menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bda-mobile-menu__menu li a {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--bda-dark);
  text-decoration: none;
  transition: opacity 0.2s;
}
.bda-mobile-menu__menu li a:hover { opacity: 0.6; }

.bda-mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px 24px;
}
.bda-mobile-menu__contact-item {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  color: rgba(44,46,51,0.7);
  text-decoration: none;
  line-height: 1.5;
}
a.bda-mobile-menu__contact-item:hover { opacity: 0.7; }

.bda-mobile-menu__social {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px 28px;
}
.bda-mobile-menu__social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(44,46,51,0.06);
  color: var(--bda-dark);
  text-decoration: none;
  transition: background 0.2s;
}
.bda-mobile-menu__social-link:hover { background: rgba(44,46,51,0.12); }
.bda-mobile-menu__social-link span {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--bda-dark);
}

.bda-mobile-menu__cta {
  margin: 4px 24px 0;
  display: block;
  text-align: center;
  background: var(--bda-dark);
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.bda-mobile-menu__cta:hover { opacity: 0.85; }

.bda-header__wave {
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 30px; /* Ajuste altura de ola (-10px) */
  z-index: 998;
  overflow: hidden;
  line-height: 0;
}
.bda-header__wave svg {
  display: block; width: 100%; height: 100%;
  fill: var(--bda-white);
  transform: scaleY(1); /* Invertir para que parezca caer */
}
.bda-wave-header-bottom {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 40px; /* (-10px) */
  z-index: 900;
  overflow: hidden;
  line-height: 0;
}
.bda-wave--top-hero svg {
  transform: scaleY(1) !important; /* Look up (normal) */
}
.bda-wave--home-hero svg {
  transform: scaleY(2); /* Original look up */
}

.bda-hero {
  padding: 130px max(20px, calc((100% - var(--max-width)) / 2)) 0;
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px;
  min-height: 300px; position: relative; overflow: hidden;
  z-index: 5; /* Ensure it stays on top of carousel */
}
.bda-hero--eventos   { background: #E6E7FE; } /* override por inline style desde metabox */
.bda-hero--locales   { background: var(--bda-green); }
.bda-hero--descuentos { background: var(--bda-pink); }
.bda-hero--inicio    { background: #F2ECD8; }

.bda-hero--eventos,
.bda-hero--locales,
.bda-hero--descuentos,
.bda-hero--inicio {
  align-items: center;
}

.bda-hero--inicio .bda-hero__img-wrap {
  align-self: center;
  width: clamp(230px, 24vw, 310px);
  height: 220px;
  border-radius: 20px;
  transform: translate(-250px, -10px);
}

/* Eventos, Locales y Descuentos: imagen 407x232 responsive */
.bda-hero__media--eventos {
  position: relative;
  flex-shrink: 0;
  align-self: center;
}
.bda-hero--eventos .bda-hero__img-wrap,
.bda-hero--locales .bda-hero__img-wrap,
.bda-hero--descuentos .bda-hero__img-wrap {
  width: clamp(220px, 35vw, 407px);
  aspect-ratio: 407 / 232;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
}
.bda-hero--eventos .bda-hero__img-wrap img,
.bda-hero--locales .bda-hero__img-wrap img,
.bda-hero--descuentos .bda-hero__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.bda-deco-icon--ev-1 {
  position: absolute;
  width: clamp(60px, 8.4vw, 108px); /* +20% */
  top: -12%;
  left: -10%;
  pointer-events: none;
  z-index: 2;
  animation: bda-icon-fade-in 0.8s ease forwards;
  opacity: 0;
}
.bda-deco-icon--ev-2 {
  position: absolute;
  width: clamp(150px, 21vw, 270px); /* x2 */
  bottom: -30%;
  right: -40%;
  pointer-events: none;
  z-index: 2;
  animation: bda-icon-fade-in 0.8s ease 0.3s forwards;
  opacity: 0;
}

@media (min-width: 769px) {
  .page .bda-hero--eventos,
  .page .bda-hero--locales,
  .page .bda-hero--descuentos,
  .tax-bda_local_cat .bda-hero--locales {
    height: clamp(320px, 40vw, 550px);
    min-height: unset;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 140px;
  }
}

.page .bda-hero--inicio {
  height: 550px;
  min-height: 550px;
}

.page .bda-hero--eventos .bda-hero__text,
.page .bda-hero--locales .bda-hero__text,
.tax-bda_local_cat .bda-hero--locales .bda-hero__text,
.page .bda-hero--descuentos .bda-hero__text,
.page .bda-hero--inicio .bda-hero__text { margin-top: 12px; }

.bda-hero--eventos .bda-hero__heading,
.bda-hero--locales .bda-hero__heading,
.bda-hero--descuentos .bda-hero__heading {
  text-align: left;
}
@media (min-width: 769px) {
  .bda-hero--locales .bda-hero__heading,
  .tax-bda_local_cat .bda-hero--locales .bda-hero__heading {
    font-family: 'Inter Tight', sans-serif;
    font-size: 75px;
    line-height: 75px;
    letter-spacing: -0.025em;
  }
}
.bda-hero--locales .bda-hero__heading .line-thin,
.tax-bda_local_cat .bda-hero--locales .bda-hero__heading .line-thin {
  font-weight: 400;
}
.bda-hero--locales .bda-hero__heading .line-bold,
.tax-bda_local_cat .bda-hero--locales .bda-hero__heading .line-bold {
  font-weight: 700;
}
.bda-hero--eventos .bda-hero__subtitle,
.bda-hero--locales .bda-hero__subtitle,
.bda-hero--descuentos .bda-hero__subtitle {
  text-align: left;
}

.bda-hero__text { padding-bottom: 48px; }
.bda-hero__heading {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  text-align: center;
  text-transform: uppercase;
}
.bda-hero__heading .line-thin  { font-weight: 400; display: block; }
.bda-hero__heading .line-bold  { font-weight: 700; display: block; }
.bda-hero__subtitle {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
  text-align: center;
  color: #000000;
  margin-top: 14px;
  max-width: 600px;
}

.bda-hero__img-wrap {
  flex-shrink: 0;
  width: clamp(260px, 30vw, 380px);
  height: 240px;
  border-radius: 20px 20px 0 0;
  overflow: hidden; align-self: flex-end;
}
.bda-hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Sun deco */
.bda-hero__deco {
  position: absolute; right: 420px; top: 28px;
  width: 72px; opacity: 0.5; pointer-events: none;
}

/* ============================================================
   WAVE DIVIDER
   ============================================================ */
.bda-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
  position: relative;
  z-index: 5;
}
.bda-wave svg {
  display: block;
  width: 100%;
  height: 70px;
  transform: scaleY(-2);
  transform-origin: center;
}

.bda-wave--footer svg {
  transform: scaleY(2);
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.bda-section {
  padding: 64px 48px 80px;
  background: var(--bda-white);
}
.bda-section--cream { background: var(--bda-cream); }
.bda-section--locales { padding-top: 100px; padding-bottom: 170px; }
.bda-section--eventos { padding-top: 100px; padding-bottom: 160px; }
.bda-section--descuentos { padding-bottom: 150px; }

.bda-container { max-width: var(--max-width); margin: 0 auto; }

.bda-section__title {
  font-size: 32px; font-weight: 900;
  text-align: center; margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* ============================================================
   CARDS GRID — EVENTOS & DESCUENTOS
   ============================================================ */
.bda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.bda-card {
  background: var(--bda-cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.bda-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.bda-card__thumb {
  width: 100%; height: 210px;
  object-fit: cover;
  display: block;
}
.bda-card__thumb--placeholder {
  height: 210px; background: var(--bda-cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--bda-gray-light);
}

.bda-card__body {
  padding: 32px 24px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  min-height: 220px;
}

.bda-card__headline {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #1F2124;
}
.bda-card__desc {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
  color: #1F2124;
  margin-top: 20px;
}
.bda-card__datetime {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}
.bda-card__date {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
  color: #1F2124;
}
.bda-card__time {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
  color: #1F2124;
}
.bda-card__location {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
  color: #1F2124;
  margin-top: 10px;
}
.bda-card__location strong { color: #1F2124; font-weight: 500; }
.bda-card__store {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
  color: var(--bda-dark);
  margin-top: 14px;
}
.bda-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
  color: #1F2124;
  transition: var(--transition);
}
.bda-card__cta:hover { gap: 10px; }
.bda-card__cta .bda-card__cta-arrow { width: 16px; height: 16px; }

/* ============================================================
   LOCALES — CATEGORY GRID
   ============================================================ */
.bda-locales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px; margin: 0 auto;
}
.bda-local-cat {
  background: var(--bda-cream);
  border-radius: var(--radius);
  padding: 36px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition); cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.bda-local-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.bda-local-cat__icon {
  width: 100%;
  height: 120px;
  color: var(--bda-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bda-local-cat__icon img.bda-cat-logo {
  width: 100%;
  height: 80px;
  object-fit: contain;
}
.bda-local-cat__icon svg { width: 100%; height: 80px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.bda-local-cat__name { font-family: 'Inter Tight', sans-serif; font-size: 24px; font-weight: 600; line-height: 1.16; color: #1F2124; margin: 0; }
.bda-local-cat__link {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.16;
  color: #282A2E;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s ease;
}
.bda-local-cat:hover .bda-local-cat__link {
  gap: 8px;
}
.bda-local-cat__arrow {
  width: 16px; height: 16px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease;
}
.bda-local-cat:hover .bda-local-cat__arrow {
  transform: translateX(4px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.bda-footer {
  padding: 56px 0 0;
}
.bda-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 15px 0;
  display: grid;
  grid-template-columns: auto 284px 1fr auto auto;
  grid-template-areas: "brand  map  .  nav  right";
  column-gap: 48px;
  align-items: start;
}
.bda-footer__brand     { grid-area: brand; display: flex; flex-direction: column; align-items: center; }
.bda-footer__libro-wrap { margin-top: 16px; text-align: center; }
.bda-footer__map       { grid-area: map; }
.bda-footer__col-nav   { grid-area: nav; }
.bda-footer__col-right { grid-area: right; }

/* Col 1: Brand */
.bda-footer__brand { text-align: center; }
.bda-footer__logo {
  display: inline-block; line-height: 1;
  text-decoration: none; color: inherit;
}
.bda-footer__logo img { width: 283px; max-width: 100%; height: auto; display: block; }
.bda-footer__logo-text {
  font-size: 32px; font-weight: 900;
  letter-spacing: -0.03em; line-height: 1;
  color: var(--bda-dark);
}
.bda-footer__logo-sub {
  font-size: 7.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bda-dark); margin-top: 2px;
}
.bda-footer__social {
  display: flex; gap: 12px; margin-top: 20px; align-items: center;
  justify-content: center;
}
.bda-footer__social a { display: inline-flex; transition: opacity 0.2s ease; }
.bda-footer__social a:hover { opacity: 0.7; }
.bda-footer__social img { width: 30px; height: 30px; display: block; }
.bda-footer__libro {
  display: inline-block;
  transition: opacity 0.2s ease;
}
.bda-footer__libro:hover { opacity: 0.8; }
.bda-footer__libro img { max-width: 140px; height: auto; display: block; }
.bda-footer__col-nav { display: flex; flex-direction: column; }
.bda-footer__col-right { display: flex; flex-direction: column; }

/* Col 2: Mapa */
.bda-footer__map {
  border-radius: 16px;
  overflow: hidden;
  width: 284px;
  max-width: 100%;
  height: 264px;
}
.bda-footer__map iframe {
  width: 100%; height: 100%; border: none; display: block;
}
.bda-footer__map-placeholder {
  width: 100%; height: 100%;
  background: #e0dbd0; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #999; text-align: center; padding: 16px;
}

/* Col 3 & 4: Links */
.bda-footer__heading {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bda-dark);
  margin-bottom: 24px;
}
.bda-footer__menu { list-style: none; padding: 0; margin: 0; }
.bda-footer__menu li { margin-bottom: 8px; }
.bda-footer__menu li a {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
  color: #2C2E33;
  text-decoration: none;
  transition: color 0.2s ease;
}
.bda-footer__menu li a:hover { color: var(--bda-dark); }
.bda-footer__text {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
  color: #2C2E33;
  margin: 0 0 8px 0;
}

/* Bottom bar */
.bda-footer__bottom {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 18px 15px;
  border-top: 1px solid rgba(0,0,0,0.09);
  text-align: center;
}
.bda-footer__bottom p { font-size: 12px; color: #2C2E33; margin: 0; }

/* ============================================================
   TEMPLATE: BDA INICIO
   ============================================================ */
/* Centrar contenido del Hero específicamente en esta plantilla */
.page-template-page-bda-inicio .bda-hero {
  justify-content: center;
  text-align: center;
}

.page-template-page-bda-inicio .bda-hero__text {
  margin: 0 auto;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.page-template-page-bda-inicio .bda-hero__subtitle {
  margin-left: auto; margin-right: auto;
}

/* ============================================================
   HERO INICIO — Íconos decorativos
   ============================================================ */
@keyframes bda-icon-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bda-hero__icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bda-deco-icon {
  position: absolute;
  object-fit: contain;
  opacity: 0;
  animation: bda-icon-fade-in 1s ease forwards;
}

.bda-deco-icon--cactus {
  left: 2%;
  top: 10%;
  height: 74%;
  animation-delay: 0.1s;
}
.bda-deco-icon--sol {
  left: 16%;
  top: 5%;
  width: 130px;
  animation-delay: 0.35s;
}
.bda-deco-icon--estrella-sm {
  left: 19%;
  top: 58%;
  width: 78px;
  animation-delay: 0.55s;
}
.bda-deco-icon--cangrejo {
  left: 66%;
  top: 3%;
  width: 178px;
  animation-delay: 0.2s;
}
.bda-deco-icon--palmera {
  left: 76%;
  top: 36%;
  height: 60%;
  animation-delay: 0.45s;
}
.bda-deco-icon--estrella-lg {
  right: 7%;
  top: 14%;
  width: 92px;
  animation-delay: 0.65s;
}

/* Tablet */
@media (max-width: 768px) {
  .bda-deco-icon--cactus      { height: 50%; top: 18%; }
  .bda-deco-icon--sol         { width: 90px; left: 8%; top: 6%; }
  .bda-deco-icon--estrella-sm { display: none; }
  .bda-deco-icon--cangrejo    { width: 110px; right: 5%; left: auto; top: 5%; }
  .bda-deco-icon--palmera     { height: 40%; right: 3%; left: auto; }
  .bda-deco-icon--estrella-lg { display: none; }
}

/* Móvil */
@media (max-width: 480px) {
  /* 4 íconos en esquinas: sol ↖ cangrejo ↗ cactus ↙ palmera ↘ */
  .bda-deco-icon--sol         { width: 70px;  left: 5%;   top: 6%;  right: auto; bottom: auto; }
  .bda-deco-icon--cangrejo    { width: 80px;  right: 5%;  top: 6%;  left: auto;  bottom: auto; }
  .bda-deco-icon--cactus      { height: 34%;  left: 2%;   bottom: 4%; top: auto; right: auto; }
  .bda-deco-icon--palmera     { height: 32%;  right: 2%;  bottom: 4%; top: auto; left: auto; }
  .bda-deco-icon--estrella-sm { display: none; }
  .bda-deco-icon--estrella-lg { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bda-footer__inner {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "brand  .  nav  right";
  }
  .bda-footer__map { display: none; }
}
@media (max-width: 900px) {
  .bda-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .bda-locales-grid { grid-template-columns: repeat(2, 1fr); }
  .bda-hero { padding: 48px 32px 0; }
  .bda-section--eventos { padding-top: 80px; }
}
/* Hamburger desde 1024px */
@media (max-width: 1024px) {
  .bda-header {
    padding: 0 15px;
    justify-content: space-between;
  }
  .bda-logo {
    position: static;
    transform: none;
    left: auto;
    order: 1;
  }
  .bda-header__left {
    order: 2;
    justify-content: flex-end;
    flex: 0 0 auto;
  }
  .bda-header__right { display: none; }
  .bda-header__nav { display: none; }
  .bda-header__nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 0; left: 0; right: 0;
    height: auto;
    background: var(--bda-white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 90px 0 20px;
    z-index: 998;
    align-items: center;
  }
  .bda-header__nav.open ul { flex-direction: column; gap: 0; }
  .bda-header__nav.open a { padding: 12px 20px; border-bottom: none; font-size: 16px; }
  .bda-hamburger { display: flex; z-index: 9999; position: relative; margin-left: auto; }
  .bda-btn--dark { display: none; }
}

@media (max-width: 768px) {
  .bda-container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .bda-hero { flex-direction: column; align-items: flex-start; padding: 40px 20px 0; gap: 24px; }
  .bda-hero__img-wrap { width: 100%; border-radius: 16px 16px 0 0; }
  .bda-section { padding: 48px 20px 64px; }
  .bda-section--locales { padding-bottom: 120px; } /* Ajuste específico solicitado */
  .bda-section--eventos { padding-top: 60px; padding-bottom: 80px; }

  /* Cards eventos — responsive */
  .bda-card__thumb { height: 180px; }
  .bda-card__thumb--placeholder { height: 180px; }
  .bda-card__body { padding: 24px 20px 28px; min-height: unset; }
  .bda-card__headline { font-size: 20px; }
  .bda-card__cta { margin-top: 16px; }
  .bda-section--descuentos { padding-bottom: 120px; } /* Ajuste específico solicitado */
  .bda-grid { grid-template-columns: 1fr; }
  .bda-cat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; } /* Ajuste específico categorías */
  
  /* Sección Descubre — reducir espacios en móvil */
  .bda-descubre-section {
    margin-top: 40px !important;
    padding-top: 40px !important;
    padding-bottom: 80px !important;
  }
  .bda-descubre-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 24px !important;
  }
  
  .bda-locales-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 16px; }

  /* Footer responsive */
  .bda-footer { padding: 40px 20px 32px; background-size: cover; background-position: top center; }
  .bda-footer__logo img { width: 160px; }
  .bda-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .bda-footer__map { display: none; }
  /* display:contents extrae los hijos al flex container para reordenar */
  .bda-footer__brand { display: contents; }
  .bda-footer__col-right { display: contents; }
  .bda-footer__logo { order: 1; text-align: center; }
  .bda-footer__social { order: 2; }
  .bda-footer__col-right-contact { order: 3; width: 100%; text-align: center; }
  .bda-footer__col-nav {
    order: 4;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    align-items: start;
  }
  .bda-footer__col-nav > div:last-child { margin-top: 0 !important; }
  .bda-footer__col-right-otros { order: 5; width: 100%; text-align: center; }
  .bda-footer__libro-wrap { order: 6; }
  .bda-footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ============================================================
   HOME PAGE STYLES
   ============================================================ */
/* HERO HOME */
.bda-home-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bda-cream); /* Fallback */
  overflow: hidden;
  padding-top: 100px; /* Header space */
}
.bda-home-hero__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('assets/images/hero-bg-pattern.png') repeat; /* Patrón sutil opcional */
  opacity: 0.4;
  z-index: 0;
}
.bda-home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.bda-home-hero__title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--bda-dark);
  margin-bottom: 24px;
}
.bda-home-hero__thin {
  font-weight: 300;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: -0.02em;
}
.bda-home-hero__bold {
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  text-transform: uppercase;
}
.bda-home-hero__subtitle {
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
  color: var(--bda-gray);
}
/* Decoraciones Hero (simuladas con CSS shapes o imgs) */
.bda-deco {
  position: absolute;
  opacity: 0.6;
  pointer-events: none;
}
.bda-deco--sun {
  top: -80px; left: -100px;
  width: 200px; height: 200px;
  background: url('assets/images/sun.svg') no-repeat center/contain;
}
/* ONDA INFERIOR HERO */
.bda-wave--home-hero {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 3;
}

/* CARRUSEL HOME */
.bda-home-carousel {
  padding-top: 0;
  margin-top: -5px; /* Eliminar gap visual */
  position: relative;
  z-index: 2;
}
.bda-carousel-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.bda-carousel-item {
  position: relative;
}
.bda-carousel-caption {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  max-width: 600px;
}
.bda-carousel-caption h2 {
  font-size: clamp(24px, 4vw, 48px);
  margin-bottom: 16px;
  line-height: 1.1;
}

/* NAV CARDS (Eventos, Locales, Descuentos) */
.bda-home-nav {
  padding-top: 60px;
}
.bda-home-nav__header {
  text-align: center;
  margin-bottom: 48px;
}
.bda-home-nav__header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.bda-home-nav__header p {
  color: var(--bda-gray);
  font-size: 15px;
}
.bda-home-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bda-nav-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  color: var(--bda-dark);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}
.bda-nav-card:hover {
  transform: translateY(-8px);
}
.bda-nav-card h3 {
  font-size: 28px;
  font-weight: 800;
}
.bda-nav-card__arrow {
  align-self: flex-end;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
/* Colores Nav Cards */
.bda-nav-card--eventos {
  background-color: #E6E6FA; /* Lavender suave */
  color: #333;
}
.bda-nav-card--locales {
  background-color: #D4F5D6; /* Green suave */
  color: #1A4D2E;
}
.bda-nav-card--descuentos {
  background-color: #FF8A80; /* Red suave/salmon */
  color: #fff;
}
.bda-nav-card--descuentos .bda-nav-card__arrow {
  border-color: #fff;
}

/* MAPA MALL HOME */
.bda-home-map {
  position: relative;
  min-height: 800px; /* Aumentar altura */
  padding-bottom: 100px; /* Espacio para ola footer */
}
.bda-home-map__bg {
  /* Map BG styles if needed */
  background: #f0f0f0; /* Placeholder BG */
  height: 100%;
}
.bda-wave-top-cyan, .bda-wave-bottom-cyan {
  display: block;
  line-height: 0;
  width: 100%;
}
.bda-wave-top-cyan svg {
  width: 100%;
  height: 50px;
  transform: scaleY(-1); /* Invertir para conectar arriba */
}
.bda-home-map__header {
  margin-bottom: 40px;
}
.bda-home-map__header h2 {
  font-size: 36px;
  margin-bottom: 12px;
}
.bda-map-container {
  background: #fff;
  border-radius: 24px;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  max-width: 1000px;
  margin: 0 auto;
}
.bda-map-img {
  width: 100%; height: 100%; object-fit: cover;
  min-height: 600px;
}

.bda-wave--footer {
  position: relative;
  z-index: 10;
  margin-top: -80px !important; /* Force overlap */
  pointer-events: none; /* Click through */
}

@media (max-width: 900px) {
  .bda-home-nav__grid { grid-template-columns: 1fr; }
  .bda-nav-card { height: 200px; }
}

/* ============================================================
   CAROUSEL (HOME / BDA-INICIO)
   ============================================================ */
.bda-home-carousel {
  position: relative;
  width: 100%;
  height: 100vh; /* Default height */
  overflow: hidden;
  margin-bottom: 0;
  background: linear-gradient(to bottom, #F2ECD8 50%, transparent 50%);
  margin-top: 0px; /* La ola del hero cubre un poco el carrusel */
  z-index: 1; /* Mantener por debajo de la ola del hero */
}

.bda-carousel-track-container {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.bda-carousel-track {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bda-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.bda-carousel-slide.current-slide {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.bda-slide-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: top center;
  z-index: 1;
}
.bda-slide-bg::after {
  content:''; position:absolute; inset:0;
  background: rgba(0,0,0,var(--slide-overlay, 0.2));
}

.bda-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Texto abajo */
  align-items: flex-start;   /* Texto a la izquierda */
  text-align: left;
  color: #fff;
  max-width: 1300px; /* Ancho máximo contenedor */
  margin: 0 auto;
  padding: 0 60px 180px 60px; /* Padding para separar de los bordes */
}

.bda-slide-tag {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.bda-slide-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 61px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: #fff;
  max-width: 50%;
}

/* Botón específico del carrusel */
.bda-home-carousel .bda-btn {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
  background: #fff;
  color: #000;
  border-radius: 50px;
  border: none;
  padding: 12px 28px 12px 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bda-home-carousel .bda-btn:hover {
  background: #f0f0f0;
  color: #000;
  transform: translateY(-2px);
}
.bda-btn-arrow {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}
.bda-home-carousel .bda-btn:hover .bda-btn-arrow {
  transform: translateX(4px);
}

/* Controls */
.bda-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1);
  background: transparent;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}
.bda-carousel-btn:hover {
  background: rgba(0, 0, 0, 0.30);
  transform: translateY(-50%) scale(1.12);
}
.bda-carousel-btn img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.bda-carousel-btn svg {
  width: 24px; height: 24px;
}
.bda-carousel-btn--left { left: 32px; }
.bda-carousel-btn--right { right: 32px; }

.bda-carousel-btn.is-hidden { display: none; }

/* Indicators */
/*.bda-carousel-nav {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}*/
.bda-carousel-indicator {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.bda-carousel-indicator.current-slide {
  background: #fff;
}

/* ---- Responsive Carrusel ---- */

/* Tablet landscape / escritorio pequeño */
@media (max-width: 1024px) {
  .bda-slide-content {
    padding: 0 48px 160px 48px;
  }
  .bda-slide-title {
    font-size: 40px;
    max-width: 65%;
  }
  .bda-carousel-nav {
    bottom: 80px;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .bda-home-carousel {
    height: 80vh;
  }
  .bda-slide-content {
    padding: 0 32px 120px 32px;
  }
  .bda-slide-title {
    font-size: 30px;
    max-width: 85%;
  }
  .bda-slide-tag {
    font-size: 11px;
  }
  .bda-home-carousel .bda-btn {
    font-size: 13px;
    padding: 10px 20px 10px 24px;
  }
  .bda-carousel-btn {
    width: 40px;
    height: 40px;
  }
  .bda-carousel-btn--left  { left: 16px; }
  .bda-carousel-btn--right { right: 16px; }
  .bda-carousel-nav {
    bottom: 60px;
    gap: 10px;
  }
}

/* Móvil */
@media (max-width: 480px) {
  .bda-home-carousel {
    height: 75vh;
  }
  .bda-slide-content {
    padding: 0 20px 90px 20px;
  }
  .bda-slide-title {
    font-size: 22px;
    max-width: 100%;
    margin-bottom: 16px;
  }
  .bda-slide-tag {
    font-size: 10px;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
  }
  .bda-home-carousel .bda-btn {
    font-size: 12px;
    padding: 9px 16px 9px 20px;
    gap: 8px;
  }
  .bda-btn-arrow {
    width: 16px;
    height: 16px;
  }
  .bda-carousel-btn {
    width: 34px;
    height: 34px;
  }
  .bda-carousel-btn--left  { left: 10px; }
  .bda-carousel-btn--right { right: 10px; }
  .bda-carousel-nav {
    bottom: 44px;
    gap: 8px;
  }
  .bda-carousel-indicator {
    width: 9px;
    height: 9px;
  }
}

/* ============================================================
   SECCIÓN DESCUBRE (Debajo del carrusel) - Estilos Corregidos
   ============================================================ */
.bda-descubre-section {
  position: relative;
  background: #fff;
  padding-bottom: 280px; /* Aumentado 200px (80 -> 280) */
  margin-top: 0; /* Bajada más para descubrir carrusel */
  z-index: 5;
}
/* Caja separadora de secciones */
.bda-section-box {
  background: #fff;
  border-radius: 24px;
  margin: 40px 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 10px 0 30px;
}
/* Ola superior como imagen de background */
.bda-descubre-wave-bg {
  position: absolute;
  top: -50px; left: 0; right: 0;
  height: 120px;
  z-index: 10;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  pointer-events: none;
}

/* Ola convexa superior */
.bda-wave-convex {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(-98%);
  z-index: 15;
}
.bda-wave-convex svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

/* Header */
.bda-descubre-header {
  text-align: center;
  padding-top: 60px;
  margin-bottom: 50px;
}
.bda-descubre-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 61px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-align: center;
  color: #000;
  margin-bottom: 10px;
}
.bda-descubre-subtitle {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
  text-align: center;
  color: #000;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid */
.bda-descubre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 0 10px;
}

/* Cards */
.bda-descubre-card {
  position: relative;
  border-radius: 24px;
  padding: 30px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bda-descubre-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Colores Específicos */
.bda-card--eventos {
  background-color: #EBEBFF; /* Lavanda suave */
}
.bda-card--locales {
  background-color: #D4F5D6; /* Verde menta */
}
.bda-card--descuentos {
  background-color: #FF7F7F; /* Coral suave */
}

/* Títulos */
.bda-descubre-card h3 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0;
  z-index: 2;
  position: relative;
}
.bda-card--descuentos h3 {
  color: #fff;
}

/* Flecha Circular */
.bda-card-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  z-index: 2;
  transition: all 0.3s ease;
  color: #000;
  position: relative;
}
.bda-card--descuentos .bda-card-arrow {
  border-color: #fff;
  color: #fff;
}
.bda-descubre-card:hover .bda-card-arrow {
  background: #000;
  color: #fff;
  border-color: #000;
}
.bda-card--descuentos:hover .bda-card-arrow {
  background: #fff;
  color: #FF7F7F;
  border-color: #fff;
}
.bda-card-arrow svg {
  width: 20px;
  height: 20px;
}

/* Decoraciones Abstractas */
.bda-card-deco {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
/* Logo Transparente en Card */
.bda-card-logo {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}
/* Eventos */
.bda-deco-eventos::before {
  content: ''; position: absolute;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  top: -40px; right: -40px;
}
.bda-deco-eventos::after {
  content: ''; position: absolute;
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  bottom: 60px; left: 10px;
}
/* Locales */
.bda-deco-locales::before {
  content: ''; position: absolute;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.35);
  border-radius: 45%;
  top: 10px; right: -50px;
  transform: rotate(20deg);
}
/* Descuentos */
.bda-deco-descuentos::before {
  content: ''; position: absolute;
  width: 140px; height: 140px;
  border: 6px solid rgba(255,255,255,0.2);
  transform: rotate(15deg);
  top: -30px; right: 20px;
  border-radius: 20px;
}
.bda-deco-descuentos::after {
  content: ''; position: absolute;
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  bottom: 20px; left: -20px;
}

/* Responsive */
@media (max-width: 900px) {
  .bda-descubre-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .bda-descubre-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SECCIÓN MAPA (Ubica tus tiendas)
   ============================================================ */
.bda-map-section {
  position: relative;
  background-color: transparent;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  padding: 200px 0 200px; /* Aumentado 50px (80 -> 130) */
  margin-top:0px; /* Overlap suave con la sección anterior */
  margin-bottom: -70px; /* Overlap suave con el footer */
  z-index: 10;
  color: #fff;
}

/* Ola superior */
.bda-wave-top-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: translateY(-100%); /* Sube para conectar con blanco */
  z-index: 20;
}
.bda-wave-top-map svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  fill: #00C1B5; /* Mismo color que el fondo */
}

/* Header */
.bda-map-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.bda-map-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 61px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 10px;
}
.bda-map-subtitle {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
  text-align: center;
  opacity: 0.9;
  max-width: 100%;
  margin: 0 auto;
}

/* Contenedor del Mapa */
.bda-map-container {
  background: #fff;
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}
.bda-map-placeholder {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bda-map-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

/* Botón abrir mapa */
.bda-map-open-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
  line-height: 0;
}
.bda-map-open-btn:hover { transform: scale(1.1); }
.bda-map-open-btn img { width: 52px; height: 52px; display: block; }

/* Modal mapa */
.bda-map-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.bda-map-modal.is-open { display: flex; }
.bda-map-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  cursor: pointer;
}
.bda-map-modal__inner {
  position: relative;
  z-index: 1;
  overflow: visible;
  border-radius: 16px;
  animation: bda-modal-in 0.25s ease;
  padding-top: 22px;
}
.bda-map-modal__inner img {
  display: block;
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 16px;
}
.bda-map-modal__close {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  z-index: 2;
  transition: background 0.2s ease;
}
.bda-map-modal__close:hover { background: #f0f0f0; }
@keyframes bda-modal-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Overlay Logo (simulado) */
.bda-map-logo-overlay {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255,255,255,0.9);
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bda-logo-text {
  color: #00C1B5;
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
}
.bda-logo-sub {
  color: #00C1B5;
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 700;
}

/* Responsive Mapa */
@media (max-width: 768px) {
  .bda-map-title { font-size: 28px; }
  .bda-map-subtitle { font-size: 14px; padding: 0 20px; }
  .bda-map-container { margin: 0 15px; }
  .bda-map-placeholder { min-height: 250px; }
}

/* Ocultar ola del footer en Home BDA (para evitar conflictos) */
/* .page-template-page-bda-inicio .bda-wave--footer,
.page-template-page-bda-inicio-php .bda-wave--footer {
  display: none;
} */
.page-template-page-bda-inicio .bda-footer,
.page-template-page-bda-inicio-php .bda-footer {
    position: relative;
    z-index: 30; /* Encima del mapa */
}
.page-template-page-bda-inicio .bda-wave--footer,
.page-template-page-bda-inicio-php .bda-wave--footer {
    position: relative;
    z-index: 31; /* Encima del footer y mapa */
    margin-top: -60px !important; /* Forzar overlap */
}

/* ============================================================
   PÁGINA DE CONTACTO
   ============================================================ */
.bda-contact-section {
    padding: 60px 0;
    min-height: calc(100vh - 70px);
    background: #fff;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
}
.bda-contact-section .bda-container { width: 100%; }
.bda-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 991px) {
    .bda-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .bda-contact-section { padding: 40px 0 80px; }
}

/* Columna Izquierda: Info */
.bda-contact-title {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
    line-height: 0.9;
    color: #222;
    letter-spacing: -2px;
}
.bda-contact-subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 50px;
    max-width: 450px;
    line-height: 1.5;
}
.bda-contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bda-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.bda-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bda-contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: #000;
    stroke-width: 2;
}
.icon-cyan   { background-color: #00E5FF; }
.icon-yellow { background-color: #FFEB3B; }
.icon-red    { background-color: #FF5252; }
.icon-green  { background-color: #B9F6CA; }

.bda-contact-details {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    line-height: 1.4;
}
.bda-contact-details strong {
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}
.bda-contact-details span {
    color: #333;
    font-weight: 500;
}

/* Columna Derecha: Formulario */
.bda-contact-form-wrapper {
    margin-top: 10px;
}

/* Header adjustments for Contact Page */
.page-template-page-contacto .bda-header {
    position: relative;
    top: 0;
    background: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}
.bda-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-group {
    flex: 1;
}
.form-group.full {
    width: 100%;
}
.bda-contact-form input,
.bda-contact-form select,
.bda-contact-form textarea {
    width: 100%;
    padding: 15px 25px;
    border: 1px solid #dce0e6;
    border-radius: 30px;
    font-size: 15px;
    background: #F8F9FB;
    outline: none;
    font-family: inherit;
    color: #333;
    transition: all 0.2s;
}
.bda-contact-form textarea {
    border-radius: 25px;
    resize: none;
}
.bda-contact-form input:focus,
.bda-contact-form select:focus,
.bda-contact-form textarea:focus {
    border-color: #aaa;
    background: #fff;
}
.bda-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
}
.form-note {
    font-size: 13px;
    color: #777;
    margin-top: -5px;
    margin-bottom: 10px;
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}
.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 4px;
    border: 2px solid #ccc;
    cursor: pointer;
}
.bda-btn-submit {
    background: #222;
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}
.bda-btn-submit:hover {
    background: #000;
    transform: translateY(-2px);
}

/* Header adjust for Contact Page */
.page-template-page-contacto .bda-header {
    background: #fff;
    position: relative;
    box-shadow: none;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}
.page-template-page-contacto .bda-header .bda-nav a,
.page-template-page-contacto .bda-header a {
    color: #000;
}
/* Invert white logo to black for this page */
.page-template-page-contacto .bda-header img {
    filter: invert(1);
}
.page-template-page-contacto .bda-header .bda-nav a:hover,
.page-template-page-contacto .bda-header a:hover {
    color: #555;
}

/* Fix for button color in Contact Page */
.page-template-page-contacto .bda-header .bda-btn--dark {
    color: #fff !important;
}
.page-template-page-contacto .bda-header .bda-btn--dark:hover {
    color: #000 !important;
}

/* ============================================================
   TEMPLATE: PÁGINA DE CATEGORÍAS
   ============================================================ */
.bda-hero--cat {
    padding: 100px 60px 40px; /* Top padding para compensar header fijo si lo hubiera, bottom para espacio */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 350px;
    position: relative;
}

.bda-hero__cat-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bda-cat-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1A1A1A;
    margin-bottom: 24px;
    text-decoration: none;
}
.bda-cat-back-link svg {
    width: 12px; height: 12px;
}

.bda-hero__heading--cat {
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 900;
    line-height: 0.9;
    margin: 0;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    max-width: 900px;
}

/* Grid de Cards (Locales) */
.bda-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bda-card-simple {
    background-color: var(--bda-cream);
    border-radius: 12px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: unset;
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}
.bda-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.bda-card-simple__logo {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.bda-logo-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.bda-card-simple__title {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(16px, 4vw, 24px);
    font-weight: 600;
    margin: 0 0 16px 0;
    line-height: 1.2;
    color: #1F2124;
    word-break: break-word;
    overflow-wrap: break-word;
}

.bda-card-simple__link {
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #282A2E;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.25s ease;
}
.bda-card-simple__link:hover {
    gap: 10px;
}
.bda-card-simple__link .bda-local-cat__arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}
.bda-card-simple__link:hover .bda-local-cat__arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 900px) {
    .bda-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .bda-hero-cat-title { font-size: 48px; }
}
@media (max-width: 600px) {
    .bda-cat-grid { grid-template-columns: 1fr; }
    .bda-hero-cat-title { font-size: 36px; }
    .bda-hero-category { padding: 40px 0; }
}

/* ============================================================
   SINGLE LOCAL TEMPLATE
   ============================================================ */
.bda-hero--local-single {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(320px, 40vw, 550px);
    padding: 0 max(15px, calc((100% - var(--max-width)) / 2));
    text-align: center;
    background: #C5EED3;
}
.bda-hero--local-single .bda-hero__text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.bda-hero__heading--local-single {
    font-family: 'Inter Tight', sans-serif;
    font-size: 90px;
    font-weight: 500;
    line-height: 90px;
    letter-spacing: -0.025em;
    text-align: center;
    margin: 0;
    color: #1A1A1A;
    max-width: 700px;
}
@media (max-width: 768px) {
  .bda-hero--local-single {
    height: auto;
    min-height: 250px;
    padding: 80px 20px;
  }
  .bda-hero__heading--local-single {
    font-size: clamp(38px, 9vw, 64px);
    line-height: 1.1;
  }
}
.bda-hero--local {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 350px;
    padding-top: 100px;
    text-align: center;
}
.bda-hero__local-wrapper {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}
.bda-hero__heading--local {
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.bda-local-detail {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .bda-local-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    /* Mostrar primero mapa/fachada en móvil */
    .bda-local-media {
        order: -1;
    }
}

/* Info List (Left) */
.bda-local-info {
    padding-top: 0;
}
.bda-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bda-info-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    color: #1A1A1A;
}
.bda-info-list li a {
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #1A1A1A;
}
.bda-icon-circle {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1A1A1A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bda-icon-circle svg {
    width: 24px;
    height: 24px;
}
/* Removed white-space: pre-line as we use nl2br() in PHP to avoid double spacing */
.bda-info-multiline {
    /* white-space: pre-line; */
}

/* Media (Right) */
.bda-local-media {
    position: relative;
}
.bda-tabs-wrapper {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
}
.bda-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    border-radius: 30px;
}
.bda-tab {
    border: none;
    background: transparent;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #1A1A1A;
    transition: all 0.3s ease;
}
.bda-tab.active {
    background: #1A1A1A;
    color: #FFFFFF;
}

.bda-media-content {
    background: #F5F0E8;
    border-radius: 24px;
    overflow: hidden;
    height: clamp(280px, 35vw, 450px);
    position: relative;
}
.bda-media-pane {
    display: none;
    width: 100%;
    height: 100%;
}
.bda-media-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}
.bda-media-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bda-placeholder-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS (WAVES)
   ============================================================ */
@media (max-width: 768px) {
  /* Altura reducida (30px) pero ancho normal (100%) para ver la cantidad original de olas */
  .bda-wave svg {
    height: 30px !important;
    width: 100% !important;
    margin-left: 0;
  }
  
  /* Ajuste para ola convexa si existe */
  .bda-wave-convex svg {
    height: 20px !important;
    width: 100% !important;
    margin-left: 0;
  }

  /* Ocultar imagen y wrapper de íconos en móvil */
  .bda-hero__img-wrap,
  .bda-hero__media--eventos {
    display: none !important;
  }

  /* Centrar textos del header en móvil (horizontal y vertical) */
  .bda-hero__text {
    text-align: center;
    width: 100%;
    /* Centrado vertical: asumimos flex o grid en el contenedor padre, 
       pero si no, un margin-top/bottom auto o padding ayuda. 
       Como el padre es flex (bda-hero), align-items: center ya hace parte.
       Forzamos alineación propia por si acaso */
    align-self: center; 
    margin-top: 0 !important; /* Quitar margen superior extra si lo hubiera */
  }
  .bda-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Eventos, Locales y Descuentos: centrar texto y fondo cover en móvil */
  .bda-hero--eventos .bda-hero__heading,
  .bda-hero--eventos .bda-hero__subtitle,
  .bda-hero--locales .bda-hero__heading,
  .bda-hero--locales .bda-hero__subtitle,
  .bda-hero--descuentos .bda-hero__heading,
  .bda-hero--descuentos .bda-hero__subtitle { text-align: center !important; }
  .bda-hero--eventos,
  .bda-hero--locales,
  .bda-hero--descuentos { background-size: cover !important; }

  /* Hero heading responsive — idéntico en todas las páginas */
  .bda-hero__heading {
    font-size: clamp(38px, 9vw, 64px) !important;
  }
  .bda-hero__subtitle {
    font-size: clamp(14px, 3.5vw, 18px) !important;
  }

  /* Forzar centrado absoluto del contenedor padre en móvil */
  .page .bda-hero,
  .page .bda-hero--inicio {
    justify-content: center !important;
    align-items: center !important;
    align-content: center !important;
    flex-direction: column !important;
    padding: 100px 20px !important;
    height: auto !important;
    min-height: 550px !important;
  }
  .page .bda-hero--eventos,
  .page .bda-hero--locales,
  .page .bda-hero--descuentos,
  .tax-bda_local_cat .bda-hero--locales {
    height: auto !important;
    min-height: 220px !important;
    padding-top: 90px !important;
    padding-bottom: 50px !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }
  .bda-section-box {
    border-radius: 16px;
    margin: 24px 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    padding: 6px 0 20px;
  }
}

/* Secciones locales — padding controlado */
.bda-section--cat-list {
  padding-top: 100px;
  padding-bottom: 180px;
}
.bda-section--local-detail-wrap {
  padding-bottom: 120px;
}

@media (max-width: 768px) {
  .bda-section--cat-list {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .bda-section--local-detail-wrap {
    padding-bottom: 50px;
  }
  .bda-section--locales {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
  }
}

/* ============================================================
   LOCALES — RESPONSIVE FIXES
   ============================================================ */

/* Tablet 1100px */
@media (max-width: 1100px) {
  .bda-locales-grid { grid-template-columns: repeat(2, 1fr); }
  .bda-local-detail { gap: 40px; }
  .bda-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* Mobile 768px */
@media (max-width: 768px) {
  .bda-locales-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bda-local-cat__name { font-size: 18px; }
  .bda-local-detail { grid-template-columns: 1fr; gap: 32px; margin-top: 24px; }
  .bda-media-content { height: clamp(220px, 60vw, 350px); border-radius: 16px; }
  .bda-tabs-wrapper { top: 16px; left: 16px; }
  .bda-tabs { gap: 6px; }
  .bda-tab { padding: 6px 14px; font-size: 13px; }
  .bda-card-simple { padding: 20px 14px; }
  .bda-info-list { gap: 20px; }
  .bda-hero--local-single { padding: 80px 20px; }
  .bda-section--locales { padding-top: 60px; padding-bottom: 80px; }
}

/* Extra small 480px */
@media (max-width: 480px) {
  .bda-locales-grid { grid-template-columns: 1fr; }
  .bda-cat-grid { grid-template-columns: 1fr; gap: 12px; }
}
